Organisationsocurrentocaml-version3bb1c5 (master)alpine-3.22-5.4_opam-2.5

alpine-3.22-5.4_opam-2.5

Logs

Show full logs
2026-01-16 13:57.18: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (3bb1c5d559d7a0f22954919f0ada769850bdeb0a) (linux-x86_64:alpine-3.22-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 3bb1c5d5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
# alpine-3.22-5.4_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 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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.21.0 fmt.0.11.0 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 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-01-16 13:57.18: Using cache hint "ocurrent/ocaml-version-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5-alpine-3.22-5.4_opam-2.5-29ce1286d44cdc7f950735b4e3337431"
2026-01-16 13:57.18: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5)
 (comment alpine-3.22-5.4_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 (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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocaml-version.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ocaml-version.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "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 cmdliner.2.1.0 dune.3.21.0 fmt.0.11.0 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 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-01-16 13:57.18: Waiting for resource in pool OCluster
2026-01-16 17:06.22: Waiting for worker…
2026-01-16 17:10.31: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 3bb1c5d Update CHANGES.md before release

(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5' locally
docker.io/ocaml/opam@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5: Pulling from ocaml/opam
2d35ebdb57d9: Already exists
adfc86c1accf: Already exists
d09377907434: Already exists
a699cf44908b: Already exists
c088e74f1f31: Already exists
7e99e6eaa847: Already exists
db4b89a22482: Already exists
f1f17593da04: Already exists
bb79fbf72548: Already exists
cf69890848e3: Already exists
80e325d6146c: Already exists
66a526c41d4c: Already exists
347d38b311ac: Already exists
984612fde4c4: Already exists
0ac0da982daa: Already exists
209c9bca9b0e: Already exists
3d3356d548ff: Already exists
c072da09f122: Already exists
4f4fb700ef54: Already exists
eff3d806a4a8: Already exists
f5c413f5234b: Already exists
09ddc5430e22: Already exists
2c7c283b1afc: Already exists
4af9a971b585: Already exists
df8d9be3e30d: Already exists
5e55ae3325a7: Already exists
635cb27b4304: Already exists
898fbde8ad42: Already exists
66c0ffc92413: Already exists
c8cca855638d: Already exists
45d2501a899c: Already exists
10b0fe6926c2: Already exists
0a1d7b83a687: Already exists
2c3441915309: Already exists
3d1a575b1bb0: Already exists
6e5fa830b59d: Already exists
72225f5a6449: Already exists
76933219c737: Pulling fs layer
e40a4a6bb223: Pulling fs layer
57877bdece39: Pulling fs layer
7f25b65fc90c: Pulling fs layer
83104ccb4b47: Pulling fs layer
448ea50ba83e: Pulling fs layer
7f25b65fc90c: Waiting
83104ccb4b47: Waiting
448ea50ba83e: Waiting
76933219c737: Verifying Checksum
76933219c737: Pull complete
e40a4a6bb223: Verifying Checksum
e40a4a6bb223: Download complete
7f25b65fc90c: Verifying Checksum
7f25b65fc90c: Download complete
e40a4a6bb223: Pull complete
448ea50ba83e: Verifying Checksum
448ea50ba83e: Download complete
83104ccb4b47: Verifying Checksum
83104ccb4b47: Download complete
57877bdece39: Verifying Checksum
57877bdece39: Download complete
57877bdece39: Pull complete
7f25b65fc90c: Pull complete
83104ccb4b47: Pull complete
448ea50ba83e: Pull complete
Digest: sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
Status: Downloaded newer image for ocaml/opam@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
2026-01-16 17:10.32 ---> using "8e7368a35b514e2f693b7ef97549c85525e506baecfd9cb71dfa7c1285b9bf9e" from cache

/: (comment alpine-3.22-5.4_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-01-16 17:10.32 ---> using "5de1607ed24a4d9a94f038b30a5d26051019ad9d567bd9b920207c8a8790958e" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-16 17:10.32 ---> using "9a9c4e5cee84ea1f4dd03ef20c73db2f8677135dce421b26bfc6a84a6e4cec86" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-16 17:10.32 ---> using "667074f5be2334a92415ceab74ec15bb59d47bdf0e2beb825eaa389555f40c78" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-16 17:10.32 ---> using "33c7b91e3a3fd17dd0b670dfb64c2fe390ea331270d4439429317512d6a40df2" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6b2f19780..92679ed614  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0

<><> 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)
2026-01-16 17:10.32 ---> using "4184b41a9a82b3669f30a95932bd76a185cc6536c8f133518b5ae3e7d0ad06aa" from cache

/src: (copy (src ocaml-version.opam) (dst ./))
2026-01-16 17:10.32 ---> saved as "fe2daefe3df646e8c2af7146b56b06a011bf1db5985567cee779cd7876710406"

/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-01-16 17:10.38 ---> saved as "106ce635460c787c71796c8b876ee54db74c136574343ed42f2702a39f72898c"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 17:10.38 ---> saved as "b198e90ad4ec9c59cb5357ffb67fb07a88a442040d0fe99f636d7a332220d617"

/src: (env DEPS "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 cmdliner.2.1.0 dune.3.21.0 fmt.0.11.0 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 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"
- 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-345-g80278e42c54 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-350-ga346423740a [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251224-1517-g76c24b64e20 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251224-1496-g03a612442a1 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251224-1495-g0eba70fbcb6 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60721 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 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).
# To update the current shell environment, run: eval $(opam env)
2026-01-16 17:11.05 ---> saved as "26ed7e77bb4e94e27b0a1acfc1e2314f0ef0a56afdbd72ad121aa090998cecd3"

/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 12 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install cmdliner           2.1.0
  - install dune               3.21.0
  - 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.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (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.21.0  (cached)
-> installed cmdliner.2.1.0
-> 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.21.0
-> 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-01-16 17:12.54 ---> saved as "971ba3ec9c501634c989db1f3394cbf160d169978fa6c6c48fe0ba8c7aa5a302"

/src: (copy (src .) (dst /src))
2026-01-16 17:12.54 ---> saved as "cec15a1ac79f46c19d1e7679f67d407a68d170c8cbb5ed2893111c9f42f995b6"

/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 `GQIWURYR'.

  [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-01-16 17:12.56 ---> saved as "96f4a0fafbc511c4f73d69e39edc05c41fe44c119a2289bcd23ecfbc0a53bb45"
Job succeeded
2026-01-16 17:12.56: Job succeeded