Build:
  1. 0
2021-11-25 10:11.33: 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#03fce0486d9ff1899862edf5b75cbc44adc38393"))
         (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#38f1101abd4c7bcd50f0fa0433495e38e383d093"))
         (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#03fce0486d9ff1899862edf5b75cbc44adc38393"))
 (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#38f1101abd4c7bcd50f0fa0433495e38e383d093"))
 (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"))
)

2021-11-25 10:11.33: Using cache hint "((build monorepo"
2021-11-25 10:11.33: Waiting for resource in pool OCluster
2021-11-25 10:11.33: Waiting for worker...
2021-11-25 10:11.48: Got resource from pool OCluster
Building on x86-bm-6.ocamllabs.io

(build "monorepo" ...)

(from ocaml/opam:debian-10-ocaml-4.13)
2021-11-25 10:13.48 ---> saved as "cbba9511e46ef57631453d5b88aeed1ed6de6fa87b6f0dcb3da9328657d73fa4"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2021-11-25 10:13.50 ---> 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
2021-11-25 10:16.13 ---> saved as "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc"

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#03fce0486d9ff1899862edf5b75cbc44adc38393"))
[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.

2021-11-25 10:17.53 ---> saved as "4283964b7c0013a4a28ac69e8a14960d309b96f778a72a13bcf65b9849940db3"

/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.

2021-11-25 10:18.05 ---> saved as "cf06f9e6e4dd3e8b0518912b3073aac8369e4c42330124b3f494ebcab1256980"

/home/opam: (run (network host)
                 (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#38f1101abd4c7bcd50f0fa0433495e38e383d093"))
[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.

2021-11-25 10:18.12 ---> saved as "9510a94ddf1be08523c324fd67b14583efd39aa211424e79c2ce7def959c5950"

/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+deb10u1_amd64.deb ...
- Unpacking libicu63:amd64 (63.1-6+deb10u1) ...
- 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+deb10u1) ...
- 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
2021-11-25 10:20.37 ---> saved as "3a00bf186fb8e02dc8234ca051f91b5b41e7fcc9c8db9f5a906a18e835281768"

/home/opam: (run (shell "sudo cp $(opam var bin)/opam-monorepo /opam-monorepo"))
2021-11-25 10:20.48 ---> saved as "dd046b515509c48407d72c03979df355d04796fdd8a21ec0a93f8cb9092e27d6"
2021-11-25 10:20.48 --> finished "monorepo"

(from ocaml/opam:debian-10-ocaml-4.13)
2021-11-25 10:20.48 ---> using "cbba9511e46ef57631453d5b88aeed1ed6de6fa87b6f0dcb3da9328657d73fa4" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2021-11-25 10:20.48 ---> 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
2021-11-25 10:20.48 ---> using "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc" from cache

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#03fce0486d9ff1899862edf5b75cbc44adc38393"))
[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.

2021-11-25 10:20.48 ---> using "4283964b7c0013a4a28ac69e8a14960d309b96f778a72a13bcf65b9849940db3" 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.

2021-11-25 10:20.48 ---> using "cf06f9e6e4dd3e8b0518912b3073aac8369e4c42330124b3f494ebcab1256980" from cache

/home/opam: (run (network host)
                 (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#38f1101abd4c7bcd50f0fa0433495e38e383d093"))
[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.

2021-11-25 10:20.48 ---> using "9510a94ddf1be08523c324fd67b14583efd39aa211424e79c2ce7def959c5950" from cache

/home/opam: (workdir /src)

/src: (run (shell "sudo chown opam:opam /src"))
2021-11-25 10:20.54 ---> saved as "bc81017ff373dcffc31f2e9a1386d6f9e6c57fb71f7bcdba130323e9df334647"

/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"))
2021-11-25 10:20.58 ---> saved as "3c26d41a428f8ccf6535e609a249e6864543054645c2c66c2a8bd76d3cbf5379"

/src: (copy (from (build monorepo))
            (src /opam-monorepo)
            (dst /usr/local/bin/opam-monorepo))
2021-11-25 10:21.04 ---> saved as "dfc0211bb6b55b718073a9d242118a7431c98e0a6b80e762ff8f0454cbeea3aa"

/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.
2021-11-25 10:22.27 ---> saved as "51fbb05ca6b493c3d1dc4a6fd672e27243aaade7b3c2a955d2b00583adc1545a"

/src: (run (shell "cp monorepo.opam.locked monorepo.opam"))
2021-11-25 10:22.39 ---> saved as "1605e201e1df0f1f536514d4e71116a9e84f88ab857c35c067c3f5007ffd8f5f"

/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)
2021-11-25 10:24.14 ---> saved as "4867f18e3c51908671777c6fc5f8efbb95105bf3b3e9de63aebc319f362fabc9"

/src: (run (shell "opam list --columns name:,dev-repo: --required-by monorepo -s --separator ';' >> monorepo.dev-repo"))
2021-11-25 10:24.59 ---> saved as "7a294869364c817a5e5b72aa694dd017d9a3407d981b05fe8e1793a0840553f8"

/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'.
2021-11-25 10:25.14 ---> saved as "413bbb4b3ffb40f684f7042fe1b6be13ba48aa45a35f11daf3c8c372b932818a"

/src: (run (shell "cp monorepo.opam.locked monorepo.dev-repo  store/"))
2021-11-25 10:25.23 ---> saved as "e8953a222a401a57aa735ba7dce307a1ff1a79a07aa29831a4bd0f89269fc860"

/src: (workdir store)

/src/store: (run (shell "git add monorepo.opam.locked monorepo.dev-repo"))
2021-11-25 10:25.31 ---> saved as "9246fc38b1d97e7611a9f4909cf56dfb6cb42f2d3d62e94e5d1771f5d08b2b1d"

/src/store: (run (shell "git diff-index --quiet HEAD || git commit -m 'Update monorepo.opam.locked and monorepo.dev-repo'"))
2021-11-25 10:25.32 ---> saved as "a60298afeb0872940164b3297c857eadb225785036951bde3dbf4f7f7480a9ef"

/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
2021-11-25 10:25.34 ---> saved as "e07e66aae2d6060cace2eb13d8355ca0bb67be933afb775b2e67b7e6c5f97b83"
Job succeeded
2021-11-25 10:25.34: Job succeeded