2022-01-20 16:00.38: 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#10a48cb9fab88f67f6cb70280e0fec035c32d41c"))
         (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#10a48cb9fab88f67f6cb70280e0fec035c32d41c"))
 (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-20 16:00.38: Using cache hint "((build monorepo"
2022-01-20 16:00.38: Waiting for resource in pool OCluster
2022-01-20 16:00.38: Waiting for worker...
2022-01-20 16:00.38: Got resource from pool OCluster
Building on x86-bm-6.ocamllabs.io

(build "monorepo" ...)

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

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2022-01-20 16:03.15 ---> 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-20 16:05.47 ---> saved as "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc"

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#10a48cb9fab88f67f6cb70280e0fec035c32d41c"))
[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-20 16:07.42 ---> saved as "b86f914df3c85830dadf9b0ca086597c3a1c6c1a9aa8c23c07b09d1f9d0010c6"

/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-20 16:07.50 ---> saved as "f3e51b845515107512a37f49655cf8a73d0cde1313b989698d3d4d7a71ea034b"

/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-20 16:07.58 ---> saved as "756002b5d1357cea108484d69344e5e6cb5b15eba762e0a7e2b4eefa0810ce9d"

/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-20 16:11.24 ---> saved as "9359c72918e43e4ef66783644f3e5e421056905b5ad65667ddc03c16376405ba"

/home/opam: (run (shell "sudo cp $(opam var bin)/opam-monorepo /opam-monorepo"))
2022-01-20 16:11.26 ---> saved as "3afd0ddd0e40562190643354eb7b1f9e279f2c8817edcb51a4b11e9abb7da568"
2022-01-20 16:11.26 --> finished "monorepo"

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

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2022-01-20 16:11.26 ---> 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-20 16:11.26 ---> using "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc" from cache

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#10a48cb9fab88f67f6cb70280e0fec035c32d41c"))
[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-20 16:11.26 ---> using "b86f914df3c85830dadf9b0ca086597c3a1c6c1a9aa8c23c07b09d1f9d0010c6" 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-20 16:11.26 ---> using "f3e51b845515107512a37f49655cf8a73d0cde1313b989698d3d4d7a71ea034b" 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-20 16:11.26 ---> using "756002b5d1357cea108484d69344e5e6cb5b15eba762e0a7e2b4eefa0810ce9d" from cache

/home/opam: (workdir /src)

/src: (run (shell "sudo chown opam:opam /src"))
2022-01-20 16:11.31 ---> saved as "1cb897c56aa8316bd49dd7f57be0920543f25e00c0c3b6a06079413c35a4e84e"

/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-20 16:11.33 ---> saved as "39a66d5949240476808d1b49f7ee5ddd6d90784bb7ae47af1ffc160b46f2b791"

/src: (copy (from (build monorepo))
            (src /opam-monorepo)
            (dst /usr/local/bin/opam-monorepo))
2022-01-20 16:11.37 ---> saved as "8fae21edf9c11698578b6b772fd62b7460df9101b44554648872e3ae92a39a9e"

/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-20 16:13.16 ---> saved as "343e542e53cd0f56d6f3df40cf5d57297b31555787642962e8d6fcc1d6ab0f1f"

/src: (run (shell "cp monorepo.opam.locked monorepo.opam"))
2022-01-20 16:13.19 ---> saved as "e9115a280889834f94710671d12c5c85c821c7de0b32eb7d16f9b0d3e7adef98"

/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-20 16:15.14 ---> saved as "139710dd108b2b90b09247def16275bd2efc2bf13c25ddd1244c21aa4979b7e5"

/src: (run (shell "opam list --columns name:,dev-repo: --required-by monorepo -s --separator ';' >> monorepo.dev-repo"))
2022-01-20 16:15.35 ---> saved as "013306ec2c3b178006ad999f51d1a527fcf8b76eb87800be50fb5dfc3d148122"

/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-20 16:15.40 ---> saved as "43a1a68c2a57406e43f228d89a0f8edb27ef92e648fc2217a11ae8f6058e9817"

/src: (run (shell "cp monorepo.opam.locked monorepo.dev-repo  store/"))
2022-01-20 16:15.43 ---> saved as "b19dcf3ce68c97962ef671cd29454c786b678b4ec9198354144330363d994440"

/src: (workdir store)

/src/store: (run (shell "git add monorepo.opam.locked monorepo.dev-repo"))
2022-01-20 16:15.47 ---> saved as "86814565077821c2e96b0bc714e50ab2b873205f300fbcaa69748b5ec71fa895"

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

/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-20 16:16.04 ---> saved as "2e3bd74d624db032bd755852fc895c32e1b6e8b8319930be3db16eacee58a69f"
Job succeeded

2022-01-20 16:16.04: Job succeeded