(for PR #28280)

2025-08-06 12:34.10: New job: build catala.1.0.0~alpha, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28280/head (a3fb7d5115c38737333aefba40ef93af88394551)
                              on macos-homebrew-ocaml-5.3/arm64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28280/head" && git reset --hard a3fb7d51
git fetch origin master
git merge --no-edit 06a1064b82e87c7ef006235ec98f1c89487892c9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.3
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 catala.1.0.0~alpha 1.0.0~alpha
RUN opam reinstall catala.1.0.0~alpha; \
    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" != 'catala.1.0.0~alpha' && 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-06 12:34.10: Using cache hint "macos-homebrew-ocaml-5.3-catala.1.0.0~alpha-a3fb7d5115c38737333aefba40ef93af88394551"
2025-08-06 12:34.10: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
 (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 catala.1.0.0~alpha 1.0.0~alpha"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall catala.1.0.0~alpha;\
             \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\" != 'catala.1.0.0~alpha' && 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-06 12:34.10: Waiting for resource in pool OCluster
2025-08-06 12:34.10: Waiting for worker…
2025-08-06 12:34.10: Got resource from pool OCluster
Building on m1-worker-03
Updating files:  69% (12408/17981)
Updating files:  70% (12587/17981)
Updating files:  71% (12767/17981)
Updating files:  72% (12947/17981)
Updating files:  73% (13127/17981)
Updating files:  74% (13306/17981)
Updating files:  75% (13486/17981)
Updating files:  76% (13666/17981)
Updating files:  77% (13846/17981)
Updating files:  78% (14026/17981)
Updating files:  79% (14205/17981)
Updating files:  80% (14385/17981)
Updating files:  81% (14565/17981)
Updating files:  82% (14745/17981)
Updating files:  83% (14925/17981)
Updating files:  84% (15105/17981)
Updating files:  85% (15284/17981)
Updating files:  86% (15464/17981)
Updating files:  87% (15644/17981)
Updating files:  88% (15824/17981)
Updating files:  89% (16004/17981)
Updating files:  90% (16183/17981)
Updating files:  91% (16363/17981)
Updating files:  92% (16543/17981)
Updating files:  93% (16723/17981)
Updating files:  94% (16903/17981)
Updating files:  95% (17082/17981)
Updating files:  96% (17262/17981)
Updating files:  97% (17442/17981)
Updating files:  98% (17622/17981)
Updating files:  99% (17802/17981)
Updating files: 100% (17981/17981)
Updating files: 100% (17981/17981), done.
HEAD is now at e4ef4abb96 Add climate.0.7.0
HEAD is now at 06a1064b82 Merge pull request #28287 from anmonteiro/release-reason-3.17.0
Merge made by the 'ort' strategy.
 packages/catala/catala.1.0.0~alpha/opam | 87 +++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)
 create mode 100644 packages/catala/catala.1.0.0~alpha/opam

(from macos-homebrew-ocaml-5.3)
2025-08-06 12:34.23 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-08-06 12:34.23 ---> using "92705670bd1f6c37fa31d9a6dfa42537267d9f8e4fd7c2ec00237f6a7d22e661" 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-06 12:34.23 ---> using "8bd5d340faa8ad1722e010203f7a4caea560522985969db275c7542dbb56b072" 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=arm64 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                 7
# repositories         1 (version-controlled)
# pinned               0
# current-switch       5.3.0
# invariant            ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /Users/mac1000/.opam/5.3.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.3.0/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-08-06 12:34.23 ---> using "401f61792e35006b8b67fb65b6928feb197e69b5582a54739bb4533b10bc0056" 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-06 12:34.23 ---> using "30332a7c2ac1a8ef60b47b6542aab2c86d16592008aab0760c9c2da8824ae6fb" from cache

/: (copy (src .) (dst opam-repository/))
2025-08-06 12:34.28 ---> saved as "5f35d574082dba8d8de732ec1b93bf849e1c965f3e56391fc9da799bb5d02122"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-08-06 12:34.37 ---> saved as "e61fa71e03474ed65a4171b537c4bd0e9aea5f72e2285d4f9c69969045428beb"

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /opt/homebrew/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-06 12:34.56 ---> saved as "cb971467ea45465d04051db81f5e60fdc3a48bec5ef5aee200979179b586c6d5"

/: (run (shell "opam pin add -k version -yn catala.1.0.0~alpha 1.0.0~alpha"))
catala is now pinned to version 1.0.0~alpha
2025-08-06 12:34.57 ---> saved as "683019b889cc12d75f2f9154fcadf378521d6f3689574cf072fecf6effb6401e"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall catala.1.0.0~alpha;\
               \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\" != 'catala.1.0.0~alpha' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
catala.1.0.0~alpha is not installed. Install it? [y/n] y
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> ocaml-base-compiler < 5.0.1~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> dkml-base-compiler
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> ocaml-variants >= 4.10.2
  * Missing dependency:
    - catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0 | = 3.09.1 | = 3.09.2 | = 3.09.3 | = 3.10.0 | = 3.10.1 | = 3.10.2 | = 3.11.0 | = 3.11.1 | = 3.11.2 | = 3.12.0 | = 3.12.1 | = 4.00.0 | = 4.00.1 | = 4.01.0 | = 4.02.0 | = 4.02.1 | = 4.02.2 | = 4.02.3 | = 4.02.4 | = 4.03.0 | = 4.03.1 | = 4.04.0 | = 4.04.1 | = 4.04.2 | = 4.04.3 | = 4.05.0 | = 4.05.1 | = 4.06.0 | = 4.06.1 | = 4.06.2 | = 4.07.0 | = 4.07.1 | = 4.07.2 | = 4.08.0 | = 4.08.1 | = 4.08.2 | = 4.09.0 | = 4.09.1 | = 4.09.2 | = 4.10.0 | = 4.10.1) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 4.10.2~
    unmet availability conditions, e.g. '!(os = "macos" & arch = "arm64")'
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.3.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    unmet availability conditions, e.g. '!(os = "macos" & arch = "arm64")'
  * Missing dependency:
    - catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> ocaml-variants >= 4.10.2 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall catala.1.0.0~alpha;
        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" != 'catala.1.0.0~alpha' && 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-08-06 12:35.16: Job failed: Failed: Build failed
2025-08-06 12:35.16: Log analysis:
2025-08-06 12:35.16: >>> 
No solution found, exiting
 (score = 100)
2025-08-06 12:35.16: [SKIP] Package not available