(for PR #29132)

2025-12-24 03:53.10: New job: build reason-react-ppx.0.17.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29132/head (93ce2ebb01a620b3bd8edee4ceb8553f274f317c)
                              on debian-unstable-ocaml-5.4/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/29132/head" && git reset --hard 93ce2ebb
git fetch origin master
git merge --no-edit 235b964523a3fb438c9ad050e86b03e07685c4c1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-5.4@sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619
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 reason-react-ppx.0.17.0 0.17.0
RUN opam reinstall reason-react-ppx.0.17.0; \
    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-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'reason-react-ppx.0.17.0' && 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-12-24 03:53.10: Using cache hint "ocaml/opam:debian-unstable-ocaml-5.4@sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619-reason-react-ppx.0.17.0-93ce2ebb01a620b3bd8edee4ceb8553f274f317c"
2025-12-24 03:53.10: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-5.4@sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619)
 (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 reason-react-ppx.0.17.0 0.17.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall reason-react-ppx.0.17.0;\
             \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-unstable\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'reason-react-ppx.0.17.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-24 03:53.10: Waiting for resource in pool OCluster
2025-12-24 03:53.12: Waiting for worker…
2025-12-24 03:53.55: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 235b964523 Merge pull request #29129 from dx3mod/master
Updating 235b964523..93ce2ebb01
Fast-forward
 .../reason-react-ppx/reason-react-ppx.0.17.0/opam  | 46 +++++++++++++++++++
 packages/reason-react/reason-react.0.17.0/opam     | 52 ++++++++++++++++++++++
 2 files changed, 98 insertions(+)
 create mode 100644 packages/reason-react-ppx/reason-react-ppx.0.17.0/opam
 create mode 100644 packages/reason-react/reason-react.0.17.0/opam

(from ocaml/opam:debian-unstable-ocaml-5.4@sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-5.4@sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619' locally
docker.io/ocaml/opam@sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619: Pulling from ocaml/opam
8d9b0d1957d2: Already exists
77bd5ce6de14: Already exists
59ace7bbb792: Already exists
b44820cf8c7c: Already exists
01779645db39: Already exists
2eff1215ea11: Already exists
cd204a506c17: Already exists
fdbe9d71b607: Already exists
1d1ef689aa4e: Already exists
21d29e096296: Already exists
f3c0f441dc5a: Already exists
24e024f45d9d: Already exists
70f2fc20df5f: Already exists
dc1d3669f80d: Already exists
d1960fd642f1: Already exists
5a522f53743b: Already exists
69c97573612d: Already exists
69c97573612d: Already exists
e309391d441d: Already exists
db1ca6399fa8: Already exists
14889b83b326: Already exists
44e6acdbb29a: Already exists
4f4fb700ef54: Already exists
1976d6d05edb: Already exists
847e4a574c7f: Already exists
6b92941a3055: Already exists
37281440a7ab: Already exists
b771055b6fbe: Already exists
8f4ee55b4bf4: Already exists
d31d3386bb00: Already exists
aa71471fafa8: Already exists
cab8c018bf1d: Already exists
efe6eb884787: Already exists
22ff1b490950: Already exists
08392e8ad44d: Already exists
9786f0609b93: Already exists
7007db005dae: Already exists
7658258a9410: Already exists
2e6a084ea7c1: Already exists
c7f51cd10453: Already exists
8bd38c2c8638: Already exists
567aa687f02c: Pulling fs layer
67c2bb4b42ee: Pulling fs layer
0ec084112735: Pulling fs layer
72a585402c8d: Pulling fs layer
cc3e5118bebd: Pulling fs layer
72a585402c8d: Waiting
f79a8c1d4aad: Pulling fs layer
c2137cd98036: Pulling fs layer
cc3e5118bebd: Waiting
f79a8c1d4aad: Waiting
c2137cd98036: Waiting
0ec084112735: Download complete
567aa687f02c: Verifying Checksum
567aa687f02c: Download complete
567aa687f02c: Pull complete
cc3e5118bebd: Download complete
f79a8c1d4aad: Download complete
c2137cd98036: Verifying Checksum
c2137cd98036: Download complete
72a585402c8d: Verifying Checksum
72a585402c8d: Download complete
67c2bb4b42ee: Verifying Checksum
67c2bb4b42ee: Download complete
67c2bb4b42ee: Pull complete
0ec084112735: Pull complete
72a585402c8d: Pull complete
cc3e5118bebd: Pull complete
f79a8c1d4aad: Pull complete
c2137cd98036: Pull complete
Digest: sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619
Status: Downloaded newer image for ocaml/opam@sha256:be625c8c412e66d3d6f43c0fbe8c8adfa82cbda6ff8e635af6aa0039dce6c619
2025-12-24 03:54.36 ---> using "132113677107ce1fc475d1696da6c2dfbaa40deaa0b04fe9565f9b984cf4e37a" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-24 03:54.36 ---> using "1115eb282f6e950371b61e4bfc8372f9061080d6f61d93abc81cdcce1124b0d6" from cache

/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-12-24 03:54.36 ---> using "883da91f6847c919b42787a2cb64b69c8e0d607a6fd6940ea125401f83ad3597" from cache

/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
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-12-24 03:54.36 ---> using "4b9250c7aa51f33c3e4ed22def61e61bc1adba947f3590752d77eb19460f58e0" from cache

/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-12-24 03:54.36 ---> using "4dfb78bcc57a8f75780ab82cb512401d3e87109f23fc3123d712923f38635303" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-24 03:54.45 ---> saved as "0e4ed3cb649c0db1885e3c98911a654a3ccea02a86708ccf0e622b63998fdb69"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-24 03:55.03 ---> saved as "b9043d5d2d47bfc57537f3b419f999fdd38ab6701a702ee0c3de7ab13b32bc37"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-12-24-0210.35-F-2025-12-20-0216.38.pdiff [171 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-12-24-0210.35-F-2025-12-20-0216.38.pdiff [171 kB]
- Fetched 421 kB in 1s (347 kB/s)
- Reading package lists...
2025-12-24 03:55.05 ---> saved as "19124a074707ba47e57a7e5f3c323e2237fc118a161084a9dc91654756c64d99"

/home/opam: (run (shell "opam pin add -k version -yn reason-react-ppx.0.17.0 0.17.0"))
reason-react-ppx is now pinned to version 0.17.0
2025-12-24 03:55.06 ---> saved as "774f38ffbac105f196a15e397fb0840fb9ea220bafdfafd8fb4d99f4a9a5e887"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall reason-react-ppx.0.17.0;\
                        \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-unstable\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'reason-react-ppx.0.17.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
reason-react-ppx.0.17.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 18 packages
  - install cmdliner            2.1.0           [required by reason]
  - install cppo                1.8.0           [required by reason]
  - install dune                3.20.2          [required by reason-react-ppx]
  - install dune-build-info     3.20.2          [required by reason]
  - install fix                 20250919        [required by reason]
  - install menhir              20250912        [required by reason]
  - install menhirCST           20250912        [required by menhir]
  - install menhirLib           20250912        [required by menhir]
  - install menhirSdk           20250912        [required by menhir]
  - install merlin-extend       0.6.2           [required by reason]
  - install ocaml-compiler-libs v0.17.0         [required by ppxlib]
  - install ocamlfind           1.9.8           [required by reason]
  - install ppx_derivers        1.2.1           [required by ppxlib]
  - install ppxlib              0.37.0          [required by reason-react-ppx]
  - install reason              3.17.2          [required by reason-react-ppx]
  - install reason-react-ppx    0.17.0 (pinned)
  - install sexplib0            v0.17.0         [required by ppxlib]
  - install stdlib-shims        0.3.0           [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved dune.3.20.2, dune-build-info.3.20.2  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved merlin-extend.0.6.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> installed cmdliner.2.1.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved reason.3.17.2  (cached)
-> retrieved reason-react-ppx.0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed cppo.1.8.0
-> installed menhirCST.20250912
-> installed fix.20250919
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed merlin-extend.0.6.2
-> installed menhirSdk.20250912
-> installed sexplib0.v0.17.0
-> installed menhirLib.20250912
-> installed dune-build-info.3.20.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed menhir.20250912
-> installed ppxlib.0.37.0
-> installed reason.3.17.2
-> installed reason-react-ppx.0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-24 03:55.57 ---> saved as "a234398b0a5ffbaf07f5867bacc099d7dbb19f53ae086be7764f5c613ff4f5a2"
Job succeeded
2025-12-24 03:56.05: Job succeeded