Build:
  1. 0
2022-01-14 16:52.48: New job: Build using linux-arm64 in
                                [https://ci.mirage.io/git/mirage-ci/mirage-monorepo.git#universe-edge-monorepo (6ca320a251d8dcfaef87cb6bcd66f7fe1995b6d5
)]

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#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 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/"))
)

2022-01-14 16:52.48: Using cache hint "mirage-ci-monorepo-debian-10-ocaml-4.13"
2022-01-14 16:52.48: Waiting for resource in pool OCluster
2022-01-14 16:52.48: Waiting for worker...
2022-01-14 16:52.49: Got resource from pool OCluster
Building on arm64-jade-2.ocamllabs.io
All commits already cached
HEAD is now at 6ca320a 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 'caae3c2bacebd558ae2b0bbea807ec9703fb7508'
Submodule path 'bigarray-compat': checked out '757e11302b40619322fb839a8ef0cb0e16ba0828'
Submodule path 'bigstringaf': checked out '53cb9e0cc58a84acaf47e9f2eec73ae98b3ff424'
Submodule path 'csexp': checked out '7eeb86206819d2b1782d6cde1be9d6cf8b5fc851'
Submodule path 'digestif': checked out '2e67e5512527f9c6286d879352d6999b83e6bf5f'
Submodule path 'dune': checked out '0459195c722df4508b0d0f7550bdf02d191920d5'
Submodule path 'eqaf': checked out '995118811fca25f1203eedb540b6fa71f08668e5'
Submodule path 'lib-findlib': checked out 'd850375a56d998f0753dc432cbb1807286b0b33d'
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 'b3d7bca1e72cf2767de8d6cee6b0e1cf7a0b08cd'
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
2022-01-14 16:52.52 ---> 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:52.52 ---> 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
2022-01-14 16:52.52 ---> 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:52.52 ---> 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:52.53 ---> 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:52.55 ---> saved as "3d29f789c3ebaf410177eb6321833ab19bcc9eb47198d621f4c295b9d161a84f"

/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-freestanding.0.7.0  (cached)
-> retrieved ocaml-src.4.13.1  (cached)
-> retrieved ocamlfind.1.9.1  (cached)
-> retrieved solo5.0.7.0  (cached)
-> installed ocaml-src.4.13.1
-> installed conf-pkg-config.2
-> installed conf-libseccomp.1
-> 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
2022-01-14 16:54.09 ---> saved as "63398ca314aa392f780fd38ad4cc72e86767dc5da4f5296f63fa7fd7fd5a9c67"

/home/opam: (workdir /src)

/src: (run (shell "sudo chown opam:opam /src"))
2022-01-14 16:54.09 ---> saved as "a50eb50410f4deea06984142c189ccae29743b84eefa593baffdf04f62b7499e"

/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
2022-01-14 16:54.40 ---> saved as "b2eda0e11090d950a870cfd7993bbb3a37770343605b1b40fa06338bfb684063"

/src: (workdir /src/duniverse)

/src/duniverse: (run (shell "sudo chown opam:opam /src/duniverse"))
2022-01-14 16:54.40 ---> saved as "0d9518439ed3f665a99587c738812cf3dce185851d2d027965bfbfa5e0ee979d"

/src/duniverse: (copy (src .) (dst /src/duniverse/))
2022-01-14 16:54.42 ---> saved as "44676248668fe7f78189bb814d68c0a4da2d4f5f2636bb2c0e8f7d84917e60f7"

/src/duniverse: (run (shell "touch dune && mv dune dune_"))
2022-01-14 16:54.43 ---> saved as "8cdca4ec4aa66b2acc5fd3a4c2dc750ad9d1c1a19bb7cb324fa5db856fb1f180"

/src/duniverse: (run (shell "echo '(vendored_dirs *)' >> dune"))
2022-01-14 16:54.43 ---> saved as "d942977e23008fbcb261699392c4c40013c54b225fc0a79e936d315bcb832b41"

/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"))
2022-01-14 16:54.43 ---> saved as "c6aa7ee1c8d9aa85c1f02e522c6c5cded7d3135cd7fdc8ef100f265345d8788d"

/src: (run (shell "touch monorepo.opam; touch monorepo.ml"))
2022-01-14 16:54.43 ---> saved as "319d18c8c2c6b7c69f3db7ec0fe5bb3ffc00b41c51a53ed407713ed5d069dd99"

/src: (run (shell "find . -type f -name 'dune-project' -exec sed 's/(strict_package_deps)//g' -i {} \\;"))
2022-01-14 16:54.46 ---> saved as "06a73e84c04786dfb38c9f039561ad988d443d8d8fed698ff60fa33c8944e2c1"

/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

2022-01-14 16:54.47: Job failed: Failed: Build failed