Build:
  1. 0
2022-01-14 16:00.29: New job: Build using linux-x86_64 in
                                []

OBuilder spec:

((build monorepo
        ((from ocaml/opam:debian-10-ocaml-4.13)
         (user (uid 1000) (gid 1000))
         (workdir /home/opam)
         (run (shell "sudo chown opam:opam /home/opam"))
         (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam update"))
         (run (network host)
              (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#ccfbafd8f67a00c32611625339d88ffbdc816add"))
         (run (network host)
              (shell "opam repo add overlays https://github.com/mirage/opam-overlays.git#f033f8b770097e768cc974cc407e0cd6d7889d63"))
         (run (network host)
              (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#67094fb35e9c2a5387d1db15cba66f640062dd00"))
         (run (cache (download-cache (target /home/opam/.opam/download-cache)))
              (network host)
              (shell "opam install -y opam-monorepo"))
         (run (shell "sudo cp $(opam var bin)/opam-monorepo /opam-monorepo"))))
 (from ocaml/opam:debian-10-ocaml-4.13)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo chown opam:opam /home/opam"))
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam update"))
 (run (network host)
      (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#ccfbafd8f67a00c32611625339d88ffbdc816add"))
 (run (network host)
      (shell "opam repo add overlays https://github.com/mirage/opam-overlays.git#f033f8b770097e768cc974cc407e0cd6d7889d63"))
 (run (network host)
      (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#67094fb35e9c2a5387d1db15cba66f640062dd00"))
 (workdir /src)
 (run (shell "sudo chown opam:opam /src"))
 (run (shell  "echo 'opam-version: \"2.0\"\
             \ndepends: [\
             \n  \"ocaml\" {= \"4.13.1\"}\
             \n  \"uri\"\
             \n  \"uri-sexp\"\
             \n  \"digestif\"\
             \n]\
             \nconflicts: [\
             \n  \"parsexp\" {< \"v0.14.0\"}\
             \n  \"sexplib\" {< \"v0.14.0\"}\
             \n  \"base\" {< \"v0.14.0\"}\
             \n]' >> monorepo.opam"))
 (copy (from (build monorepo))
       (src /opam-monorepo)
       (dst /usr/local/bin/opam-monorepo))
 (run (shell "opam-monorepo lock -l monorepo.opam.locked"))
 (run (shell "cp monorepo.opam.locked monorepo.opam"))
 (run (shell "opam pin add monorepo -ny -k path /src/ --ignore-pin-depends"))
 (run (shell "opam list --columns name:,dev-repo: --required-by monorepo -s --separator ';' >> monorepo.dev-repo"))
 (run (network host)
      (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
      (shell "git clone --single-branch git@ci.mirage.io:mirage-ci/mirage-monorepo.git store && cd store && ((git remote set-branches --add origin monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 && git fetch origin monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 && git checkout --track origin/monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2) || (git checkout -b monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 && git push --set-upstream origin monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2))"))
 (run (shell "cp monorepo.opam.locked monorepo.dev-repo  store/"))
 (workdir store)
 (run (shell "git add monorepo.opam.locked monorepo.dev-repo"))
 (run (shell "git diff-index --quiet HEAD || git commit -m 'Update monorepo.opam.locked and monorepo.dev-repo'"))
 (run (network host)
      (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
      (shell "git push"))
)

2022-01-14 16:00.29: Using cache hint "((build monorepo"
2022-01-14 16:00.29: Waiting for resource in pool OCluster
2022-01-14 16:00.29: Waiting for worker...
2022-01-14 16:02.04: Got resource from pool OCluster
Building on cree.ocamllabs.io

(build "monorepo" ...)

(from ocaml/opam:debian-10-ocaml-4.13)
2022-01-14 16:06.01 ---> saved as "cbba9511e46ef57631453d5b88aeed1ed6de6fa87b6f0dcb3da9328657d73fa4"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2022-01-14 16:06.19 ---> saved as "0afede13af6ea6d75cbfcfb80353059bc4fd4eea40a723ef627f0c4946f2e079"

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam update"))
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-01-14 16:36.34 ---> saved as "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc"

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#ccfbafd8f67a00c32611625339d88ffbdc816add"))
[opam] Initialised
[NOTE] Repository opam has been added to the selections of switch 4.13 only.
       Run `opam repository add opam --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2022-01-14 16:40.05 ---> saved as "847573cc8e924c7f2545723302f48e4340fe3feb3462a518280daed8eb640dde"

/home/opam: (run (network host)
                 (shell "opam repo add overlays https://github.com/mirage/opam-overlays.git#f033f8b770097e768cc974cc407e0cd6d7889d63"))
[overlays] Initialised
[NOTE] Repository overlays has been added to the selections of switch 4.13 only.
       Run `opam repository add overlays --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2022-01-14 16:41.43 ---> saved as "c4b02aa1ab98146f9cb3a019a0385c00592939b3116a7a0a37cbad4822d2e316"

/home/opam: (run (network host)
                 (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#67094fb35e9c2a5387d1db15cba66f640062dd00"))
[mirage-dev] Initialised
[NOTE] Repository mirage-dev has been added to the selections of switch 4.13 only.
       Run `opam repository add mirage-dev --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2022-01-14 16:42.50 ---> saved as "3d29f789c3ebaf410177eb6321833ab19bcc9eb47198d621f4c295b9d161a84f"

/home/opam: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell "opam install -y opam-monorepo"))
The following actions will be performed:
  - install conf-pkg-config 2     [required by opam-monorepo]
  - install dune            2.9.1 [required by opam-monorepo]
  - install opam-monorepo   0.2.7
===== 3 to install =====

The following system packages will first need to be installed:
    pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 17391 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.58.3-2+deb10u3_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.58.3-2+deb10u3) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.58.3-2+deb10u3_all.deb ...
- Unpacking libglib2.0-data (2.58.3-2+deb10u3) ...
- Selecting previously unselected package libicu63:amd64.
- Preparing to unpack .../2-libicu63_63.1-6+deb10u2_amd64.deb ...
- Unpacking libicu63:amd64 (63.1-6+deb10u2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.4+dfsg1-7+deb10u2_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../4-pkg-config_0.29-6_amd64.deb ...
- Unpacking pkg-config (0.29-6) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../5-shared-mime-info_1.10-1_amd64.deb ...
- Unpacking shared-mime-info (1.10-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../6-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.58.3-2+deb10u3) ...
- No schema files found: doing nothing.
- Setting up libicu63:amd64 (63.1-6+deb10u2) ...
- Setting up libglib2.0-data (2.58.3-2+deb10u3) ...
- Setting up pkg-config (0.29-6) ...
- Setting up libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) ...
- Setting up shared-mime-info (1.10-1) ...
- Processing triggers for libc-bin (2.28-10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.2.9.1  (cached)
-> retrieved opam-monorepo.0.2.7  (cached)
-> installed conf-pkg-config.2
-> installed dune.2.9.1
-> installed opam-monorepo.0.2.7
Done.
# Run eval $(opam env) to update the current shell environment
2022-01-14 16:45.15 ---> saved as "c6a8b1e873699b9674ab02e0c7cb1a3f91aee1a67fe37fa36c1022ebc37eddf1"

/home/opam: (run (shell "sudo cp $(opam var bin)/opam-monorepo /opam-monorepo"))
2022-01-14 16:45.37 ---> saved as "d965f47a72396972b8beb1db750d9f138b79dc0ee4266221ddf8d23c8911c181"
2022-01-14 16:45.37 --> finished "monorepo"

(from ocaml/opam:debian-10-ocaml-4.13)
2022-01-14 16:45.53 ---> using "cbba9511e46ef57631453d5b88aeed1ed6de6fa87b6f0dcb3da9328657d73fa4" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2022-01-14 16:45.58 ---> using "0afede13af6ea6d75cbfcfb80353059bc4fd4eea40a723ef627f0c4946f2e079" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam update"))
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-01-14 16:45.58 ---> using "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc" from cache

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#ccfbafd8f67a00c32611625339d88ffbdc816add"))
[opam] Initialised
[NOTE] Repository opam has been added to the selections of switch 4.13 only.
       Run `opam repository add opam --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2022-01-14 16:45.58 ---> using "847573cc8e924c7f2545723302f48e4340fe3feb3462a518280daed8eb640dde" from cache

/home/opam: (run (network host)
                 (shell "opam repo add overlays https://github.com/mirage/opam-overlays.git#f033f8b770097e768cc974cc407e0cd6d7889d63"))
[overlays] Initialised
[NOTE] Repository overlays has been added to the selections of switch 4.13 only.
       Run `opam repository add overlays --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2022-01-14 16:45.58 ---> using "c4b02aa1ab98146f9cb3a019a0385c00592939b3116a7a0a37cbad4822d2e316" from cache

/home/opam: (run (network host)
                 (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#67094fb35e9c2a5387d1db15cba66f640062dd00"))
[mirage-dev] Initialised
[NOTE] Repository mirage-dev has been added to the selections of switch 4.13 only.
       Run `opam repository add mirage-dev --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2022-01-14 16:45.58 ---> using "3d29f789c3ebaf410177eb6321833ab19bcc9eb47198d621f4c295b9d161a84f" from cache

/home/opam: (workdir /src)

/src: (run (shell "sudo chown opam:opam /src"))
2022-01-14 16:46.50 ---> saved as "54c0bc21021884d7ff20d4641a0ce1461a571044abf2a92bd9b01f88fa22ba10"

/src: (run (shell  "echo 'opam-version: \"2.0\"\
                  \ndepends: [\
                  \n  \"ocaml\" {= \"4.13.1\"}\
                  \n  \"uri\"\
                  \n  \"uri-sexp\"\
                  \n  \"digestif\"\
                  \n]\
                  \nconflicts: [\
                  \n  \"parsexp\" {< \"v0.14.0\"}\
                  \n  \"sexplib\" {< \"v0.14.0\"}\
                  \n  \"base\" {< \"v0.14.0\"}\
                  \n]' >> monorepo.opam"))
2022-01-14 16:47.12 ---> saved as "afa3924fef79b70dd42de50a32469ebb4d013296d0e1240e8e58dd453b097a94"

/src: (copy (from (build monorepo))
            (src /opam-monorepo)
            (dst /usr/local/bin/opam-monorepo))
2022-01-14 16:47.19 ---> saved as "93f23d6e57483820d1958284a413d0c78d927fe23fefb404a8056209d6878917"

/src: (run (shell "opam-monorepo lock -l monorepo.opam.locked"))
==> Using 1 locally scanned package as the target.
==> Found 32 opam dependencies for the target package.
==> Querying opam database for their metadata and Dune compatibility.
==> Calculating exact pins for each of them.
==> Wrote lockfile with 20 entries to monorepo.opam.locked. You can now run opam monorepo pull to fetch their sources.
2022-01-14 16:48.47 ---> saved as "2a613268473018d033aebef66654ca88537671eca01c48cd92448b1a657ce19c"

/src: (run (shell "cp monorepo.opam.locked monorepo.opam"))
2022-01-14 16:49.03 ---> saved as "93fab46e1fed3d8c23affec3c1cf1633a63595af7f68fc1cca1edb893e584635"

/src: (run (shell "opam pin add monorepo -ny -k path /src/ --ignore-pin-depends"))
Package monorepo does not exist, create as a NEW package? [Y/n] y
[monorepo.~dev] synchronised (file:///src)
[WARNING] Failed checks on monorepo package definition from source at file:///src:
           warning 25: Missing field 'authors'
           warning 35: Missing field 'homepage'
           warning 36: Missing field 'bug-reports'
           warning 47: Synopsis (or description first line) should start with a capital and not end with a dot
monorepo is now pinned to file:///src (version ~dev)
2022-01-14 16:51.25 ---> saved as "7d81060e2ae4124e64a438ba3ca44c3902ac0257a8731dd69f60971aae2b3e51"

/src: (run (shell "opam list --columns name:,dev-repo: --required-by monorepo -s --separator ';' >> monorepo.dev-repo"))
2022-01-14 16:51.42 ---> saved as "4b3907814f7ceb75a72738304f68d019607697934ec8a4c4575f3728cc077d18"

/src: (run (network host)
           (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
           (shell "git clone --single-branch git@ci.mirage.io:mirage-ci/mirage-monorepo.git store && cd store && ((git remote set-branches --add origin monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 && git fetch origin monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 && git checkout --track origin/monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2) || (git checkout -b monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 && git push --set-upstream origin monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2))"))
Cloning into 'store'...
Warning: Permanently added '[ci.mirage.io]:10022,[51.159.31.165]:10022' (ECDSA) to the list of known hosts.
From ci.mirage.io:mirage-ci/mirage-monorepo
 * branch            monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 -> FETCH_HEAD
 * [new branch]      monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2 -> origin/monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2
Switched to a new branch 'monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2'
Branch 'monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2' set up to track remote branch 'monorepo-debian-10-ocaml-4.13-39cfb354c12737f1dc3b040b31e8a4b2' from 'origin'.
2022-01-14 16:52.03 ---> saved as "bb14bcfb10f3f1b27b12422e6492648be2e620f532a686174b27fd737fafb85c"

/src: (run (shell "cp monorepo.opam.locked monorepo.dev-repo  store/"))
2022-01-14 16:52.17 ---> saved as "d811c1502d9fa334957bf5f13a14b64d58bc7932cf5eb6fd9da2cccf84e2da52"

/src: (workdir store)

/src/store: (run (shell "git add monorepo.opam.locked monorepo.dev-repo"))
2022-01-14 16:52.33 ---> saved as "9afcc0ae4984f420a9673ea081fdad0bc639a5e8d8dbf11604f2478eaee8ebcb"

/src/store: (run (shell "git diff-index --quiet HEAD || git commit -m 'Update monorepo.opam.locked and monorepo.dev-repo'"))
2022-01-14 16:52.44 ---> saved as "72fd6ba0ad4580fc345f5243ed56856595442bda3c313279cb5dd075f9359cb5"

/src/store: (run (network host)
                 (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
                 (shell "git push"))
Everything up-to-date
2022-01-14 16:52.48 ---> saved as "57a2c7d0772b2c8ff197335b3351736af5a3889c617af97ebb3e60e23c264ae4"
Job succeeded

2022-01-14 16:52.48: Job succeeded