(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.12/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.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f
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.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f-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.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f)
 (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 laodoke.caelum.ci.dev
All commits already cached
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.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f' locally
docker.io/ocaml/opam@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f: Pulling from ocaml/opam
a304af663f1a: Already exists
c08fb51b254b: Pulling fs layer
ebe78ac0415e: Pulling fs layer
29b5e4c5c986: Pulling fs layer
ba1aace070a4: Pulling fs layer
ba1aace070a4: Waiting
29b5e4c5c986: Waiting
ebe78ac0415e: Verifying Checksum
ebe78ac0415e: Download complete
29b5e4c5c986: Verifying Checksum
29b5e4c5c986: Download complete
ba1aace070a4: Verifying Checksum
ba1aace070a4: Download complete
c08fb51b254b: Download complete
c08fb51b254b: Pull complete
ebe78ac0415e: Pull complete
29b5e4c5c986: Pull complete
ba1aace070a4: Pull complete
Digest: sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f
Status: Downloaded newer image for ocaml/opam@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f
2025-07-08 15:36.21 ---> saved as "f26299d01185e2b677e5f0d9e56fa666cc6fd978082aa14a37f3a24677ad433b"

/: (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:36.21 ---> saved as "3d19dc83618150b0070d81ed9995101eeb281f49a027332eac6ba23af2c5c2fc"

/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:36.42 ---> saved as "6709f4104e334a1997d8e058f3a6e2de6b504643a65213322fee3c19b113f7a1"

/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.12
# invariant            ["ocaml-base-compiler" {= "4.12.1"}]
# compiler-packages    ocaml-base-compiler.4.12.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.12/lib/ocaml/stublibs:/home/opam/.opam/4.12/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.12.1
2025-07-08 15:36.43 ---> saved as "e32e2a3149111c1ae30a682578a22addc8b4344e996cc129f2acd2896e8bdc9d"

/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:36.52 ---> saved as "da023f6376bcbbcc15b9e863b2f87ef2dd682ef2cdc0389e8fa129e4ce3b58be"

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-08 15:36.58 ---> saved as "63e71227b73a7a93a0e5bd635757ca809c3ed9c743ff8bedd438e8c1ed902d19"

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

/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 0s (1075 kB/s)
- Reading package lists...
- 
2025-07-08 15:37.21 ---> saved as "89bfbff5a6ea423ca7323c7ff2b88e4682e1377ef008729b8d474f3789a4c472"

/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:37.21 ---> saved as "01f5a05d601cbb6732688f347894fd2fe56265e21be55596c1f98107b8ee3c36"

/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.12.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:37.34: Job failed: Failed: Build failed
2025-07-08 15:37.34: Log analysis:
2025-07-08 15:37.34: >>> 
No solution found, exiting
 (score = 100)
2025-07-08 15:37.34: [SKIP] Package not available