2025-07-11 13:38.43: New job: test Leonidas-from-XIV/opam-test https://github.com/Leonidas-from-XIV/opam-test.git#refs/heads/main (9cc745570379d3b45f970893cfeae4a1c05e4393) (linux-x86_64:fedora-42-4.14_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9
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:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9
# fedora-42-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.13.2 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-11 13:38.43: Using cache hint "Leonidas-from-XIV/opam-test-ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9-fedora-42-4.14_opam-2.3-651a22d0852b803dbce8de539763829b"
2025-07-11 13:38.43: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9)
(comment fedora-42-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.13.2 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-11 13:38.43: Waiting for resource in pool OCluster
2025-07-11 13:43.54: Waiting for worker…
2025-07-11 13:45.53: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 9cc7455 Add README
(from ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9)
2025-07-11 13:45.53 ---> using "ed16fac839065eed411261dd98027fc5a774a777a7cb09f621eb5f9c8e70e408" from cache
/: (comment fedora-42-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 - x86_64 - Updates 100% | 70.7 KiB/s | 7.1 KiB | 00m00s
Fedora 42 - x86_64 - Updates 100% | 1.8 MiB/s | 2.7 MiB | 00m02s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.
Nothing to do.
2025-07-11 13:45.53 ---> using "0f727d8e6b4922459793d6ee82ac3325992f2fce053926a6761b95ae4a580d35" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-11 13:45.53 ---> using "8cbba7add5ad330639653b419d7ab94b6e2a15e174401f8c13c979cc732f7456" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-11 13:45.53 ---> using "e10b4ac3ec769b1d8261edaa737089af50b2f0fbb8906d0c0a4548f2489de52d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-11 13:45.53 ---> using "b3dffb3ff06fcff9299c46485bd7509ac0775759abdb1876a07729d2f1191664" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-11 13:45.53 ---> using "7d0dd958de6f888928813b3c6cec0ba0dc0f0cd4aca0bacbb5859159c41f76a9" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2
<><> 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-11 13:45.53 ---> using "b56cb24218a2374ef30f61cfe5ad70087a17e364af9d9208f8646d8be9ade935" from cache
/src: (copy (src opam-test.opam) (dst ./))
2025-07-11 13:45.54 ---> saved as "40cf400187f2263e8d1e1591d18d40051031ccbc43d4f3098af0f1893bc59293"
/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-11 13:45.55 ---> saved as "7a69fc6a7818012b46763d02902ae37db665a964296c654f6acb25e6654b7ffc"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-11 13:45.55 ---> saved as "9cf79d0a8b5732119e497d6f8eeb0bec8f8bc1a9fb23c575c54f6fd9671d26be"
/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.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.13.2 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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-test.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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-11 13:46.01 ---> saved as "b4ea5f682994a658c4750340425bc93087887d1353fcf64023318ba7ded83c8e"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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.13.2
- 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)
-> retrieved 0install-solver.2.18 (cached)
-> installed conf-c++.1.0
-> retrieved cudf.0.10 (cached)
-> retrieved dose3.7.0.0 (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 dune.3.19.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlgraph.2.2.0 (cached)
-> retrieved opam-0install-cudf.0.5.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)
-> retrieved opam-file-format.2.2.0 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved re.1.13.2 (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 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 stdlib-shims.0.3.0
-> installed base64.3.5.1
-> installed spdx_licenses.1.4.0
-> installed swhid_core.0.1
-> installed menhirSdk.20240715
-> installed 0install-solver.2.18
-> installed menhirLib.20240715
-> installed cppo.1.8.0
-> installed re.1.13.2
-> 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-11 13:47.03 ---> saved as "00d2a8150a2706a795c1af1e2a01eafbd798da12928a710c5453860359b003fb"
/src: (copy (src .) (dst /src))
2025-07-11 13:47.03 ---> saved as "0b29857729b76e0dea7eecd6308a1eb5de919c85d3ef9a795f213791c50abc3a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/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.14/lib/0install-solver -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cudf -I /home/opam/.opam/4.14/lib/dose3/algo -I /home/opam/.opam/4.14/lib/dose3/common -I /home/opam/.opam/4.14/lib/extlib -I /home/opam/.opam/4.14/lib/jsonm -I /home/opam/.opam/4.14/lib/mccs -I /home/opam/.opam/4.14/lib/mccs/glpk/internal -I /home/opam/.opam/4.14/lib/ocamlgraph -I /home/opam/.opam/4.14/lib/opam-0install-cudf -I /home/opam/.opam/4.14/lib/opam-client -I /home/opam/.opam/4.14/lib/opam-core -I /home/opam/.opam/4.14/lib/opam-file-format -I /home/opam/.opam/4.14/lib/opam-format -I /home/opam/.opam/4.14/lib/opam-repository -I /home/opam/.opam/4.14/lib/opam-solver -I /home/opam/.opam/4.14/lib/opam-state -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/re/pcre -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sha -I /home/opam/.opam/4.14/lib/spdx_licenses -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/swhid_core -I /home/opam/.opam/4.14/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-11 13:47.05: Job failed: Failed: Build failed