OrganisationsLeonidas-from-XIVopam-test9cc745 (main)debian-12-4.09_opam-2.3

debian-12-4.09_opam-2.3

Logs

Show full logs
2025-07-03 22:32.17: New job: test Leonidas-from-XIV/opam-test https://github.com/Leonidas-from-XIV/opam-test.git#refs/heads/main (9cc745570379d3b45f970893cfeae4a1c05e4393) (linux-x86_64:debian-12-4.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/Leonidas-from-XIV/opam-test.git" -b "main" && cd "opam-test" && git reset --hard 9cc74557
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc
# debian-12-4.09_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 f7060d5dd1056d18a1e0f07c7958d7529ad9f555 || git fetch origin master) && git reset -q --hard f7060d5dd1056d18a1e0f07c7958d7529ad9f555 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-test.opam ./
RUN opam pin add -yn opam-test.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.19.1 extlib.1.8.0 jsonm.1.0.2 mccs.1.1+19 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 re.1.11.0 seq.base sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-test.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-07-03 22:32.17: Using cache hint "Leonidas-from-XIV/opam-test-ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc-debian-12-4.09_opam-2.3-82f061dbe087ff8a888a57b0f11d0838"
2025-07-03 22:32.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc)
 (comment debian-12-4.09_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 f7060d5dd1056d18a1e0f07c7958d7529ad9f555 || git fetch origin master) && git reset -q --hard f7060d5dd1056d18a1e0f07c7958d7529ad9f555 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src opam-test.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn opam-test.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.19.1 extlib.1.8.0 jsonm.1.0.2 mccs.1.1+19 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 re.1.11.0 seq.base sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.8 uutf.1.0.4")
 (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.3 --depext-only -y opam-test.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-07-03 22:32.17: Waiting for resource in pool OCluster
2025-07-04 01:49.35: Waiting for worker…
2025-07-04 01:52.53: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 9cc7455 Add README

(from ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc)
2025-07-04 01:53.20 ---> saved as "65bf5e5b63b45a457f09b3b71180edd9befa7731f8d134e69e4a7ee71fccb317"

/: (comment debian-12-4.09_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-04 01:53.21 ---> saved as "81f789ef4e0414f085e874f7c7ed6bd44b645cdc53004a1ae37a0cb5c7549a30"

/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 development 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-07-04 01:54.17 ---> saved as "579288dc2057653d1c2a6f94206a3778983098f43b3c86cbab5a278d7c92c1bb"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 4.09.1
2.3.0
2025-07-04 01:54.18 ---> saved as "1a2b6ac0c1ad553ab0b846bb0a8290d0599543af554a7624c51b1661475ed916"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-04 01:54.18 ---> saved as "34dff9d6655a1781fc3f2d0c2a6e9a1a43b562173ee2f243869b117042ab6652"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f7060d5dd1056d18a1e0f07c7958d7529ad9f555 || git fetch origin master) && git reset -q --hard f7060d5dd1056d18a1e0f07c7958d7529ad9f555 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c7269f729a..f7060d5dd1  master     -> origin/master
f7060d5dd1 Merge pull request #28126 from kit-ty-kate/opam-publish-opam-file-format.2.2.0

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

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 01:55.39 ---> saved as "ab564a0fb9b56295a04e3c73833d6e9b8d224950d50626aa81a5b4205e0574c3"

/src: (copy (src opam-test.opam) (dst ./))
2025-07-04 01:55.40 ---> saved as "b78ed18455a193f774f1890b782787974c3e3b58dd06aaa5fe738a98b475033a"

/src: (run (network host)
           (shell "opam pin add -yn opam-test.dev './'"))
[WARNING] Failed checks on opam-test package definition from source at file:///src:
  warning 68: Missing field 'license'
[opam-test.dev] synchronised (file:///src)
opam-test is now pinned to file:///src (version dev)
2025-07-04 01:55.43 ---> saved as "07e24ef869fe55a2446eb80ff5282e50b425530218c6a0a32e6d1a75e98e6e33"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-04 01:55.44 ---> saved as "f76268331cb72f4296e9bc4fb9ad07a13203673a819f234a1e8643e7595ee95a"

/src: (env DEPS "0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.19.1 extlib.1.8.0 jsonm.1.0.2 mccs.1.1+19 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 re.1.11.0 seq.base sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.8 uutf.1.0.4")

/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.3 --depext-only -y opam-test.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-security bookworm-security/main amd64 Packages [270 kB]
- Fetched 374 kB in 1s (376 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-test.dev] synchronised (file:///src)

[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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-bigarray is already installed (current version is base).
2025-07-04 01:56.06 ---> saved as "766246c8e6e0cf6b6683f439a04318c52ba9ee430ab1b875b92451e5307f6e33"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 34 packages
  - install 0install-solver    2.18
  - install base64             3.5.1
  - install cmdliner           1.3.0
  - install conf-c++           1.0
  - install cppo               1.8.0
  - install cudf               0.10
  - install dose3              7.0.0
  - install dune               3.19.1
  - install extlib             1.8.0
  - install jsonm              1.0.2
  - install mccs               1.1+19
  - install menhir             20240715
  - install menhirCST          20240715
  - install menhirLib          20240715
  - install menhirSdk          20240715
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocamlgraph         2.2.0
  - install opam-0install-cudf 0.5.0
  - install opam-client        2.3.0
  - install opam-core          2.3.0
  - install opam-file-format   2.2.0
  - install opam-format        2.3.0
  - install opam-repository    2.3.0
  - install opam-solver        2.3.0
  - install opam-state         2.3.0
  - install re                 1.11.0
  - install seq                base
  - install sha                1.15.4
  - install spdx_licenses      1.4.0
  - install stdlib-shims       0.3.0
  - install swhid_core         0.1
  - install topkg              1.0.8
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1  (cached)
-> installed conf-c++.1.0
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cudf.0.10  (cached)
-> retrieved dose3.7.0.0  (cached)
-> retrieved 0install-solver.2.18  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved mccs.1.1+19  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved opam-0install-cudf.0.5.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> retrieved ocamlgraph.2.2.0  (cached)
-> retrieved opam-client.2.3.0, opam-core.2.3.0, opam-format.2.3.0, opam-repository.2.3.0, opam-solver.2.3.0, opam-state.2.3.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved opam-file-format.2.2.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved spdx_licenses.1.4.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved swhid_core.0.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed dune.3.19.1
-> installed base64.3.5.1
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed menhirCST.20240715
-> installed spdx_licenses.1.4.0
-> installed menhirSdk.20240715
-> installed 0install-solver.2.18
-> installed menhirLib.20240715
-> installed re.1.11.0
-> installed cppo.1.8.0
-> installed sha.1.15.4
-> installed extlib.1.8.0
-> installed ocamlgraph.2.2.0
-> installed cudf.0.10
-> installed opam-0install-cudf.0.5.0
-> installed dose3.7.0.0
-> installed mccs.1.1+19
-> installed opam-core.2.3.0
-> installed menhir.20240715
-> installed opam-file-format.2.2.0
-> installed opam-format.2.3.0
-> installed opam-repository.2.3.0
-> installed opam-solver.2.3.0
-> installed opam-state.2.3.0
-> installed opam-client.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 01:59.00 ---> saved as "8f36e23fffafed709671323d452c76d893814427b9c469d23df72918fccc4fdd"

/src: (copy (src .) (dst /src))
2025-07-04 01:59.00 ---> saved as "fa55301a40d46874896a706443a6cda3b4820293fbaf4027880408c3c4ac927d"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.09/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.opam_test.objs/byte -I /home/opam/.opam/4.09/lib/0install-solver -I /home/opam/.opam/4.09/lib/base64 -I /home/opam/.opam/4.09/lib/cmdliner -I /home/opam/.opam/4.09/lib/cudf -I /home/opam/.opam/4.09/lib/dose3/algo -I /home/opam/.opam/4.09/lib/dose3/common -I /home/opam/.opam/4.09/lib/extlib -I /home/opam/.opam/4.09/lib/jsonm -I /home/opam/.opam/4.09/lib/mccs -I /home/opam/.opam/4.09/lib/mccs/glpk/internal -I /home/opam/.opam/4.09/lib/ocamlgraph -I /home/opam/.opam/4.09/lib/opam-0install-cudf -I /home/opam/.opam/4.09/lib/opam-client -I /home/opam/.opam/4.09/lib/opam-core -I /home/opam/.opam/4.09/lib/opam-file-format -I /home/opam/.opam/4.09/lib/opam-format -I /home/opam/.opam/4.09/lib/opam-repository -I /home/opam/.opam/4.09/lib/opam-solver -I /home/opam/.opam/4.09/lib/opam-state -I /home/opam/.opam/4.09/lib/re -I /home/opam/.opam/4.09/lib/re/pcre -I /home/opam/.opam/4.09/lib/seq -I /home/opam/.opam/4.09/lib/sha -I /home/opam/.opam/4.09/lib/spdx_licenses -I /home/opam/.opam/4.09/lib/stdlib-shims -I /home/opam/.opam/4.09/lib/swhid_core -I /home/opam/.opam/4.09/lib/uutf -no-alias-deps -opaque -open Opam_test__ -o lib/.opam_test.objs/byte/opam_test__Cli.cmo -c -impl lib/cli.ml)
File "lib/cli.ml", line 7, characters 13-31:
7 |   let info = Cmdliner.Term.info "opam-test" ~version:"%%VERSION%%" in
                 ^^^^^^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.
File "lib/cli.ml", line 9, characters 17-21:
9 |   Cmdliner.Term.(exit @@ eval v)
                     ^^^^
Error (alert deprecated): Cmdliner.Term.exit
Use Stdlib.exit and Cmd.eval instead.
File "lib/cli.ml", line 9, characters 25-29:
9 |   Cmdliner.Term.(exit @@ eval v)
                             ^^^^
Error (alert deprecated): Cmdliner.Term.eval
Use Cmd.v and one of Cmd.eval* instead.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-04 01:59.01: Job failed: Failed: Build failed