(for PR #29631)

2026-04-27 07:45.27: 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 alpine-3.23-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 d5058a91d400180e2118d7eeefa040cfcee45d2c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
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 "\"alpine-3.23\""; 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-27 07:45.27: Using cache hint "ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366-server-reason-react.0.5.0-4c0065ba75793dd7a73464db15e71923b75ccf90"
2026-04-27 07:45.27: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
 (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 \"\\\"alpine-3.23\\\"\"; 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-27 07:45.27: Connecting to build cluster…
2026-04-27 07:45.27: Waiting for resource in pool OCluster
2026-04-27 07:58.10: Waiting for worker…
2026-04-27 07:59.39: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d5058a91d4 Merge pull request #29801 from YuriyKrasilnikov/opam-publish-idna.0.4.0
Merge made by the 'ort' strategy.
 .../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:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366' locally
docker.io/ocaml/opam@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366: Pulling from ocaml/opam
6a0ac1617861: Already exists
9630673831f3: Already exists
4cffb540229a: Already exists
aa3cee094119: Already exists
f2700202f619: Already exists
33135c7375d5: Already exists
1ea4b64ae955: Already exists
ca34ef70eda1: Already exists
d4998b6f8f35: Already exists
4a43cfe8648c: Already exists
453dd28eaace: Already exists
a962f0379f0a: Already exists
b68882dcbbd8: Already exists
3f63b4eac828: Already exists
0720e1e1068a: Already exists
0676d4d6023a: Already exists
0ab690805f49: Already exists
fc0af979c0fe: Already exists
4f4fb700ef54: Already exists
63f1d0bef8ae: Already exists
43fd6995d88f: Already exists
c775bfb331ab: Already exists
a7a9b5ed8780: Already exists
86ac791930d3: Already exists
2e34d70b785c: Already exists
56c554cb0baa: Already exists
0109b7ea4beb: Already exists
a72aa581a14e: Already exists
0b969b88b90b: Already exists
d1ae0e2bf910: Already exists
cfd8efe5a061: Already exists
a34595d6f491: Already exists
7333547f58a0: Already exists
803cdf5f2902: Already exists
d74501489c54: Already exists
628aecb9cafb: Already exists
0c52f398a865: Already exists
f4e18988783e: Pulling fs layer
d9b0005bf058: Pulling fs layer
ac511140fcec: Pulling fs layer
e5e3b5898b4b: Pulling fs layer
08e53197d17a: Pulling fs layer
9502f6b2d19e: Pulling fs layer
9502f6b2d19e: Waiting
e5e3b5898b4b: Waiting
08e53197d17a: Waiting
d9b0005bf058: Verifying Checksum
d9b0005bf058: Download complete
e5e3b5898b4b: Verifying Checksum
e5e3b5898b4b: Download complete
f4e18988783e: Verifying Checksum
f4e18988783e: Download complete
f4e18988783e: Pull complete
d9b0005bf058: Pull complete
08e53197d17a: Verifying Checksum
08e53197d17a: Download complete
ac511140fcec: Verifying Checksum
ac511140fcec: Download complete
9502f6b2d19e: Verifying Checksum
9502f6b2d19e: Download complete
ac511140fcec: Pull complete
e5e3b5898b4b: Pull complete
08e53197d17a: Pull complete
9502f6b2d19e: Pull complete
Digest: sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
Status: Downloaded newer image for ocaml/opam@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
2026-04-27 08:00.46 ---> using "01c11b07ac2b5cd48e66007e5a5cac291b476dda37442ad969d24b0ab6dc0559" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-27 08:00.46 ---> using "5fa6b9ef5549d606fde31aba0d2d7485a36147f16a3ee218cbb6a6f517620475" 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
2026-04-27 08:00.53 ---> saved as "2b7c0c1ec60c3c866c21f4c48a177ecdc8d20898064aa58e8186b73bd0a3b82c"

/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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=alpine os-version=3.23.4
# 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-27 08:00.54 ---> saved as "7862949e114365a7d947f371162aff05306891b079ee9ff96207c1c35ea17ff1"

/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-27 08:01.03 ---> saved as "b5281aa9dc433b8ef976cfc81df3773fee0eb65d5c716c2c984d2975eae1fea3"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 08:01.26 ---> saved as "27be7418a97701ce7d52999e33ded7811c5fbbf12f1ed1141d0fe82fcfab615e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 08:01.46 ---> saved as "6724f50bac81fefe3bfc27e747f32d9e1db03318135c00d27c2865240157467b"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-59-gb9ff5fecad9 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-62-gc06bcbb6e5a [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-8558-gb12fae68f31 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-8559-g6fd958a3511 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-8554-gb33de4ab903 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62089 distinct packages available
2026-04-27 08:01.48 ---> saved as "fc0a063fbf8ec2f213b552d9f600e2cfb517eee0445baceaf3f02544ffb39937"

/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-27 08:01.49 ---> saved as "7efb0519778699aef9c9433d31c2f11221072dca962ddb2cdb3dd80f347e8f20"

/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 \"\\\"alpine-3.23\\\"\"; 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.1          [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.2         [required by server-reason-react]
  - install dune-build-info     3.22.2         [required by melange]
  - install dune-configurator   3.22.2         [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-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apk to install them (may need root/sudo access)
  2. Display the recommended apk 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 "apk" "add" "gmp-dev"
- (1/2) Installing libgmpxx (6.3.0-r4)
- (2/2) Installing gmp-dev (6.3.0-r4)
- OK: 338.9 MiB in 106 packages

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0  (cached)
-> installed conf-gmp.5
-> retrieved dune.3.22.2, dune-build-info.3.22.2, dune-configurator.3.22.2  (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.1
-> 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  (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.2
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed dune-build-info.3.22.2
-> 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 dune-configurator.3.22.2
-> installed integers.0.7.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed lwt.6.1.1
-> installed uri.4.4.0
-> installed menhir.20260209
-> installed ctypes.0.24.0
-> installed uucp.17.0.0
-> installed quickjs.0.4.2
-> 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.
# To update the current shell environment, run: eval $(opam env)
2026-04-27 08:03.24 ---> saved as "24a06e50cc1e0fa2a77a45fef240d5d9a1f4f558da33eda005d1766a923cde0a"
Job succeeded
2026-04-27 08:03.30: Job succeeded