- github
- ocaml
- opam-repository
- dc256e
- distributions,archlinux-ocaml-5.4,melange-jest.0.2.0
(not at the head of any monitored branch or PR)
2025-12-07 04:55.09: New job: build melange-jest.0.2.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29029/head (dc256e36cd2114951fe07f4321c2b26e4bb14d33)
on archlinux-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/29029/head" && git reset --hard dc256e36
git fetch origin master
git merge --no-edit 2ab7464b16d46be89975bea0595240dd3fccf608
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:c1b7a2713e8fd7265180d81dbb94c227ec7ab2d38438f9a0d0550f9a062bc59c
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-jest.0.2.0 0.2.0
RUN opam reinstall melange-jest.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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'melange-jest.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:55.09: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:c1b7a2713e8fd7265180d81dbb94c227ec7ab2d38438f9a0d0550f9a062bc59c-melange-jest.0.2.0-dc256e36cd2114951fe07f4321c2b26e4bb14d33"
2025-12-07 04:55.09: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:c1b7a2713e8fd7265180d81dbb94c227ec7ab2d38438f9a0d0550f9a062bc59c)
(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-jest.0.2.0 0.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange-jest.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 \"\\\"archlinux\\\"\"; 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-jest.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:55.09: Waiting for resource in pool OCluster
2025-12-07 04:55.10: Waiting for worker…
2025-12-07 04:55.11: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 2ab7464b16 Merge pull request #29022 from thatportugueseguy/release-passage-0.3.1
Updating 2ab7464b16..dc256e36cd
Fast-forward
packages/melange-jest/melange-jest.0.2.0/opam | 48 +++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 packages/melange-jest/melange-jest.0.2.0/opam
(from ocaml/opam:archlinux-ocaml-5.4@sha256:c1b7a2713e8fd7265180d81dbb94c227ec7ab2d38438f9a0d0550f9a062bc59c)
2025-12-07 04:56.28 ---> saved as "f98575fe04c0dde0088c5408ec4fa0752f0f8a5a39cdbc2f54a389f38776e3cd"
/: (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:56.28 ---> saved as "6d3f6a997f501ebdc7bb9d7b5f2b9ea9a12384a4f12b526c9191e6cf8c4f74f4"
/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:56.55 ---> saved as "3ac1453036087ca1aa8df0e2967d9275854e271f2a02f7be903184171f62719d"
/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=arch os-version=20251019.0.436919
# 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:56.56 ---> saved as "b97fcf8b1487d3ef1aabdb4ad50cb40a754b8687fd0fbda772f6d44ac00ac0ea"
/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:57.05 ---> saved as "02cc186b2759485161e9efab513390fcff9af066f3e432eae00539f9a2d0cabe"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-07 04:57.16 ---> saved as "e257f073f65b8362d66921fa25712f0b9354cc7996a5b9be92c5e9185e0fdd1d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-07 04:57.36 ---> saved as "ab9ef5ac5b794c70562e567a1f923ef5f264c6192940d1fb88f12c22180a6b16"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-12-07 04:57.37 ---> saved as "e6c0b1859cbb671ef650197d32d57aaae0e3359dc534e91013a80e4594881bb4"
/home/opam: (run (shell "opam pin add -k version -yn melange-jest.0.2.0 0.2.0"))
melange-jest is now pinned to version 0.2.0
2025-12-07 04:57.38 ---> saved as "2de2527e81f4ccb4c951a055ff66ec14a801edb42636f00d87d1db50af13618b"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange-jest.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 \"\\\"archlinux\\\"\"; 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-jest.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-jest.0.2.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) → ocaml-base-compiler >= 5.4.0
- melange-jest >= 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-jest >= 0.2.0 → melange >= 5.0.0 → ocaml < 5.2 → ocaml-variants (< 4.00.1~ | >= 4.00.1)
* Incompatible packages:
- (invariant) → ocaml-base-compiler >= 5.4.0 → ocaml-compiler = 5.4.0 → base-effects
- melange-jest >= 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-jest >= 0.2.0 → melange >= 5.0.0 → ppxlib < 0.36.0 → ocaml-migrate-parsetree >= 1.3.1
* Missing dependency:
- melange-jest >= 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-jest >= 0.2.0 → melange >= 5.0.0 → ocaml < 5.2 → ocaml-variants >= 4.00.1 → ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- melange-jest >= 0.2.0 → melange >= 5.0.0 → ocaml < 5.2 → ocaml-variants >= 4.00.1 → system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall melange-jest.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 "\"archlinux\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'melange-jest.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:57.56: Job failed: Failed: Build failed
2025-12-07 04:57.56: Log analysis:
2025-12-07 04:57.56: >>>
No solution found, exiting
(score = 100)
2025-12-07 04:57.56: [SKIP] Package not available