2024-12-04 18:38.17: New job: test ocaml-opam/opam-0install-solver https://github.com/ocaml-opam/opam-0install-solver.git#refs/heads/master (f4e5478242f9d70340b8d6e74a75ed035d4d544a) (openbsd-amd64:openbsd-76-amd64-5.2_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-0install-solver.git" -b "master" && cd "opam-0install-solver" && git reset --hard f4e54782
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.2
# openbsd-76-amd64-5.2_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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-0install.opam /home/opam/src/./
RUN opam pin add -yn opam-0install.dev '/home/opam/src/./' && echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="0install-solver.2.18 alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.17.0 extlib.1.8.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 re.1.12.0 seq.base sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-0install.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
2024-12-04 18:38.17: Using cache hint "ocaml-opam/opam-0install-solver-openbsd-76-amd64-ocaml-5.2-openbsd-76-amd64-5.2_opam-2.3-bb1a6b23d19019e00f9ee9501346723e"
2024-12-04 18:38.17: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.2)
(comment openbsd-76-amd64-5.2_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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-0install.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn opam-0install.dev '/home/opam/src/./' && echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "0install-solver.2.18 alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.17.0 extlib.1.8.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 re.1.12.0 seq.base sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3")
(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-0install.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"))
)
2024-12-04 18:38.17: Waiting for resource in pool OCluster
2024-12-04 23:57.43: Waiting for worker…
2024-12-05 01:55.24: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at f4e5478 Merge pull request #60 from talex5/release
(from openbsd-76-amd64-ocaml-5.2)
2024-12-05 01:55.24 ---> using "4320665f99976787f90a9e18174d2737909e8978c44b8f3d46fb0aff097b06a4" from cache
/: (comment openbsd-76-amd64-5.2_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"))
2024-12-05 01:55.24 ---> using "22e2929b9a366c809ec816349aa6cb9a45b4649cad05d8c280efed2bc66c5069" 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
2024-12-05 01:55.24 ---> using "8ee85108de9d3aac6d892ef0faaf024ea14d13d761a327e4e4cd8f43a209bafa" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.2.1
2.3.0
2024-12-05 01:55.24 ---> using "52e1b1eb38389daf27ec5bb41e48ee2005bdbd80371e88d39094e253864006cb" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..9a4a489e63 master -> origin/master
9a4a489e63 Merge pull request #27019 from fpottier/opam-publish-cppo.1.8.0
<><> 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)
2024-12-05 01:55.24 ---> using "596e40bd76d8fd51bd9624e9692dee627e5f472126ee18793b069695a5cac448" from cache
/: (copy (src opam-0install.opam) (dst /home/opam/src/./))
2024-12-05 01:56.07 ---> saved as "57cab2013c265c1d831776f27c1dad1827b75e92bc07f86760087cd73e587088"
/: (run (network host)
(shell "opam pin add -yn opam-0install.dev '/home/opam/src/./' && echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
[opam-0install.dev] synchronised (file:///home/opam/src)
opam-0install is now pinned to file:///home/opam/src (version dev)
2024-12-05 01:56.53 ---> saved as "71bf9c13970cbdef4eb568614617cd106502fc1a0a7fd8d55e478ad9625daaf4"
/: (env DEPS "0install-solver.2.18 alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.17.0 extlib.1.8.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 re.1.12.0 seq.base sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3")
/: (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-0install.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-0install.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-12-05 01:57.56 ---> saved as "0ad13dc18679a80e583a20da65c53f94d3061b4856a90e4979e190b6ee731d5a"
/: (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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 alcotest 1.8.0
- install astring 0.8.5
- 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.17.0
- install extlib 1.8.0
- install fmt 0.9.0
- install jsonm 1.0.2
- install mccs 1.1+18
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ocamlgraph 2.1.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.1.6
- 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.12.0
- install seq base
- install sha 1.15.4
- install spdx_licenses 1.2.0
- install stdlib-shims 0.3.0
- install swhid_core 0.1
- install topkg 1.0.7
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved alcotest.1.8.0 (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 fmt.0.9.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved mccs.1.1+18 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocamlgraph.2.1.0 (cached)
-> retrieved opam-0install-cudf.0.5.0 (cached)
-> retrieved opam-file-format.2.1.6 (cached)
-> retrieved re.1.12.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.2.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved swhid_core.0.1 (cached)
-> retrieved dune.3.17.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.17.0
-> installed ocamlbuild.0.15.0
-> installed 0install-solver.2.18
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed extlib.1.8.0
-> installed ocamlfind.1.9.6
-> installed cudf.0.10
-> installed opam-file-format.2.1.6
-> installed mccs.1.1+18
-> installed opam-0install-cudf.0.5.0
-> installed seq.base
-> installed spdx_licenses.1.2.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed ocamlgraph.2.1.0
-> installed sha.1.15.4
-> installed dose3.7.0.0
-> installed topkg.1.0.7
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed uutf.1.0.3
-> installed alcotest.1.8.0
-> 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)
2024-12-05 02:12.14 ---> saved as "e9f6ee5994afed9cde49b0d29de61c663621b4179657dd005b349c19412c4479"
/: (copy (src .) (dst /home/opam/src))
2024-12-05 02:12.56 ---> saved as "e536f9b4e5d304733c1a54e140aaf3a0d6a9ed47e20981c73195c263b87c888f"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.2.1/bin/ocamlopt.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 -o bin/main.exe /home/opam/.opam/5.2.1/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/5.2.1/lib/ocamlgraph/graph.cmxa /home/opam/.opam/5.2.1/lib/re/re.cmxa /home/opam/.opam/5.2.1/lib/ocaml/unix/unix.cmxa /home/opam/.opam/5.2.1/lib/sha/sha.cmxa -I /home/opam/.opam/5.2.1/lib/sha /home/opam/.opam/5.2.1/lib/uutf/uutf.cmxa /home/opam/.opam/5.2.1/lib/jsonm/jsonm.cmxa /home/opam/.opam/5.2.1/lib/swhid_core/swhid_core.cmxa /home/opam/.opam/5.2.1/lib/opam-core/opam_core.cmxa -I /home/opam/.opam/5.2.1/lib/opam-core /home/opam/.opam/5.2.1/lib/opam-file-format/opam_file_format.cmxa /home/opam/.opam/5.2.1/lib/opam-format/opam_format.cmxa /home/opam/.opam/5.2.1/lib/opam-repository/opam_repository.cmxa /home/opam/.opam/5.2.1/lib/spdx_licenses/spdx_licenses.cmxa /home/opam/.opam/5.2.1/lib/opam-state/opam_state.cmxa /home/opam/.opam/5.2.1/lib/0install-solver/zeroinstall_solver.cmxa /home/opam/.opam/5.2.1/lib/fmt/fmt.cmxa lib/opam_0install.cmxa /home/opam/.opam/5.2.1/lib/cmdliner/cmdliner.cmxa bin/.main.eobjs/native/dune__exe.cmx bin/.main.eobjs/native/dune__exe__Solver.cmx bin/.main.eobjs/native/dune__exe__Graph.cmx bin/.main.eobjs/native/dune__exe__Main.cmx)
ld: warning: sha256_stubs.c:139(sha256_stubs.o:(stub_sha256_file) in archive /home/opam/.opam/5.2.1/lib/sha/libsha_stubs.a): warning: strcpy() is almost always misused, please use strlcpy()
(cd _build/default && /home/opam/.opam/5.2.1/bin/ocamlopt.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 -o test/diagnostics/test_diagnostics.exe /home/opam/.opam/5.2.1/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/5.2.1/lib/ocamlgraph/graph.cmxa /home/opam/.opam/5.2.1/lib/re/re.cmxa /home/opam/.opam/5.2.1/lib/ocaml/unix/unix.cmxa /home/opam/.opam/5.2.1/lib/sha/sha.cmxa -I /home/opam/.opam/5.2.1/lib/sha /home/opam/.opam/5.2.1/lib/uutf/uutf.cmxa /home/opam/.opam/5.2.1/lib/jsonm/jsonm.cmxa /home/opam/.opam/5.2.1/lib/swhid_core/swhid_core.cmxa /home/opam/.opam/5.2.1/lib/opam-core/opam_core.cmxa -I /home/opam/.opam/5.2.1/lib/opam-core /home/opam/.opam/5.2.1/lib/opam-file-format/opam_file_format.cmxa /home/opam/.opam/5.2.1/lib/opam-format/opam_format.cmxa /home/opam/.opam/5.2.1/lib/opam-repository/opam_repository.cmxa /home/opam/.opam/5.2.1/lib/spdx_licenses/spdx_licenses.cmxa /home/opam/.opam/5.2.1/lib/opam-state/opam_state.cmxa /home/opam/.opam/5.2.1/lib/0install-solver/zeroinstall_solver.cmxa /home/opam/.opam/5.2.1/lib/fmt/fmt.cmxa lib/opam_0install.cmxa test/diagnostics/.test_diagnostics.eobjs/native/dune__exe__Test_diagnostics.cmx)
ld: warning: sha256_stubs.c:139(sha256_stubs.o:(stub_sha256_file) in archive /home/opam/.opam/5.2.1/lib/sha/libsha_stubs.a): warning: strcpy() is almost always misused, please use strlcpy()
2024-12-05 02:13.42 ---> saved as "3c106676aed9b3c1459b5d368cd7982e32a7182f58cb3e86dccc01af1a55e894"
Job succeeded
2024-12-05 02:13.43: Job succeeded