(for PR #29631)
2026-04-03 15:08.50: 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 debian-13-ocaml-5.0/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.0@sha256:8d0134d27cfd20cca9dc49d4e2ee9bffae06a1d8e714eca7424e550f0966a188
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 "\"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.50: Using cache hint "ocaml/opam:debian-13-ocaml-5.0@sha256:8d0134d27cfd20cca9dc49d4e2ee9bffae06a1d8e714eca7424e550f0966a188-server-reason-react.0.5.0-4c0065ba75793dd7a73464db15e71923b75ccf90"
2026-04-03 15:08.50: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:8d0134d27cfd20cca9dc49d4e2ee9bffae06a1d8e714eca7424e550f0966a188)
(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 \"\\\"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.50: Waiting for resource in pool OCluster
2026-04-03 16:33.45: Waiting for worker…
2026-04-03 16:36.59: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
Updating files: 64% (12009/18613)
Updating files: 65% (12099/18613)
Updating files: 66% (12285/18613)
Updating files: 67% (12471/18613)
Updating files: 68% (12657/18613)
Updating files: 69% (12843/18613)
Updating files: 70% (13030/18613)
Updating files: 71% (13216/18613)
Updating files: 72% (13402/18613)
Updating files: 73% (13588/18613)
Updating files: 74% (13774/18613)
Updating files: 75% (13960/18613)
Updating files: 76% (14146/18613)
Updating files: 77% (14333/18613)
Updating files: 78% (14519/18613)
Updating files: 79% (14705/18613)
Updating files: 80% (14891/18613)
Updating files: 81% (15077/18613)
Updating files: 82% (15263/18613)
Updating files: 83% (15449/18613)
Updating files: 84% (15635/18613)
Updating files: 85% (15822/18613)
Updating files: 86% (16008/18613)
Updating files: 87% (16194/18613)
Updating files: 88% (16380/18613)
Updating files: 89% (16566/18613)
Updating files: 90% (16752/18613)
Updating files: 91% (16938/18613)
Updating files: 92% (17124/18613)
Updating files: 93% (17311/18613)
Updating files: 94% (17497/18613)
Updating files: 95% (17683/18613)
Updating files: 96% (17869/18613)
Updating files: 97% (18055/18613)
Updating files: 98% (18241/18613)
Updating files: 99% (18427/18613)
Updating files: 100% (18613/18613)
Updating files: 100% (18613/18613), done.
HEAD is now at 2acf634c9f Merge commit 'c4a4f8c7011570e65611407975dc1ae0def8c6ec'
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.0@sha256:8d0134d27cfd20cca9dc49d4e2ee9bffae06a1d8e714eca7424e550f0966a188)
2026-04-03 16:38.10 ---> saved as "f2d5efb59488575a0be413233a01c694fbc8c3810749ec2e2dd68269592b811b"
/: (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.10 ---> saved as "b7d05686dceba3d4934284c05fa53c915dd3b2ebf3688076292f3667947b7a36"
/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-03 16:38.45 ---> saved as "313a751aeb55a6c71107f79f4d2c49b91c6fcdb580517e100d5e9d71d0bca1be"
/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=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.0
# invariant ["ocaml-base-compiler" {= "5.0.0"}]
# compiler-packages ocaml-base-compiler.5.0.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.0/lib/ocaml/stublibs:/home/opam/.opam/5.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.0.0
2026-04-03 16:38.46 ---> saved as "d3a008e09905110d512d82413bf98b15e61dcd5168182e8b7087f4b901351b37"
/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:38.54 ---> saved as "9b26414848c564b1e5227b8fc5ba987bb2a3a73b18132f1f2d4fb783817e046c"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-03 16:39.01 ---> saved as "33be2a6f6c8813a3cffbaf2c9e015df39588c5b014bd229e0f09a1431c8cb5fd"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-03 16:39.21 ---> saved as "18ae4012944a56f90c6836758b9502c5cc3061f9c2f6cd53b834fe2298093ccc"
/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 (1668 kB/s)
- Reading package lists...
-
2026-04-03 16:39.23 ---> saved as "121f5df8355a11c75d0ec54809ca447467d2eb6cec73be6d5b13e089dec2bf20"
/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.24 ---> saved as "3b464bd3e1a7ac6e8fa1fb00ea63365d5af13fa1bde47dd4c87e9e690e5ed8a6"
/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
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.0.0
- server-reason-react >= 0.5.0 -> melange >= 3.0.0 -> ocaml < 5.0 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.0.0
- server-reason-react >= 0.5.0 -> melange >= 3.0.0 -> ocaml < 5.0 -> ocaml-variants (< 4.00.2~ | >= 4.01.0)
* Missing dependency:
- server-reason-react >= 0.5.0 -> melange >= 3.0.0 -> ocaml < 5.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.0.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- server-reason-react >= 0.5.0 -> melange >= 3.0.0 -> ocaml < 5.0 -> ocaml-variants >= 4.01.0 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- server-reason-react >= 0.5.0 -> melange >= 3.0.0 -> ocaml < 5.0 -> ocaml-variants >= 4.01.0 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "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" failed with exit status 20
2026-04-03 16:39.40: Job failed: Failed: Build failed
2026-04-03 16:39.40: Log analysis:
2026-04-03 16:39.40: >>>
No solution found, exiting
(score = 100)
2026-04-03 16:39.40: [SKIP] Package not available