Build:
  1. 0
2025-12-03 21:27.11: New job: build dockerfile-cmd.8.3.4, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29021/head (7009d47a555f413e286737807f043c0069eee471)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29021/head" && git reset --hard 7009d47a
git fetch origin master
git merge --no-edit d126db7f3538437450adc43cd0d4ab31ebe228d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam depext -u || true
RUN opam pin add -k version -yn dockerfile-cmd.8.3.4 8.3.4
RUN opam depext dockerfile-cmd.8.3.4 && opam reinstall dockerfile-cmd.8.3.4; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dockerfile-cmd.8.3.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-12-03 21:27.11: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42-dockerfile-cmd.8.3.4-7009d47a555f413e286737807f043c0069eee471"
2025-12-03 21:27.11: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam depext -u || true"))
 (run (shell "opam pin add -k version -yn dockerfile-cmd.8.3.4 8.3.4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext dockerfile-cmd.8.3.4 && opam reinstall dockerfile-cmd.8.3.4;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dockerfile-cmd.8.3.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-03 21:27.11: Waiting for resource in pool OCluster
2025-12-03 21:27.14: Waiting for worker…
2025-12-03 21:31.09: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  93% (17789/18976)
Updating files:  94% (17838/18976)
Updating files:  95% (18028/18976)
Updating files:  96% (18217/18976)
Updating files:  97% (18407/18976)
Updating files:  98% (18597/18976)
Updating files:  99% (18787/18976)
Updating files: 100% (18976/18976)
Updating files: 100% (18976/18976), done.
HEAD is now at d126db7f35 Merge pull request #29011 from hannesm/mark-old-ocaml-compilers-unmaintained
Updating d126db7f35..7009d47a55
Fast-forward
 packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam  | 73 ++++++++++++++++++++++
 .../dockerfile-opam/dockerfile-opam.8.3.4/opam     | 71 +++++++++++++++++++++
 packages/dockerfile/dockerfile.8.3.4/opam          | 67 ++++++++++++++++++++
 3 files changed, 211 insertions(+)
 create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam
 create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.3.4/opam
 create mode 100644 packages/dockerfile/dockerfile.8.3.4/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42' locally
docker.io/ocaml/opam@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42: Pulling from ocaml/opam
53c88f1dfeb7: Already exists
f40653bbd569: Already exists
7810c66e401b: Already exists
d941667067ac: Already exists
6e099de50dbd: Already exists
45940f4cdce1: Already exists
cbbdea3b6efd: Already exists
4c34326b882a: Already exists
d8a1b7be7128: Already exists
b30719ba72c1: Already exists
eb031d51ba4a: Already exists
a59529ec7b26: Already exists
1049e4f3b9e4: Already exists
e2ab32c77566: Already exists
f6ef7bc31988: Already exists
28c3b5beaa3f: Already exists
83ebb7ec29e3: Already exists
186714418599: Already exists
5045c0de4fc9: Already exists
3312ff3bfd69: Already exists
335847f13b00: Already exists
4f4fb700ef54: Already exists
b7958021acdb: Already exists
d92ce1afae3a: Already exists
7842835bd039: Already exists
3a60e5befc90: Already exists
7efeca794a8f: Already exists
efc7f994cef1: Already exists
ba91afca1a0a: Already exists
8216b6db35fa: Already exists
229184d6690a: Already exists
40e4db8e45e7: Already exists
12fb3f269d42: Already exists
c0196b69a0ef: Already exists
b731bd241e4b: Already exists
53512a47261a: Already exists
b1be3290ddde: Already exists
fe5803a9f63d: Already exists
5cf61ec03f01: Already exists
d44c5e23965f: Already exists
90ef457de5f6: Pulling fs layer
a083513427ff: Pulling fs layer
44824355a76a: Pulling fs layer
e614a8301c85: Pulling fs layer
e614a8301c85: Waiting
a083513427ff: Download complete
44824355a76a: Verifying Checksum
44824355a76a: Download complete
e614a8301c85: Download complete
90ef457de5f6: Verifying Checksum
90ef457de5f6: Download complete
90ef457de5f6: Pull complete
a083513427ff: Pull complete
44824355a76a: Pull complete
e614a8301c85: Pull complete
Digest: sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42
Status: Downloaded newer image for ocaml/opam@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42
2025-12-03 21:31.20 ---> using "fac428a8c7735f97c9831d58777f84ed5f5edf7a45e1d8d6ff738a3eabdf91c6" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-12-03 21:31.21 ---> saved as "74f169e56b89b574e3e75fc60fa16558f8bfcd3fb2866e75bb68623f0e6cab71"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-12-03 21:32.30 ---> saved as "296d103825dd601aa8cdbacf5139eb248aa8b5f510514fff8606876774b6a3c3"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2025-12-03 21:32.31 ---> saved as "b1ba62bbc3aba6750ec86b9cb13dabb1af3b10a08daf22281aaae14a7f2dcafb"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-12-03 21:32.42 ---> saved as "a4955a390fe747da509f4d0f8d7ea72450a4fe880b1af21a0aa3555d0689e421"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-03 21:32.49 ---> saved as "5509eb4ffeafe656b8229732bf9be26221f56f8649c82f9a741737f036746650"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-12-03 21:33.01 ---> saved as "92f1dc849810ee119d47ed966abef81c8ca1e0f32d969798e106d0ba1af0535d"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [80.9 kB]
Fetched 172 kB in 0s (1548 kB/s)
Reading package lists...
# OS package update successful
2025-12-03 21:33.03 ---> saved as "6cbebb815cf37a0e8b1d60474666873b0e56af4805604f27462335eb590a45c1"

/home/opam: (run (shell "opam pin add -k version -yn dockerfile-cmd.8.3.4 8.3.4"))
dockerfile-cmd is now pinned to version 8.3.4
2025-12-03 21:33.04 ---> saved as "ebe43a20759c68d32b05e30769834086fe37ecef296214f600bc928af48f1216"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext dockerfile-cmd.8.3.4 && opam reinstall dockerfile-cmd.8.3.4;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dockerfile-cmd.8.3.4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
dockerfile-cmd.8.3.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild          0.16.1  [required by astring, bos]
  - install cmdliner            2.1.0   [required by dockerfile-cmd]
  - install ocamlfind           1.9.8   [required by astring, bos]
  - install dune                3.20.2  [required by dockerfile-cmd]
  - install topkg               1.1.1   [required by astring, bos]
  - install stdlib-shims        0.3.0   [required by ppxlib]
  - install sexplib0            v0.16.0 [required by dockerfile-cmd]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ocaml-version       4.0.3   [required by dockerfile-opam]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install csexp               1.5.2   [required by dune-configurator]
  - install rresult             0.7.0   [required by bos]
  - install fmt                 0.11.0  [required by dockerfile-cmd]
  - install astring             0.8.5   [required by dockerfile-cmd]
  - install ppxlib              0.35.0  [required by ppx_sexp_conv]
  - install dune-configurator   3.20.2  [required by base]
  - install logs                0.10.0  [required by dockerfile-cmd]
  - install fpath               0.7.3   [required by bos]
  - install base                v0.16.4 [required by ppx_sexp_conv]
  - install bos                 0.2.1   [required by dockerfile-cmd]
  - install ppx_sexp_conv       v0.16.0 [required by dockerfile-cmd]
  - install dockerfile          8.3.4   [required by dockerfile-opam]
  - install dockerfile-opam     8.3.4   [required by dockerfile-cmd]
  - install dockerfile-cmd      8.3.4*
===== 24 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[base.v0.16.4] found in cache
[bos.0.2.1] found in cache
[cmdliner.2.1.0] found in cache
[csexp.1.5.2] found in cache
[dockerfile.8.3.4] found in cache
[dockerfile-cmd.8.3.4] found in cache
[dockerfile-opam.8.3.4] found in cache
[dune.3.20.2] found in cache
[dune-configurator.3.20.2] found in cache
[fmt.0.11.0] found in cache
[fpath.0.7.3] found in cache
[logs.0.10.0] found in cache
[ocaml-compiler-libs.v0.12.4] found in cache
[ocaml-version.4.0.3] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_sexp_conv.v0.16.0] found in cache
[ppxlib.0.35.0] found in cache
[rresult.0.7.0] found in cache
[sexplib0.v0.16.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.1.1] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.8
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-version.4.0.3
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed dockerfile.8.3.4
-> installed dockerfile-opam.8.3.4
-> installed dockerfile-cmd.8.3.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-03 21:34.12 ---> saved as "016dcf61f3ff93e9748a872166f5595799de91788e351048b57c56ee704c4721"
Job succeeded
2025-12-03 21:34.18: Job succeeded