Organisationsocurrentocaml-version81a9af ()alpine-3.23-5.4_opam-2.5

alpine-3.23-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-06-15 18:25.36: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (81a9af6da06aae6d0ae241d110e24867ec90407f) (linux-x86_64:alpine-3.23-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 81a9af6d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
# alpine-3.23-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 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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-06-15 18:25.36: Using cache hint "ocurrent/ocaml-version-ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073-alpine-3.23-5.4_opam-2.5-c72cd5b7fd8d2a6ac2eb2c37f7a1571c"
2026-06-15 18:25.36: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073)
(comment alpine-3.23-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 (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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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-06-15 18:25.36: Waiting for resource in pool OCluster
2026-06-15 18:25.36: Waiting for worker…
2026-06-15 18:25.37: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 81a9af6 Merge pull request #91 from Octachron/OCaml_4.14.4


(from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073' locally
docker.io/ocaml/opam@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073: Pulling from ocaml/opam
6a0ac1617861: Already exists
c7f7861ee488: Already exists
242907bdbe26: Already exists
3352270e10b0: Already exists
47c18f475101: Already exists
9e65bd6c7317: Already exists
2801e5e13c88: Already exists
018ccadd5bf7: Already exists
2e273f2aabdd: Already exists
e348a3504fd1: Already exists
37f6ed8f41db: Already exists
e4dee05632b5: Already exists
cc7d1e48a817: Already exists
2afc109d933b: Already exists
c8b994fd4978: Already exists
94d6ee139c18: Already exists
33b9b3d1317d: Already exists
4f4fb700ef54: Already exists
48061712d8ec: Already exists
9379b5d8c279: Already exists
da5d751f6c1f: Already exists
ded3ed35f70f: Already exists
9d95cd3602ab: Already exists
e5ec97e88805: Already exists
8fa9502c7636: Already exists
d2ada6e134f3: Already exists
de9c4f786308: Already exists
74907ca98ac8: Already exists
d97c011a0188: Already exists
5e3139447bb2: Already exists
0abf1764e2f7: Pulling fs layer
cabb3cb070af: Pulling fs layer
0abf1764e2f7: Waiting
8567d9bd2ef5: Pulling fs layer
cabb3cb070af: Waiting
6355f795b23f: Pulling fs layer
d56470579452: Pulling fs layer
6355f795b23f: Waiting
5e09940486c0: Pulling fs layer
d56470579452: Waiting
ae8384086020: Pulling fs layer
5e09940486c0: Waiting
cc2f366e8a07: Pulling fs layer
ae8384086020: Waiting
2af9d1b6335e: Pulling fs layer
cc2f366e8a07: Waiting
1d1fc9714fad: Pulling fs layer
2af9d1b6335e: Waiting
decaee6a135e: Pulling fs layer
1d1fc9714fad: Waiting
b8eb03c2bd2b: Pulling fs layer
decaee6a135e: Waiting
b8eb03c2bd2b: Waiting
cabb3cb070af: Verifying Checksum
cabb3cb070af: Download complete
6355f795b23f: Download complete
d56470579452: Verifying Checksum
d56470579452: Download complete
5e09940486c0: Verifying Checksum
5e09940486c0: Download complete
8567d9bd2ef5: Verifying Checksum
8567d9bd2ef5: Download complete
ae8384086020: Verifying Checksum
ae8384086020: Download complete
cc2f366e8a07: Verifying Checksum
cc2f366e8a07: Download complete
1d1fc9714fad: Verifying Checksum
1d1fc9714fad: Download complete
decaee6a135e: Download complete
b8eb03c2bd2b: Verifying Checksum
b8eb03c2bd2b: Download complete
2af9d1b6335e: Verifying Checksum
2af9d1b6335e: Download complete
0abf1764e2f7: Download complete
0abf1764e2f7: Pull complete
cabb3cb070af: Pull complete
8567d9bd2ef5: Pull complete
6355f795b23f: Pull complete
d56470579452: Pull complete
5e09940486c0: Pull complete
ae8384086020: Pull complete
cc2f366e8a07: Pull complete
2af9d1b6335e: Pull complete
1d1fc9714fad: Pull complete
decaee6a135e: Pull complete
b8eb03c2bd2b: Pull complete
Digest: sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
Status: Downloaded newer image for ocaml/opam@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
2026-06-15 18:25.39 ---> using "81271f136a5c405ab344f21038f3fe129030b1e91d3407a93a063db52e4a8f3d" from cache


/: (comment alpine-3.23-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-06-15 18:25.39 ---> using "6176ab3c1596fbc0dee7463fd2836ffd2f58884dcc6e1ac71012c114e0dba47c" 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-15 18:25.39 ---> using "198e2a86af21258af4a3708ab201c983b85717dbe19fbd80b4e2b778ec06eba3" 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.


[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
Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-15 18:25.39 ---> using "f808e29f897520cdccd1d82f4e437e74a0ab99a640fd502b3185cf8cbd15d243" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 5.4.1
2.5.1
2026-06-15 18:25.39 ---> using "932bf0baf6f1e6f58661cc8cac9e0dd87bf62ee42ac881e41fd1db72322d0e2e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-15 18:25.39 ---> using "686f4c40734342ed9ace4a3a7a697c4179229f5e8d734cd1e91fd4957a4dce2a" from cache


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


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
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-15 18:25.39 ---> using "7f846372560d8b4d6a3332f9d6e89238628ca744db7e685dbbbbfe1d73c8db5e" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2026-06-15 18:25.39 ---> using "068ef5758939dc81ea687074553640609e2c25e4bb5bb02079171a8b4e57fb81" 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-15 18:25.39 ---> using "8fb78dd4762c7f5169c818e62c87b6dd33a2a7cbe9e3f18f5354937d9cf88f33" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-15 18:25.39 ---> using "76b1aaa816ef737666e0ad704ba26936d8d4f58692b4123b884f97b318020b72" from cache


/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.1 dune.3.23.1 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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"
- v3.23.4-378-g8dac5373128 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-377-gcb206250bc6 [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v3.24.0-294-g05234ef7de0 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.24.0-285-g481551adb61 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.24.0-278-g8b6f91ba6fc [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62440 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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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-06-15 18:25.39 ---> using "ece72669056ab4bce087ffa5c0c2ce54c76547603b1006e044dcf993932738a1" 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.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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.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-15 18:25.39 ---> using "1f1b4d4ccfbc33aa2798741b3fc7107faeab7016087222a1c8e002d112510773" from cache


/src: (copy (src .) (dst /src))
2026-06-15 18:25.39 ---> using "77a29c45ce540a79c37a136783b1f2b211f348cb17c5903b3f57cc6b4086875d" from cache


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


[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-15 18:25.39 ---> using "cf61a80790d5b01d3e7948c07b77b3df57fa00db2e0fa5aa236af678b9344f97" from cache
Job succeeded
2026-06-15 18:25.39: Job succeeded