(for PR #29068)
2026-03-19 08:08.42: New job: build matcha.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29068/head (199fe28cd74a5ffe7f2f116239daf07e8ca8c28f)
on ubuntu-24.04-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/29068/head" && git reset --hard 199fe28c
git fetch origin master
git merge --no-edit 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9
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 matcha.0.1.0 0.1.0
RUN opam reinstall matcha.0.1.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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'matcha.0.1.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-03-19 08:08.42: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9-matcha.0.1.0-199fe28cd74a5ffe7f2f116239daf07e8ca8c28f"
2026-03-19 08:08.42: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9)
(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 matcha.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall matcha.0.1.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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'matcha.0.1.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-03-19 08:08.42: Waiting for resource in pool OCluster
2026-03-19 08:08.44: Waiting for worker…
2026-03-19 08:09.39: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 73% (13535/18506)
Updating files: 74% (13695/18506)
Updating files: 75% (13880/18506)
Updating files: 76% (14065/18506)
Updating files: 77% (14250/18506)
Updating files: 78% (14435/18506)
Updating files: 79% (14620/18506)
Updating files: 80% (14805/18506)
Updating files: 81% (14990/18506)
Updating files: 82% (15175/18506)
Updating files: 83% (15360/18506)
Updating files: 84% (15546/18506)
Updating files: 85% (15731/18506)
Updating files: 86% (15916/18506)
Updating files: 87% (16101/18506)
Updating files: 88% (16286/18506)
Updating files: 89% (16471/18506)
Updating files: 90% (16656/18506)
Updating files: 91% (16841/18506)
Updating files: 92% (17026/18506)
Updating files: 93% (17211/18506)
Updating files: 94% (17396/18506)
Updating files: 95% (17581/18506)
Updating files: 96% (17766/18506)
Updating files: 97% (17951/18506)
Updating files: 98% (18136/18506)
Updating files: 99% (18321/18506)
Updating files: 100% (18506/18506)
Updating files: 100% (18506/18506), done.
HEAD is now at 9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0
Merge made by the 'ort' strategy.
packages/matcha/matcha.0.1.0/opam | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 packages/matcha/matcha.0.1.0/opam
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9)
2026-03-19 08:10.04 ---> saved as "cf0c2304b83e3fa1f5fb18527b7515c7861c7333dfe7346189be395de143519f"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-19 08:10.05 ---> saved as "92a62f424af154117e6dee3e95431a4a1815e3efaac403a24f6730baa5ff8c5e"
/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-03-19 08:10.32 ---> saved as "3a15de86ce668ff98b3ac1daa2c22d412aa027de3f4edf8f61e779fece29f941"
/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=ubuntu os-version=24.04
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, 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.2
2026-03-19 08:10.33 ---> saved as "d5b831ae5985fe8733b5b0efbb8d7d2e2878a9e7d501d56fd6e95d404c87c6e5"
/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-03-19 08:10.45 ---> saved as "af7ee4ba54152b1966121887ed7a6016ad78996b5a215edb62567da9e3defe03"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-19 08:10.57 ---> saved as "7642e249297af7c142130e39505cddbd0e0c14a1c19f40e2d73fab491c2db1fe"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-19 08:11.22 ---> saved as "f5f1c4e21a44027d342741125420d26a182ae07145e2b9989c2cd5ad4d2a1120"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1262 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1944 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3406 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2028 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3577 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2324 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.5 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [695 B]
- Fetched 15.0 MB in 4s (3964 kB/s)
- Reading package lists...
-
2026-03-19 08:11.28 ---> saved as "a01ecbd7fde8fa439bfb31cb34410f0ee1aa2f70235fa5213e35f2ae0eb25219"
/home/opam: (run (shell "opam pin add -k version -yn matcha.0.1.0 0.1.0"))
matcha is now pinned to version 0.1.0
2026-03-19 08:11.30 ---> saved as "0da2421b1058e3ca6193f863388c4ffb27ef0f12e496517b1e608cd9d51add14"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall matcha.0.1.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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'matcha.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
matcha.0.1.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- matcha -> ocaml >= 5.3.0 -> ocaml-variants < 5.6.1~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- matcha -> ocaml >= 5.3.0 -> ocaml-variants < 5.6.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- matcha -> ocaml >= 5.3.0 -> ocaml-variants < 5.6.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall matcha.0.1.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 "\"ubuntu-24.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'matcha.0.1.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-03-19 08:11.56: Job failed: Failed: Build failed
2026-03-19 08:11.56: Log analysis:
2026-03-19 08:11.56: >>>
No solution found, exiting
(score = 100)
2026-03-19 08:11.56: [SKIP] Package not available