(not at the head of any monitored branch or PR)
2026-05-04 18:49.01: New job: test dockerfile-opam.8.3.8, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29843/head (d050d0001516b25d1ccda860cb4e9f79161ace3a)
                              on debian-13-ocaml-4.11/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/29843/head" && git reset --hard d050d000
git fetch origin master
git merge --no-edit ade76687fbc9001333af45d7dd28419a7869b2ae
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && 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 update --depexts || true
RUN opam pin add -k version -yn dockerfile-opam.8.3.8 8.3.8
RUN opam reinstall dockerfile-opam.8.3.8; \
    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-opam.8.3.8' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test dockerfile-opam.8.3.8) || true
RUN opam reinstall --with-test --verbose dockerfile-opam.8.3.8; \
    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-opam.8.3.8' && 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 .

2026-05-04 18:49.01: Using cache hint "ocaml/opam:debian-13-ocaml-4.11@sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b-dockerfile-opam.8.3.8-d050d0001516b25d1ccda860cb4e9f79161ace3a"
2026-05-04 18:49.01: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && 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 update --depexts || true"))
 (run (shell "opam pin add -k version -yn dockerfile-opam.8.3.8 8.3.8"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dockerfile-opam.8.3.8;\
             \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-opam.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test dockerfile-opam.8.3.8) || true"))
 (run (shell  "opam reinstall --with-test --verbose dockerfile-opam.8.3.8;\
             \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-opam.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-04 18:49.01: Waiting for resource in pool OCluster
2026-05-04 18:49.02: Waiting for worker…
2026-05-04 18:49.02: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 0f91838653 stem.0.0.1 is not available on Windows
HEAD is now at ade76687fb Merge pull request #29842 from dinosaure/release-stem-v0.0.1
Updating ade76687fb..d050d00015
Fast-forward
 packages/dockerfile-cmd/dockerfile-cmd.8.3.8/opam  | 73 ++++++++++++++++++++++
 .../dockerfile-opam/dockerfile-opam.8.3.8/opam     | 71 +++++++++++++++++++++
 packages/dockerfile/dockerfile.8.3.8/opam          | 67 ++++++++++++++++++++
 3 files changed, 211 insertions(+)
 create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.3.8/opam
 create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.3.8/opam
 create mode 100644 packages/dockerfile/dockerfile.8.3.8/opam

(from ocaml/opam:debian-13-ocaml-4.11@sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b' locally
docker.io/ocaml/opam@sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b: Pulling from ocaml/opam
3b32e3bb7338: Already exists
0a2047d92c36: Already exists
6468c8739f79: Already exists
dc1c52e586c3: Already exists
62b886ae38ec: Already exists
c217a15c852c: Already exists
1631c3f40e56: Already exists
fec1b7aa2529: Already exists
46c2f2e52299: Already exists
dfd625f9488b: Already exists
a92b2bbc3601: Already exists
21b06961f9ce: Already exists
56ea7bb8517a: Already exists
f88fa5fac715: Already exists
ef860ccaf48a: Already exists
7299894d19a3: Already exists
cfd8a5bbbbad: Already exists
458be87cd8e2: Already exists
d25c8303c40a: Already exists
0dd0c180412f: Already exists
3cce6b8d3022: Already exists
48811119dc00: Already exists
4f4fb700ef54: Already exists
9274adcd9010: Already exists
d7f1811cc461: Already exists
9883b0c98d0f: Already exists
9be0dcfb3ea0: Already exists
b64ebb6ea54f: Already exists
7f7a3980142e: Already exists
c4dd42c2d373: Already exists
bd37488f4682: Already exists
efaea8bd3292: Already exists
d08303018370: Already exists
ccb64fc6d165: Already exists
df5461936c45: Already exists
4ad6d8be4e6f: Already exists
ad49b5bd4234: Already exists
3cca9ef56161: Already exists
4917de64b7d3: Already exists
0ce36fc523dd: Already exists
ec347e98f03b: Already exists
5971011b937b: Pulling fs layer
6f6591e41428: Pulling fs layer
139d2c651b31: Pulling fs layer
0678234f3995: Pulling fs layer
0678234f3995: Waiting
6f6591e41428: Download complete
139d2c651b31: Verifying Checksum
139d2c651b31: Download complete
0678234f3995: Verifying Checksum
0678234f3995: Download complete
5971011b937b: Verifying Checksum
5971011b937b: Download complete
5971011b937b: Pull complete
6f6591e41428: Pull complete
139d2c651b31: Pull complete
0678234f3995: Pull complete
Digest: sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b
Status: Downloaded newer image for ocaml/opam@sha256:c858e30654fdcef6947eee68e7fa8518d167f820d7b0def8c7896c3bb390e18b
2026-05-04 18:50.36 ---> saved as "8f292c4258cc055ea09897a8c1372cfd4ddf7dbebd88d7f3f5e4380d5886a153"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-04 18:50.38 ---> saved as "a572029391c44b1b5f00cb2fae96983d8d1e3f93fea2cda2f6384dd82874efc6"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring 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.

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-05-04 18:51.04 ---> saved as "8cb85e89c9946fd3aab7053818a7c6d7f98d4b944ce3234f6cc2977228ae46f7"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.11
# invariant            ["ocaml-base-compiler" {= "4.11.2"}]
# compiler-packages    ocaml-base-compiler.4.11.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.11/lib/ocaml/stublibs:/home/opam/.opam/4.11/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.11.2
2026-05-04 18:51.06 ---> saved as "0f6dba67405e2476754b79f45714bdc34bb1f3cdc52777d43939865c3d224ff0"

/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/"))
2026-05-04 18:51.16 ---> saved as "dca481598135aed28ba48a983a40e0000937f10525169e2145df3fb117afd0e6"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 18:51.31 ---> saved as "7f0f1692567a8e49b991e95d11594d1f81eee10d89695eb74746dfe8e77caef7"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 18:51.54 ---> saved as "e28a7256329418a9a4e8464857d14ebd8e95a92796c46187cfa871dc0644f2d3"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /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 [130 kB]
- Fetched 221 kB in 11s (21.0 kB/s)
- Reading package lists...
- 
2026-05-04 18:52.07 ---> saved as "2cf6470db4b076bbb8132d654e7d16a491c057aea92c2363883e16d825d546e0"

/home/opam: (run (shell "opam pin add -k version -yn dockerfile-opam.8.3.8 8.3.8"))
dockerfile-opam is now pinned to version 8.3.8
2026-05-04 18:52.09 ---> saved as "ac867c2cfe4c5a2d7dca3f04c5b9a447676707b23c7a685d33de0ff8c3428ed0"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dockerfile-opam.8.3.8;\
                        \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-opam.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dockerfile-opam.8.3.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
  - install base                v0.15.2        [required by ppx_sexp_conv]
  - install csexp               1.5.2          [required by dune-configurator]
  - install dockerfile          8.3.8          [required by dockerfile-opam]
  - install dockerfile-opam     8.3.8 (pinned)
  - install dune                3.22.2         [required by dockerfile-opam]
  - install dune-configurator   3.22.2         [required by base]
  - install fmt                 0.11.0         [required by dockerfile-opam]
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocaml-version       4.1.0          [required by dockerfile-opam]
  - install ocamlbuild          0.16.1         [required by fmt]
  - install ocamlfind           1.9.8          [required by fmt]
  - install ppx_derivers        1.2.1          [required by ppxlib]
  - install ppx_sexp_conv       v0.15.1        [required by dockerfile-opam]
  - install ppxlib              0.35.0         [required by ppx_sexp_conv]
  - install sexplib0            v0.15.1        [required by dockerfile-opam]
  - install stdlib-shims        0.3.0          [required by ppxlib]
  - install topkg               1.1.1          [required by fmt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.15.2  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dockerfile.8.3.8, dockerfile-opam.8.3.8  (https://github.com/ocurrent/ocaml-dockerfile/releases/download/8.3.8/ocaml-dockerfile-8.3.8.tbz)
-> retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-version.4.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.15.1  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.22.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-version.4.1.0
-> installed sexplib0.v0.15.1
-> installed dune-configurator.3.22.2
-> installed base.v0.15.2
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.15.1
-> installed dockerfile.8.3.8
-> installed dockerfile-opam.8.3.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-04 18:53.14 ---> saved as "04eb62b91678485cf8d7a9e0fc81b7b743607740af20317861ed83f92ddf9f34"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test dockerfile-opam.8.3.8) || true"))
The following actions will be performed:
=== recompile 3 packages
  - recompile dockerfile         8.3.8          [uses fmt]
  - recompile dockerfile-opam    8.3.8 (pinned)
  - recompile fmt                0.11.0         [uses cmdliner]
=== install 7 packages
  - install   alcotest           1.9.1          [required by dockerfile-opam]
  - install   astring            0.8.5          [required by alcotest]
  - install   cmdliner           2.1.1          [required by alcotest]
  - install   ocaml-syntax-shims 1.0.0          [required by alcotest]
  - install   re                 1.11.0         [required by alcotest]
  - install   seq                base           [required by re]
  - install   uutf               1.0.4          [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.1  (https://opam.ocaml.org/cache)
-> retrieved dockerfile.8.3.8, dockerfile-opam.8.3.8  (https://github.com/ocurrent/ocaml-dockerfile/releases/download/8.3.8/ocaml-dockerfile-8.3.8.tbz)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved re.1.11.0  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> removed   dockerfile-opam.8.3.8
-> removed   dockerfile.8.3.8
-> removed   fmt.0.11.0
-> installed cmdliner.2.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed dockerfile.8.3.8
-> installed dockerfile-opam.8.3.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-04 18:53.32 ---> saved as "e99df77fe2f4ff4fc770985f44e104de3225a855a40b4b8956d3c7c0e8616a60"

/home/opam: (run (shell  "opam reinstall --with-test --verbose dockerfile-opam.8.3.8;\
                        \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-opam.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile dockerfile-opam 8.3.8 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [dockerfile-opam.8.3.8: extract]
-> retrieved dockerfile-opam.8.3.8  (cached)
Processing  2/4: [dockerfile-opam: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dockerfile-opam" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.11/.opam-switch/build/dockerfile-opam.8.3.8)
- (cd _build/default/test-opam && ./dockerfile.exe)
- Testing `test'.
- This run has ID `PUQW5LAI'.
- 
-   [OK]          dockerfile-opam          0   Distro.compare.
- 
- Full test results in `~/.opam/4.11/.opam-switch/build/dockerfile-opam.8.3.8/_build/default/test-opam/_build/_tests/test'.
- Test Successful in 0.000s. 1 test run.
-> compiled  dockerfile-opam.8.3.8
-> removed   dockerfile-opam.8.3.8
-> installed dockerfile-opam.8.3.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-04 18:53.41 ---> saved as "efb3b440bb7df3cd021a071413bd90f34d10e4e4f716cc7c7e0d9f6098d01bac"
Job succeeded
2026-05-04 18:53.48: Job succeeded