2025-07-04 15:12.10: New job: test Leonidas-from-XIV/opam-test https://github.com/Leonidas-from-XIV/opam-test.git#refs/heads/main (9cc745570379d3b45f970893cfeae4a1c05e4393) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
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 openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 /home/opam/src/./
RUN opam pin add -yn opam-test.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./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 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-07-04 15:12.10: Using cache hint "Leonidas-from-XIV/opam-test-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-651a22d0852b803dbce8de539763829b"
2025-07-04 15:12.10: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(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 /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn opam-test.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-07-04 15:12.10: Waiting for resource in pool OCluster
2025-07-04 15:12.10: Waiting for worker…
2025-07-04 21:17.13: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 9cc7455 Add README
(from openbsd-76-amd64-ocaml-4.14)
2025-07-04 21:17.13 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-04 21:17.13 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-07-04 21:17.13 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-04 21:17.13 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (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"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..ee56c84f60 master -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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 21:17.13 ---> using "3388e73058bd43334cc387815d8304b5181b028014bfba6787c6a9b7fec960a8" from cache
/: (copy (src opam-test.opam) (dst /home/opam/src/./))
2025-07-04 21:18.09 ---> saved as "fa62e1bc36b60de6840fbbdf8c3ff1a4ed22c5fd6fa6e7e4f6f63f79e7e9780d"
/: (run (network host)
(shell "opam pin add -yn opam-test.dev '/home/opam/src/./'"))
[opam-test.dev] synchronised (file:///home/opam/src)
[WARNING] Failed checks on opam-test package definition from source at file:///home/opam/src:
warning 68: Missing field 'license'
opam-test is now pinned to file:///home/opam/src (version dev)
2025-07-04 21:19.02 ---> saved as "9cec26755de2324671a4bf17a00c08a591913077aebc95a117d82795c5c3bddd"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-07-04 21:19.57 ---> saved as "2b6abe008f7f2cbe95573c33bff870b5df0a7181c5424fc834371756ba949007"
/: (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"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-test.dev] synchronised (file:///home/opam/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-04 21:20.58 ---> saved as "eefbeb38d6e8712213666bf36952fd9777bc9c256f050ba628ef551289cf5e06"
/: (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)
-> installed conf-c++.1.0
-> retrieved cudf.0.10 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved 0install-solver.2.18 (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 ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved opam-0install-cudf.0.5.0 (cached)
-> retrieved ocamlgraph.2.2.0 (cached)
-> retrieved opam-file-format.2.2.0 (cached)
-> retrieved seq.base (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 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 re.1.13.2 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.19.1
-> installed ocamlbuild.0.16.1
-> installed 0install-solver.2.18
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed menhirCST.20240715
-> installed extlib.1.8.0
-> installed menhirLib.20240715
-> installed cudf.0.10
-> installed menhirSdk.20240715
-> installed mccs.1.1+19
-> installed menhir.20240715
-> installed ocamlfind.1.9.8
-> installed ocamlgraph.2.2.0
-> installed opam-0install-cudf.0.5.0
-> installed opam-file-format.2.2.0
-> installed seq.base
-> installed spdx_licenses.1.4.0
-> installed re.1.13.2
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed dose3.7.0.0
-> installed sha.1.15.4
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed opam-core.2.3.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 21:35.16 ---> saved as "69e0a34c4bd9d4370ff3ec4769e2e9acaa40b34a61eb55263f4f6811a6cc767b"
/: (copy (src .) (dst /home/opam/src))
2025-07-04 21:36.12 ---> saved as "145115f4031638b6047122102462d6e7eced4d656dd4bdafd30c564e622457fe"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14.2/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.2/lib/0install-solver -I /home/opam/.opam/4.14.2/lib/base64 -I /home/opam/.opam/4.14.2/lib/cmdliner -I /home/opam/.opam/4.14.2/lib/cudf -I /home/opam/.opam/4.14.2/lib/dose3/algo -I /home/opam/.opam/4.14.2/lib/dose3/common -I /home/opam/.opam/4.14.2/lib/extlib -I /home/opam/.opam/4.14.2/lib/jsonm -I /home/opam/.opam/4.14.2/lib/mccs -I /home/opam/.opam/4.14.2/lib/mccs/glpk/internal -I /home/opam/.opam/4.14.2/lib/ocamlgraph -I /home/opam/.opam/4.14.2/lib/opam-0install-cudf -I /home/opam/.opam/4.14.2/lib/opam-client -I /home/opam/.opam/4.14.2/lib/opam-core -I /home/opam/.opam/4.14.2/lib/opam-file-format -I /home/opam/.opam/4.14.2/lib/opam-format -I /home/opam/.opam/4.14.2/lib/opam-repository -I /home/opam/.opam/4.14.2/lib/opam-solver -I /home/opam/.opam/4.14.2/lib/opam-state -I /home/opam/.opam/4.14.2/lib/re -I /home/opam/.opam/4.14.2/lib/re/pcre -I /home/opam/.opam/4.14.2/lib/seq -I /home/opam/.opam/4.14.2/lib/sha -I /home/opam/.opam/4.14.2/lib/spdx_licenses -I /home/opam/.opam/4.14.2/lib/stdlib-shims -I /home/opam/.opam/4.14.2/lib/swhid_core -I /home/opam/.opam/4.14.2/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.
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-04 21:37.07: Job failed: Failed: Build failed