(for PR #29883)
2026-05-08 18:45.20: New job: build lstar.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29883/head (e5ab047b033e89fa4026a3a78b062664a0cf8a36)
on debian-unstable-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/29883/head" && git reset --hard e5ab047b
git fetch origin master
git merge --no-edit fc08333d1ba03c1ffbc960479a92aa94085c5f78
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:d505579654ab0fe0c9e8c7a6bc66eb17edcb20163beadc8444ac8ca79b9f6956
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 lstar.1.0 1.0
RUN opam reinstall lstar.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 "\"debian-unstable\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lstar.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-05-08 18:45.20: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:d505579654ab0fe0c9e8c7a6bc66eb17edcb20163beadc8444ac8ca79b9f6956-lstar.1.0-e5ab047b033e89fa4026a3a78b062664a0cf8a36"
2026-05-08 18:45.20: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:d505579654ab0fe0c9e8c7a6bc66eb17edcb20163beadc8444ac8ca79b9f6956)
(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 lstar.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lstar.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 \"\\\"debian-unstable\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lstar.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-05-08 18:45.20: Waiting for resource in pool OCluster
2026-05-08 18:45.20: Waiting for worker…
2026-05-08 18:45.22: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at fc08333d1b Merge pull request #29875 from ocaml/mseri-patch-3
Updating fc08333d1b..e5ab047b03
Fast-forward
packages/lstar-rocq/lstar-rocq.1.0/opam | 39 +++++++++++++++++++++++++++++++++
packages/lstar/lstar.1.0/opam | 38 ++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
create mode 100644 packages/lstar-rocq/lstar-rocq.1.0/opam
create mode 100644 packages/lstar/lstar.1.0/opam
(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:d505579654ab0fe0c9e8c7a6bc66eb17edcb20163beadc8444ac8ca79b9f6956)
2026-05-08 18:45.46 ---> using "d97352eb1c3441025cc045c0cdebb2766fd67fa291aca4587a70aba5778579b8" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-08 18:45.46 ---> using "a25fcf9730a6febbd3f03f862f862a63538aeab65119abae26b618440d1228fe" 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-05-08 18:45.46 ---> using "c30ad044a8eb71305b33855ab15a29cde2983fe48db24d5440a61da9d5065214" 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.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 2 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, 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.3
2026-05-08 18:45.46 ---> using "5a082c4e7d7af1a7b8528e8d26c2e1c52aa76d1c846869dbf1ef93e7b7c3a3c4" 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/"))
2026-05-08 18:45.46 ---> using "674dd27c751dc4bfe2e3e3efba52c63f5ee5b2aae87fafe85eaadea48942874e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-08 18:46.01 ---> saved as "0ee2c7f4949f0cd4cf39ed2cc70d93988ce145a1c94dd66406a8814f6b6a2144"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-08 18:46.20 ---> saved as "8c9a897a14df25abd3b7335243a3485a905708d1ccb27d1b57ae42ce65cc33ae"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [189 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-05-08-0800.34-F-2026-05-02-0803.20.pdiff [795 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-05-08-0800.34-F-2026-05-02-0803.20.pdiff [795 kB]
- Fetched 1048 kB in 3s (350 kB/s)
- Reading package lists...
2026-05-08 18:46.26 ---> saved as "29d7d93a58708101c6520026ec5757a38f394f8d52a86758a428092460b617b9"
/home/opam: (run (shell "opam pin add -k version -yn lstar.1.0 1.0"))
lstar is now pinned to version 1.0
2026-05-08 18:46.28 ---> saved as "667965e15a1c1eef3534649b052586897391edf4c3eb0ddc250f70c1a4768983"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lstar.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 \"\\\"debian-unstable\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lstar.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"))
lstar.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.23.0 [required by lstar]
- install lstar 1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.0 (cached)
-> retrieved lstar.1.0 (https://github.com/CharlesAverill/lstar-rocq/releases/download/v1.0/lstar-rocq-1.0.tbz)
-> installed dune.3.23.0
[ERROR] The compilation of lstar.1.0 failed at "dune build -p lstar -j 71 @install".
#=== ERROR while compiling lstar.1.0 ==========================================#
# context 2.5.1 | linux/x86_64 | ocaml-base-compiler.4.14.3 | pinned(https://github.com/CharlesAverill/lstar-rocq/releases/download/v1.0/lstar-rocq-1.0.tbz)
# path ~/.opam/4.14/.opam-switch/build/lstar.1.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p lstar -j 71 @install
# exit-code 1
# env-file ~/.opam/log/lstar-7-baf5ff.env
# output-file ~/.opam/log/lstar-7-baf5ff.out
### output ###
# File "lib/dune", lines 1-5, characters 0-138:
# 1 | (rocq.extraction
# 2 | (prelude Extraction)
# 3 | (extracted_modules Lstar Datatypes
# 4 | Language Specif ListLemmas List)
# 5 | (theories Stdlib lstar))
# Error: Program rocq not found in the tree or in PATH
# (context: default)
# Hint: opam install rocq-runtime
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build lstar 1.0
+-
+- The following changes have been performed
| - install dune 3.23.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/4.14/.opam-switch/backup/state-20260508184629.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 lstar.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 "\"debian-unstable\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'lstar.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
2026-05-08 18:47.11: Job failed: Failed: Build failed
2026-05-08 18:47.11: Log analysis:
2026-05-08 18:47.11: >>>
[ERROR] The compilation of lstar.1.0 failed at "dune build -p lstar -j 71 @install".
(score = 20)
2026-05-08 18:47.11: >>>
# Error: Program rocq not found in the tree or in PATH
(score = 48)
2026-05-08 18:47.11: Program rocq not found in the tree or in PATH