Organisationsmbarbincmdlangaff263 ()debian-12-4.14_opam-2.4

debian-12-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-12-15 14:41.39: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (aff263daa166913626e81e5c8eed9ccff4b6dcd1) (linux-x86_64:debian-12-4.14_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard aff263da
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854
# debian-12-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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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.20.2 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-12-15 14:41.39: Using cache hint "mbarbin/cmdlang-ocaml/opam:debian-12-ocaml-4.14@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854-debian-12-4.14_opam-2.4-67b653ef1dca5c0584da7570906c28c5"
2025-12-15 14:41.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854)
(comment debian-12-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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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 (network host)
(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.20.2 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-12-15 14:41.39: Waiting for resource in pool OCluster
2025-12-15 19:19.07: Waiting for worker…
2025-12-15 19:21.28: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at aff263d Fmt


(from ocaml/opam:debian-12-ocaml-4.14@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854' locally
docker.io/ocaml/opam@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854: Pulling from ocaml/opam
708274aafe49: Already exists
737ad2ee74be: Already exists
032e1e533064: Already exists
a743bd4d475e: Already exists
aaac0d8bb086: Already exists
2f47ce3dda7a: Already exists
b362d301afa0: Already exists
fe6e37b7e1da: Already exists
8a764116855e: Already exists
c12cc9c502a1: Already exists
bbef696fc9f7: Already exists
38384e02ae76: Already exists
2ca0d6272582: Already exists
8aa0bd7664c4: Already exists
a666c9909299: Already exists
6f7e696d79a3: Already exists
6f7e696d79a3: Already exists
ba2687b09ddc: Already exists
f1bba56185ec: Already exists
863a2e448b4b: Already exists
003964d3ed6f: Already exists
4f4fb700ef54: Already exists
863110cf126e: Already exists
38d837da1f43: Already exists
de5d0eb995c1: Already exists
349cf7ff9b72: Already exists
89ea55c65d6b: Already exists
c93a56c20fbe: Already exists
5b3fd95fb4eb: Already exists
ede16d5501f3: Already exists
13d38cef7b46: Already exists
615ecf5b3783: Already exists
f3ca79f8019f: Already exists
244314359dd9: Already exists
d3b76ad71828: Already exists
5ccff3f0221a: Already exists
b26db2ec9ad9: Already exists
0edb99110586: Already exists
03bb3f13f54e: Already exists
a7eb825b3a84: Already exists
b74e64dc4a43: Already exists
cfd8920bd642: Already exists
9b1cc9a519f7: Already exists
364304a7dfe9: Already exists
Digest: sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854
Status: Downloaded newer image for ocaml/opam@sha256:27192162a487f07795b9aa344a84ae5887f60b664e5f348b20c64f508df4c854
2025-12-15 19:21.29 ---> using "587e2e8aea5afe4962fd158c03c55e90c5094b8627335c40e718a6801056b3bb" from cache


/: (comment debian-12-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-12-15 19:21.29 ---> using "8836ac379601f1e9460c7627b25e29a7bfd4a9a2222db56804fc8985c61f6c36" 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-12-15 19:21.29 ---> using "3450cd4d1ae6bd10d3d301b97768bf04e049abfd6a6357990310e225b72854b2" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-12-15 19:21.29 ---> using "59723acd01d044757913a702a7add3d1c4e45ad188556a35cc727537bbbc4603" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-15 19:21.29 ---> using "5a5dc20e47f78287286646726336755e8fc38026e1234397d2eaa66da0331c6f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee3428377a..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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.4.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-12-15 19:21.29 ---> using "7103662b61754e10eb01a5784db3db9b1af266e7cc5ac73034610388b0562828" 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 cmdlang-dev.opam)
(dst ./))
2025-12-15 19:21.29 ---> using "783b373fd0b8e07014ac68d035bd013e391c267d357db293fe69cd3d1eb11332" 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 './' && \
\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)
2025-12-15 19:21.29 ---> using "fce8c980071d901e0e13c21c6a56446fc88c1d889b0b4e0c35ab093e3f77cf4c" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-15 19:21.29 ---> using "e0eba3c99319fbe7281e20754d286e0242cc9d6830df4b506f6978a67ba4e50f" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.20.2 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://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [290 kB]
- Fetched 393 kB in 0s (894 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-12-15 19:21.29 ---> using "468df2bd3df011cacbb443636bfeb38ced9b835c1b3ea7ef7320e59ff45007a7" 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 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.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved climate.0.9.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.20.2
-> installed climate.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 19:21.52 ---> saved as "63a812e9e8d0fb6787696e5b3c1f7998134761dcac2f58d719614e3e5a298a2b"


/src: (copy (src .) (dst /src))
2025-12-15 19:21.53 ---> saved as "34a4f318f54bd2c5281a977ced9740a6becdc0ee449514346d3185f409f35016"


/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-12-15 19:21.55 ---> saved as "84390cff9d76b2ac564aaa5e55b568019ff3f2efda5d36f0e0b8ef42eadc6c51"
Job succeeded
2025-12-15 19:21.56: Job succeeded