Build:
  1. 0
2024-01-21 18:38.45: New job: Build using linux-arm64 in
                                [https://github.com/mirage/mirage-skeleton.git#refs/heads/dev (3242127698d7642ffe81909cc7ed3d353769694f)]

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#b8ec39e3556eef143f9032b2dae642c810581a1d"))
 (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#1476f8ae3b8782d246a68ff335a27cbf298fc86f"))
 (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#91a371754a2c9f4febbb6c7bb039649ad49a3c13,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-01-21 18:38.45: Using cache hint "mirage-ci-skeleton-debian-10-ocaml-4.13"
2024-01-21 18:38.45: Waiting for resource in pool OCluster
2024-01-21 18:38.45: Waiting for worker…
2024-01-21 18:38.45: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at 3242127 Merge pull request #374 from samoht/runtime-keys-at-runtime

(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: Retrying in 5 seconds
e243794af54b: Retrying in 4 seconds
e243794af54b: Retrying in 3 seconds
e243794af54b: Retrying in 2 seconds
e243794af54b: Retrying in 1 second
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-01-21 18:38.45 ---> using "cbba9511e46ef57631453d5b88aeed1ed6de6fa87b6f0dcb3da9328657d73fa4" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-01-21 18:38.45 ---> 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-01-21 18:38.45 ---> using "88933084999984163bc104ca2978b0ba2b9c83ff33e4e30c3b6dae7cb5cde9bc" from cache

/home/opam: (run (network host)
                 (shell "opam repo add opam https://github.com/ocaml/opam-repository.git#b8ec39e3556eef143f9032b2dae642c810581a1d"))
[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-01-21 18:38.45 ---> using "caad70ac4e1f6a1b0ab9b056df75e374dc2c4bec58ada54c932ff9e2229e1665" 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-01-21 18:38.45 ---> using "e0137130b512d20985d793ae13aa62d9a39ce271e4f7a8b954ea163989a8da51" from cache

/home/opam: (run (network host)
                 (shell "opam pin -ny https://github.com/mirage/mirage.git#1476f8ae3b8782d246a68ff335a27cbf298fc86f"))
This will pin the following packages: functoria-runtime, functoria, mirage-runtime, mirage. Continue? [Y/n] y
functoria-runtime is now pinned to git+https://github.com/mirage/mirage.git#1476f8ae3b8782d246a68ff335a27cbf298fc86f (version 4.4.1)
functoria is now pinned to git+https://github.com/mirage/mirage.git#1476f8ae3b8782d246a68ff335a27cbf298fc86f (version 4.4.1)
mirage-runtime is now pinned to git+https://github.com/mirage/mirage.git#1476f8ae3b8782d246a68ff335a27cbf298fc86f (version 4.4.1)
mirage is now pinned to git+https://github.com/mirage/mirage.git#1476f8ae3b8782d246a68ff335a27cbf298fc86f (version 4.4.1)
2024-01-21 18:38.54 ---> saved as "29824726a308906c213d8a83fdac2da025211032478548817894c47028e32540"

/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 [572 kB]
Fetched 606 kB in 1s (884 kB/s)
Reading package lists...

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

The following actions will be performed:
  - install   ocamlbuild            0.14.3 [required by bos]
  - install   cmdliner              1.2.0  [required by functoria]
  - install   dune                  3.13.0 [required by mirage]
  - install   ocamlfind             1.9.6  [required by bos]
  - install   conf-pkg-config       3      [required by opam-monorepo]
  - recompile ocaml-options-vanilla 1      [upstream or system changes]
  - install   stringext             1.6.0  [required by uri]
  - install   result                1.5    [required by functoria]
  - install   pecu                  0.6    [required by emile]
  - install   ocaml-syntax-shims    1.0.0  [required by angstrom]
  - install   macaddr               5.5.0  [required by ipaddr]
  - install   functoria-runtime     4.4.1* [required by mirage-runtime]
  - install   domain-name           0.4.0  [required by ipaddr]
  - install   csexp                 1.5.2  [required by dune-configurator]
  - install   cppo                  1.6.9  [required by lwt]
  - install   base64                3.5.1  [required by emile]
  - install   topkg                 1.0.7  [required by bos]
  - install   base-bytes            base   [required by ocplib-endian]
  - install   opam-monorepo         0.4.0  [required by mirage]
  - install   ipaddr                5.5.0  [required by mirage]
  - install   dune-configurator     3.13.0 [required by lwt]
  - install   uutf                  1.0.3  [required by emile]
  - install   rresult               0.7.0  [required by bos, functoria]
  - install   fmt                   0.9.0  [required by bos, functoria]
  - install   astring               0.8.5  [required by bos, functoria]
  - install   ocplib-endian         1.2    [required by lwt]
  - install   bigstringaf           0.9.1  [required by emile]
  - install   fpath                 0.7.3  [required by bos, functoria]
  - install   lwt                   5.7.0  [required by mirage-runtime]
  - install   angstrom              0.16.0 [required by emile, uri]
  - install   logs                  0.7.0  [required by mirage]
  - install   uri                   4.4.0  [required by functoria]
  - install   emile                 1.1    [required by functoria]
  - install   mirage-runtime        4.4.1* [required by mirage]
  - install   bos                   0.2.1  [required by mirage]
  - install   functoria             4.4.1* [required by mirage]
  - install   mirage                4.4.1*
===== 36 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 angstrom.0.16.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved dune.3.13.0  (cached)
-> retrieved dune-configurator.3.13.0  (cached)
-> retrieved ipaddr.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved functoria.4.4.1  (no changes)
-> retrieved macaddr.5.5.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved functoria-runtime.4.4.1  (no changes)
-> removed   ocaml-options-vanilla.1
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed cmdliner.1.2.0
-> retrieved mirage.4.4.1  (no changes)
-> retrieved mirage-runtime.4.4.1  (no changes)
-> retrieved result.1.5  (cached)
-> retrieved pecu.0.6  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved opam-monorepo.0.4.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.13.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed domain-name.0.4.0
-> installed macaddr.5.5.0
-> installed pecu.0.6
-> installed result.1.5
-> installed stringext.1.6.0
-> installed functoria-runtime.4.4.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed ipaddr.5.5.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.13.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed emile.1.1
-> installed uri.4.4.0
-> installed lwt.5.7.0
-> installed logs.0.7.0
-> installed mirage-runtime.4.4.1
-> installed bos.0.2.1
-> installed opam-monorepo.0.4.0
[ERROR] The compilation of functoria.4.4.1 failed at "dune build -p functoria -j 79".

#=== ERROR while compiling functoria.4.4.1 ====================================#
# context              2.1.5 | linux/arm64 | ocaml-base-compiler.4.13.1 | pinned(git+https://github.com/mirage/mirage.git#1476f8ae3b8782d246a68ff335a27cbf298fc86f#1476f8ae3b8782d246a68ff335a27cbf298fc86f)
# path                 ~/.opam/4.13/.opam-switch/build/functoria.4.4.1
# command              ~/.opam/4.13/bin/dune build -p functoria -j 79
# exit-code            1
# env-file             ~/.opam/log/functoria-1-c32a92.env
# output-file          ~/.opam/log/functoria-1-c32a92.out
### output ###
# (cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/functoria/.functoria.objs/byte -I /home/opam/.opam/4.13/lib/angstrom -I /home/opam/.opam/4.13/lib/astring -I /home/opam/.opam/4.13/lib/base64 -I /home/opam/.opam/4.13/lib/bigstringaf -I /home/opam/.opam/4.13/lib/bos -I /home/opam/.opam/4.13/lib/cmdliner -I /home/opam/.opam/4.13/lib/domain-name -I /home/opam/.opam/4.13/lib/emile -I /home/opam/.opam/4.13/lib/fmt -I /home/opam/.opam/4.13/lib/fpath -I /home/opam/.opam/4.13/lib/ipaddr -I /home/opam/.opam/4.13/lib/logs -I /home/opam/.opam/4.13/lib/macaddr -I /home/opam/.opam/4.13/lib/pecu -I /home/opam/.opam/4.13/lib/rresult -I /home/opam/.opam/4.13/lib/stringext -I /home/opam/.opam/4.13/lib/uri -I /home/opam/.opam/4.13/lib/uutf -intf-suffix .ml -no-alias-deps -open Functoria__ -o lib/functoria/.functoria.objs/byte/functoria__Dune.cmo -c -impl lib/functoria/dune.ml)
# File "lib/functoria/dune.ml", lines 93-99, characters 6-2:
# 93 | ......{|%s
# 94 | (executable
# 95 |  (name config)
# 96 |  (enabled_if (= %{context_name} "default"))
# 97 |  (modules config)
# 98 |  (libraries %s))
# 99 | |}
# Error: invalid format "%s\n(executable\n (name config)\n (enabled_if (= %{context_name} \"default\"))\n (modules config)\n (libraries %s))\n": unclosed sub-format, expected "%}" at character number 109
# (cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w -40 -g -I lib/functoria/.functoria.objs/byte -I lib/functoria/.functoria.objs/native -I /home/opam/.opam/4.13/lib/angstrom -I /home/opam/.opam/4.13/lib/astring -I /home/opam/.opam/4.13/lib/base64 -I /home/opam/.opam/4.13/lib/bigstringaf -I /home/opam/.opam/4.13/lib/bos -I /home/opam/.opam/4.13/lib/cmdliner -I /home/opam/.opam/4.13/lib/domain-name -I /home/opam/.opam/4.13/lib/emile -I /home/opam/.opam/4.13/lib/fmt -I /home/opam/.opam/4.13/lib/fpath -I /home/opam/.opam/4.13/lib/ipaddr -I /home/opam/.opam/4.13/lib/logs -I /home/opam/.opam/4.13/lib/macaddr -I /home/opam/.opam/4.13/lib/pecu -I /home/opam/.opam/4.13/lib/rresult -I /home/opam/.opam/4.13/lib/stringext -I /home/opam/.opam/4.13/lib/uri -I /home/opam/.opam/4.13/lib/uutf -intf-suffix .ml -no-alias-deps -open Functoria__ -o lib/functoria/.functoria.objs/native/functoria__Dune.cmx -c -impl lib/functoria/dune.ml)
# File "lib/functoria/dune.ml", lines 93-99, characters 6-2:
# 93 | ......{|%s
# 94 | (executable
# 95 |  (name config)
# 96 |  (enabled_if (= %{context_name} "default"))
# 97 |  (modules config)
# 98 |  (libraries %s))
# 99 | |}
# Error: invalid format "%s\n(executable\n (name config)\n (enabled_if (= %{context_name} \"default\"))\n (modules config)\n (libraries %s))\n": unclosed sub-format, expected "%}" at character number 109



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build functoria 4.4.1
+- 
+- The following changes have been performed (the rest was aborted)
| - recompile ocaml-options-vanilla 1
| - install   angstrom              0.16.0
| - install   astring               0.8.5
| - install   base-bytes            base
| - install   base64                3.5.1
| - install   bigstringaf           0.9.1
| - install   bos                   0.2.1
| - install   cmdliner              1.2.0
| - install   conf-pkg-config       3
| - install   cppo                  1.6.9
| - install   csexp                 1.5.2
| - install   domain-name           0.4.0
| - install   dune                  3.13.0
| - install   dune-configurator     3.13.0
| - install   emile                 1.1
| - install   fmt                   0.9.0
| - install   fpath                 0.7.3
| - install   functoria-runtime     4.4.1
| - install   ipaddr                5.5.0
| - install   logs                  0.7.0
| - install   lwt                   5.7.0
| - install   macaddr               5.5.0
| - install   mirage-runtime        4.4.1
| - install   ocaml-syntax-shims    1.0.0
| - install   ocamlbuild            0.14.3
| - install   ocamlfind             1.9.6
| - install   ocplib-endian         1.2
| - install   opam-monorepo         0.4.0
| - install   pecu                  0.6
| - install   result                1.5
| - install   rresult               0.7.0
| - install   stringext             1.6.0
| - install   topkg                 1.0.7
| - install   uri                   4.4.0
| - install   uutf                  1.0.3
+- 
# 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-20240121183856.export"
"/bin/bash" "-c" "sudo apt-get update && opam install -y "mirage>=4"" failed with exit status 31
2024-01-21 18:39.48: Job failed: Failed: Build failed