2025-07-22 17:03.03: New job: test ocaml-opam/opam-0install-solver https://github.com/ocaml-opam/opam-0install-solver.git#refs/pull/64/head (3ecf7a227170fc6f0fc739ff7f140e78aec93b63) (linux-x86_64:fedora-42-5.3_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-0install-solver.git" && cd "opam-0install-solver" && git fetch origin "refs/pull/64/head" && git reset --hard 3ecf7a22
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121
# fedora-42-5.3_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 1cd0544f9e7107ebe07dc0f9a0f40d90e2c06073 || git fetch origin master) && git reset -q --hard 1cd0544f9e7107ebe07dc0f9a0f40d90e2c06073 && 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.0 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.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 fmt.0.10.0 jsonm.1.0.2 mccs.1.1+19 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.0 opam-core.2.4.0 opam-file-format.2.2.0 opam-format.2.4.0 opam-repository.2.4.0 opam-solver.2.4.0 opam-state.2.4.0 patch.3.0.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-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-07-22 17:03.03: Using cache hint "ocaml-opam/opam-0install-solver-ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121-fedora-42-5.3_opam-2.3-897826873ab716eb51974e6983599750"
2025-07-22 17:03.03: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121)
(comment fedora-42-5.3_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 1cd0544f9e7107ebe07dc0f9a0f40d90e2c06073 || git fetch origin master) && git reset -q --hard 1cd0544f9e7107ebe07dc0f9a0f40d90e2c06073 && 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.0 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.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 fmt.0.10.0 jsonm.1.0.2 mccs.1.1+19 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.0 opam-core.2.4.0 opam-file-format.2.2.0 opam-format.2.4.0 opam-repository.2.4.0 opam-solver.2.4.0 opam-state.2.4.0 patch.3.0.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-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-07-22 17:03.03: Waiting for resource in pool OCluster
2025-07-22 17:03.03: Waiting for worker…
2025-07-22 17:03.06: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 3ecf7a2 Prepare release
(from ocaml/opam:fedora-42-ocaml-5.3@sha256:ea1b0e805553bb8a6a73624dbd4f52899c1622d61292ca81567ed151a5350121)
2025-07-22 17:03.07 ---> using "a61c5f6f03734f3c3d167ce873b3e609ad74c9b026554f114b851960295fc4f2" from cache
/: (comment fedora-42-5.3_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% | 94.0 KiB/s | 26.0 KiB | 00m00s
Fedora 42 openh264 (From Cisco) - x86_ 100% | 10.9 KiB/s | 986.0 B | 00m00s
Fedora 42 - x86_64 100% | 230.7 KiB/s | 26.5 KiB | 00m00s
Fedora 42 - x86_64 - Updates 100% | 7.0 MiB/s | 4.1 MiB | 00m01s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.
Nothing to do.
2025-07-22 17:03.07 ---> using "952e47f1c3af22704f09a97a8c702a3d77b24be7eb1ee33ddffe5e6f75537d20" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-22 17:03.07 ---> using "2e10569377eff330cd0aeb07f0a1c557d1abe3231b2a7da554d1bb0648e45209" 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-22 17:03.07 ---> using "7be74babee42f4acbe09fe49d29394048539a2f5fdc47201479f4327d4923f4b" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-22 17:03.07 ---> using "e3d7d420be7fd58ffbb0067e2054af46b2150d363cb125f6bec30877db445ad8" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-22 17:03.07 ---> using "db67762010cc58a1eeb9fd06a886ab2f85728acbbc5892e77b7a0f06cac29d7c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1cd0544f9e7107ebe07dc0f9a0f40d90e2c06073 || git fetch origin master) && git reset -q --hard 1cd0544f9e7107ebe07dc0f9a0f40d90e2c06073 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6dea2f9390..14fd69dba0 master -> origin/master
1cd0544f9e Merge pull request #28200 from kit-ty-kate/opam-publish-opam-client.2.4.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-22 17:03.07 ---> using "9abae3b981e60ad5b2106d558b3f0b8a0a86335857c1fd766d373c8486977642" from cache
/src: (copy (src opam-0install.opam) (dst ./))
2025-07-22 17:03.07 ---> using "4826a5fa28cdbed7e5627fcc7821d0335f5b371244f30d799fb29430f8875f80" from cache
/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-07-22 17:03.07 ---> using "61b59bf142731871cd27d36c656fc17512381f404d28b0c6ef22176f238a3b46" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-22 17:03.07 ---> using "9cfeaeb59aa0cd066f01005fbf1fa77b8c60ce98e92c3253117451234cd20341" from cache
/src: (env DEPS "0install-solver.2.18 alcotest.1.9.0 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.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 fmt.0.10.0 jsonm.1.0.2 mccs.1.1+19 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.0 opam-core.2.4.0 opam-file-format.2.2.0 opam-format.2.4.0 opam-repository.2.4.0 opam-solver.2.4.0 opam-state.2.4.0 patch.3.0.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-0install.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> 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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-07-22 17:03.07 ---> using "1f88bb976c28a3943d7c3b82d7e5f3c070573ebefaf4b82ea4f96cdc2ce5632f" from cache
/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 39 packages
- install 0install-solver 2.18
- install alcotest 1.9.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.19.1
- install extlib 1.8.0
- install fmt 0.10.0
- install jsonm 1.0.2
- install mccs 1.1+19
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- 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.0
- install opam-core 2.4.0
- install opam-file-format 2.2.0
- install opam-format 2.4.0
- install opam-repository 2.4.0
- install opam-solver 2.4.0
- install opam-state 2.4.0
- install patch 3.0.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 astring.0.8.5 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved 0install-solver.2.18 (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 extlib.1.8.0 (cached)
-> retrieved fmt.0.10.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 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.0, opam-core.2.4.0, opam-format.2.4.0, opam-repository.2.4.0, opam-solver.2.4.0, opam-state.2.4.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved opam-file-format.2.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved patch.3.0.0 (cached)
-> 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 fmt.0.10.0
-> installed astring.0.8.5
-> 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 menhirSdk.20240715
-> installed patch.3.0.0
-> installed swhid_core.0.1
-> installed spdx_licenses.1.4.0
-> installed 0install-solver.2.18
-> installed menhirLib.20240715
-> installed cppo.1.8.0
-> installed re.1.13.2
-> installed ocaml-syntax-shims.1.0.0
-> installed sha.1.15.4
-> installed ocamlgraph.2.2.0
-> installed extlib.1.8.0
-> installed alcotest.1.9.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.4.0
-> installed menhir.20240715
-> installed opam-file-format.2.2.0
-> installed opam-format.2.4.0
-> installed opam-repository.2.4.0
-> installed opam-solver.2.4.0
-> installed opam-state.2.4.0
-> installed opam-client.2.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-22 17:03.07 ---> using "8c38118dbe942430b14ddbcfef8008f93f86b6f8142ee164e9dec73ed1252b35" from cache
/src: (copy (src .) (dst /src))
2025-07-22 17:03.07 ---> saved as "a2bdd3fbd0914ede5e1755e3a168858a6305311e553b7b23cd381ac22c5e0926"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-22 17:03.08 ---> saved as "b51c347acf1a57ca79f87218ec7f4bc0155bcabe95fb0f0679b6b7a9803f0e74"
Job succeeded
2025-07-22 17:03.08: Job succeeded