2025-10-18 16:35.56: New job: test ocaml-opam/opam-0install-solver https://github.com/ocaml-opam/opam-0install-solver.git#refs/heads/master (bb2820066fec4bda3e4f9e30ec2660434a964e79) (linux-x86_64:ubuntu-24.04-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
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 bb282006
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
# ubuntu-24.04-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-0install.opam ./
RUN opam pin add -yn opam-0install.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="0install-solver.2.18 alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.20.2 extlib.1.8.0 fmt.0.11.0 jsonm.1.0.2 mccs.1.1+19 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.4.1 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-solver.2.4.1 opam-state.2.4.1 patch.3.0.0 re.1.14.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y opam-0install.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-10-18 16:35.56: Using cache hint "ocaml-opam/opam-0install-solver-ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5-ubuntu-24.04-5.4_opam-2.4-fa5e9662e955e118dd706724121e7436"
2025-10-18 16:35.56: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
(comment ubuntu-24.04-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-0install.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-0install.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "0install-solver.2.18 alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.20.2 extlib.1.8.0 fmt.0.11.0 jsonm.1.0.2 mccs.1.1+19 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.4.1 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-solver.2.4.1 opam-state.2.4.1 patch.3.0.0 re.1.14.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.1.0 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.4 --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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-10-18 16:35.56: Waiting for resource in pool OCluster
2025-10-18 17:22.42: Waiting for worker…
2025-10-18 17:24.36: Got resource from pool OCluster
Building on doris.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/opam-0install-solver.git-0ba8bdbd1ac20c02af599b8e74a13d3348466032/.git/
HEAD is now at bb28200 Merge pull request #64 from talex5/release
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5' locally
docker.io/ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5: Pulling from ocaml/opam
f1c3c72ac84b: Pulling fs layer
f1c3c72ac84b: Verifying Checksum
f1c3c72ac84b: Download complete
f1c3c72ac84b: Pull complete
Digest: sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
Status: Downloaded newer image for ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
2025-10-18 17:24.39 ---> using "5d6d2adeea6498cb054cbaa953620718d759b910a698acc7738d67264fb7eaa1" from cache
/: (comment ubuntu-24.04-5.4_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-18 17:24.39 ---> using "ff38d6915481dc9a36bf2d114fc5a9d0b2d1a1dbad496811b922fa3afc84c5f0" 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.
Continue? [Y/n] y
This 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.
[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-10-18 17:24.39 ---> using "70f6ddc0d313244ab04c80a4be70840866e3bc306fe0a3c4cab0b7475492c53d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 17:24.39 ---> using "26641eadc3d21be41c3e29096effbb7c0ab3dcc86b9410f1473b5355900a4bb2" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-18 17:24.39 ---> using "1dc432d69883e95fa350b3538897b7b5f95eb1eec19966b001c917785170f6db" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
c603e596bf Merge pull request #28683 from Octachron/OCaml_5.4.0_release
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:24.39 ---> using "c7bc005fb7a15ce3826920153ba133c53ad1f79b4a19aa88a3b4eb9288f8088f" from cache
/src: (copy (src opam-0install.opam) (dst ./))
2025-10-18 17:24.40 ---> saved as "c11d70373f76ed1d209383cf7363a9179d6836e82e330e2b9e08090f98ddffbb"
/src: (run (network host)
(shell "opam pin add -yn opam-0install.dev './'"))
[opam-0install.dev] synchronised (file:///src)
opam-0install is now pinned to file:///src (version dev)
2025-10-18 17:24.44 ---> saved as "30373a409410a603df259eb8be1b7d051daa184b40c43f62cdfdfd92788f3108"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 17:24.44 ---> saved as "1991348c01398cae1e9823fbf00a9985002ecebf1be38015daedd187dcab966e"
/src: (env DEPS "0install-solver.2.18 alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.20.2 extlib.1.8.0 fmt.0.11.0 jsonm.1.0.2 mccs.1.1+19 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.4.1 opam-core.2.4.1 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-solver.2.4.1 opam-state.2.4.1 patch.3.0.0 re.1.14.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.1.0 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.4 --depext-only -y opam-0install.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2512 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1151 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1538 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1936 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1897 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2652 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [35.9 kB]
- Fetched 12.1 MB in 1s (9492 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-0install.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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).
2025-10-18 17:25.07 ---> saved as "b4ad8f047b850eb0128ca05918b82d09337987fc9a36e794816bb9bf46550109"
/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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 38 packages
- install 0install-solver 2.18
- install alcotest 1.9.1
- install astring 0.8.5
- install base64 3.5.2
- 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.20.2
- install extlib 1.8.0
- install fmt 0.11.0
- install jsonm 1.0.2
- install mccs 1.1+19
- install menhir 20250912
- install menhirCST 20250912
- install menhirLib 20250912
- install menhirSdk 20250912
- install ocaml-syntax-shims 1.0.0
- 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.4.1
- install opam-core 2.4.1
- install opam-file-format 2.2.0
- install opam-format 2.4.1
- install opam-repository 2.4.1
- install opam-solver 2.4.1
- install opam-state 2.4.1
- install patch 3.0.0
- install re 1.14.0
- 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.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved 0install-solver.2.18 (cached)
-> retrieved alcotest.1.9.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base64.3.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> installed conf-c++.1.0
-> retrieved cudf.0.10 (cached)
-> retrieved dose3.7.0.0 (cached)
-> retrieved extlib.1.8.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved mccs.1.1+19 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved dune.3.20.2 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (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.4.1, opam-core.2.4.1, opam-format.2.4.1, opam-repository.2.4.1, opam-solver.2.4.1, opam-state.2.4.1 (cached)
-> installed cmdliner.1.3.0
-> retrieved opam-file-format.2.2.0 (cached)
-> retrieved patch.3.0.0 (cached)
-> retrieved re.1.14.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.1.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed menhirCST.20250912
-> installed stdlib-shims.0.3.0
-> installed patch.3.0.0
-> installed 0install-solver.2.18
-> installed menhirSdk.20250912
-> installed spdx_licenses.1.4.0
-> installed swhid_core.0.1
-> installed menhirLib.20250912
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed sha.1.15.4
-> installed re.1.14.0
-> installed extlib.1.8.0
-> installed ocamlgraph.2.2.0
-> installed cudf.0.10
-> installed alcotest.1.9.1
-> installed opam-0install-cudf.0.5.0
-> installed dose3.7.0.0
-> installed mccs.1.1+19
-> installed opam-core.2.4.1
-> installed menhir.20250912
-> installed opam-file-format.2.2.0
-> installed opam-format.2.4.1
-> installed opam-repository.2.4.1
-> installed opam-solver.2.4.1
-> installed opam-state.2.4.1
-> installed opam-client.2.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:26.39 ---> saved as "5f492f3b5000112271af31d8f939eb367c4a27a474ecad40a7575eed64422aaa"
/src: (copy (src .) (dst /src))
2025-10-18 17:26.39 ---> saved as "e808213a45a396e6b864c06547083b8c6b2bbe4b2871b2872a7cfcbcf7120298"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-18 17:26.40 ---> saved as "27f821fffe82516b110cf3ef301ca990033e07981fa7ca71f4b3cc4560814edc"
Job succeeded
2025-10-18 17:26.41: Job succeeded