Organisationsocaml-opamopam-publish67850e ()debian-13-5.0_opam-2.4

debian-13-5.0_opam-2.4

Logs

Show full logs
2025-10-03 20:24.47: New job: test ocaml-opam/opam-publish https://github.com/ocaml-opam/opam-publish.git#refs/heads/master (67850e38925ff59669bf8580d35d1e165a33cdb4) (linux-x86_64:debian-13-5.0_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-opam/opam-publish.git" -b "master" && cd "opam-publish" && git reset --hard 67850e38
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d
# debian-13-5.0_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 dfe27d924d3f2d9d3045aa994e54a6172a669ecb || git fetch origin master) && git reset -q --hard dfe27d924d3f2d9d3045aa994e54a6172a669ecb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-publish.opam ./
RUN opam pin add -yn opam-publish.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.16.4 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 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-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.2 dune-configurator.3.20.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 github.4.5.0 github-data.4.5.0 github-unix.4.5.0 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 jsonm.1.0.2 kdf.1.0.0 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ohex.0.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 patch.3.0.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stringext.1.6.0 swhid_core.0.1 tls.2.0.3 tls-lwt.2.0.3 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 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 opam-publish.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-10-03 20:24.47: Using cache hint "ocaml-opam/opam-publish-ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d-debian-13-5.0_opam-2.4-5f29973e87ceaf857da85f655b729217"
2025-10-03 20:24.47: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d)
 (comment debian-13-5.0_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 dfe27d924d3f2d9d3045aa994e54a6172a669ecb || git fetch origin master) && git reset -q --hard dfe27d924d3f2d9d3045aa994e54a6172a669ecb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src opam-publish.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn opam-publish.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.16.4 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 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-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.2 dune-configurator.3.20.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 github.4.5.0 github-data.4.5.0 github-unix.4.5.0 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 jsonm.1.0.2 kdf.1.0.0 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ohex.0.2.0 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 patch.3.0.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stringext.1.6.0 swhid_core.0.1 tls.2.0.3 tls-lwt.2.0.3 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 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 opam-publish.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-10-03 20:24.47: Waiting for resource in pool OCluster
2025-10-03 20:24.47: Waiting for worker…
2025-10-03 20:24.47: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 67850e3 Merge pull request #176 from kit-ty-kate/ssl-to-tls

(from ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d)
2025-10-03 20:24.48 ---> using "8495c7ba27b99334ff112cc0115bd07f740312d7c326ce9a8bba3c40fc36016c" from cache

/: (comment debian-13-5.0_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-10-03 20:24.48 ---> using "3b288494246d21562c918a4ae593f89ae232af4c14f1b87c9c4046f749ee5232" 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-10-03 20:24.48 ---> using "78d9e4025c5458464b3c1017776443dace2ac22276f93262c0e5d530cb40cb90" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.0.0
2.4.1
2025-10-03 20:24.48 ---> using "091aa0380293533714e91e2be3ff2feaed9555906ee35c5a401bb9620dd9c124" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-03 20:24.48 ---> using "a31cd285fedf916b9e4d219b33646b4590434829e61f52ad6ed88d226884a946" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e dfe27d924d3f2d9d3045aa994e54a6172a669ecb || git fetch origin master) && git reset -q --hard dfe27d924d3f2d9d3045aa994e54a6172a669ecb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   bcac5d1731..9793b870c4  master     -> origin/master
dfe27d924d Merge pull request #28613 from kit-ty-kate/opam-2.4-stable-patch

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