(for PR #27694)

2025-10-17 13:54.18: New job: build pds.6.55, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27694/head (95c70e7638f27c185540b2efc1bb6fe8f64dcdfa)
                              on debian-13-ocaml-5.4/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 95c70e76
git fetch origin master
git merge --no-edit 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 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-13\""; 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-10-17 13:54.18: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4-pds.6.55-95c70e7638f27c185540b2efc1bb6fe8f64dcdfa"
2025-10-17 13:54.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 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-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\" != '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-10-17 13:54.18: Connecting to build cluster…
2025-10-17 13:54.18: Waiting for resource in pool OCluster
2025-10-17 14:30.26: Waiting for worker…
2025-10-17 14:32.29: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
Merge made by the 'ort' strategy.
 packages/pds/pds.6.55/opam | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 packages/pds/pds.6.55/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4' locally
docker.io/ocaml/opam@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4: Pulling from ocaml/opam
f1c1f592b556: Already exists
1b804c748ae2: Already exists
46890ce1a2c6: Already exists
59d360237abf: Already exists
3f9e79276ad2: Already exists
0f3879946ce8: Already exists
b5386ba4450a: Already exists
d72a73e60ada: Already exists
5657d34ee214: Already exists
b3739d7df5a6: Already exists
20686602fa54: Already exists
ac71dabb3064: Already exists
aebd608b6359: Already exists
b25ca2e1fe6a: Already exists
7b3c426e231e: Already exists
7c29943894c1: Already exists
6f96d58bfde1: Already exists
57fd7e6f0fcc: Already exists
c62cedd71197: Already exists
8299ba532ede: Already exists
acd9fe4f75a0: Already exists
4f4fb700ef54: Already exists
9f75e0cf0db8: Already exists
1ac30b6ffbfe: Already exists
8c966152e5b9: Already exists
1b89a7d78106: Already exists
7ec941522540: Already exists
4ea54a4b23e3: Already exists
f896ea897152: Already exists
81d297dab66c: Already exists
a761e314d9bb: Already exists
7e72fd67616e: Already exists
12aaf83bc4b9: Already exists
052055b1bebb: Already exists
ef3b8f2cb729: Already exists
57924c7f024b: Already exists
e08a5917fa7f: Already exists
823bcf26ad4e: Already exists
fc03626aec80: Already exists
1091dd9160fe: Already exists
03c6f5a99d99: Pulling fs layer
b19db3d35f12: Pulling fs layer
5b38b98cd65e: Pulling fs layer
03c6f5a99d99: Waiting
f46c04c63321: Pulling fs layer
b19db3d35f12: Waiting
5b38b98cd65e: Waiting
e0f10b0a8aa7: Pulling fs layer
b7a38312159e: Pulling fs layer
e0f10b0a8aa7: Waiting
f46c04c63321: Waiting
723c559a7608: Pulling fs layer
b7a38312159e: Waiting
723c559a7608: Waiting
03c6f5a99d99: Download complete
03c6f5a99d99: Pull complete
b19db3d35f12: Download complete
b19db3d35f12: Pull complete
5b38b98cd65e: Verifying Checksum
5b38b98cd65e: Download complete
5b38b98cd65e: Pull complete
e0f10b0a8aa7: Download complete
b7a38312159e: Verifying Checksum
b7a38312159e: Download complete
723c559a7608: Verifying Checksum
723c559a7608: Download complete
f46c04c63321: Verifying Checksum
f46c04c63321: Download complete
f46c04c63321: Pull complete
e0f10b0a8aa7: Pull complete
b7a38312159e: Pull complete
723c559a7608: Pull complete
Digest: sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
Status: Downloaded newer image for ocaml/opam@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
2025-10-17 14:35.13 ---> using "504e22203aa0ba7196e4fa1511b3a4b3d160c3bec35a877d4e164e6b5c8dc765" from cache

/: (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-dev /usr/bin/opam"))
2025-10-17 14:35.13 ---> using "1c0528c18646c3a0105ecc3865265abcd0f92a05f2951c687462212d971198a7" 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-10-17 14:35.13 ---> using "5122ce367ab4b15bff283ee1898e2697a9156903aa0503c56f06ea3daaaff33a" from cache

/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.4.1
# self-upgrade         no
# system               arch=x86_32 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.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.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0+bytecode-only
2025-10-17 14:35.13 ---> using "5f138e05f67df29e3de6ab14502dea6b3391cbec8da3df4e2912c7c124b7d015" from cache

/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-10-17 14:35.13 ---> using "ba476aad4ee87c93d8cd6186fc0088f2d1ea967717823755290144a538abff29" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:35.55 ---> saved as "e253ef3a13b5fea9a3e29e07b0093f91d19a34de6fac497d5765890ddada2ce4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:36.29 ---> saved as "9c5d0c1c1f2f6db2c503708e690f8835e3a66970f65eac190511bd14fd38023f"

/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 i386 Packages [51.9 kB]
- Fetched 143 kB in 0s (1374 kB/s)
- Reading package lists...
- 
2025-10-17 14:36.30 ---> saved as "855b9aed40254743527339bfdae25c02ddeaa1a64ac643292ff3a857df1fa249"

/home/opam: (run (shell "opam pin add -k version -yn pds.6.55 6.55"))
pds is now pinned to version 6.55
2025-10-17 14:36.32 ---> saved as "7891b52e31f09516e53a6a58b86e6592962975501fd7914fd75e884f1a0cff12"

/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-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\" != '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.4.0 -> ocaml-compiler = 5.4.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-13\""; 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-10-17 14:37.18: Job failed: Failed: Build failed
2025-10-17 14:37.18: Log analysis:
2025-10-17 14:37.18: >>> 
No solution found, exiting
 (score = 100)
2025-10-17 14:37.18: [SKIP] Package not available