(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 centos-10-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:centos-10-ocaml-5.4@sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702
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 "\"centos-10\""; 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:centos-10-ocaml-5.4@sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702-server-reason-react.0.5.0-4c0065ba75793dd7a73464db15e71923b75ccf90"
2026-04-03 15:08.51: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702)
 (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 \"\\\"centos-10\\\"\"; 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.25: Waiting for worker…
2026-04-03 16:37.29: 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:centos-10-ocaml-5.4@sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702' locally
docker.io/ocaml/opam@sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702: Pulling from ocaml/opam
92516e5cc969: Already exists
f783f4b2fe62: Already exists
777662040713: Already exists
871f3c7a04a9: Already exists
0727436230f4: Already exists
c52d0e3ff054: Already exists
c9885dd75485: Already exists
fa47a3f5b43a: Already exists
a7a32bb13a6a: Already exists
5dc7e84ff14b: Already exists
872c502575d5: Already exists
d26e7313640a: Already exists
013eab669bfb: Already exists
99ac8a4a3bd9: Already exists
244c418814db: Already exists
de60361c1c50: Already exists
8b1cb9ebde9c: Already exists
dd52769c5b99: Already exists
dd52769c5b99: Already exists
378bc3bced84: Already exists
833fb30d1583: Already exists
f83f8c01ee88: Already exists
e772e5abb2a2: Already exists
4f4fb700ef54: Already exists
83f7b1f5239a: Already exists
dbe4853a2900: Already exists
731f80ce0f34: Already exists
15ebb39b533e: Already exists
52a17a4726f1: Already exists
3c117956306f: Already exists
44dbd56dc541: Already exists
5dfcc455179e: Already exists
a4c11fb055c9: Already exists
faa756483201: Already exists
1cc6aff42c1b: Already exists
37fec7f8094e: Already exists
6cff293dd8d6: Already exists
f78a20c93209: Already exists
e3032ed6ae55: Already exists
1609854782df: Already exists
508b5ad6b7d6: Already exists
637022faa1a3: Already exists
a102c3f32dfc: Pulling fs layer
27e8b7eb1bb5: Pulling fs layer
36c898473a1f: Pulling fs layer
3963c254f577: Pulling fs layer
b3d5d5162552: Pulling fs layer
b3d5d5162552: Waiting
3963c254f577: Waiting
36c898473a1f: Verifying Checksum
36c898473a1f: Download complete
a102c3f32dfc: Verifying Checksum
a102c3f32dfc: Download complete
3963c254f577: Download complete
a102c3f32dfc: Pull complete
b3d5d5162552: Verifying Checksum
b3d5d5162552: Download complete
27e8b7eb1bb5: Verifying Checksum
27e8b7eb1bb5: Download complete
27e8b7eb1bb5: Pull complete
36c898473a1f: Pull complete
3963c254f577: Pull complete
b3d5d5162552: Pull complete
Digest: sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702
Status: Downloaded newer image for ocaml/opam@sha256:066a711a6aa77903d71623cb77f68abf2a7bc100f809071c1f1528960004d702
2026-04-03 16:38.25 ---> saved as "12c44fdba1eeb955a8167326326a0c05d6adfadc75ab8c583b1aefb4144cfed8"

/: (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.25 ---> saved as "6a11dc85513c28675c8007c51738f207cfb97f27f7efe593e619477ad743e949"

/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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-03 16:38.48 ---> saved as "c46969d803f1606b7861ee7076456a7edad800f6b9a94ef6d6343103cdac725e"

/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=centos os-version=10
# 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.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-04-03 16:38.49 ---> saved as "c1d1fa63d43976e3bc50a740e597fc9bdc30f232541050b6d08e1c850209baa5"

/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.02 ---> saved as "1cacb55d557fed2b6a2468d67f8d8cc8d79505bea0dd4f37056d8e7d8caa4e76"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                        21 kB/s |  15 kB     00:00    
- CentOS Stream 10 - BaseOS                       566 kB/s | 6.9 MB     00:12    
- CentOS Stream 10 - AppStream                    119 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    6.6 MB/s | 3.6 MB     00:00    
- CentOS Stream 10 - CRB                          118 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                          2.0 MB/s | 834 kB     00:00    
- CentOS Stream 10 - Extras packages              116 kB/s |  17 kB     00:00    
- Metadata cache created.
2026-04-03 16:39.50 ---> saved as "7db810623aab407f8fed133261a8b4568a0221731c5cde72bf6750d237008a5c"

/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:39.51 ---> saved as "1deb408ee78fac271cf34239236474bc5486dde46fee24fcd392d3327f023875"

/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 \"\\\"centos-10\\\"\"; 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-54       [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.17.0        [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/bin/sudo "yum" "install" "-y" "gmp-devel"
- Last metadata expiration check: 0:00:05 ago on Fri Apr  3 16:39:49 2026.
- Dependencies resolved.
- ================================================================================
-  Package          Architecture  Version                  Repository        Size
- ================================================================================
- Installing:
-  gmp-devel        x86_64        1:6.2.1-12.el10          appstream        174 k
- Installing dependencies:
-  gmp-c++          x86_64        1:6.2.1-12.el10          appstream         20 k
- 
- Transaction Summary
- ================================================================================
- Install  2 Packages
- 
- Total download size: 194 k
- Installed size: 382 k
- Downloading Packages:
- (1/2): gmp-c++-6.2.1-12.el10.x86_64.rpm         711 kB/s |  20 kB     00:00    
- (2/2): gmp-devel-6.2.1-12.el10.x86_64.rpm       837 kB/s | 174 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           571 kB/s | 194 kB     00:00     
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1 
-   Installing       : gmp-c++-1:6.2.1-12.el10.x86_64                         1/2 
-   Installing       : gmp-devel-1:6.2.1-12.el10.x86_64                       2/2 
-   Running scriptlet: gmp-devel-1:6.2.1-12.el10.x86_64                       2/2 
- 
- Installed:
-   gmp-c++-1:6.2.1-12.el10.x86_64        gmp-devel-1:6.2.1-12.el10.x86_64       
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.2.1-12.el10.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-gmp.5
-> installed conf-pkg-config.4
-> 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-54  (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.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, 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.17.0
-> 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 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 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.23 ---> saved as "6beb85ba632f6c073ae9ab4bc3b50c920cfa7d9df80a0dcd1da3df48f8ad4836"
Job succeeded
2026-04-03 16:41.29: Job succeeded