(for PR #29631)

2026-04-03 15:08.51: New job: build server-reason-react.0.5.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29631/head (4c0065ba75793dd7a73464db15e71923b75ccf90)
                              on fedora-42-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/29631/head" && git reset --hard 4c0065ba
git fetch origin master
git merge --no-edit 2a4b43904149bbedec7e93cb8c589392dcdb483a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810
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 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 "\"fedora-42\""; 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:fedora-42-ocaml-4.14@sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810-server-reason-react.0.5.0-4c0065ba75793dd7a73464db15e71923b75ccf90"
2026-04-03 15:08.51: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810)
 (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 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 \"\\\"fedora-42\\\"\"; 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.41: Waiting for worker…
2026-04-03 16:37.42: Got resource from pool OCluster
Building on doris.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:fedora-42-ocaml-4.14@sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810)
Unable to find image 'ocaml/opam:fedora-42-ocaml-4.14@sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810' locally
docker.io/ocaml/opam@sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810: Pulling from ocaml/opam
bcbfb8588268: Already exists
177e1f254839: Already exists
655adffc1f8a: Already exists
d6ed8efb8316: Already exists
1a6c35db77da: Already exists
79d5bc1da842: Already exists
2190dc5cbef5: Already exists
ce330abd384f: Already exists
67bc7d8e66df: Already exists
24527802ed75: Already exists
520c28f8516b: Already exists
6a6b2b2d7ec6: Already exists
72f13160e8f8: Already exists
9670083e7cc5: Already exists
c29dc6590a62: Already exists
15ab2cb50fb4: Already exists
15ab2cb50fb4: Already exists
f118a3f7dabd: Already exists
a7328888141e: Already exists
d75e61fee8b9: Already exists
e7949c901465: Already exists
4f4fb700ef54: Already exists
b21d69666f8c: Already exists
70dc372f8604: Already exists
7146a2be46d6: Already exists
09661dac5cd7: Already exists
99f18d0cfa67: Already exists
e354f9d35980: Already exists
7a8154ed763e: Already exists
bda029a65dcb: Already exists
d433bc6e6776: Already exists
1f2da96e7761: Already exists
74994bea8077: Already exists
bcca2b9caea1: Already exists
d38dc009427f: Already exists
8b994e343c24: Already exists
3ae1b5004e99: Already exists
1ea09864b795: Already exists
e798746be216: Already exists
e31216579b0a: Already exists
421cab9e5f5b: Pulling fs layer
d4400110fd0d: Pulling fs layer
2560d9bd6dd2: Pulling fs layer
b0d47e6fe935: Pulling fs layer
c19ac7a5f3ab: Pulling fs layer
2560d9bd6dd2: Waiting
c19ac7a5f3ab: Waiting
b0d47e6fe935: Waiting
2560d9bd6dd2: Download complete
b0d47e6fe935: Verifying Checksum
b0d47e6fe935: Download complete
c19ac7a5f3ab: Verifying Checksum
c19ac7a5f3ab: Download complete
d4400110fd0d: Verifying Checksum
d4400110fd0d: Download complete
421cab9e5f5b: Verifying Checksum
421cab9e5f5b: Download complete
421cab9e5f5b: Pull complete
d4400110fd0d: Pull complete
2560d9bd6dd2: Pull complete
b0d47e6fe935: Pull complete
c19ac7a5f3ab: Pull complete
Digest: sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810
Status: Downloaded newer image for ocaml/opam@sha256:4cb7b4fbc0cae68d73b864e79976c353d2099ec24e593983c6378a3d57081810
2026-04-03 16:38.47 ---> saved as "ac57600c6456bfde68a4690ee1d8d3c81a036404063cf1ba91bc1e5681d7650f"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-03 16:38.47 ---> saved as "231fe02d63b9b8cbab50e134ae0012120d129b88e1be00776c4170744e33f6f8"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-03 16:39.12 ---> saved as "f9b76f2bcbc692d3daaf78afc65dd2bb6274a431a200ff3b85f56f5668aef452"

/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=fedora os-version=42
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.3
2026-04-03 16:39.12 ---> saved as "c2dea958d335690208a67016669d838ff72e66873c86df67146fc289b9690c58"

/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 16:39.27 ---> saved as "c1493e039c982d8ac60fd6ecb6efe07ae262a744c0fcbb17597f667afe2b4cdc"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-03 16:39.39 ---> saved as "def56ef784ab123ae8c25e176ab1887b13484f4032b18cc56cc01cb64880c8ec"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-03 16:39.59 ---> saved as "62401f8c460ef3203355af5579a655b03517e2ce29e947888fea33bca3d261ef"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% | 132.4 KiB/s |  19.7 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-04-03 16:40.03 ---> saved as "b4d69c3b10c2817d452975b9942b12de4af0d933c2b9f5391f3ea3512b7b4f7f"

/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 16:40.04 ---> saved as "a13dd98aa6694649ab7bb53b4dcaf2001cca4136430214a42a512e65c2882b04"

/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 \"\\\"fedora-42\\\"\"; 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 48 packages
  - install angstrom            0.16.1         [required by uri]
  - install base-bytes          base           [required by ocplib-endian]
  - install bigstringaf         0.10.0         [required by angstrom]
  - install cmdliner            2.1.0          [required by uucp, melange, uutf]
  - install conf-gmp            5              [required by zarith]
  - install conf-pkg-config     4              [required by zarith]
  - install cppo                1.8.0          [required by lwt, melange]
  - install csexp               1.5.2          [required by dune-configurator]
  - install ctypes              0.24.0         [required by quickjs]
  - install dune                3.22.1         [required by server-reason-react]
  - install dune-build-info     3.22.1         [required by melange]
  - install dune-configurator   3.22.1         [required by lwt]
  - install fix                 20250919       [required by reason]
  - install integers            0.7.0          [required by server-reason-react]
  - install lwt                 6.1.1          [required by server-reason-react]
  - install lwt_ppx             6.1.0          [required by server-reason-react]
  - install melange             6.0.1-414      [required by server-reason-react]
  - install melange-fetch       0.2.0          [required by server-reason-react]
  - install melange-json        2.0.0          [required by server-reason-react]
  - install melange-json-native 2.0.0          [required by server-reason-react]
  - install melange-webapi      0.22.0         [required by server-reason-react]
  - install menhir              20260209       [required by melange]
  - install menhirCST           20260209       [required by menhir]
  - install menhirGLR           20260209       [required by menhir]
  - install menhirLib           20260209       [required by menhir]
  - install menhirSdk           20260209       [required by menhir]
  - install merlin-extend       0.6.2          [required by reason]
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocaml-syntax-shims  1.0.0          [required by angstrom]
  - install ocamlbuild          0.16.1         [required by uucp, uutf]
  - install ocamlfind           1.9.8          [required by uutf, uucp, zarith]
  - install ocplib-endian       1.2            [required by lwt]
  - install ppx_derivers        1.2.1          [required by ppxlib]
  - install ppxlib              0.38.0         [required by server-reason-react]
  - install quickjs             0.4.2          [required by server-reason-react]
  - install reason              3.17.3         [required by server-reason-react]
  - install reason-react        0.17.0         [required by server-reason-react]
  - install reason-react-ppx    0.17.0         [required by reason-react]
  - install server-reason-react 0.5.0 (pinned)
  - install sexplib0            v0.17.0        [required by ppxlib]
  - install stdlib-shims        0.3.0          [required by integers]
  - install stringext           1.6.0          [required by uri]
  - install topkg               1.1.1          [required by uucp, uutf]
  - install uri                 4.4.0          [required by server-reason-react]
  - install uucp                17.0.0         [required by server-reason-react]
  - install uutf                1.0.4          [required by server-reason-react]
  - install yojson              3.0.0          [required by server-reason-react]
  - install zarith              1.14           [required by server-reason-react]

The following system packages will first need to be installed:
    gmp-devel

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/sbin/sudo "yum" "install" "-y" "gmp-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package    Arch   Version        Repository      Size
- Installing:
-  gmp-devel x86_64 1:6.3.0-4.fc42 fedora     352.3 KiB
- Installing dependencies:
-  gmp-c++   x86_64 1:6.3.0-4.fc42 fedora      27.6 KiB
- 
- Transaction Summary:
-  Installing:         2 packages
- 
- Total size of inbound packages is 193 KiB. Need to download 193 KiB.
- After this operation, 380 KiB extra will be used (install 380 KiB, remove 0 B).
- [1/2] gmp-c++-1:6.3.0-4.fc42.x86_64     100% | 231.2 KiB/s |  18.5 KiB |  00m00s
- [2/2] gmp-devel-1:6.3.0-4.fc42.x86_64   100% |   1.1 MiB/s | 174.4 KiB |  00m00s
- --------------------------------------------------------------------------------
- [2/2] Total                             100% | 622.2 KiB/s | 192.9 KiB |  00m00s
- Running transaction
- [1/4] Verify package files              100% |   2.0 KiB/s |   2.0   B |  00m00s
- [2/4] Prepare transaction               100% |  54.0   B/s |   2.0   B |  00m00s
- [3/4] Installing gmp-c++-1:6.3.0-4.fc42 100% |  13.9 MiB/s |  28.5 KiB |  00m00s
- [4/4] Installing gmp-devel-1:6.3.0-4.fc 100% |   7.9 MiB/s | 354.1 KiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.3.0-4.fc42.x86_64

<><> 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)
-> retrieved ctypes.0.24.0  (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> retrieved dune.3.22.1, dune-build-info.3.22.1, dune-configurator.3.22.1  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved lwt.6.1.1  (cached)
-> retrieved lwt_ppx.6.1.0  (cached)
-> installed cmdliner.2.1.0
-> retrieved melange.6.0.1-414  (cached)
-> retrieved melange-fetch.0.2.0  (cached)
-> retrieved melange-json.2.0.0, melange-json-native.2.0.0  (cached)
-> retrieved melange-webapi.0.22.0  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved merlin-extend.0.6.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (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, reason-react-ppx.0.17.0  (cached)
-> retrieved server-reason-react.0.5.0  (https://github.com/ml-in-barcelona/server-reason-react/releases/download/0.5.0/server-reason-react-0.5.0.tbz)
-> 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 cppo.1.8.0
-> installed csexp.1.5.2
-> installed dune-build-info.3.22.1
-> installed fix.20250919
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.3.0.0
-> installed merlin-extend.0.6.2
-> installed ocplib-endian.1.2
-> 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 ppxlib.0.38.0
-> installed uucp.17.0.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-414
-> installed melange-fetch.0.2.0
-> installed reason-react.0.17.0
-> installed melange-json.2.0.0
-> installed melange-webapi.0.22.0
-> installed server-reason-react.0.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-03 16:41.34 ---> saved as "8372ae71927891a0ed00839491cc2d9bf069bf82cf6307927711ff1596d3c0d6"
Job succeeded
2026-04-03 16:41.43: Job succeeded