(for PR #27694)

2025-11-10 16:55.07: New job: build pds.6.55, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27694/head (95c70e7638f27c185540b2efc1bb6fe8f64dcdfa)
                              on fedora-43-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/27694/head" && git reset --hard 95c70e76
git fetch origin master
git merge --no-edit b6a264c784afa1e19f7a926fc10d49010ad12be4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
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 "\"fedora-43\""; 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-11-10 16:55.07: Using cache hint "ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d-pds.6.55-95c70e7638f27c185540b2efc1bb6fe8f64dcdfa"
2025-11-10 16:55.07: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
 (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 \"\\\"fedora-43\\\"\"; 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-11-10 16:55.07: Waiting for resource in pool OCluster
2025-11-10 21:01.04: Waiting for worker…
2025-11-10 21:04.40: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  66% (12519/18706)
Updating files:  67% (12534/18706)
Updating files:  68% (12721/18706)
Updating files:  69% (12908/18706)
Updating files:  70% (13095/18706)
Updating files:  71% (13282/18706)
Updating files:  72% (13469/18706)
Updating files:  73% (13656/18706)
Updating files:  74% (13843/18706)
Updating files:  75% (14030/18706)
Updating files:  76% (14217/18706)
Updating files:  77% (14404/18706)
Updating files:  78% (14591/18706)
Updating files:  79% (14778/18706)
Updating files:  80% (14965/18706)
Updating files:  81% (15152/18706)
Updating files:  82% (15339/18706)
Updating files:  83% (15526/18706)
Updating files:  84% (15714/18706)
Updating files:  85% (15901/18706)
Updating files:  86% (16088/18706)
Updating files:  87% (16275/18706)
Updating files:  88% (16462/18706)
Updating files:  89% (16649/18706)
Updating files:  90% (16836/18706)
Updating files:  91% (17023/18706)
Updating files:  92% (17210/18706)
Updating files:  93% (17397/18706)
Updating files:  94% (17584/18706)
Updating files:  95% (17771/18706)
Updating files:  96% (17958/18706)
Updating files:  97% (18145/18706)
Updating files:  98% (18332/18706)
Updating files:  99% (18519/18706)
Updating files: 100% (18706/18706)
Updating files: 100% (18706/18706), done.
HEAD is now at b6a264c784 Merge pull request #28853 from AltGr/catala100
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:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
2025-11-10 21:05.47 ---> saved as "9e77896d9fe078c34d344bdea926ec4977d8cc82cf3431e1db6d6f872f24af74"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 21:05.48 ---> saved as "aaa991ad89b398eefaf43e6ce581f35930c9f32c57e9bde9fc032d1fd587f3e4"

/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-11-10 21:06.32 ---> saved as "3c596d85372d3d922e389134a1acb6eee4d41bb98299038914e94c84db852fe4"

/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~alpha1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=43
# 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-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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
2025-11-10 21:06.33 ---> saved as "d0819976c6e7b9f5b58c02cb370d433c7853fb648bb57d8a795d208769222044"

/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-11-10 21:06.45 ---> saved as "19d0ea1cb48e322fac5261e96eb10f819a44981c815f6056d28065e30337c361"

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 21:07.25 ---> saved as "48fbb2dc5a8b7d828af1c993d61ea5ecd025dbfbb1ed2256aa9913ad7605f1b2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 21:07.57 ---> saved as "6757267a9b0ce4a77dcd570177cf1b444cb8012e9e2b44b8e6f33e7ad6e2ea5a"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64                     100% |  49.8 KiB/s |  18.4 KiB |  00m00s
-  Fedora 43 - x86_64 - Updates           100% |  83.5 KiB/s |  18.5 KiB |  00m00s
-  Fedora 43 openh264 (From Cisco) - x86_ 100% |   9.6 KiB/s | 986.0   B |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-10 21:08.12 ---> saved as "a3b38b77b14b44b6f931cc72fbc93899586423e8a43f1d292048f788dc3e1baf"

/home/opam: (run (shell "opam pin add -k version -yn pds.6.55 6.55"))
pds is now pinned to version 6.55
2025-11-10 21:08.14 ---> saved as "cc3e5bc32f5859fb049e69601378b83a9286370ee51afa7bbda703205f8ba316"

/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 \"\\\"fedora-43\\\"\"; 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 = 4.14.2
    - pds >= 6.55 -> ocaml >= 5.1.0 -> ocaml-variants >= 5.1.0~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - pds >= 6.55 -> ocaml >= 5.1.0 -> ocaml-variants >= 5.1.0~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-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 "\"fedora-43\""; 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-11-10 21:09.00: Job failed: Failed: Build failed
2025-11-10 21:09.00: Log analysis:
2025-11-10 21:09.00: >>> 
No solution found, exiting
 (score = 100)
2025-11-10 21:09.00: [SKIP] Package not available