(for PR #29631)

2026-04-03 15:08.51: New job: build server-reason-react.0.5.0, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29631/head (4c0065ba75793dd7a73464db15e71923b75ccf90)
                              on debian-13-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/29631/head" && git reset --hard 4c0065ba
git fetch origin master
git merge --no-edit 2a4b43904149bbedec7e93cb8c589392dcdb483a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:13f453bea920b1b323f4a04f2b81ee06601f2feba7e1f1aa31e088bc65526b6e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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 server-reason-react.0.5.0 0.5.0
RUN opam reinstall server-reason-react.0.5.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'server-reason-react.0.5.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 .

2026-04-03 15:08.51: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:13f453bea920b1b323f4a04f2b81ee06601f2feba7e1f1aa31e088bc65526b6e-server-reason-react.0.5.0-4c0065ba75793dd7a73464db15e71923b75ccf90"
2026-04-03 15:08.51: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:13f453bea920b1b323f4a04f2b81ee06601f2feba7e1f1aa31e088bc65526b6e)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 server-reason-react.0.5.0 0.5.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall server-reason-react.0.5.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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'server-reason-react.0.5.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-03 15:08.51: Waiting for resource in pool OCluster
2026-04-03 16:34.54: Waiting for worker…
2026-04-03 16:37.54: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2a4b439041 Merge pull request #29641 from daysv/release-sm-0.1.0
Updating 2a4b439041..4c0065ba75
Fast-forward
 .../server-reason-react.0.5.0/opam                 | 62 ++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 packages/server-reason-react/server-reason-react.0.5.0/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:13f453bea920b1b323f4a04f2b81ee06601f2feba7e1f1aa31e088bc65526b6e)
2026-04-03 17:00.49 ---> using "04accec92e2bf0fc058f8f78760257a004a3abe580d28a2e712fdd6bd38bbb3e" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2026-04-03 17:00.49 ---> using "8bb561f39fd2a2a5605ba8ddb5a51976ec8570f261e7c5c002835aee4a4e9f0c" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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
2026-04-03 17:00.49 ---> using "f7de5460c707a8b48c09efe6eae0db8a2ecc877e2973a61a3365ea4371c041ef" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b) 
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# 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.1
2026-04-03 17:00.49 ---> using "f7f796062ddae31615243e46fb33ac21bcab81d8390a2a6483f99ce577cf3f83" 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/"))
2026-04-03 17:00.49 ---> using "0eaba563a2084dfdee48a1e67319ef97652c060780fd6c1b36823561611b4742" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-03 17:00.59 ---> saved as "244e35c0ab00a88879d8e0d7763495aabe88db1e5c22b467a23df3a8c6d58384"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-03 17:01.10 ---> saved as "2adc5857c8de3026c6f5ad5818ff4242ec5b4d7985f7d5c6e182d1dda74064dc"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [119 kB]
- Fetched 210 kB in 0s (1643 kB/s)
- Reading package lists...
2026-04-03 17:01.11 ---> saved as "e349023355d94c1f6b3c6912a78b7943d11e2d80f6b6da23258f6117f7962ed2"

/home/opam: (run (shell "opam pin add -k version -yn server-reason-react.0.5.0 0.5.0"))
server-reason-react is now pinned to version 0.5.0
2026-04-03 17:01.12 ---> saved as "25e9b1d760f9bc1087fc527a7bf5a65c311e530cff1f60710466351b4b84495a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall server-reason-react.0.5.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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'server-reason-react.0.5.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
server-reason-react.0.5.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild          0.16.1   [required by uucp, uutf]
  - install cmdliner            2.1.0    [required by uucp, melange, uutf]
  - install dune                3.22.1   [required by server-reason-react]
  - install conf-gmp            5        [required by zarith]
  - install conf-pkg-config     4        [required by zarith]
  - install ocamlfind           1.9.8    [required by uutf, uucp, zarith]
  - install yojson              3.0.0    [required by server-reason-react]
  - install stringext           1.6.0    [required by uri]
  - install stdlib-shims        0.3.0    [required by integers]
  - install sexplib0            v0.17.0  [required by ppxlib]
  - install ppx_derivers        1.2.1    [required by ppxlib]
  - install ocaml-syntax-shims  1.0.0    [required by angstrom]
  - install ocaml-compiler-libs v0.17.0  [required by ppxlib]
  - install menhirSdk           20260209 [required by menhir]
  - install menhirLib           20260209 [required by menhir]
  - install menhirGLR           20260209 [required by menhir]
  - install menhirCST           20260209 [required by menhir]
  - install fix                 20250919 [required by reason]
  - install dune-build-info     3.22.1   [required by melange]
  - install csexp               1.5.2    [required by dune-configurator]
  - install cppo                1.8.0    [required by lwt, melange]
  - install zarith              1.14     [required by server-reason-react]
  - install topkg               1.1.1    [required by uucp, uutf]
  - install base-bytes          base     [required by ocplib-endian]
  - install integers            0.7.0    [required by server-reason-react]
  - install ppxlib              0.38.0   [required by server-reason-react]
  - install menhir              20260209 [required by melange]
  - install dune-configurator   3.22.1   [required by lwt]
  - install merlin-extend       0.6.2    [required by reason]
  - install uutf                1.0.4    [required by server-reason-react]
  - install uucp                17.0.0   [required by server-reason-react]
  - install ocplib-endian       1.2      [required by lwt]
  - install melange-json-native 2.0.0    [required by server-reason-react]
  - install melange             6.0.1-54 [required by server-reason-react]
  - install ctypes              0.24.0   [required by quickjs]
  - install bigstringaf         0.10.0   [required by angstrom]
  - install reason              3.17.3   [required by server-reason-react]
  - install lwt                 6.1.1    [required by server-reason-react]
  - install melange-json        2.0.0    [required by server-reason-react]
  - install melange-fetch       0.2.0    [required by server-reason-react]
  - install quickjs             0.4.2    [required by server-reason-react]
  - install angstrom            0.16.1   [required by uri]
  - install reason-react-ppx    0.17.0   [required by reason-react]
  - install lwt_ppx             6.1.0    [required by server-reason-react]
  - install melange-webapi      0.22.0   [required by server-reason-react]
  - install uri                 4.4.0    [required by server-reason-react]
  - install reason-react        0.17.0   [required by server-reason-react]
  - install server-reason-react 0.5.0*
===== 48 to install =====

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0  (cached)
-> retrieved dune.3.22.1  (cached)
-> retrieved dune-build-info.3.22.1  (cached)
-> retrieved dune-configurator.3.22.1  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved integers.0.7.0  (cached)
-> installed cmdliner.2.1.0
-> retrieved lwt.6.1.1  (cached)
-> retrieved lwt_ppx.6.1.0  (cached)
-> retrieved melange.6.0.1-54  (cached)
-> retrieved melange-fetch.0.2.0  (cached)
-> retrieved melange-json.2.0.0  (cached)
-> retrieved melange-json-native.2.0.0  (cached)
-> retrieved melange-webapi.0.22.0  (cached)
-> retrieved menhir.20260209  (cached)
-> retrieved menhirCST.20260209  (cached)
-> retrieved menhirGLR.20260209  (cached)
-> retrieved menhirLib.20260209  (cached)
-> retrieved menhirSdk.20260209  (cached)
-> retrieved merlin-extend.0.6.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved quickjs.0.4.2  (cached)
-> retrieved reason.3.17.3  (cached)
-> retrieved reason-react.0.17.0  (cached)
-> retrieved reason-react-ppx.0.17.0  (cached)
-> retrieved server-reason-react.0.5.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uucp.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed dune.3.22.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed dune-build-info.3.22.1
-> installed fix.20250919
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed merlin-extend.0.6.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed integers.0.7.0
-> installed dune-configurator.3.22.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed lwt.6.1.1
-> installed ctypes.0.24.0
-> installed menhir.20260209
-> installed quickjs.0.4.2
-> installed uucp.17.0.0
-> installed ppxlib.0.38.0
-> installed melange-json-native.2.0.0
-> installed lwt_ppx.6.1.0
-> installed reason.3.17.3
-> installed reason-react-ppx.0.17.0
-> installed melange.6.0.1-54
-> installed melange-fetch.0.2.0
-> installed melange-json.2.0.0
-> installed reason-react.0.17.0
-> installed melange-webapi.0.22.0
-> installed server-reason-react.0.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-03 17:02.39 ---> saved as "756e829241e8d09fa0ca48f8427e34a0f9df426de820d6bb45919bb260d6a537"
Job succeeded
2026-04-03 17:02.48: Job succeeded