Organisationsocurrentocaml-version994cfa ()alpine-3.23-4.14_opam-2.5

alpine-3.23-4.14_opam-2.5

Logs

Show full logs
2026-06-02 15:01.10: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/pull/89/head (994cfa73bc44a5ce576ebd62e48acb8337512c69) (linux-x86_64:alpine-3.23-4.14_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" && cd "ocaml-version" && git fetch origin "refs/pull/89/head" && git reset --hard 994cfa73
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387
# alpine-3.23-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ocaml-version.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

2026-06-02 15:01.10: Using cache hint "ocurrent/ocaml-version-ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387-alpine-3.23-4.14_opam-2.5-81e8370595e995469779e431aa822828"
2026-06-02 15:01.10: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387)
 (comment alpine-3.23-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
 (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 "opam update -u"))
 (copy (src ocaml-version.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ocaml-version.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 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.5 --depext-only -y ocaml-version.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"))
)

2026-06-02 15:01.10: Waiting for resource in pool OCluster
2026-06-02 16:10.07: Waiting for worker…
2026-06-02 16:14.27: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 994cfa7 tweak version now that opam-repository lower OCaml bound is 4.11

(from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387)
2026-06-02 16:14.28 ---> using "645db74cf2f6617db2ad81b0e818e4f1f9c438bf86fc197e2b1f68b1d3dfdf29" from cache

/: (comment alpine-3.23-4.14_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-06-02 16:14.28 ---> using "cf8a7eb63fdaa4274d5ee8634b4a7b94f9670fcdafb4f064aa00246fcc10cd06" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-06-02 16:14.28 ---> using "a218be502030aa9bb7f549b3ce1a3ae2557dd57f02075fadfc67380f505ae4ad" 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com (Could not contact DNS servers)"
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-02 16:14.28 ---> using "4f523c7d4745fce438a54b36da96f723989e2e5d4ec70c21de877c0cdc177935" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-06-02 16:14.28 ---> using "7949df54ce6970c564a4bf56d43ea82ed8285a3985c52812abb95e52dedffc44" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-06-02 16:14.28 ---> using "e3756b85b4c17d4e5ed9bed65403d563aab03a7f8a591074112948d13345d3bd" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update -u"))

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.5.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-06-02 16:14.28 ---> using "93cd4ee304db1fd84732798229edd34654aa56cf7a5998999d544ac3c636fd6d" from cache

/src: (copy (src ocaml-version.opam) (dst ./))
2026-06-02 16:14.28 ---> using "166cb2fa58db0e1e36e9c8eef612f57ca0b3e8c801d5348517005125c163afd0" from cache

/src: (run (network host)
           (shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2026-06-02 16:14.28 ---> using "ba56203255f115c25da0bf763f2a4897f6aeaed3bcab154e9f65e8ffdfba153e" from cache

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-02 16:14.28 ---> using "8fbe168107eb28abf062ce8e57eed103609ea687accf428e47c4f9f7f45947b2" from cache

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 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.5 --depext-only -y ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-321-gd7ba2f7929f [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-326-g3e2b6523bc0 [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-10687-gd9e76d56b8e [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-10753-g6b63703a58e [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-10749-g6db09ef5474 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62392 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-06-02 16:14.28 ---> using "0af561469b78cc6e01e69299f8a0eed5120d86491ee36a16cd1c6ac564a1bad3" 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 12 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install cmdliner           2.1.1
  - install dune               3.23.1
  - install fmt                0.11.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install re                 1.14.0
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.23.1  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed dune.3.23.1
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-02 16:14.42 ---> saved as "58de5e4e380027c077950a536aedb27f6d44bd03a884a3f03f0c06fd53ab5e9e"

/src: (copy (src .) (dst /src))
2026-06-02 16:14.43 ---> saved as "4f0b31aa91aa852d22ac96f310c738d4d36bfcf68906785aa39c6bb642d53d82"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_unit.exe)
Testing `ocaml-version'.
This run has ID `I6Y2RT2U'.

  [OK]          Compiler_variants          0   Multicore not on 4.12 x86-64.
  [OK]          Compiler_variants          1   Multicore not on 4.10 i386.
  [OK]          Compiler_variants          2   Multicore not on 4.12 xi386.
  [OK]          Configure_options          0   FP on last 4.07.
  [OK]          Configure_options          1   FP on first 4.08.
  [OK]          Configure_options          2   FP on 3.12.

Full test results in `/src/_build/default/test/_build/_tests/ocaml-version'.
Test Successful in 0.001s. 6 tests run.
2026-06-02 16:14.45 ---> saved as "893b37372adb524114826f8fd0907baeddf3dfd48541400ff69e592cd1cf0593"
Job succeeded
2026-06-02 16:14.45: Job succeeded