Organisationsmbarbincmdlang7959c3 ()ubuntu-25.04-4.14_opam-2.4

ubuntu-25.04-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-01 14:23.24: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (7959c316129a38c6e3474d51271385c92f56c885) (linux-x86_64:ubuntu-25.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 7959c316
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
# ubuntu-25.04-4.14_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam ./
RUN opam pin add -yn cmdlang.dev './' && \
opam pin add -yn cmdlang-to-cmdliner.dev './' && \
opam pin add -yn cmdlang-to-climate.dev './' && \
opam pin add -yn cmdlang-to-base.dev './' && \
opam pin add -yn cmdlang-tests.dev './' && \
opam pin add -yn cmdlang-stdlib-runner.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.8.2 cmdliner.1.3.0 dune.3.20.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-09-01 14:23.24: Using cache hint "mbarbin/cmdlang-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d-ubuntu-25.04-4.14_opam-2.4-10f0aa3886ec187af5e87d19116d9863"
2025-09-01 14:23.24: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d)
(comment ubuntu-25.04-4.14_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.2 cmdliner.1.3.0 dune.3.20.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
(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 cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.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 --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build"))
)


2025-09-01 14:23.24: Waiting for resource in pool OCluster
2025-09-01 14:23.24: Waiting for worker…
2025-09-01 14:23.24: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 7959c31 Upgrade node-version in doc jobs


(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d' locally
docker.io/ocaml/opam@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d: Pulling from ocaml/opam
60fb2420030a: Already exists
30a5b9bffc59: Already exists
e76e7b0fd035: Already exists
87fd98c989d0: Already exists
fc31fa993861: Already exists
c75b71d41442: Already exists
9f08a6d6f6f5: Already exists
3dfc106a9c15: Already exists
1c3a6d2a01a7: Already exists
2d648021ecec: Already exists
ffcf097292c2: Already exists
e1bcef442ada: Already exists
61993b76460e: Already exists
929a57e31854: Already exists
826e2c54b1a9: Already exists
eec17caf12a0: Already exists
eec17caf12a0: Already exists
9259e842febf: Already exists
ae77b4e577af: Already exists
61c1d61eb8ba: Already exists
d7a0435c7be4: Already exists
4f4fb700ef54: Already exists
67b39cdc1121: Already exists
217bd9b7b99f: Already exists
1c96670814d1: Already exists
ccd441a4e677: Already exists
9e7324b47fd8: Already exists
0ec34067023b: Already exists
33125ff80400: Already exists
b383373ace10: Already exists
447883287ba9: Already exists
cb78f5b619b6: Already exists
d52ede671661: Already exists
fa458c0e5391: Already exists
eef4f5a958fd: Already exists
450c30b71c71: Already exists
2d3751651883: Already exists
6d7ce401ccd8: Already exists
31c1aa1ff3db: Already exists
a1655bb63c33: Already exists
8d725d821777: Pulling fs layer
91c567e53ac8: Pulling fs layer
3c95a1616c24: Pulling fs layer
bd55d20213f1: Pulling fs layer
bd55d20213f1: Waiting
91c567e53ac8: Download complete
3c95a1616c24: Download complete
bd55d20213f1: Verifying Checksum
bd55d20213f1: Download complete
8d725d821777: Verifying Checksum
8d725d821777: Download complete
8d725d821777: Pull complete
91c567e53ac8: Pull complete
3c95a1616c24: Pull complete
bd55d20213f1: Pull complete
Digest: sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
Status: Downloaded newer image for ocaml/opam@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
2025-09-01 14:23.24 ---> using "6445603d95b4d6f8a0cc4b067867ad8502c05bb39a118c7268888ef8cc2c4e36" from cache


/: (comment ubuntu-25.04-4.14_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-09-01 14:23.24 ---> using "7ad150f251741d606ac6503f344d72dcc5bd5f313a2335d5eee3c014aa99bfe6" 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-09-01 14:23.24 ---> using "55855347ad7177e52ea1253facff35ea156ea33e15ee3e13029c016c8647e07c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-01 14:23.24 ---> using "dbe66741533320c831c671504bf8635a0466b82af65054bfe9bd11ea91bdcafc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-01 14:23.24 ---> using "5ce0f42df606e17f242ff81fc5c610c3e8f7106af10cefe63952863c569c99c4" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
854fc71d55..f2cd184cfc  master     -> origin/master
4c972ba0fc Merge pull request #28397 from maiste/release-dune-3.20.1


<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.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)
2025-09-01 14:23.24 ---> using "ac3ac5b0c898cdb6362f7dfb24da895048d5663cdf785df5971d3980b09e8ea6" from cache


/src: (copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam)
(dst ./))
2025-09-01 14:23.24 ---> using "73185f96e7c15ff48c9574636152ef3fc4f4d3f4fa90156aac4822a40a2a0dbc" from cache


/src: (run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './'"))
[cmdlang.dev] synchronised (file:///src)
cmdlang is now pinned to file:///src (version dev)
[cmdlang-to-cmdliner.dev] synchronised (file:///src)
cmdlang-to-cmdliner is now pinned to file:///src (version dev)
[cmdlang-to-climate.dev] synchronised (file:///src)
cmdlang-to-climate is now pinned to file:///src (version dev)
[cmdlang-to-base.dev] synchronised (file:///src)
cmdlang-to-base is now pinned to file:///src (version dev)
[NOTE] Package cmdlang-tests does not exist in opam repositories registered in the current switch.
[cmdlang-tests.dev] synchronised (file:///src)
cmdlang-tests is now pinned to file:///src (version dev)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
cmdlang-stdlib-runner is now pinned to file:///src (version dev)
2025-09-01 14:23.32 ---> saved as "31c6d80770421c7933bc19ec9c31a5c6761e602d297e48fd2c735e81b179a0a2"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-01 14:23.32 ---> saved as "3d38d78e0f681c8e7094a572395a96483ef6274252b880c22b397b316391bb5e"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.2 cmdliner.1.3.0 dune.3.20.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")


/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 cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [384 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [254 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [219 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:8 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [202 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [253 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [145 kB]
- Fetched 1835 kB in 1s (1567 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cmdlang.dev] synchronised (file:///src)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
[cmdlang-to-climate.dev] synchronised (file:///src)
[cmdlang-to-cmdliner.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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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).
2025-09-01 14:23.43 ---> saved as "99bc130cba4cc335cac06929ea88013647ac97f06c866455b5e4f330da8279d3"


/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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 3 packages
- install climate  0.8.2
- install cmdliner 1.3.0
- install dune     3.20.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved climate.0.8.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dune.3.20.1  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.20.1
-> installed climate.0.8.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-01 14:24.14 ---> saved as "0f3151acc2c076b656dcc814ecc7c18b799074abb9a4563a363f81b0e3c76dba"


/src: (copy (src .) (dst /src))
2025-09-01 14:24.15 ---> saved as "70568bccfbbb4e5020e09557340f7285cf3e8d45fc2d07b90cb3dfdedb96ab13"


/src: (run (shell "opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build"))
File "lib/cmdlang_to_base/test/cram/bin/dune", line 6, characters 2-24:
6 |   core_unix.command_unix
^^^^^^^^^^^^^^^^^^^^^^
Error: Library "core_unix.command_unix" not found.
-> required by
_build/default/lib/cmdlang_to_base/test/cram/bin/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias lib/cmdlang_to_base/test/cram/bin/check
File "test/cram/bin/stdlib-runner/dune", line 4, characters 34-51:
4 |  (libraries cmdlang_stdlib_runner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/stdlib-runner/.main_stdlib_runner.eobjs/byte/dune__exe__Main_stdlib_runner.cmi
-> required by alias test/cram/bin/stdlib-runner/check
File "test/cram/bin/base/dune", line 4, characters 51-68:
4 |  (libraries cmdlang_to_base core_unix.command_unix cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/base/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias test/cram/bin/base/check
File "test/cram/bin/climate/dune", line 4, characters 39-56:
4 |  (libraries climate cmdlang_to_climate cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/climate/.main_climate.eobjs/byte/dune__exe__Main_climate.cmi
-> required by alias test/cram/bin/climate/check
File "test/cram/bin/cmdliner/dune", line 4, characters 41-58:
4 |  (libraries cmdlang_to_cmdliner cmdliner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/cmdliner/.main_cmdliner.eobjs/byte/dune__exe__Main_cmdliner.cmi
-> required by alias test/cram/bin/cmdliner/check
File "doc/docs/tutorials/getting-started/bin/dune", line 4, characters 41-56:
4 |  (libraries cmdlang-to-cmdliner cmdliner getting_started)
^^^^^^^^^^^^^^^
Error: Library "getting_started" not found.
-> required by
_build/default/doc/docs/tutorials/getting-started/bin/.main.eobjs/byte/dune__exe__Main.cmi
-> required by alias doc/docs/tutorials/getting-started/bin/check
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-01 14:24.15: Job failed: Failed: Build failed