Build:
  1. 0
2024-03-12 14:21.47: New job: Build using linux-x86_64 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 unix)
 (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:25.20: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
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
13ebc16e6aeb: Pulling fs layer
13ebc16e6aeb: Download complete
13ebc16e6aeb: Pull complete
Digest: sha256:e7fe4085917874c42b88eeb89cba71fdd76c92a7723fe8248a53c544e7511aec
Status: Downloaded newer image for ocaml/opam:debian-10-ocaml-4.13
2024-03-12 14:25.21 ---> 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:25.21 ---> using "54342da51d0603a14f6ba9989f4252ffa31f1ca13e80c1d45d63e53fc9e80646" 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:25.21 ---> using "3ddb42a6e856d7c2c5e614451b958647e474c5a4c98a94c3cc6a5e11dd914645" 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:25.21 ---> using "e326bcae532048d40e3d85ef4be6d16a127765fdc06c14611aa1f3e6f5ceb357" 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:25.21 ---> using "c15413c126080e9506e1fb01d2a7238bc9a581e8a20270b8b3628b2d007edb55" 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:25.34 ---> saved as "67626b3fae72e5275109e375b3676fa85d1b9e53e7954b033ec359a3fc333ca4"

/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 amd64 Packages [589 kB]
Fetched 624 kB in 1s (700 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]
  - install dune            3.14.0 [required by mirage]
  - install ocamlfind       1.9.6  [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 topkg           1.0.7  [required by bos]
  - install ipaddr          5.5.0  [required by mirage]
  - 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 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 =====

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: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 ... 17398 files and directories currently installed.)
- Preparing to unpack .../0-libicu63_63.1-6+deb10u3_amd64.deb ...
- Unpacking libicu63:amd64 (63.1-6+deb10u3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../1-libxml2_2.9.4+dfsg1-7+deb10u6_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.4+dfsg1-7+deb10u6) ...
- Selecting previously unselected package libglib2.0-0:amd64.
- Preparing to unpack .../2-libglib2.0-0_2.58.3-2+deb10u5_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (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_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+deb10u5) ...
- No schema files found: doing nothing.
- Setting up libicu63:amd64 (63.1-6+deb10u3) ...
- Setting up libglib2.0-data (2.58.3-2+deb10u5) ...
- Setting up pkg-config (0.29-6) ...
- Setting up libxml2:amd64 (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)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.14.0  (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 39".

#=== ERROR while compiling mirage.4.4.2 =======================================#
# context              2.1.5 | linux/x86_64 | 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 39
# exit-code            1
# env-file             ~/.opam/log/mirage-1-a6f3ee.env
# output-file          ~/.opam/log/mirage-1-a6f3ee.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
| - 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-20240312142538.export"
"/usr/bin/env" "bash" "-c" "sudo apt-get update && opam install -y "mirage>=4"" failed with exit status 31
2024-03-12 14:26.53: Job failed: Failed: Build failed