(for PR #29030)
2025-12-07 04:58.04: New job: build melange-testing-library.0.2.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29030/head (4ef7835fadf0f40eb424e189c0eb87126d2e5d9c)
on fedora-43-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/29030/head" && git reset --hard 4ef7835f
git fetch origin master
git merge --no-edit 2ab7464b16d46be89975bea0595240dd3fccf608
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-5.4@sha256:61befa958a8085e3a47782dd7eb9050129e702e9b206b08d9703421ac43245f9
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 melange-testing-library.0.2.0 0.2.0
RUN opam reinstall melange-testing-library.0.2.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 "\"fedora-43\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'melange-testing-library.0.2.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-07 04:58.04: Using cache hint "ocaml/opam:fedora-43-ocaml-5.4@sha256:61befa958a8085e3a47782dd7eb9050129e702e9b206b08d9703421ac43245f9-melange-testing-library.0.2.0-4ef7835fadf0f40eb424e189c0eb87126d2e5d9c"
2025-12-07 04:58.04: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:61befa958a8085e3a47782dd7eb9050129e702e9b206b08d9703421ac43245f9)
(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 melange-testing-library.0.2.0 0.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange-testing-library.0.2.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 \"\\\"fedora-43\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'melange-testing-library.0.2.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-07 04:58.04: Waiting for resource in pool OCluster
2025-12-07 04:58.05: Waiting for worker…
2025-12-07 04:58.05: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 81% (15521/18981)
Updating files: 82% (15565/18981)
Updating files: 83% (15755/18981)
Updating files: 84% (15945/18981)
Updating files: 85% (16134/18981)
Updating files: 86% (16324/18981)
Updating files: 87% (16514/18981)
Updating files: 88% (16704/18981)
Updating files: 89% (16894/18981)
Updating files: 90% (17083/18981)
Updating files: 91% (17273/18981)
Updating files: 92% (17463/18981)
Updating files: 93% (17653/18981)
Updating files: 94% (17843/18981)
Updating files: 95% (18032/18981)
Updating files: 96% (18222/18981)
Updating files: 97% (18412/18981)
Updating files: 98% (18602/18981)
Updating files: 99% (18792/18981)
Updating files: 100% (18981/18981)
Updating files: 100% (18981/18981), done.
HEAD is now at 2ab7464b16 Merge pull request #29022 from thatportugueseguy/release-passage-0.3.1
Updating 2ab7464b16..4ef7835fad
Fast-forward
.../melange-testing-library.0.2.0/opam | 51 ++++++++++++++++++++++
1 file changed, 51 insertions(+)
create mode 100644 packages/melange-testing-library/melange-testing-library.0.2.0/opam
(from ocaml/opam:fedora-43-ocaml-5.4@sha256:61befa958a8085e3a47782dd7eb9050129e702e9b206b08d9703421ac43245f9)
2025-12-07 04:58.39 ---> using "ed94d79873ce69028ca7d0106aea8798e8d8ae1a77d49caef211aad4b1e79417" 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-07 04:58.39 ---> using "c3aab24a51c0079c7a36f81192e7b14368221a2cb170623a3497373addc836f2" 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
2025-12-07 04:58.39 ---> using "8200f2c996487650a7b2606a98a33c81c22a89f3d7712ed4c73377d73d0e7d64" 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=fedora os-version=43
# 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.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-07 04:58.39 ---> using "2151170c4d08b240ad664dcee0956bb8b562ca1d2b09bbf0e99c8ed5b234be92" 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-07 04:58.39 ---> using "6cab84bf4621ac2839245e59b1de896807a9daf34837625a95f58a2e3d4dffae" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-07 04:58.49 ---> saved as "5675f9b004c4e1a8f5ee44ec398e57a7d56a75479c20e40855e976bd8950f6d7"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-07 04:59.18 ---> saved as "6e1f33b9d09203a326b00c106712b4f11e62618936634f38f36b4c44315fce62"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 43 - x86_64 100% | 62.8 KiB/s | 22.3 KiB | 00m00s
- Fedora 43 - x86_64 - Updates 100% | 43.2 KiB/s | 7.0 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-12-07 04:59.23 ---> saved as "128a6bc30fb90cbbcfc6902213d6828c0b567abb772bc5a61bf260c09a7bd131"
/home/opam: (run (shell "opam pin add -k version -yn melange-testing-library.0.2.0 0.2.0"))
melange-testing-library is now pinned to version 0.2.0
2025-12-07 04:59.24 ---> saved as "9fd0927e3bcd34f848c07c2ebdb44d80138d5f33e7e255d953185ec4938bf566"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange-testing-library.0.2.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 \"\\\"fedora-43\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'melange-testing-library.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
melange-testing-library.0.2.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- melange-testing-library >= 0.2.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- melange-testing-library >= 0.2.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> ocaml-variants (< 4.00.2~ | >= 4.01.0)
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0 -> ocaml-compiler = 5.4.0 -> base-effects
- melange-testing-library >= 0.2.0 -> melange >= 5.0.0 -> ppxlib < 0.36.0
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0 -> ocaml-compiler = 5.4.0 -> base-effects
- melange-testing-library >= 0.2.0 -> melange >= 5.0.0 -> ppxlib < 0.36.0 -> ocaml-migrate-parsetree >= 1.3.1
* Missing dependency:
- melange-testing-library >= 0.2.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> 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.4.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- melange-testing-library >= 0.2.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> ocaml-variants >= 4.01.0 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- melange-testing-library >= 0.2.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> ocaml-variants >= 4.01.0 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall melange-testing-library.0.2.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 "\"fedora-43\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'melange-testing-library.0.2.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
2025-12-07 04:59.52: Job failed: Failed: Build failed
2025-12-07 04:59.52: Log analysis:
2025-12-07 04:59.52: >>>
No solution found, exiting
(score = 100)
2025-12-07 04:59.52: [SKIP] Package not available