Organisationsmbarbincmdlang6d46ef ()ubuntu-24.04-4.14_opam-2.5

ubuntu-24.04-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-03-17 11:34.42: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (6d46ef18beb80f6d1995fafca25c3282bfcbe49d) (linux-x86_64:ubuntu-24.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 6d46ef18
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7
# ubuntu-24.04-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 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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && 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 cmdlang-dev.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 './' && \
opam pin add -yn cmdlang-dev.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.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.5 --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


2026-03-17 11:34.42: Using cache hint "mbarbin/cmdlang-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7-ubuntu-24.04-4.14_opam-2.5-77695fe8785b049a2d7e81b9b18f0a0f"
2026-03-17 11:34.42: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7)
(comment ubuntu-24.04-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 (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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && 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 cmdlang-dev.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 './' && \
\nopam pin add -yn cmdlang-dev.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.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.5 --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"))
)


2026-03-17 11:34.42: Waiting for resource in pool OCluster
2026-03-17 11:34.42: Waiting for worker…
2026-03-17 11:36.57: Got resource from pool OCluster
Building on clete
HEAD is now at c31e9ae Upgrade crs-actions
HEAD is now at 6d46ef1 Remove left-over unused var (shellcheck)


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7)
2026-03-17 11:37.13 ---> saved as "b25396ca8f2405ecf9fd7afb7ad3d8c6ad85adbe6b0f78322354d8f4b03068af"


/: (comment ubuntu-24.04-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-03-17 11:37.13 ---> saved as "2fe0f654ca0d4526cfbb4ce7422c4c4c0eed9248d387e58c89f1a6f031d61f2c"


/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
2026-03-17 11:37.40 ---> saved as "1eff20eb9dd971a1dd575124ed168cb7f3f78d0007d3137f459ff43627589ace"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-03-17 11:37.41 ---> saved as "6246df6cee5ae6fc001c03884e2d781a777d752f95d77aa2005289be024d394e"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-17 11:37.41 ---> saved as "cb85a0d3d7d5dfb95fa62ce0ece31aecc5f5897f9c925caad408589fcb147d4b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
340ee6fd1f..e589be2bb3  master     -> origin/master
31462e7d24 Merge pull request #29451 from dra27/relocatable-package


<><> 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.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-03-17 11:38.15 ---> saved as "f135a9b11407e183003a0fac8a1c5128f33e468a359cfede4773f5a2b05c2a40"


/src: (copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam cmdlang-dev.opam)
(dst ./))
2026-03-17 11:38.16 ---> saved as "66c198e6182d3890e823418ceb3c5cb6ecc221be95f72389237621e5f8fda26d"


/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 './' && \
\nopam pin add -yn cmdlang-dev.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)
[NOTE] Package cmdlang-dev does not exist in opam repositories registered in the current switch.
[cmdlang-dev.dev] synchronised (file:///src)
cmdlang-dev is now pinned to file:///src (version dev)
2026-03-17 11:38.53 ---> saved as "f3f5b48e9af23481854118f4802bfe2bff018864a3ad7cc725696d27bc8b1dc0"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-17 11:38.55 ---> saved as "661637ec01732157cf45460440c5d3552c4f2e11239f8b5bcdc2d36a97224e8c"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.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.5 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3406 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3577 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1261 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1942 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2027 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2322 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [695 B]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.5 kB]
- Fetched 15.0 MB in 2s (6839 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).
# To update the current shell environment, run: eval $(opam env)
2026-03-17 11:39.24 ---> saved as "953e11151e4ead63c1919df1b62bbbc550e8d1a1a0085c279f4d375cfd84606f"


/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.9.0
- install cmdliner 2.1.0
- install dune     3.21.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved climate.0.9.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved dune.3.21.1  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.21.1
-> installed climate.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-17 11:40.14 ---> saved as "6832c43535ca21b141ed666247c8baeb25324455263dc8d03c13f1bba75c3fee"


/src: (copy (src .) (dst /src))
2026-03-17 11:40.14 ---> saved as "b6c9a57aa496e2b76f7af55abc0fc495471ac8e61c82e0ec9fd04f26855c48bb"


/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"))
2026-03-17 11:40.15 ---> saved as "11b50538301bc9230490029f2fa2e94fede14e0dccfbd9e48cebb189b0a33fbc"
Job succeeded
2026-03-17 11:40.15: Job succeeded