(for PR #28917)
2025-11-18 13:14.28: New job: build salto-analyzer.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28917/head (3a30a99940d7e265723c7b3f522a70efdb9ec65a)
on ubuntu-25.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/28917/head" && git reset --hard 3a30a999
git fetch origin master
git merge --no-edit 1c92c86556d4b9c73229d94763be9715317321bc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd
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 salto-analyzer.0.2 0.2
RUN opam reinstall salto-analyzer.0.2; \
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-25.10\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'salto-analyzer.0.2' && 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-11-18 13:14.28: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd-salto-analyzer.0.2-3a30a99940d7e265723c7b3f522a70efdb9ec65a"
2025-11-18 13:14.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd)
(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 salto-analyzer.0.2 0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall salto-analyzer.0.2;\
\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-25.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\" != 'salto-analyzer.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-18 13:14.28: Waiting for resource in pool OCluster
2025-11-18 13:14.28: Waiting for worker…
2025-11-18 13:14.28: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 1c92c86556 Merge pull request #28847 from nikochiko/opam-publish-raga.0.1.0
Updating 1c92c86556..3a30a99940
Fast-forward
packages/salto-analyzer/salto-analyzer.0.2/opam | 64 +++++++++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 packages/salto-analyzer/salto-analyzer.0.2/opam
(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd)
2025-11-18 13:14.50 ---> using "7ce17c267a86e0a70384cef463c12263b6057c7887bf91e8682003fa7f1f4cae" 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-11-18 13:14.50 ---> using "0351ce2a8475a90ae6913d0fb1c46f508e62203c1cb723321aaa8fe3eac7f87b" 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-11-18 13:14.50 ---> using "1b13cb5abf95043718e2bf5b3adf32977fa09cf2b23efc95b84a90108ad7fd0c" 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~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=25.10
# 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-11-18 13:14.50 ---> using "6365d27093af49a56cba40c0cc882f5930156d55dfe31b93bbfcc93d6ce9fcb9" 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-11-18 13:14.50 ---> using "b8fefffbe1d12364f133aae82027ac2a463461d7f99f63dfe7cd95170ab0cfa6" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-18 13:15.02 ---> saved as "1cd4dab16c46c2c3b62422ad6a5e80d36f951806e7d5293fb33787368cbcf26f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-18 13:15.21 ---> saved as "c0aa2a9ec3ef1f033482e5101a32b692831f06a02eab09ae108ce3041bd8c8a8"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:2 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [48.3 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [78.2 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [72.8 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [149 kB]
- Fetched 753 kB in 1s (962 kB/s)
- Reading package lists...
-
2025-11-18 13:15.24 ---> saved as "ad7406f4897103e0af5ac046ac947ea716d9e402d73f1b1fec03d464128a962e"
/home/opam: (run (shell "opam pin add -k version -yn salto-analyzer.0.2 0.2"))
salto-analyzer is now pinned to version 0.2
2025-11-18 13:15.25 ---> saved as "5af8fcf00e8b3bc550f9f1b19fd13537455814c35324ae9d677687290e182fc1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall salto-analyzer.0.2;\
\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-25.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\" != 'salto-analyzer.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
salto-analyzer.0.2 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- salto-analyzer >= 0.2 -> saltoIL >= 0.2.0 -> ocaml < 4.15.0 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- salto-analyzer >= 0.2 -> saltoIL >= 0.2.0 -> ocaml < 4.15.0 -> ocaml-variants (< 4.00.1~ | >= 4.00.1)
* Missing dependency:
- salto-analyzer >= 0.2 -> saltoIL >= 0.2.0 -> ocaml < 4.15.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.4.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- salto-analyzer >= 0.2 -> saltoIL >= 0.2.0 -> ocaml < 4.15.0 -> ocaml-variants >= 4.00.1 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- salto-analyzer >= 0.2 -> saltoIL >= 0.2.0 -> ocaml < 4.15.0 -> ocaml-variants >= 4.00.1 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall salto-analyzer.0.2;
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-25.10\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'salto-analyzer.0.2' && 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-11-18 13:15.42: Job failed: Failed: Build failed
2025-11-18 13:15.42: Log analysis:
2025-11-18 13:15.42: >>>
No solution found, exiting
(score = 100)
2025-11-18 13:15.42: [SKIP] Package not available