Organisationsmbarbincmdlang9abb51 ()debian-13-5.0_opam-2.4

debian-13-5.0_opam-2.4

Link Copied
Code Copied

Logs

2025-10-07 12:51.59: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (9abb51cc3212a0895c0f87589c2873fcf7b98bd6) (linux-x86_64:debian-13-5.0_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 9abb51cc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d
# debian-13-5.0_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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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-domains.base base-nnp.base base-threads.base base-unix.base climate.0.8.4 cmdliner.2.0.0 dune.3.20.2 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 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-10-07 12:51.59: Using cache hint "mbarbin/cmdlang-ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d-debian-13-5.0_opam-2.4-06f54ea1ad76bc792ec9e7eb2a305e0d"
2025-10-07 12:51.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d)
(comment debian-13-5.0_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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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-domains.base base-nnp.base base-threads.base base-unix.base climate.0.8.4 cmdliner.2.0.0 dune.3.20.2 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 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-10-07 12:51.59: Waiting for resource in pool OCluster
2025-10-07 12:52.00: Waiting for worker…
2025-10-07 12:52.00: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 9abb51c Revise rationale for cmdlang development


(from ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d)
2025-10-07 12:52.01 ---> using "8495c7ba27b99334ff112cc0115bd07f740312d7c326ce9a8bba3c40fc36016c" from cache


/: (comment debian-13-5.0_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-10-07 12:52.01 ---> using "3b288494246d21562c918a4ae593f89ae232af4c14f1b87c9c4046f749ee5232" 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-10-07 12:52.01 ---> using "78d9e4025c5458464b3c1017776443dace2ac22276f93262c0e5d530cb40cb90" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.0.0
2.4.1
2025-10-07 12:52.01 ---> using "091aa0380293533714e91e2be3ff2feaed9555906ee35c5a401bb9620dd9c124" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-07 12:52.01 ---> using "a31cd285fedf916b9e4d219b33646b4590434829e61f52ad6ed88d226884a946" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..9167a26f75  master     -> origin/master
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0


<><> 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-10-07 12:52.20 ---> saved as "ad8c923616702a1ad5c0b5ca76bd471993ace44a6cc6d842c70fcef79108f550"


/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-10-07 12:52.20 ---> saved as "7aa17b5c5f8bb97b8e9b4bee5d3558f883a6f4e737878348712bf191d65573ab"


/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-10-07 12:52.28 ---> saved as "1c7f8647088c47c0c0ef1e1cc3f300a0090da7ae3980d5eea3fbd2948314b94e"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-07 12:52.28 ---> saved as "900baa76782d38d68c58446dce374d020c12327ebebf76ab4465ead80c88ead4"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base climate.0.8.4 cmdliner.2.0.0 dune.3.20.2 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 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://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [51.4 kB]
- Fetched 142 kB in 0s (1308 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-10-07 12:52.37 ---> saved as "2601e4e31d170a467531c38a36189f6fdd669a6acdbf0d65245099306cea1d2c"


/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-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-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 3 packages
- install climate  0.8.4
- install cmdliner 2.0.0
- install dune     3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved climate.0.8.4  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed dune.3.20.2
-> installed climate.0.8.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-07 12:53.09 ---> saved as "8e11df9425b9279bd8a3770e3fe6fbf917e2d3e6cfa442b9b0d8fe7ce8fbff03"


/src: (copy (src .) (dst /src))
2025-10-07 12:53.09 ---> saved as "a93a885c592f814668a9b05cebf055855ce209aa8f78a2a4853087e8b19757e9"


/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-10-07 12:53.10: Job failed: Failed: Build failed