Build:
  1. 0
2021-11-25 14:37.40: New job: Build using linux-arm64 in
                                [https://ci.mirage.io/git/mirage-ci/mirage-monorepo.git#universe-edge-monorepo (e910e5450a2b5b562fd057aba4ae550edbc7f26c
)]

OBuilder spec:

((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 (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install -y dune"))
 (workdir /src/duniverse)
 (run (shell "sudo chown opam:opam /src/duniverse"))
 (copy (src .) (dst /src/duniverse/))
 (run (shell "touch dune && mv dune dune_"))
 (run (shell "echo '(vendored_dirs *)' >> dune"))
 (workdir /src)
 (run (shell  "echo '\
             \n  (library\
             \n   (name monorepo)\
             \n   (public_name monorepo)\
             \n   (libraries \
             \nuri uri-sexp \
             \ndigestif )\
             \n  )\
             \n  ' >> dune"))
 (run (shell "touch monorepo.opam; touch monorepo.ml"))
 (run (shell "find . -type f -name 'dune-project' -exec sed 's/(strict_package_deps)//g' -i {} \\;"))
 (run (shell "opam exec -- dune build --profile release --debug-dependency-path "))
 (run (shell "du -sh _build/"))
)

2021-11-25 14:37.40: Using cache hint "mirage-ci-monorepo-debian-10-ocaml-4.13"
2021-11-25 14:37.40: Waiting for resource in pool OCluster
2021-11-25 14:37.40: Waiting for worker...
2021-11-25 14:37.40: Got resource from pool OCluster
Building on arm64-jade-2.ocamllabs.io
HEAD is now at 0d6c2ed monorepo-git-push
Cleared directory 'digestif'
Submodule 'digestif' (https://github.com/mirage/digestif.git) unregistered for path 'digestif'
Cleared directory 'ocaml-uri'
Submodule 'ocaml-uri' (https://github.com/mirage/ocaml-uri.git) unregistered for path 'ocaml-uri'
HEAD is now at e910e54 monorepo-git-push
Cleared directory 'angstrom'
Submodule 'angstrom' (https://github.com/inhabitedtype/angstrom.git) unregistered for path 'angstrom'
Cleared directory 'base'
Submodule 'base' (https://github.com/janestreet/base.git) unregistered for path 'base'
Cleared directory 'bigarray-compat'
Submodule 'bigarray-compat' (https://github.com/mirage/bigarray-compat.git) unregistered for path 'bigarray-compat'
Cleared directory 'bigstringaf'
Submodule 'bigstringaf' (https://github.com/inhabitedtype/bigstringaf.git) unregistered for path 'bigstringaf'
Cleared directory 'csexp'
warning: Could not unset core.worktree setting in submodule 'digestif'
Submodule 'csexp' (https://github.com/ocaml-dune/csexp.git) unregistered for path 'csexp'
Cleared directory 'digestif'
Cleared directory 'dune'
Submodule 'dune' (https://github.com/ocaml/dune.git) unregistered for path 'dune'
Cleared directory 'eqaf'
Submodule 'eqaf' (https://github.com/mirage/eqaf.git) unregistered for path 'eqaf'
Cleared directory 'lib-findlib'
Submodule 'lib-findlib' (https://github.com/dune-universe/lib-findlib.git) unregistered for path 'lib-findlib'
Cleared directory 'ocaml-compiler-libs'
Submodule 'ocaml-compiler-libs' (https://github.com/janestreet/ocaml-compiler-libs.git) unregistered for path 'ocaml-compiler-libs'
Cleared directory 'ocaml-cstruct'
Submodule 'ocaml-cstruct' (https://github.com/mirage/ocaml-cstruct.git) unregistered for path 'ocaml-cstruct'
Cleared directory 'ocaml-syntax-shims'
warning: Could not unset core.worktree setting in submodule 'ocaml-uri'
Submodule 'ocaml-syntax-shims' (https://github.com/ocaml-ppx/ocaml-syntax-shims.git) unregistered for path 'ocaml-syntax-shims'
Cleared directory 'ocaml-uri'
Cleared directory 'ppx_derivers'
Submodule 'ppx_derivers' (https://github.com/ocaml-ppx/ppx_derivers.git) unregistered for path 'ppx_derivers'
Cleared directory 'ppx_sexp_conv'
Submodule 'ppx_sexp_conv' (https://github.com/janestreet/ppx_sexp_conv.git) unregistered for path 'ppx_sexp_conv'
Cleared directory 'ppxlib'
Submodule 'ppxlib' (https://github.com/ocaml-ppx/ppxlib.git) unregistered for path 'ppxlib'
Cleared directory 'result'
Submodule 'result' (https://github.com/janestreet/result.git) unregistered for path 'result'
Cleared directory 'sexplib0'
Submodule 'sexplib0' (https://github.com/janestreet/sexplib0.git) unregistered for path 'sexplib0'
Cleared directory 'stdlib-shims'
Submodule 'stdlib-shims' (https://github.com/ocaml/stdlib-shims.git) unregistered for path 'stdlib-shims'
Cleared directory 'stringext'
Submodule 'stringext' (https://github.com/rgrinberg/stringext.git) unregistered for path 'stringext'
Submodule 'angstrom' (https://github.com/inhabitedtype/angstrom.git) registered for path 'angstrom'
Submodule 'base' (https://github.com/janestreet/base.git) registered for path 'base'
Submodule 'bigarray-compat' (https://github.com/mirage/bigarray-compat.git) registered for path 'bigarray-compat'
Submodule 'bigstringaf' (https://github.com/inhabitedtype/bigstringaf.git) registered for path 'bigstringaf'
Submodule 'csexp' (https://github.com/ocaml-dune/csexp.git) registered for path 'csexp'
Submodule 'digestif' (https://github.com/mirage/digestif.git) registered for path 'digestif'
Submodule 'dune' (https://github.com/ocaml/dune.git) registered for path 'dune'
Submodule 'eqaf' (https://github.com/mirage/eqaf.git) registered for path 'eqaf'
Submodule 'lib-findlib' (https://github.com/dune-universe/lib-findlib.git) registered for path 'lib-findlib'
Submodule 'ocaml-compiler-libs' (https://github.com/janestreet/ocaml-compiler-libs.git) registered for path 'ocaml-compiler-libs'
Submodule 'ocaml-cstruct' (https://github.com/mirage/ocaml-cstruct.git) registered for path 'ocaml-cstruct'
Submodule 'ocaml-syntax-shims' (https://github.com/ocaml-ppx/ocaml-syntax-shims.git) registered for path 'ocaml-syntax-shims'
Submodule 'ocaml-uri' (https://github.com/mirage/ocaml-uri.git) registered for path 'ocaml-uri'
Submodule 'ppx_derivers' (https://github.com/ocaml-ppx/ppx_derivers.git) registered for path 'ppx_derivers'
Submodule 'ppx_sexp_conv' (https://github.com/janestreet/ppx_sexp_conv.git) registered for path 'ppx_sexp_conv'
Submodule 'ppxlib' (https://github.com/ocaml-ppx/ppxlib.git) registered for path 'ppxlib'
Submodule 'result' (https://github.com/janestreet/result.git) registered for path 'result'
Submodule 'sexplib0' (https://github.com/janestreet/sexplib0.git) registered for path 'sexplib0'
Submodule 'stdlib-shims' (https://github.com/ocaml/stdlib-shims.git) registered for path 'stdlib-shims'
Submodule 'stringext' (https://github.com/rgrinberg/stringext.git) registered for path 'stringext'
Submodule path 'angstrom': checked out '5536d1da71469b49f37076beb5f75d34f448da5e'
From https://github.com/janestreet/base
   5c5bd64..7df4055  master     -> origin/master
   e9dc05f..83a70d1  v0.14      -> origin/v0.14
 * [new branch]      v0.15      -> origin/v0.15
 * [new tag]         v0.14.2    -> v0.14.2
Submodule path 'base': checked out '7df4055a9ca27b54aa42a98b4b904f157d463292'
Submodule path 'bigarray-compat': checked out '757e11302b40619322fb839a8ef0cb0e16ba0828'
Submodule path 'bigstringaf': checked out '53cb9e0cc58a84acaf47e9f2eec73ae98b3ff424'
Submodule path 'csexp': checked out '7eeb86206819d2b1782d6cde1be9d6cf8b5fc851'
Submodule path 'digestif': checked out '4a8e07ee8b936951bd8009d74764532588316540'
Submodule path 'dune': checked out 'e2682ec5774f439f3c6f88c2b62d79ac658d8853'
Submodule path 'eqaf': checked out '995118811fca25f1203eedb540b6fa71f08668e5'
Submodule path 'lib-findlib': checked out '55b3374114ea425e8881e4758a06b02ba06aabb5'
Submodule path 'ocaml-compiler-libs': checked out '5d2f8865ddef5aea453d5d72d31ff7a9b5105977'
Submodule path 'ocaml-cstruct': checked out '374c69447fbce5521f9ee3035bb51e114b1ce8c0'
Submodule path 'ocaml-syntax-shims': checked out '38a6dd23543d9c4c3678fc6741962832fd539877'
Submodule path 'ocaml-uri': checked out '0ff3efbbc235bef5a7d67cc01bc1dadbe2e859b9'
Submodule path 'ppx_derivers': checked out 'd6655353f647d33de12d215aaa477ba936febef3'
Submodule path 'ppx_sexp_conv': checked out 'e8404bcacb24c36d5ba1f1e6b035ff4f7921119d'
From https://github.com/ocaml-ppx/ppxlib
   95bbe90..8093b3c  main       -> origin/main
Submodule path 'ppxlib': checked out '8093b3cb1a6248f893488931b7c03a3f07374b6d'
Submodule path 'result': checked out 'b0b9cd6e9cce8d2b7ad11127a6135540ec3f8a92'
Submodule path 'sexplib0': checked out '465c5625cdafcd24b0af45059e1f8c684fcbf15e'
Submodule path 'stdlib-shims': checked out 'fb6815e5d745f07fd567c11671149de6ef2e74c8'
Submodule path 'stringext': checked out '2bce0a6fe54e8f8782f7a3b2be44a5e1fb37a522'

(from ocaml/opam:debian-10-ocaml-4.13)
Unable to find image 'ocaml/opam:debian-10-ocaml-4.13' locally
debian-10-ocaml-4.13: Pulling from ocaml/opam
2ff6d7a9e7d7: Already exists
9bfc1cf9e325: Already exists
c35e13cdae6f: Pulling fs layer
c35e13cdae6f: Verifying Checksum
c35e13cdae6f: Download complete
c35e13cdae6f: Pull complete
Digest: sha256:0b6b68bbf8ae80f9f23b0cc0a8393f8f5b8fb13632e39f94c9c6573eca227e79
Status: Downloaded newer image for ocaml/opam:debian-10-ocaml-4.13
2021-11-25 14:37.45 ---> 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 14:37.45 ---> using "0afede13af6ea6d75cbfcfb80353059bc4fd4eea40a723ef627f0c4946f2e079" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam update"))
This development 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 14:37.45 ---> 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 14:37.45 ---> 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 14:37.45 ---> 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 14:37.45 ---> using "9510a94ddf1be08523c324fd67b14583efd39aa211424e79c2ce7def959c5950" from cache

/home/opam: (workdir /src)

/src: (run (shell "sudo chown opam:opam /src"))
2021-11-25 14:37.45 ---> using "bc81017ff373dcffc31f2e9a1386d6f9e6c57fb71f7bcdba130323e9df334647" from cache

/src: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install -y dune"))
The following actions will be performed:
  - install dune 2.9.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.2.9.1  (cached)
-> installed dune.2.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2021-11-25 14:37.45 ---> using "6ccefd947a7697345dde3cb917eaa4a5a9bd6d69774c9edc272fc49d9e12afc9" from cache

/src: (workdir /src/duniverse)

/src/duniverse: (run (shell "sudo chown opam:opam /src/duniverse"))
2021-11-25 14:37.45 ---> using "ac01aa21c94fdffadbafb9a2e114c5b96dcdfde79a1cba6851962962bb0b2fce" from cache

/src/duniverse: (copy (src .) (dst /src/duniverse/))
2021-11-25 14:37.48 ---> saved as "b42db443fd46d2bb8883cccac40a1c28618b955948c544927974f1b562a81dda"

/src/duniverse: (run (shell "touch dune && mv dune dune_"))
2021-11-25 14:37.48 ---> saved as "3a650144e194a2e1a79d5c42716ab0af5b571845510f4a8972d61db37e0847a9"

/src/duniverse: (run (shell "echo '(vendored_dirs *)' >> dune"))
2021-11-25 14:37.48 ---> saved as "dce46990f81d4042839a5a60f7e62f7aed2b50506c01e636aec8c1fc7ecb180c"

/src/duniverse: (workdir /src)

/src: (run (shell  "echo '\
                  \n  (library\
                  \n   (name monorepo)\
                  \n   (public_name monorepo)\
                  \n   (libraries \
                  \nuri uri-sexp \
                  \ndigestif )\
                  \n  )\
                  \n  ' >> dune"))
2021-11-25 14:37.49 ---> saved as "0eb8aec250588cfa631128e89a062e4bf9a1cc564e34c13d9fe135bcbb683658"

/src: (run (shell "touch monorepo.opam; touch monorepo.ml"))
2021-11-25 14:37.49 ---> saved as "5618d97f33b7d3383ef3def43f9543dde1a6f0792a389ae253b2de6e3e43b00a"

/src: (run (shell "find . -type f -name 'dune-project' -exec sed 's/(strict_package_deps)//g' -i {} \\;"))
2021-11-25 14:37.51 ---> saved as "c46f4ad01b33c7bfe1085ad45fbeba0dcbaa321fbafb124adb7126dd086cc0c6"

/src: (run (shell "opam exec -- dune build --profile release --debug-dependency-path "))
Info: Creating file dune-project with this contents:
| (lang dune 2.9)
| (name monorepo)
File "duniverse/dune_/dune-project", line 1, characters 11-14:
1 | (lang dune 3.0)
               ^^^
Error: Version 3.0 of the dune language is not supported.
Supported versions of this extension in version 3.0 of the dune language:
- 1.0 to 1.12
- 2.0 to 2.9
"/bin/bash" "-c"
"opam exec -- dune build --profile release --debug-dependency-path " failed with exit status 1
2021-11-25 14:37.53: Job failed: Failed: Build failed