Organisationsocaml-opamopam-0install-solverbb2820 (master)alpine-3.22-5.4_opam-2.4

alpine-3.22-5.4_opam-2.4

Logs

Show full logs
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:alpine-3.22-5.4_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
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:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
# alpine-3.22-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:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1-alpine-3.22-5.4_opam-2.4-fa5e9662e955e118dd706724121e7436"
2025-10-18 16:35.56: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1)
 (comment alpine-3.22-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.48: Waiting for worker…
2025-10-18 17:24.43: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at bb28200 Merge pull request #64 from talex5/release

(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1)
2025-10-18 17:24.43 ---> using "e5ab524290e505ed5240c7136106572c90f8627d7370b4a892c6d0542a73b860" from cache

/: (comment alpine-3.22-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.43 ---> using "842aabfb8075585c58dd3796ad7f10d9759a3a2fd2b99532aad6c3213b54374d" 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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-18 17:24.43 ---> using "839d7f09fa9959b49dee54923b64533e1cf0fc0921fb751f1c302a1676d84f63" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 17:24.43 ---> using "c457e564a54f7ef45dc343abb0d249c5401278994a0a39530e666d61e6f08283" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-18 17:24.43 ---> using "29f1940b2be9f0ffecc71b1311abbbd03369d83e42a8c265638038c10eef5a91" 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.43 ---> using "cfc13f97e2a88a9c451d0abfe5c718b68e210cc21a8c36f60d5d73b9b5ce08ff" from cache

/src: (copy (src opam-0install.opam) (dst ./))
2025-10-18 17:24.43 ---> saved as "5a9398d3ad66ff3169c64ccb7548056aa76cd476f28af5e8b38852c136aa373f"

/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.45 ---> saved as "446ab19deb81a11d44e133c535e518eb034956de26d3ca09d58d3791e969321f"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 17:24.45 ---> saved as "b748ee84d25d906dbf3ed9c48ef804f301a66bd878ec5a5e017950a5937a3ad9"

/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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-46-gf44c8d388fc [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-49-g5ccb1eb14d7 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251016-156-ge9635f59514 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251016-157-g0ac184e43ae [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251016-155-geff968f25d3 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59604 distinct packages available

<><> 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:24.54 ---> saved as "bda400d79d257fe2a2106a7a2d3b40a8d7bc5d9667e6eca6af1b4c7b94384d0d"

/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)
-> installed conf-c++.1.0
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> 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 re.1.14.0
-> installed sha.1.15.4
-> installed extlib.1.8.0
-> installed ocamlgraph.2.2.0
-> installed alcotest.1.9.1
-> 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.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:25.55 ---> saved as "f913ccc78b4df3ba75eba8cdf4334f51f64d511ccd5380b0287796969e66283f"

/src: (copy (src .) (dst /src))
2025-10-18 17:25.55 ---> saved as "2235945b91755c3c516ebe9ebf242719f8cd42b243f6d7da31a23463459cc9ac"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-18 17:25.56 ---> saved as "154239203c01c5c90b15cba5b0f87daee1b8b8387aced84c2dc07845f8c696df"
Job succeeded
2025-10-18 17:25.56: Job succeeded