(for PR #28134)

2025-07-08 15:35.19: New job: build ppx_inline_test_nobase.v0.17.0.2, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28134/head (0cee70d98d0192423d4e423e7408dc04aaa4122a)
                              on debian-12-ocaml-4.08/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/28134/head" && git reset --hard 0cee70d9
git fetch origin master
git merge --no-edit 11a53009bd75423d805636ff9384bf7cce8b0a9a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4
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 ppx_inline_test_nobase.v0.17.0.2 v0.17.0.2
RUN opam reinstall ppx_inline_test_nobase.v0.17.0.2; \
    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" != 'ppx_inline_test_nobase.v0.17.0.2' && 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-08 15:35.19: Using cache hint "ocaml/opam:debian-12-ocaml-4.08@sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4-ppx_inline_test_nobase.v0.17.0.2-0cee70d98d0192423d4e423e7408dc04aaa4122a"
2025-07-08 15:35.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4)
 (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 ppx_inline_test_nobase.v0.17.0.2 v0.17.0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ppx_inline_test_nobase.v0.17.0.2;\
             \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\" != 'ppx_inline_test_nobase.v0.17.0.2' && 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-08 15:35.19: Waiting for resource in pool OCluster
2025-07-08 15:35.19: Waiting for worker…
2025-07-08 15:35.19: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 159ab265f4 [new release] elpi (3.0.0)
HEAD is now at 11a53009bd Merge pull request #27805 from fccm2/conf-gegl
Merge made by the 'ort' strategy.
 .../opam                                               | 18 +++++++-----------
 .../opam                                               | 11 ++++++-----
 2 files changed, 13 insertions(+), 16 deletions(-)
 rename packages/ppx_expect_nobase/{ppx_expect_nobase.v0.17.2 => ppx_expect_nobase.v0.17.2.2}/opam (57%)
 rename packages/ppx_inline_test_nobase/{ppx_inline_test_nobase.v0.17.0 => ppx_inline_test_nobase.v0.17.0.2}/opam (74%)

(from ocaml/opam:debian-12-ocaml-4.08@sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4' locally
docker.io/ocaml/opam@sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4: Pulling from ocaml/opam
a304af663f1a: Already exists
4a2f50ac55cc: Pulling fs layer
e9b1ae2b0528: Pulling fs layer
7c336adc0b5c: Pulling fs layer
3370b94164f8: Pulling fs layer
7c336adc0b5c: Verifying Checksum
7c336adc0b5c: Download complete
3370b94164f8: Verifying Checksum
3370b94164f8: Download complete
e9b1ae2b0528: Verifying Checksum
e9b1ae2b0528: Download complete
4a2f50ac55cc: Verifying Checksum
4a2f50ac55cc: Download complete
4a2f50ac55cc: Pull complete
e9b1ae2b0528: Pull complete
7c336adc0b5c: Pull complete
3370b94164f8: Pull complete
Digest: sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4
Status: Downloaded newer image for ocaml/opam@sha256:f7f9c35e64d370c0722b8fe4434f92ecf58e9db0ca41d45902ee615e642f33c4
2025-07-08 15:37.39 ---> saved as "da4e153726d62a7e93411d9ae2d19770e1d924a33325a7121c65d4b4a685bc4e"

/: (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-08 15:37.39 ---> saved as "e36a4833098a317a99d0d4b0dbff3d8290f53954a58412b12e64c8958a94e9af"

/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-08 15:38.08 ---> saved as "e0b63272470d1cc141b7040c491d33a4005fa79176505c6b3e513363bd5783ba"

/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_64 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       4.08
# invariant            ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages    ocaml-base-compiler.4.08.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.08.1
2025-07-08 15:38.09 ---> saved as "c551ab405f206d42b20360ba26830f193add7521fdac88270f9530517d3111c1"

/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-08 15:38.17 ---> saved as "e04a3b497c273ef20bd12a5667176eae06d39fbc31bb12bd9e267f2e66f30b56"

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-08 15:38.24 ---> saved as "5b160836ec5065c3cc9ef78a9b390edaa2a221171f4e489399772798c63cf08b"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-08 15:38.43 ---> saved as "1f9d80ec9e9abc046c896fd59709f4a9502a5b1cdf7f58dbf132039a7d52c9cd"

/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 amd64 Packages [272 kB]
- Fetched 375 kB in 1s (303 kB/s)
- Reading package lists...
- 
2025-07-08 15:38.45 ---> saved as "804f93761392432cff329e90e269b0a6ec1891071604ebc475dc126584fbc5f6"

/home/opam: (run (shell "opam pin add -k version -yn ppx_inline_test_nobase.v0.17.0.2 v0.17.0.2"))
ppx_inline_test_nobase is now pinned to version v0.17.0.2
2025-07-08 15:38.46 ---> saved as "6f753c485eecd5637387570f2cc201b0f7b2b71016e19236638b2809290b8ee6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ppx_inline_test_nobase.v0.17.0.2;\
                        \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\" != 'ppx_inline_test_nobase.v0.17.0.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ppx_inline_test_nobase.v0.17.0.2 is not installed. Install it? [y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.08.1
    - ppx_inline_test_nobase -> ocaml >= 4.14.2 -> ocaml-variants >= 4.14.2~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - ppx_inline_test_nobase -> ocaml >= 4.14.2 -> ocaml-variants >= 4.14.2~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ppx_inline_test_nobase.v0.17.0.2;
        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" != 'ppx_inline_test_nobase.v0.17.0.2' && 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-08 15:38.56: Job failed: Failed: Build failed
2025-07-08 15:38.56: Log analysis:
2025-07-08 15:38.56: >>> 
No solution found, exiting
 (score = 100)
2025-07-08 15:38.56: [SKIP] Package not available