2025-08-04 08:14.47: New job: test conf-clang.2, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28290/head (32b21d50c7184edf095b452c3622adfcef1003ba)
                              on macos-homebrew-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/28290/head" && git reset --hard 32b21d50
git fetch origin master
git merge --no-edit 44af00babf99ccd12077e6d8c914404ead76199c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-2.3 ~/local/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 -k local --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn conf-clang.2 2
RUN opam reinstall conf-clang.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 "\"macos-homebrew\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-clang.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test conf-clang.2) || true
RUN opam reinstall --with-test --verbose conf-clang.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 "\"macos-homebrew\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-clang.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-08-04 08:14.47: Using cache hint "macos-homebrew-ocaml-4.14-conf-clang.2-32b21d50c7184edf095b452c3622adfcef1003ba"
2025-08-04 08:14.47: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 -k local --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn conf-clang.2 2"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall conf-clang.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 \"\\\"macos-homebrew\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-clang.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test conf-clang.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose conf-clang.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 \"\\\"macos-homebrew\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-clang.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-08-04 08:14.47: Waiting for resource in pool OCluster
2025-08-04 08:14.47: Waiting for worker…
2025-08-04 08:16.19: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
Updating files:  36% (6518/17960)
Updating files:  37% (6646/17960)
Updating files:  38% (6825/17960)
Updating files:  39% (7005/17960)
Updating files:  40% (7184/17960)
Updating files:  41% (7364/17960)
Updating files:  42% (7544/17960)
Updating files:  43% (7723/17960)
Updating files:  44% (7903/17960)
Updating files:  45% (8082/17960)
Updating files:  46% (8262/17960)
Updating files:  47% (8442/17960)
Updating files:  48% (8621/17960)
Updating files:  49% (8801/17960)
Updating files:  50% (8980/17960)
Updating files:  51% (9160/17960)
Updating files:  52% (9340/17960)
Updating files:  53% (9519/17960)
Updating files:  54% (9699/17960)
Updating files:  55% (9878/17960)
Updating files:  56% (10058/17960)
Updating files:  57% (10238/17960)
Updating files:  58% (10417/17960)
Updating files:  59% (10597/17960)
Updating files:  60% (10776/17960)
Updating files:  61% (10956/17960)
Updating files:  62% (11136/17960)
Updating files:  63% (11315/17960)
Updating files:  64% (11495/17960)
Updating files:  65% (11674/17960)
Updating files:  65% (11837/17960)
Updating files:  66% (11854/17960)
Updating files:  67% (12034/17960)
Updating files:  68% (12213/17960)
Updating files:  69% (12393/17960)
Updating files:  70% (12572/17960)
Updating files:  71% (12752/17960)
Updating files:  72% (12932/17960)
Updating files:  73% (13111/17960)
Updating files:  74% (13291/17960)
Updating files:  75% (13470/17960)
Updating files:  76% (13650/17960)
Updating files:  77% (13830/17960)
Updating files:  78% (14009/17960)
Updating files:  79% (14189/17960)
Updating files:  80% (14368/17960)
Updating files:  81% (14548/17960)
Updating files:  82% (14728/17960)
Updating files:  83% (14907/17960)
Updating files:  84% (15087/17960)
Updating files:  85% (15266/17960)
Updating files:  86% (15446/17960)
Updating files:  87% (15626/17960)
Updating files:  88% (15805/17960)
Updating files:  89% (15985/17960)
Updating files:  90% (16164/17960)
Updating files:  91% (16344/17960)
Updating files:  92% (16524/17960)
Updating files:  93% (16703/17960)
Updating files:  94% (16883/17960)
Updating files:  95% (17062/17960)
Updating files:  96% (17242/17960)
Updating files:  97% (17422/17960)
Updating files:  97% (17489/17960)
Updating files:  98% (17601/17960)
Updating files:  99% (17781/17960)
Updating files: 100% (17960/17960)
Updating files: 100% (17960/17960), done.
HEAD is now at 44af00babf [new release] xenstore-tool (2 packages) (1.5.0) (#28221)
Merge made by the 'ort' strategy.
 packages/conf-clang/conf-clang.2/opam | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 packages/conf-clang/conf-clang.2/opam

(from macos-homebrew-ocaml-4.14)
2025-08-04 08:16.24 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-08-04 08:16.25 ---> using "133faf6477bb7d579f4909c1f9ea81a7b33e8728123c32f7ba0f1532c2d3d002" from cache

/: (run (network host)
        (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-08-04 08:16.25 ---> using "ef3d87c6398c801c10cf5a6d93f8ba7a7aca8d0c6db9fa9fa49b79f0f9e94e2e" from cache

/: (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
# self-upgrade         no
# system               arch=x86_64 os=macos os-distribution=homebrew os-version=15.5
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 11
# repositories         1 (version-controlled)
# pinned               0
# current-switch       4.14.2
# invariant            ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "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       /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-08-04 08:16.25 ---> using "ac863649c8b1638b67aad7aed774fd3a3fe5d0b0e5eb7991274454937cf65d01" from cache

/: (env OPAMDOWNLOADJOBS 1)

/: (env OPAMERRLOGLEN 0)

/: (env OPAMPRECISETRACKING 1)

/: (env CI true)

/: (env OPAM_REPO_CI true)

/: (run (shell "rm -rf opam-repository/"))
2025-08-04 08:16.25 ---> using "5431cbcc658e0d18f1e86a42b7295d7baef82e74db465ab87f8a15ba49194dde" from cache

/: (copy (src .) (dst opam-repository/))
2025-08-04 08:16.28 ---> using "09555489b0639e744cd25ccef5c125d0da5123296bd395ca519a35c0d1791c05" from cache

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-08-04 08:16.28 ---> using "1ebda0054237a7f8cd63ac80b16196e5a01a2a938f5ee24e691edcf248ef917a" from cache

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- Already up-to-date.
2025-08-04 08:16.28 ---> using "1d3fabea35e43a674545f92139e17bf0494b3723b94f3fb74bead69c61a10028" from cache

/: (run (shell "opam pin add -k version -yn conf-clang.2 2"))
conf-clang is now pinned to version 2
2025-08-04 08:16.29 ---> using "ac0905ee5da2a9bcb5802a09c7813a6085567a7d5dd351f0bb1916fa59192b80" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall conf-clang.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 \"\\\"macos-homebrew\\\"\"; then\
               \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
               \n          fi;\
               \n          test \"$pkg\" != 'conf-clang.2' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
conf-clang.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-clang 2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-clang.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-04 08:16.29 ---> using "1b9503fcfb5e7dc8d7ea9dfe97e5578af562dfb23e00aeb33b55ef294eac8c09" from cache

/: (run (network host)
        (shell "(opam reinstall --with-test conf-clang.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile conf-clang 2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   conf-clang.2
-> installed conf-clang.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-04 08:16.35 ---> saved as "904693e65bcc4827654b6199e523fbabca863764df9de2af553b84d1d354695e"

/: (run (shell  "opam reinstall --with-test --verbose conf-clang.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 \"\\\"macos-homebrew\\\"\"; then\
               \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
               \n          fi;\
               \n          test \"$pkg\" != 'conf-clang.2' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile conf-clang 2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [conf-clang: clang]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "clang" "--version" (CWD=/Users/mac1000/.opam/4.14.2/.opam-switch/build/conf-clang.2)
- Apple clang version 17.0.0 (clang-1700.0.13.3)
- Target: x86_64-apple-darwin24.5.0
- Thread model: posix
- InstalledDir: /Library/Developer/CommandLineTools/usr/bin
-> compiled  conf-clang.2
-> removed   conf-clang.2
-> installed conf-clang.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-04 08:16.41 ---> saved as "7f0895140cdcb764d662b78a519764d80c41c14d906b810989e51f3412187c83"
2025-08-04 08:24.42: Cancelling: Auto-cancelling job because it is no longer needed