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

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"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install -y ocaml-freestanding"))
 (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 -x freestanding"))
 (run (shell "du -sh _build/"))
)

2021-11-25 14:38.03: Using cache hint "mirage-ci-monorepo-debian-10-ocaml-4.13"
2021-11-25 14:38.03: Waiting for resource in pool OCluster
2021-11-25 14:38.03: Waiting for worker...
2021-11-25 14:38.03: Got resource from pool OCluster
Building on arm64-jade-2.ocamllabs.io
All commits already cached
HEAD is now at 4fad7f2 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'
Submodule 'csexp' (https://github.com/ocaml-dune/csexp.git) unregistered for path 'csexp'
Cleared directory 'digestif'
Submodule 'digestif' (https://github.com/mirage/digestif.git) unregistered for path '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'
Submodule 'ocaml-syntax-shims' (https://github.com/ocaml-ppx/ocaml-syntax-shims.git) unregistered for path 'ocaml-syntax-shims'
Cleared directory 'ocaml-uri'
Submodule 'ocaml-uri' (https://github.com/mirage/ocaml-uri.git) unregistered for path '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'
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 '9d0dc1336439b44df27590a02047eed68aaba0be'
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'
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:38.09 ---> 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:38.09 ---> 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:38.09 ---> 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:38.09 ---> 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:38.09 ---> 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:38.09 ---> using "9510a94ddf1be08523c324fd67b14583efd39aa211424e79c2ce7def959c5950" from cache

/home/opam: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell "opam install -y ocaml-freestanding"))
The following actions will be performed:
  - install ocaml-src          4.13.1 [required by ocaml-freestanding]
  - install conf-pkg-config    2      [required by solo5]
  - install ocamlfind          1.9.1  [required by ocaml-freestanding]
  - install conf-libseccomp    1      [required by solo5]
  - install solo5              0.7.0  [required by ocaml-freestanding]
  - install ocaml-freestanding 0.7.0
===== 6 to install =====

The following system packages will first need to be installed:
    libseccomp-dev 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" "libseccomp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:arm64.
- (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 ... 17364 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.58.3-2+deb10u3_arm64.deb ...
- Unpacking libglib2.0-0:arm64 (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:arm64.
- Preparing to unpack .../2-libicu63_63.1-6+deb10u1_arm64.deb ...
- Unpacking libicu63:arm64 (63.1-6+deb10u1) ...
- Selecting previously unselected package libseccomp-dev:arm64.
- Preparing to unpack .../3-libseccomp-dev_2.3.3-4_arm64.deb ...
- Unpacking libseccomp-dev:arm64 (2.3.3-4) ...
- Selecting previously unselected package libxml2:arm64.
- Preparing to unpack .../4-libxml2_2.9.4+dfsg1-7+deb10u2_arm64.deb ...
- Unpacking libxml2:arm64 (2.9.4+dfsg1-7+deb10u2) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../5-pkg-config_0.29-6_arm64.deb ...
- Unpacking pkg-config (0.29-6) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../6-shared-mime-info_1.10-1_arm64.deb ...
- Unpacking shared-mime-info (1.10-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../7-xdg-user-dirs_0.17-2_arm64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libseccomp-dev:arm64 (2.3.3-4) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u3) ...
- No schema files found: doing nothing.
- Setting up libicu63:arm64 (63.1-6+deb10u1) ...
- Setting up libglib2.0-data (2.58.3-2+deb10u3) ...
- Setting up pkg-config (0.29-6) ...
- Setting up libxml2:arm64 (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 ocaml-src.4.13.1  (cached)
-> retrieved ocamlfind.1.9.1  (cached)
-> installed ocaml-src.4.13.1
-> installed conf-pkg-config.2
-> installed conf-libseccomp.1
-> retrieved solo5.0.7.0  (git+https://github.com/TheLortex/solo5.git#77db27433ccd5b1ec13735e8ef1c92e141969a5c)
-> retrieved ocaml-freestanding.0.7.0  (git+https://github.com/TheLortex/ocaml-freestanding.git#9ba5d880d4d6a4b01a552082a51c7761c03e813c)
-> installed ocamlfind.1.9.1
-> installed solo5.0.7.0
-> installed ocaml-freestanding.0.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2021-11-25 14:39.20 ---> saved as "bfc845a8eca3af53fa07a9dca8efa290a208de3f65a52d25a0a22e3aef7d0bab"

/home/opam: (workdir /src)

/src: (run (shell "sudo chown opam:opam /src"))
2021-11-25 14:39.20 ---> saved as "404440fec16063ebaca7abc5bfe9db4808ac885452fd95dd32c32baf0130f01c"

/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:39.48 ---> saved as "476dee95844da845c517095772ae178850843576b72a80cbd10f4097bc86721c"

/src: (workdir /src/duniverse)

/src/duniverse: (run (shell "sudo chown opam:opam /src/duniverse"))
2021-11-25 14:39.48 ---> saved as "70bcdeccb30a630c08c6856d32365e8e0711a1a013ba29ec6725fd32ec4ce58f"

/src/duniverse: (copy (src .) (dst /src/duniverse/))
2021-11-25 14:39.51 ---> saved as "46cecfeedb94649239ce0bc5f33fe58f66faef247c68c45a77822a3d6aea5060"

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

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

/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:39.52 ---> saved as "0fa57a8bb68df7b24c67833417f3959d449d1b3980388bffe928fd799f681f85"

/src: (run (shell "touch monorepo.opam; touch monorepo.ml"))
2021-11-25 14:39.53 ---> saved as "4f311925582cd898de3075dd102e240549835c93fe5bf3c0fdbb94ab32621b51"

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

/src: (run (shell "opam exec -- dune build --profile release --debug-dependency-path -x freestanding"))
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 -x freestanding" failed with exit status 1
2021-11-25 14:39.56: Job failed: Failed: Build failed