Build:
  1. 0
2024-03-12 14:21.47: New job: Build using linux-arm64 in
                                [https://github.com/mirage/mirage-skeleton.git#refs/heads/dev (0e0d14df4933cf230534870843bd1809b0b895ae)]

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#f2800c50337755e821ceb6d426b38d730c216d30"))
 (run (network host)
      (shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#749c02302f8f15e609332edbe827541558554a80"))
 (run (network host)
      (shell "opam pin -ny https://github.com/mirage/mirage.git#69e85cca7207eb5f1be73c9e7b177d615ed5c112"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "sudo apt-get update && opam install -y \"mirage>=4\""))
 (copy (src .) (dst /src/))
 (env MODE hvt)
 (workdir /src/)
 (run (shell "opam exec -- make configure"))
 (env MIRAGE_EXTRA_REPOS opam-overlays:https://github.com/dune-universe/opam-overlays.git#4e75ee36715b27550d5bdb87686bb4ae4c9e89c4,mirage-opam-overlays:https://github.com/dune-universe/mirage-opam-overlays.git#05f1c1823d891ce4d8adab91f5db3ac51d86dc0b)
 (run (network host)
      (shell "opam exec -- make lock"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "sudo apt-get update && opam exec -- make depends"))
 (run (shell "opam monorepo list -l mirage.opam.locked"))
 (run (cache (download-cache (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam exec -- make pull"))
 (env DUNE_CACHE enabled)
 (env DUNE_CACHE_TRANSPORT direct)
 (run (cache (dune-build-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "opam exec -- make build"))
)

2024-03-12 14:21.47: Using cache hint "mirage-ci-skeleton-debian-10-ocaml-4.13"
2024-03-12 14:21.47: Waiting for resource in pool OCluster
2024-03-12 14:21.47: Waiting for worker…
2024-03-12 14:21.47: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
HEAD is now at 0e0d14d Merge pull request #382 from mirage/runtime-keys

(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
e243794af54b: Pulling fs layer
e243794af54b: Verifying Checksum
e243794af54b: Download complete
e243794af54b: Pull complete
Digest: sha256:6b2659d10ae0e7d16c06f176433e5d1b47f47f5fda408a6a252e3b23f19ae9bd
Status: Downloaded newer image for ocaml/opam:debian-10-ocaml-4.13
2024-03-12 14:21.47 ---> using "cbba9511e46ef57631453d5b88aeed1ed6de6fa87b6f0dcb3da9328657d73fa4" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-03-12 14:21.47 ---> 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
2024-03-12 14:21.47 ---> using "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc" from cache

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

2024-03-12 14:21.47 ---> using "0539976778436e8f84c02cf85b92d110f45297459e87d87407e5488df8acf794" from cache

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

2024-03-12 14:21.47 ---> using "3140a1a616ec04d5f0f65749aa1b9dd587027fca5d5dafbb3143237f1f19e8a1" from cache

/home/opam: (run (network host)
                 (shell "opam pin -ny https://github.com/mirage/mirage.git#69e85cca7207eb5f1be73c9e7b177d615ed5c112"))
This will pin the following packages: functoria-runtime, mirage-runtime, mirage. Continue? [Y/n] y
functoria-runtime is now pinned to git+https://github.com/mirage/mirage.git#69e85cca7207eb5f1be73c9e7b177d615ed5c112 (version 4.4.2)
mirage-runtime is now pinned to git+https://github.com/mirage/mirage.git#69e85cca7207eb5f1be73c9e7b177d615ed5c112 (version 4.4.2)
mirage is now pinned to git+https://github.com/mirage/mirage.git#69e85cca7207eb5f1be73c9e7b177d615ed5c112 (version 4.4.2)
2024-03-12 14:21.56 ---> saved as "f15864a55a649539c4d76d6f56ec2f94c7a8026ab1563baf96812a2c25d3daf8"

/home/opam: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell "sudo apt-get update && opam install -y \"mirage>=4\""))
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://deb.debian.org/debian-security buster/updates/main arm64 Packages [579 kB]
Fetched 614 kB in 1s (980 kB/s)
Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage.4.4.2] synchronised (no changes)

The following actions will be performed:
  - install   ocamlbuild            0.14.3 [required by bos]
  - install   conf-pkg-config       3      [required by opam-monorepo]
  - recompile ocaml-options-vanilla 1      [upstream or system changes]
  - install   ocamlfind             1.9.6  [required by bos]
  - install   dune                  3.14.0 [required by mirage]
  - install   topkg                 1.0.7  [required by bos]
  - install   opam-monorepo         0.4.0  [required by mirage]
  - install   macaddr               5.5.0  [required by ipaddr]
  - install   domain-name           0.4.0  [required by ipaddr]
  - install   rresult               0.7.0  [required by bos]
  - install   fmt                   0.9.0  [required by bos]
  - install   astring               0.8.5  [required by bos]
  - install   ipaddr                5.5.0  [required by mirage]
  - install   logs                  0.7.0  [required by mirage]
  - install   fpath                 0.7.3  [required by bos]
  - install   bos                   0.2.1  [required by mirage]
  - install   mirage                4.4.2*
===== 16 to install | 1 to recompile =====

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 libicu63: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 ... 17371 files and directories currently installed.)
- Preparing to unpack .../0-libicu63_63.1-6+deb10u3_arm64.deb ...
- Unpacking libicu63:arm64 (63.1-6+deb10u3) ...
- Selecting previously unselected package libxml2:arm64.
- Preparing to unpack .../1-libxml2_2.9.4+dfsg1-7+deb10u6_arm64.deb ...
- Unpacking libxml2:arm64 (2.9.4+dfsg1-7+deb10u6) ...
- Selecting previously unselected package libglib2.0-0:arm64.
- Preparing to unpack .../2-libglib2.0-0_2.58.3-2+deb10u5_arm64.deb ...
- Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u5) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../3-libglib2.0-data_2.58.3-2+deb10u5_all.deb ...
- Unpacking libglib2.0-data (2.58.3-2+deb10u5) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../4-pkg-config_0.29-6_arm64.deb ...
- Unpacking pkg-config (0.29-6) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../5-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 .../6-xdg-user-dirs_0.17-2_arm64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u5) ...
- No schema files found: doing nothing.
- Setting up libicu63:arm64 (63.1-6+deb10u3) ...
- Setting up libglib2.0-data (2.58.3-2+deb10u5) ...
- Setting up pkg-config (0.29-6) ...
- Setting up libxml2:arm64 (2.9.4+dfsg1-7+deb10u6) ...
- Setting up shared-mime-info (1.10-1) ...
- Processing triggers for libc-bin (2.28-10+deb10u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> installed conf-pkg-config.3
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ipaddr.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved macaddr.5.5.0  (cached)
-> removed   ocaml-options-vanilla.1
-> installed ocaml-options-vanilla.1
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved dune.3.14.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved mirage.4.4.2  (no changes)
-> retrieved topkg.1.0.7  (cached)
-> retrieved opam-monorepo.0.4.0  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.14.0
-> installed domain-name.0.4.0
-> installed macaddr.5.5.0
-> installed ipaddr.5.5.0
-> installed opam-monorepo.0.4.0
[ERROR] The compilation of mirage.4.4.2 failed at "dune build -p mirage -j 79".

#=== ERROR while compiling mirage.4.4.2 =======================================#
# context              2.1.5 | linux/arm64 | ocaml-base-compiler.4.13.1 | pinned(git+https://github.com/mirage/mirage.git#69e85cca7207eb5f1be73c9e7b177d615ed5c112#69e85cca7207eb5f1be73c9e7b177d615ed5c112)
# path                 ~/.opam/4.13/.opam-switch/build/mirage.4.4.2
# command              ~/.opam/4.13/bin/dune build -p mirage -j 79
# exit-code            1
# env-file             ~/.opam/log/mirage-1-c89b38.env
# output-file          ~/.opam/log/mirage-1-c89b38.out
### output ###
# File "lib/functoria/dune", line 17, characters 2-10:
# 17 |   logs.cli))
#        ^^^^^^^^
# Error: Library "logs.cli" in /home/opam/.opam/4.13/lib/logs is hidden
# (unsatisfied 'exist_if').
# -> required by library "mirage.functoria" in _build/default/lib/functoria
# -> required by executable main in bin/dune:2
# -> required by _build/default/bin/main.exe
# -> required by _build/install/default/bin/mirage
# -> required by _build/default/mirage.install
# -> required by alias install



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mirage 4.4.2
+- 
+- The following changes have been performed
| - recompile ocaml-options-vanilla 1
| - install   astring               0.8.5
| - install   bos                   0.2.1
| - install   conf-pkg-config       3
| - install   domain-name           0.4.0
| - install   dune                  3.14.0
| - install   fmt                   0.9.0
| - install   fpath                 0.7.3
| - install   ipaddr                5.5.0
| - install   logs                  0.7.0
| - install   macaddr               5.5.0
| - install   ocamlbuild            0.14.3
| - install   ocamlfind             1.9.6
| - install   opam-monorepo         0.4.0
| - install   rresult               0.7.0
| - install   topkg                 1.0.7
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.13/.opam-switch/backup/state-20240312142158.export"
"/bin/bash" "-c" "sudo apt-get update && opam install -y "mirage>=4"" failed with exit status 31
2024-03-12 14:22.49: Job failed: Failed: Build failed