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

debian-12-4.10_opam-2.3

Link Copied
Code Copied

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.10_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
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.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
# debian-12-4.10_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.10.2 ocaml-base-compiler.4.10.2 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.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17-debian-12-4.10_opam-2.3-6e028cd3166408081f06b5e22975b474"
2025-07-03 22:32.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17)
(comment debian-12-4.10_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.10.2 ocaml-base-compiler.4.10.2 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.34: 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.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17' locally
docker.io/ocaml/opam@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17: Pulling from ocaml/opam
78ad157e30a7: Already exists
ed319ee133bb: Pulling fs layer
c53d15f95ae6: Pulling fs layer
04ed5cf53e4f: Pulling fs layer
6cbcbda74859: Pulling fs layer
6cbcbda74859: Waiting
c53d15f95ae6: Verifying Checksum
c53d15f95ae6: Download complete
04ed5cf53e4f: Download complete
6cbcbda74859: Verifying Checksum
6cbcbda74859: Download complete
ed319ee133bb: Verifying Checksum
ed319ee133bb: Download complete
ed319ee133bb: Pull complete
c53d15f95ae6: Pull complete
04ed5cf53e4f: Pull complete
6cbcbda74859: Pull complete
Digest: sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
Status: Downloaded newer image for ocaml/opam@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
2025-07-04 01:52.55 ---> using "fac8329b29b16afaaebf81a27278ea871f6e7aaade2528ea8d095e17087bbfcd" from cache


/: (comment debian-12-4.10_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:52.55 ---> using "1e01f9ade7f10db15327e3737256b9ae629aa9538672f93c595bcd2c5606d0c6" 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 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:52.55 ---> using "a0e269b537a97ecd8c2d2bf578729b689696de91cbc38f0993f93a7c478c38a6" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 4.10.2
2.3.0
2025-07-04 01:52.55 ---> using "828a66ec583e2e13910e53b4178889f6a883a12922d1b6d95aa7dddcd82bc24d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-04 01:52.55 ---> using "01cad0dc64648a2b4a536280a8d3a8c57aec8a090e05ddb10c82aada066d516a" from cache


/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:52.55 ---> using "486304f6fa85d7f6d0fa6bceb8211b80bedd1c3d888ce33b6e728a67d66b1aed" from cache


/src: (copy (src opam-test.opam) (dst ./))
2025-07-04 01:52.56 ---> saved as "05b2e67ff36e02c6c8b4a94bda05f0eaad054149e23f20c47fd885e91163fc60"


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


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


/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.10.2 ocaml-base-compiler.4.10.2 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 0s (1034 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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[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:53.16 ---> saved as "01b06bfc50a700a782d3ac296b8ad06feef0e49132f45c31c269de9b1b98c17c"


/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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[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)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-c++.1.0
-> 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 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 dune.3.19.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved opam-file-format.2.2.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved spdx_licenses.1.4.0  (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 menhirCST.20240715
-> installed base64.3.5.1
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed spdx_licenses.1.4.0
-> installed menhirSdk.20240715
-> installed 0install-solver.2.18
-> installed menhirLib.20240715
-> installed cppo.1.8.0
-> installed re.1.11.0
-> installed extlib.1.8.0
-> installed sha.1.15.4
-> installed cudf.0.10
-> installed ocamlgraph.2.2.0
-> 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:58.11 ---> saved as "6adec1d70bdacee7a3f67b1f36b984b4bd238552318966208d432a6fb688c73e"


/src: (copy (src .) (dst /src))
2025-07-04 01:58.12 ---> saved as "21147105c7b97be2035fb49e46a2fc47aad4978967ee9940ccc5b35f5f0fcf8f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.10/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.10/lib/0install-solver -I /home/opam/.opam/4.10/lib/base64 -I /home/opam/.opam/4.10/lib/cmdliner -I /home/opam/.opam/4.10/lib/cudf -I /home/opam/.opam/4.10/lib/dose3/algo -I /home/opam/.opam/4.10/lib/dose3/common -I /home/opam/.opam/4.10/lib/extlib -I /home/opam/.opam/4.10/lib/jsonm -I /home/opam/.opam/4.10/lib/mccs -I /home/opam/.opam/4.10/lib/mccs/glpk/internal -I /home/opam/.opam/4.10/lib/ocamlgraph -I /home/opam/.opam/4.10/lib/opam-0install-cudf -I /home/opam/.opam/4.10/lib/opam-client -I /home/opam/.opam/4.10/lib/opam-core -I /home/opam/.opam/4.10/lib/opam-file-format -I /home/opam/.opam/4.10/lib/opam-format -I /home/opam/.opam/4.10/lib/opam-repository -I /home/opam/.opam/4.10/lib/opam-solver -I /home/opam/.opam/4.10/lib/opam-state -I /home/opam/.opam/4.10/lib/re -I /home/opam/.opam/4.10/lib/re/pcre -I /home/opam/.opam/4.10/lib/seq -I /home/opam/.opam/4.10/lib/sha -I /home/opam/.opam/4.10/lib/spdx_licenses -I /home/opam/.opam/4.10/lib/stdlib-shims -I /home/opam/.opam/4.10/lib/swhid_core -I /home/opam/.opam/4.10/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:58.13: Job failed: Failed: Build failed