Organisationsmiragemirage-sleepb14158 ()debian-12-4.14+flambda_opam-2.4

debian-12-4.14+flambda_opam-2.4

Logs

Show full logs
2025-09-01 09:33.40: New job: test mirage/mirage-sleep https://github.com/mirage/mirage-sleep.git#refs/heads/main (b141587fa90a14e11f12a6f4b273a1419f5a5bae) (linux-x86_64:debian-12-4.14+flambda_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/mirage-sleep.git" -b "main" && cd "mirage-sleep" && git reset --hard b141587f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2
# debian-12-4.14+flambda_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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-sleep.opam ./
RUN opam pin add -yn mirage-sleep.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 duration.0.2.1 lwt.5.9.2 ocaml.4.14.2 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage-sleep.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-09-01 09:33.40: Using cache hint "mirage/mirage-sleep-ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2-debian-12-4.14+flambda_opam-2.4-eb163ac67ed3ba8392fbad1d723cae57"
2025-09-01 09:33.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2)
 (comment debian-12-4.14+flambda_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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-sleep.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-sleep.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 duration.0.2.1 lwt.5.9.2 ocaml.4.14.2 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ocplib-endian.1.2")
 (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 mirage-sleep.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-09-01 09:33.40: Waiting for resource in pool OCluster
2025-09-01 09:33.40: Waiting for worker…
2025-09-01 09:33.58: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at b141587 Merge pull request #1 from shym/unikraft

(from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2' locally
docker.io/ocaml/opam@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2: Pulling from ocaml/opam
07e5499112ab: Already exists
Digest: sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2
Status: Downloaded newer image for ocaml/opam@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2
2025-09-01 09:33.58 ---> using "f5b76c2986a36ec168ef7c2521c5446f39e26a45759b2ebba68c80c27af409b9" from cache

/: (comment debian-12-4.14+flambda_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-09-01 09:33.58 ---> using "32c1cd9065b85a9ed121b8a6cee09f37135d952a244c16ad2a7b68e92aff685d" 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-09-01 09:33.58 ---> using "f456c22bfed3ad86ac639b02e7b72212d6638a67038a98fa86b78d38b62c7889" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-01 09:33.58 ---> using "987480212a42457c918db45775513031310b322806cb64df84a9bf1472645544" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-01 09:33.58 ---> using "7044fe625766f95f8bdc2e9cea6b77ea15c14814c6492679601c59f8a63171a3" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b3b872a94f..f2cd184cfc  master     -> origin/master
53c7f25306 Merge pull request #28384 from raphael-proust/opam-publish-lwt.5.9.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2025-09-01 09:34.20: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled