Build:
  1. 0
2025-12-08 18:29.23: New job: test dune.3.21.0~alpha2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29042/head (a9b8a0d0db631d21208bd4ab7355e867d7ecf88d)
                              on debian-13-ocaml-4.14-flambda-fp/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/29042/head" && git reset --hard a9b8a0d0
git fetch origin master
git merge --no-edit 4c9d80b7312698c8f185350873cbec03fdf0471a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7
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 dune.3.21.0~alpha2 3.21.0~alpha2
RUN opam reinstall dune.3.21.0~alpha2; \
    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" != 'dune.3.21.0~alpha2' && 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 dune.3.21.0~alpha2) || true
RUN opam reinstall --with-test --verbose dune.3.21.0~alpha2; \
    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" != 'dune.3.21.0~alpha2' && 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-08 18:29.23: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7-dune.3.21.0~alpha2-a9b8a0d0db631d21208bd4ab7355e867d7ecf88d"
2025-12-08 18:29.23: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7)
 (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 dune.3.21.0~alpha2 3.21.0~alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.21.0~alpha2;\
             \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\" != 'dune.3.21.0~alpha2' && 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 dune.3.21.0~alpha2) || true"))
 (run (shell  "opam reinstall --with-test --verbose dune.3.21.0~alpha2;\
             \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\" != 'dune.3.21.0~alpha2' && 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-08 18:29.23: Waiting for resource in pool OCluster
2025-12-08 21:24.57: Waiting for worker…
2025-12-08 21:30.17: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 4c9d80b731 Merge pull request #29031 from NielsMommen/release-ppx_parser-0.2.1
Updating 4c9d80b731..a9b8a0d0db
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha2/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha2/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha2/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha2/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha2/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha2/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha2/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha2/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha2/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha2/opam            | 40 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha2/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha2/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha2/opam     | 39 +++++++++++
 packages/xdg/xdg.3.21.0~alpha2/opam                | 41 ++++++++++++
 17 files changed, 787 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha2/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha2/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha2/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha2/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha2/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha2/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha2/opam

(from ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7' locally
docker.io/ocaml/opam@sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7: Pulling from ocaml/opam
b3a1fd1850bb: Already exists
Digest: sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7
Status: Downloaded newer image for ocaml/opam@sha256:795a81af9c69245ec322eed59050bed50dfa163359eedb09d611bef6cd0ba7a7
2025-12-08 21:30.21 ---> using "4ddd6115a5637e545f13536bb4320a73622b2a3c408e8391f7ac568bf00d8d6c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-08 21:30.21 ---> using "0f2bc5182ddf168eadc1d89b0aed356b757a48dd39208fe99e428241ec5c402a" from cache

/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
2025-12-08 21:30.22 ---> saved as "071aa11af2a40da2e0f3ad57f16f1387611ac7e28d1d330125ccdc1b30f674c5"

/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.0
# 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.14
# invariant            ["ocaml-options-only-flambda-fp"]
# compiler-packages    ocaml-option-flambda.1, ocaml-option-fp.1, ocaml-options-only-flambda-fp.1, ocaml-variants.4.14.2+options
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2+options+fp+flambda
2025-12-08 21:30.23 ---> saved as "d99fcd23a0d8be1ea0f0d3cde311155eacb34d02043f2c61302c4dcbe0805b62"

/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-08 21:30.33 ---> saved as "6e129bad8f545105c0da6edda94ce1e1d2523db2aad51a3a0625dd7338c8da2e"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-08 21:30.42 ---> saved as "e1e7457b8139ef3167fd4f9d641fad4b6a5b33b1f682b5477e24e136c8fa6bf4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-08 21:31.02 ---> saved as "82add13c94afe8dc94dc040a3c677206630494c25762da96526eccab616a17d5"

/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 [81.7 kB]
- Fetched 172 kB in 0s (760 kB/s)
- Reading package lists...
- 
2025-12-08 21:31.04 ---> saved as "0fd6472053df7f943e2f978958b355e6e99e0c2525c02a48da89a0957656ed44"

/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha2 3.21.0~alpha2"))
dune is now pinned to version 3.21.0~alpha2
2025-12-08 21:31.05 ---> saved as "f4f383ab98ff41b17255ba8d5bbfd4be634a198555fd34ed4107b8cd0cf51a66"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.21.0~alpha2;\
                        \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\" != 'dune.3.21.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.21.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.21.0~alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha2  (cached)
-> installed dune.3.21.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-08 21:31.52 ---> saved as "b7e780f255c1c0f524a555237443f84ed269651bdb55f0f4345973fccc1d4385"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test dune.3.21.0~alpha2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile dune 3.21.0~alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   dune.3.21.0~alpha2
-> installed dune.3.21.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-08 21:32.33 ---> saved as "da0061a5ae0a697ba4fecaaa1e22542550469f229cfd24e167e60b0a15870e61"

/home/opam: (run (shell  "opam reinstall --with-test --verbose dune.3.21.0~alpha2;\
                        \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\" != 'dune.3.21.0~alpha2' && 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 dune 3.21.0~alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [dune: ocaml 71]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.21.0~alpha2)
- ocamlc -output-complete-exe -intf-suffix .dummy -g -o .duneboot.exe -I boot unix.cma boot/types.ml boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 71
Processing  2/4: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.21.0~alpha2)
-> compiled  dune.3.21.0~alpha2
-> removed   dune.3.21.0~alpha2
-> installed dune.3.21.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-08 21:33.15 ---> saved as "95ec3545a7d2ac443ed5e7c16548e2ac3141cd8d1c337de373efb6a9c9a774da"
Job succeeded
2025-12-08 21:33.24: Job succeeded