(for PR #27694)

2025-07-10 13:28.25: New job: build pds.6.55, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27694/head (b86f4a0c10f25ebad628a553251dc1eaa0eb9f04)
                              on debian-12-ocaml-5.3/i386

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27694/head" && git reset --hard b86f4a0c
git fetch origin master
git merge --no-edit fe12386b184f37b7ef4c9f1dc76844e37a2949ef
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:149f9a273d021bba02717d9ca7543d0aaa998bdf63f127d8d4f9d32fd38385f4
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 pds.6.55 6.55
RUN opam reinstall pds.6.55; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'pds.6.55' && 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-07-10 13:28.25: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:149f9a273d021bba02717d9ca7543d0aaa998bdf63f127d8d4f9d32fd38385f4-pds.6.55-b86f4a0c10f25ebad628a553251dc1eaa0eb9f04"
2025-07-10 13:28.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:149f9a273d021bba02717d9ca7543d0aaa998bdf63f127d8d4f9d32fd38385f4)
 (shell /usr/bin/linux32 /bin/sh -c)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 pds.6.55 6.55"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall pds.6.55;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'pds.6.55' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-07-10 13:28.25: Waiting for resource in pool OCluster
2025-07-10 13:28.25: Waiting for worker…
2025-07-10 13:28.27: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at fe12386b18 Merge pull request #28158 from Axons-Talent/release-esa-0.1.0
Merge made by the 'ort' strategy.
 packages/pds/pds.6.55/opam | 52 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 packages/pds/pds.6.55/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:149f9a273d021bba02717d9ca7543d0aaa998bdf63f127d8d4f9d32fd38385f4)
2025-07-10 13:29.48 ---> saved as "bc7e8e9a65dec8121a817577da10f13121d0a14149d5772df011d3836d225627"

/: (shell /usr/bin/linux32 /bin/sh -c)

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-10 13:29.48 ---> saved as "cf3f056a749a105ff3253d73db90ae9c548fc0bfae7e08749f5f383019723393"

/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 development 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-07-10 13:30.26 ---> saved as "19d30ad42bc4f23538c02f24383bbf3ded04e9e87780b1f9861f3d7fb795b9ec"

/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_32 os=linux os-distribution=debian os-version=12
# 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       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0+bytecode-only
2025-07-10 13:30.27 ---> saved as "43316a0857d1af6bfc39d7c37feaf72fea27bf9b0d761f8c1a0a56ec0a6b9fbe"

/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-07-10 13:30.36 ---> saved as "dfc36429b8e2722f573f9243f3458d3f3814163b042da5bd0bcce4e1e74050a1"

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-10 13:30.41 ---> saved as "3f50797db43428394bb0c76b25e1b09e5abb3d8d0293bb99473c5fa28fbb02f0"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-10 13:31.10 ---> saved as "b2f4d34bbda9a13938f33e18395d607f1a07613a660dc2297b337056aab88b55"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /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 i386 Packages [265 kB]
- Fetched 368 kB in 2s (234 kB/s)
- Reading package lists...
- 
2025-07-10 13:31.12 ---> saved as "a1bc70eab024e337ce819efacf4bf5ac35012355b56fbb88c4cb7c759fa36a72"

/home/opam: (run (shell "opam pin add -k version -yn pds.6.55 6.55"))
pds is now pinned to version 6.55
2025-07-10 13:31.13 ---> saved as "88ec922d575019bbb4adf47f83736ccd7ca7d0ca320fc21b96604f5ce6d60690"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall pds.6.55;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'pds.6.55' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
pds.6.55 is not installed. Install it? [y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0 -> ocaml-compiler = 5.3.0 -> ocaml-option-bytecode-only
    - pds >= 6.55 -> process >= 0.2.1
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall pds.6.55;
        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-12\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'pds.6.55' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2025-07-10 13:31.24: Job failed: Failed: Build failed
2025-07-10 13:31.24: Log analysis:
2025-07-10 13:31.24: >>> 
No solution found, exiting
 (score = 100)
2025-07-10 13:31.24: [SKIP] Package not available