(for PR #29068)
2025-12-11 20:14.34: New job: build matcha.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29068/head (52abec3711367f750fe08ceba6ce2348a17e222e)
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/29068/head" && git reset --hard 52abec37
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99
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 "\"centos-10\""; 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 .
2025-12-11 20:14.34: Using cache hint "ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99-matcha.0.1.0-52abec3711367f750fe08ceba6ce2348a17e222e"
2025-12-11 20:14.34: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99)
(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 \"\\\"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\" != '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"))
)
2025-12-11 20:14.34: Waiting for resource in pool OCluster
2025-12-11 20:22.08: Waiting for worker…
2025-12-11 20:24.30: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..52abec3711
Fast-forward
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:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99' locally
docker.io/ocaml/opam@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99: Pulling from ocaml/opam
e1bb457855d6: Pulling fs layer
37a4a77f7906: Pulling fs layer
57313abb0083: Pulling fs layer
591766381568: Pulling fs layer
b7fa900db16c: Pulling fs layer
7feb75515588: Pulling fs layer
9503655134bc: Pulling fs layer
f00c5e28dfae: Pulling fs layer
39aa5dbf55f3: Pulling fs layer
b7fa900db16c: Waiting
6c7ae407d7f5: Pulling fs layer
7feb75515588: Waiting
0d391e087c8c: Pulling fs layer
9503655134bc: Waiting
ab56121c523b: Pulling fs layer
591766381568: Waiting
f00c5e28dfae: Waiting
6c7ae407d7f5: Waiting
73f2d5aa17c4: Pulling fs layer
39aa5dbf55f3: Waiting
3bed29eb40de: Pulling fs layer
922bd987eaa5: Pulling fs layer
0d391e087c8c: Waiting
0daafe35f2b2: Pulling fs layer
9dc720128cd1: Pulling fs layer
73f2d5aa17c4: Waiting
ab56121c523b: Waiting
38dd752c7ef2: Pulling fs layer
3bed29eb40de: Waiting
0daafe35f2b2: Waiting
922bd987eaa5: Waiting
7cdc2195ba8b: Pulling fs layer
38dd752c7ef2: Waiting
dce703fca8f9: Pulling fs layer
27ab30fcf2dd: Pulling fs layer
7cdc2195ba8b: Waiting
dce703fca8f9: Waiting
9dc720128cd1: Waiting
890c4f07154a: Pulling fs layer
27ab30fcf2dd: Waiting
4f4fb700ef54: Pulling fs layer
890c4f07154a: Waiting
a318dc7e10ac: Pulling fs layer
4f4fb700ef54: Waiting
7e1bc2ec78fe: Pulling fs layer
347c0c01d4ff: Pulling fs layer
7e1bc2ec78fe: Waiting
d82bcd1eb104: Pulling fs layer
347c0c01d4ff: Waiting
c1a61cbfcbe5: Pulling fs layer
903ebff7829c: Pulling fs layer
c1a61cbfcbe5: Waiting
5ac715f615c0: Pulling fs layer
903ebff7829c: Waiting
01c68a7fa26b: Pulling fs layer
a42c7ff6a9d2: Pulling fs layer
01c68a7fa26b: Waiting
e286e8102243: Pulling fs layer
a318dc7e10ac: Waiting
a42c7ff6a9d2: Waiting
260919f750e2: Pulling fs layer
e286e8102243: Waiting
283e51cb0888: Pulling fs layer
a93165cea129: Pulling fs layer
6786ac758851: Pulling fs layer
5ac715f615c0: Waiting
260919f750e2: Waiting
a93165cea129: Waiting
283e51cb0888: Waiting
b4e79a0ede7c: Pulling fs layer
6786ac758851: Waiting
b08a0ed94141: Pulling fs layer
b4e79a0ede7c: Waiting
f9104e7394e2: Pulling fs layer
b08a0ed94141: Waiting
c956f9904e07: Pulling fs layer
f9104e7394e2: Waiting
b4b80d50f803: Pulling fs layer
6e10c78008a3: Pulling fs layer
c956f9904e07: Waiting
b4b80d50f803: Waiting
6e10bca963a9: Pulling fs layer
d82bcd1eb104: Waiting
a8dfeb28a384: Pulling fs layer
6e10bca963a9: Waiting
e2f346f01a86: Pulling fs layer
a8dfeb28a384: Waiting
e2f346f01a86: Waiting
6e10c78008a3: Waiting
37a4a77f7906: Verifying Checksum
37a4a77f7906: Download complete
57313abb0083: Verifying Checksum
57313abb0083: Download complete
b7fa900db16c: Verifying Checksum
b7fa900db16c: Download complete
7feb75515588: Verifying Checksum
7feb75515588: Download complete
591766381568: Verifying Checksum
591766381568: Download complete
9503655134bc: Verifying Checksum
9503655134bc: Download complete
f00c5e28dfae: Verifying Checksum
f00c5e28dfae: Download complete
e1bb457855d6: Verifying Checksum
e1bb457855d6: Download complete
39aa5dbf55f3: Verifying Checksum
39aa5dbf55f3: Download complete
0d391e087c8c: Verifying Checksum
0d391e087c8c: Download complete
6c7ae407d7f5: Verifying Checksum
6c7ae407d7f5: Download complete
3bed29eb40de: Download complete
73f2d5aa17c4: Verifying Checksum
73f2d5aa17c4: Download complete
ab56121c523b: Verifying Checksum
ab56121c523b: Download complete
0daafe35f2b2: Download complete
9dc720128cd1: Download complete
922bd987eaa5: Verifying Checksum
922bd987eaa5: Download complete
38dd752c7ef2: Download complete
7cdc2195ba8b: Verifying Checksum
7cdc2195ba8b: Download complete
dce703fca8f9: Download complete
890c4f07154a: Verifying Checksum
890c4f07154a: Download complete
27ab30fcf2dd: Verifying Checksum
27ab30fcf2dd: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
a318dc7e10ac: Verifying Checksum
a318dc7e10ac: Download complete
347c0c01d4ff: Download complete
d82bcd1eb104: Download complete
7e1bc2ec78fe: Verifying Checksum
7e1bc2ec78fe: Download complete
c1a61cbfcbe5: Download complete
903ebff7829c: Verifying Checksum
903ebff7829c: Download complete
5ac715f615c0: Verifying Checksum
5ac715f615c0: Download complete
01c68a7fa26b: Verifying Checksum
01c68a7fa26b: Download complete
a42c7ff6a9d2: Verifying Checksum
a42c7ff6a9d2: Download complete
e286e8102243: Verifying Checksum
e286e8102243: Download complete
260919f750e2: Download complete
283e51cb0888: Verifying Checksum
283e51cb0888: Download complete
6786ac758851: Verifying Checksum
b08a0ed94141: Download complete
f9104e7394e2: Verifying Checksum
f9104e7394e2: Download complete
c956f9904e07: Download complete
b4b80d50f803: Verifying Checksum
b4b80d50f803: Download complete
e1bb457855d6: Pull complete
37a4a77f7906: Pull complete
57313abb0083: Pull complete
6e10c78008a3: Verifying Checksum
6e10c78008a3: Download complete
6e10bca963a9: Verifying Checksum
6e10bca963a9: Download complete
a8dfeb28a384: Verifying Checksum
a8dfeb28a384: Download complete
e2f346f01a86: Verifying Checksum
e2f346f01a86: Download complete
a93165cea129: Verifying Checksum
a93165cea129: Download complete
b4e79a0ede7c: Verifying Checksum
b4e79a0ede7c: Download complete
591766381568: Pull complete
b7fa900db16c: Pull complete
7feb75515588: Pull complete
9503655134bc: Pull complete
f00c5e28dfae: Pull complete
39aa5dbf55f3: Pull complete
6c7ae407d7f5: Pull complete
0d391e087c8c: Pull complete
ab56121c523b: Pull complete
73f2d5aa17c4: Pull complete
3bed29eb40de: Pull complete
922bd987eaa5: Pull complete
0daafe35f2b2: Pull complete
9dc720128cd1: Pull complete
38dd752c7ef2: Pull complete
7cdc2195ba8b: Pull complete
dce703fca8f9: Pull complete
27ab30fcf2dd: Pull complete
890c4f07154a: Pull complete
4f4fb700ef54: Pull complete
a318dc7e10ac: Pull complete
7e1bc2ec78fe: Pull complete
347c0c01d4ff: Pull complete
d82bcd1eb104: Pull complete
c1a61cbfcbe5: Pull complete
903ebff7829c: Pull complete
5ac715f615c0: Pull complete
01c68a7fa26b: Pull complete
a42c7ff6a9d2: Pull complete
e286e8102243: Pull complete
260919f750e2: Pull complete
283e51cb0888: Pull complete
a93165cea129: Pull complete
6786ac758851: Pull complete
b4e79a0ede7c: Pull complete
b08a0ed94141: Pull complete
f9104e7394e2: Pull complete
c956f9904e07: Pull complete
b4b80d50f803: Pull complete
6e10c78008a3: Pull complete
6e10bca963a9: Pull complete
a8dfeb28a384: Pull complete
e2f346f01a86: Pull complete
Digest: sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99
Status: Downloaded newer image for ocaml/opam@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99
2025-12-11 20:24.38 ---> using "585d31324eba99552d5ca80f85a48e7e587f9391a47cecb2ad15336f5e2b2ea6" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 20:24.38 ---> using "06f5e1785665d6a8b734eeb6687bc43b944254312939b57474eb61968aae8413" 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
[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
2025-12-11 20:24.38 ---> using "2f55d7d41ecbcc95fa9baf4c23c15a9633f57a8975ea753556d57bff639600e0" from cache
/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.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2025-12-11 20:24.38 ---> using "c0218fb713d1f66c3b2b82409b9b27b710863f7b2ad2b099aa86e7ebd1a21243" from cache
/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/"))
2025-12-11 20:24.38 ---> using "b10f3e05dedc83bf1263bbe8618765e626d7c07f169adbee092de8c8660663b3" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 20:25.11 ---> saved as "cf6709abd975aa1e6387e54162b14b24f0cf547b6771e5ff7492ea7be29be588"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 20:25.30 ---> saved as "c877b9e2a060ecdd4b9c9ce7550a940dcf5a275af917c9bb1f9fcd52eb2c2109"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 101 kB/s | 14 kB 00:00
- CentOS Stream 10 - BaseOS 6.6 MB/s | 6.8 MB 00:01
- CentOS Stream 10 - AppStream 111 kB/s | 14 kB 00:00
- CentOS Stream 10 - AppStream 3.5 MB/s | 3.5 MB 00:00
- CentOS Stream 10 - CRB 112 kB/s | 13 kB 00:00
- CentOS Stream 10 - CRB 3.2 MB/s | 774 kB 00:00
- CentOS Stream 10 - Extras packages 119 kB/s | 15 kB 00:00
- CentOS Stream 10 - Extras packages 50 kB/s | 8.1 kB 00:00
- Metadata cache created.
2025-12-11 20:25.36 ---> saved as "572588c96ab893de9e01214450445fa4eeb5ed9435664c53adfc7cd30682e231"
/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
2025-12-11 20:25.38 ---> saved as "5871ba2e0ecc315edadf906d50f87d50d735a605150092cc4b7e6f7f3a74f21d"
/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 \"\\\"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\" != '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
The following actions will be performed:
=== install 18 packages
- install cmdliner 1.3.0 [required by reason]
- install cppo 1.8.0 [required by reason]
- install dune 3.20.2 [required by matcha]
- install dune-build-info 3.20.2 [required by reason]
- install fix 20250919 [required by reason]
- install matcha 0.1.0 (pinned)
- install menhir 20250912 [required by reason]
- install menhirCST 20250912 [required by menhir]
- install menhirLib 20250912 [required by menhir]
- install menhirSdk 20250912 [required by menhir]
- install merlin-extend 0.6.2 [required by reason]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocamlfind 1.9.8 [required by reason]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.37.0 [required by matcha]
- install reason 3.17.2 [required by matcha]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved dune.3.20.2, dune-build-info.3.20.2 (cached)
-> retrieved fix.20250919 (cached)
-> retrieved matcha.0.1.0 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved merlin-extend.0.6.2 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> installed cmdliner.1.3.0
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved reason.3.17.2 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed cppo.1.8.0
-> installed menhirCST.20250912
-> installed fix.20250919
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed merlin-extend.0.6.2
-> installed menhirSdk.20250912
-> installed sexplib0.v0.17.0
-> installed menhirLib.20250912
-> installed dune-build-info.3.20.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed menhir.20250912
-> installed ppxlib.0.37.0
-> installed reason.3.17.2
[ERROR] The compilation of matcha.0.1.0 failed at "dune build -p matcha -j 255 @install".
#=== ERROR while compiling matcha.0.1.0 =======================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/eldh/matcha/archive/refs/tags/v0.1.0.tar.gz)
# path ~/.opam/5.4/.opam-switch/build/matcha.0.1.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p matcha -j 255 @install
# exit-code 1
# env-file ~/.opam/log/matcha-7-9b5c4b.env
# output-file ~/.opam/log/matcha-7-9b5c4b.out
### output ###
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I ppx/.ppx_component.objs/byte -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4/lib/ppx_derivers -I /home/opam/.opam/5.4/lib/ppxlib -I /home/opam/.opam/5.4/lib/ppxlib/ast -I /home/opam/.opam/5.4/lib/ppxlib/astlib -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/ppxlib/stdppx -I /home/opam/.opam/5.4/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -no-alias-deps -o ppx/.ppx_component.objs/byte/ppx_component.cmo -c -impl ppx/ppx_component.pp.ml)
# File "ppx/ppx_component.ml", line 125, characters 14-22:
# 125 | | Pexp_fun (Labelled label, _default, pat, body) ->
# ^^^^^^^^
# Error: This variant pattern is expected to have type Ppxlib.expression_desc
# There is no constructor Pexp_fun within type Ppxlib.expression_desc
# Hint: Did you mean Pexp_for?
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build matcha 0.1.0
+-
+- The following changes have been performed
| - install cmdliner 1.3.0
| - install cppo 1.8.0
| - install dune 3.20.2
| - install dune-build-info 3.20.2
| - install fix 20250919
| - install menhir 20250912
| - install menhirCST 20250912
| - install menhirLib 20250912
| - install menhirSdk 20250912
| - install merlin-extend 0.6.2
| - install ocaml-compiler-libs v0.17.0
| - install ocamlfind 1.9.8
| - install ppx_derivers 1.2.1
| - install ppxlib 0.37.0
| - install reason 3.17.2
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20251211202538.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/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 "\"centos-10\""; 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 1
2025-12-11 20:27.08: Job failed: Failed: Build failed
2025-12-11 20:27.08: Log analysis:
2025-12-11 20:27.08: >>>
[ERROR] The compilation of matcha.0.1.0 failed at "dune build -p matcha -j 255 @install".
(score = 20)
2025-12-11 20:27.08: >>>
# Error: This variant pattern is expected to have type Ppxlib.expression_desc
(score = 48)
2025-12-11 20:27.08: This variant pattern is expected to have type Ppxlib.expression_desc