(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 ubuntu-24.04-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:ubuntu-24.04-ocaml-4.14@sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22
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 "\"ubuntu-24.04\""; 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:ubuntu-24.04-ocaml-4.14@sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22-lstar.1.0-e5ab047b033e89fa4026a3a78b062664a0cf8a36"
2026-05-08 18:45.20: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22)
(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 \"\\\"ubuntu-24.04\\\"\"; 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 doris.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:ubuntu-24.04-ocaml-4.14@sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22' locally
docker.io/ocaml/opam@sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22: Pulling from ocaml/opam
b40150c1c271: Already exists
5635dddaaf61: Already exists
0a6d5f853ae3: Already exists
799f202be4df: Already exists
b903f564077a: Already exists
6c1d10b3d08f: Already exists
5f5807185d05: Already exists
070c54c49939: Already exists
c74f78aa4319: Already exists
08f490e2d1d6: Already exists
90f22d77deb3: Already exists
7934f3d64cde: Already exists
c9675ca4ea04: Already exists
2d56e81bc648: Already exists
747607799543: Already exists
620bc2c277c5: Already exists
bd268c40989e: Already exists
bd268c40989e: Already exists
52dd6f008393: Already exists
1ac04842be81: Already exists
e50d59eb16a8: Already exists
5dcb466db21c: Already exists
4f4fb700ef54: Already exists
155ed5167872: Already exists
0d0ddeec4e9f: Already exists
11a59e72671d: Already exists
f5e116e6aaf6: Already exists
95c72a92d56a: Already exists
711d037d18c7: Already exists
100470c8287d: Already exists
76c9f10ccc79: Already exists
18a3f6bf5510: Already exists
964c51b347ff: Already exists
4020793ba1b6: Already exists
ff88a2087566: Already exists
729f7f91e2a8: Pulling fs layer
247c3d79b5e7: Pulling fs layer
b0fb803e63c5: Pulling fs layer
729f7f91e2a8: Waiting
247c3d79b5e7: Waiting
9a1af75a1a28: Pulling fs layer
b0fb803e63c5: Waiting
f27cff70385c: Pulling fs layer
9a1af75a1a28: Waiting
a8ea54aedec2: Pulling fs layer
f27cff70385c: Waiting
9566bade27ac: Pulling fs layer
a8ea54aedec2: Waiting
3722da74df6c: Pulling fs layer
7d0f5310fd4c: Pulling fs layer
9566bade27ac: Waiting
3722da74df6c: Waiting
eda2023b121c: Pulling fs layer
7d0f5310fd4c: Waiting
eda2023b121c: Waiting
247c3d79b5e7: Download complete
b0fb803e63c5: Verifying Checksum
b0fb803e63c5: Download complete
9a1af75a1a28: Verifying Checksum
9a1af75a1a28: Download complete
729f7f91e2a8: Verifying Checksum
729f7f91e2a8: Download complete
f27cff70385c: Download complete
a8ea54aedec2: Download complete
3722da74df6c: Download complete
7d0f5310fd4c: Download complete
eda2023b121c: Verifying Checksum
eda2023b121c: Download complete
9566bade27ac: Download complete
729f7f91e2a8: Pull complete
247c3d79b5e7: Pull complete
b0fb803e63c5: Pull complete
9a1af75a1a28: Pull complete
f27cff70385c: Pull complete
a8ea54aedec2: Pull complete
9566bade27ac: Pull complete
3722da74df6c: Pull complete
7d0f5310fd4c: Pull complete
eda2023b121c: Pull complete
Digest: sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22
Status: Downloaded newer image for ocaml/opam@sha256:7572be9d240551b5e249dbade7993791beb2335b935e1f4b2ca7a8d220f20b22
2026-05-08 18:45.47 ---> using "66c29dee902c53ca838294f218fc88abb84b13e2eea9b5bdeaca27262e3a973e" 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.47 ---> using "38438921e0b61753b833904b7a689cd77bdefa9123f45fa961b52a6bec1250ab" 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.
[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
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-05-08 18:45.47 ---> using "934a68a0fb82765852ea709b27725259d713f30cc921cb1d891391266068fbe7" 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=ubuntu os-version=24.04
# 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 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.47 ---> using "70036b4a491425a4066e25c19207a07491b7ad7b243a706326a443fbb1f1b041" 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.47 ---> using "e8d4bf676b3b528d66e02d49f2db34e5f60334e34eac907862db6ab65796d9c9" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-08 18:45.58 ---> saved as "fa5bf91ce36f6ece51cba62e8a0b4fe92f9c0ec22fc19974c4c9b17a5a3c2031"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-08 18:46.16 ---> saved as "646116b03244cc49ba8b12fccafc640133d4422207c7bc29600102f2af08915a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [2038 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3824 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2145 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3610 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2412 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [54.1 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.5 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.0 kB]
- Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1502 kB]
- Fetched 16.0 MB in 1s (11.0 MB/s)
- Reading package lists...
-
2026-05-08 18:46.19 ---> saved as "f79b6f66372741a75816cb34e6e6df03b2ca136c306414c1718a39c1b5ce58c3"
/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.20 ---> saved as "95c8868a60b8271dbbf575fb7ab7a74e4f17c18d234c15c3a8c3cceddfbcec42"
/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 \"\\\"ubuntu-24.04\\\"\"; 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 255 @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 255 @install
# exit-code 1
# env-file ~/.opam/log/lstar-8-c2daf3.env
# output-file ~/.opam/log/lstar-8-c2daf3.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-20260508184620.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 "\"ubuntu-24.04\""; 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:46.54: Job failed: Failed: Build failed
2026-05-08 18:46.54: Log analysis:
2026-05-08 18:46.54: >>>
[ERROR] The compilation of lstar.1.0 failed at "dune build -p lstar -j 255 @install".
(score = 20)
2026-05-08 18:46.54: >>>
# Error: Program rocq not found in the tree or in PATH
(score = 48)
2026-05-08 18:46.54: Program rocq not found in the tree or in PATH