Job log
See full log and operations2024-01-21 18:38.45: New job: Build using linux-x86_64 in
[https://github.com/mirage/mirage-skeleton.git#refs/heads/dev (3242127698d7642ffe81909cc7ed3d353769694f)]
OBuilder spec:
[34m((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"))
)[0m
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 iphito.caelum.ci.dev
All commits already cached
HEAD is now at 3242127 Merge pull request #374 from samoht/runtime-keys-at-runtime
[01;34m(from ocaml/opam:debian-10-ocaml-4.13)[0m
Unable to find image 'ocaml/opam:debian-10-ocaml-4.13' locally
debian-10-ocaml-4.13: Pulling from ocaml/opam
c5a29c3806df: Pulling fs layer
c5a29c3806df: Verifying Checksum
c5a29c3806df: Download complete
c5a29c3806df: Pull complete
Digest: sha256:b827d854fa5b4e3ce441968cdbf14874d579f32b2e3a257219ab92d16e6f419e
Status: Downloaded newer image for ocaml/opam:debian-10-ocaml-4.13
[01;2m[01;35m2024-01-21 18:38.45 ---> using "cbba9511e46ef57631453d5b88aeed1ed6de6fa87b6f0dcb3da9328657d73fa4" from cache[0m
[01;34m/: (user (uid 1000) (gid 1000))[0m
[01;34m/: (workdir /home/opam)[0m
[01;34m/home/opam: (run (shell "sudo chown opam:opam /home/opam"))[0m
[01;2m[01;35m2024-01-21 18:38.45 ---> using "54342da51d0603a14f6ba9989f4252ffa31f1ca13e80c1d45d63e53fc9e80646" from cache[0m
[01;34m/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam update"))[0m
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
[01;2m[01;35m2024-01-21 18:38.45 ---> using "3ddb42a6e856d7c2c5e614451b958647e474c5a4c98a94c3cc6a5e11dd914645" from cache[0m
[01;34m/home/opam: (run (network host)
(shell "opam repo add opam https://github.com/ocaml/opam-repository.git#b8ec39e3556eef143f9032b2dae642c810581a1d"))[0m
[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.
[01;2m[01;35m2024-01-21 18:38.45 ---> using "c426e889bb31d8708270a0b2d1cb23e6e817264ef17575de95e6a73eaef2d47d" from cache[0m
[01;34m/home/opam: (run (network host)
(shell "opam repo add mirage-dev https://github.com/mirage/mirage-dev.git#749c02302f8f15e609332edbe827541558554a80"))[0m
[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.
[01;2m[01;35m2024-01-21 18:38.45 ---> using "7e9c0907a03d241aa6d4da39781a263106e42c235cc673c5e1cf758d6dfabcb3" from cache[0m
[01;34m/home/opam: (run (network host)
(shell "opam pin -ny https://github.com/mirage/mirage.git#1476f8ae3b8782d246a68ff335a27cbf298fc86f"))[0m
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)
[01;2m[01;35m2024-01-21 18:38.53 ---> saved as "356d1a29c3c271964d6441eafa81923195b49bd0580c5c2173bb9310b4686e9d"[0m
[01;34m/home/opam: (run (cache (download-cache (target /home/opam/.opam/download-cache)))
(network host)
(shell "sudo apt-get update && opam install -y \"mirage>=4\""))[0m
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 [581 kB]
Fetched 616 kB in 1s (818 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]
- 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 =====
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 angstrom.0.16.0 (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 functoria.4.4.1 (no changes)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved macaddr.5.5.0 (cached)
-> retrieved functoria-runtime.4.4.1 (no changes)
-> 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)
-> retrieved mirage.4.4.1 (no changes)
-> retrieved mirage-runtime.4.4.1 (no changes)
-> retrieved result.1.5 (cached)
-> installed cmdliner.1.2.0
-> 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 base64.3.5.1
-> installed csexp.1.5.2
-> installed domain-name.0.4.0
-> installed macaddr.5.5.0
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.6
-> installed result.1.5
-> installed stringext.1.6.0
-> installed cppo.1.6.9
-> installed functoria-runtime.4.4.1
-> 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 lwt.5.7.0
-> installed uri.4.4.0
-> installed logs.0.7.0
-> installed mirage-runtime.4.4.1
-> installed bos.0.2.1
[ERROR] The compilation of functoria.4.4.1 failed at "dune build -p functoria -j 255".
-> installed opam-monorepo.0.4.0
#=== ERROR while compiling functoria.4.4.1 ====================================#
# context 2.1.5 | linux/x86_64 | 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 255
# exit-code 1
# env-file ~/.opam/log/functoria-1-ac5a0a.env
# output-file ~/.opam/log/functoria-1-ac5a0a.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)
| - 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-20240121183855.export"
"/usr/bin/env" "bash" "-c" "sudo apt-get update && opam install -y "mirage>=4"" failed with exit status 31
2024-01-21 18:39.39: Job failed: Failed: Build failed