Organisationsmirageocaml-github02fdb2 ()debian-12-5.3_arm64_opam-2.4

debian-12-5.3_arm64_opam-2.4

Logs

Show full logs
2025-08-23 12:15.37: New job: test mirage/ocaml-github https://github.com/mirage/ocaml-github.git#refs/heads/master (02fdb21483632169f9495c96d3f0a85a29a79b12) (linux-arm64:debian-12-5.3_arm64_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/ocaml-github.git" -b "master" && cd "ocaml-github" && git reset --hard 02fdb214
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0
# debian-12-5.3_arm64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 github.opam github-unix.opam github-jsoo.opam github-data.opam ./
RUN opam pin add -yn github.dev './' && \
    opam pin add -yn github-unix.dev './' && \
    opam pin add -yn github-jsoo.dev './' && \
    opam pin add -yn github-data.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-jsoo.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-lwt.6.2.0 js_of_ocaml-ppx.6.2.0 kdf.1.0.0 logs.0.9.0 lwt.5.9.1 macaddr.5.6.1 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.13.2 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.6 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-08-23 12:15.37: Using cache hint "mirage/ocaml-github-ocaml/opam:debian-12-ocaml-5.3@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0-debian-12-5.3_arm64_opam-2.4-bd40866319411ee83e1b14b9175d1c43"
2025-08-23 12:15.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0)
 (comment debian-12-5.3_arm64_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src github.opam github-unix.opam github-jsoo.opam github-data.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn github.dev './' && \
             \nopam pin add -yn github-unix.dev './' && \
             \nopam pin add -yn github-jsoo.dev './' && \
             \nopam pin add -yn github-data.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-jsoo.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-lwt.6.2.0 js_of_ocaml-ppx.6.2.0 kdf.1.0.0 logs.0.9.0 lwt.5.9.1 macaddr.5.6.1 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.13.2 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.6 yojson.2.2.2 zarith.1.14")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2025-08-23 12:15.37: Waiting for resource in pool OCluster
2025-08-23 12:15.37: Waiting for worker…
2025-08-23 12:16.39: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
HEAD is now at 21276e1 Add support for cmdliner 2.0.0
HEAD is now at 02fdb21 Add the x-maintenance-intent field to help opam-repository

(from ocaml/opam:debian-12-ocaml-5.3@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0' locally
docker.io/ocaml/opam@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0: Pulling from ocaml/opam
03e896d35897: Pulling fs layer
03e896d35897: Verifying Checksum
03e896d35897: Download complete
03e896d35897: Pull complete
Digest: sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0
Status: Downloaded newer image for ocaml/opam@sha256:32ac73f1e1e94e5b51b538ec5bf10459f08ccdd1329a22c26eea8642541b3ba0
2025-08-23 12:16.40 ---> using "2b6a049f628b0e00612e07a678630afc4e1995fa41a088af5fe5eeb111627646" from cache

/: (comment debian-12-5.3_arm64_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-23 12:16.40 ---> using "cba8234b8fc7799840b819194970153b4c991d7b1e1d82124d5507e801b4b303" from cache

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-23 12:16.40 ---> using "8dbf3a4131ae0c175d927b879174fa9270802ccae27e32926d61bf19cf3a4497" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-23 12:16.40 ---> using "e0fc09850a6640eb14b5e2cbe9dc5457cf1cba3fe1d428d41b18b5e0bcda5dd0" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-08-23 12:16.40 ---> using "831ba7eb77537e6f779e2883ed3a8091bde4df00df74b12629337c0cdd9a70a6" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee8b9193dd..0978bfceb7  master     -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-08-23 12:16.40 ---> using "ac887845bf80ba0320f2f7ab12415b573184a7e3002432e91d5c4124798e5e23" from cache

/src: (copy (src github.opam github-unix.opam github-jsoo.opam github-data.opam)
            (dst ./))
2025-08-23 12:16.40 ---> saved as "868856b9a42c849ee99c6baf3d992c16bc74e4c666e58cea35455ec85cc0fa0b"

/src: (run (network host)
           (shell  "opam pin add -yn github.dev './' && \
                  \nopam pin add -yn github-unix.dev './' && \
                  \nopam pin add -yn github-jsoo.dev './' && \
                  \nopam pin add -yn github-data.dev './'"))
[github.dev] synchronised (file:///src)
github is now pinned to file:///src (version dev)
[github-unix.dev] synchronised (file:///src)
github-unix is now pinned to file:///src (version dev)
[github-jsoo.dev] synchronised (file:///src)
github-jsoo is now pinned to file:///src (version dev)
[github-data.dev] synchronised (file:///src)
github-data is now pinned to file:///src (version dev)
2025-08-23 12:16.45 ---> saved as "a23f9dc213d73334b22395b581b4f77d03427537eb2dc4920630db75db931e2c"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-23 12:16.45 ---> saved as "f4c70fd667daa5c6ccbd69c748f2a4e5fab42ab42ce73129bff2e9d7e88acbb6"

/src: (env DEPS "angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-jsoo.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-lwt.6.2.0 js_of_ocaml-ppx.6.2.0 kdf.1.0.0 logs.0.9.0 lwt.5.9.1 macaddr.5.6.1 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.13.2 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.6 yojson.2.2.2 zarith.1.14")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [6936 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [273 kB]
- Fetched 556 kB in 0s (1153 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[github.dev] synchronised (file:///src)
[github-data.dev] synchronised (file:///src)
[github-jsoo.dev] synchronised (file:///src)
[github-unix.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
2025-08-23 12:16.55: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled