(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-22.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-22.04-ocaml-4.14@sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226
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-22.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-22.04-ocaml-4.14@sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226-lstar.1.0-e5ab047b033e89fa4026a3a78b062664a0cf8a36"
2026-05-08 18:45.20: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226)
 (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-22.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 eumache.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-22.04-ocaml-4.14@sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226' locally
docker.io/ocaml/opam@sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226: Pulling from ocaml/opam
f63eb04151bc: Already exists
1ab945071d18: Pulling fs layer
6ba266a2453f: Pulling fs layer
0514cec46312: Pulling fs layer
419b01f337c6: Pulling fs layer
1ab945071d18: Waiting
8f244a8aa8b6: Pulling fs layer
6ba266a2453f: Waiting
253a894483c9: Pulling fs layer
0514cec46312: Waiting
419b01f337c6: Waiting
d0c787c3fdd5: Pulling fs layer
8f244a8aa8b6: Waiting
41a0d39d9aad: Pulling fs layer
d0c787c3fdd5: Waiting
253a894483c9: Waiting
cba0d12c58df: Pulling fs layer
41a0d39d9aad: Waiting
9ab07a5e935c: Pulling fs layer
cba0d12c58df: Waiting
e8f072d5e7d5: Pulling fs layer
9ab07a5e935c: Waiting
4a9878d3b1f5: Pulling fs layer
45e1e7926849: Pulling fs layer
98bb324602f8: Pulling fs layer
4a9878d3b1f5: Waiting
e8f072d5e7d5: Waiting
703d0dcbe828: Pulling fs layer
98bb324602f8: Waiting
9c3c1b17379e: Pulling fs layer
703d0dcbe828: Waiting
9c3c1b17379e: Waiting
45e1e7926849: Waiting
4f4fb700ef54: Pulling fs layer
7b2afba1e9ae: Pulling fs layer
352b4fc37fe5: Pulling fs layer
4f4fb700ef54: Waiting
7b2afba1e9ae: Waiting
ffe5b2ce9308: Pulling fs layer
352b4fc37fe5: Waiting
7149bfb372da: Pulling fs layer
ffe5b2ce9308: Waiting
7b8ee7a2bf59: Pulling fs layer
7149bfb372da: Waiting
4fe730ce5d72: Pulling fs layer
b9fe6b4adc88: Pulling fs layer
7b8ee7a2bf59: Waiting
4fe730ce5d72: Waiting
4ca024f21158: Pulling fs layer
b9fe6b4adc88: Waiting
325b3cd5fb71: Pulling fs layer
4ca024f21158: Waiting
76fde5e3aa4a: Pulling fs layer
325b3cd5fb71: Waiting
f70a586e94fe: Pulling fs layer
8301af8ec0f6: Pulling fs layer
76fde5e3aa4a: Waiting
f70a586e94fe: Waiting
e533a9f599fa: Pulling fs layer
8301af8ec0f6: Waiting
f78d76426600: Pulling fs layer
175d52ff892d: Pulling fs layer
afb1d38b48f8: Pulling fs layer
e533a9f599fa: Waiting
f78d76426600: Waiting
f904a7acede5: Pulling fs layer
175d52ff892d: Waiting
afb1d38b48f8: Waiting
f904a7acede5: Waiting
e6cf2dd4c3a3: Pulling fs layer
e6cf2dd4c3a3: Waiting
cc493ef3a6fd: Pulling fs layer
d323fc538c1e: Pulling fs layer
c211ea35f30f: Pulling fs layer
accec8a59b4b: Pulling fs layer
cc493ef3a6fd: Waiting
d323fc538c1e: Waiting
a05292fdcb61: Pulling fs layer
c211ea35f30f: Waiting
68f2cd0d087c: Pulling fs layer
accec8a59b4b: Waiting
b0f022ff57a5: Pulling fs layer
a05292fdcb61: Waiting
b0f022ff57a5: Waiting
1ab945071d18: Download complete
1ab945071d18: Pull complete
6ba266a2453f: Verifying Checksum
6ba266a2453f: Pull complete
419b01f337c6: Download complete
0514cec46312: Verifying Checksum
0514cec46312: Download complete
253a894483c9: Verifying Checksum
253a894483c9: Download complete
d0c787c3fdd5: Verifying Checksum
d0c787c3fdd5: Download complete
41a0d39d9aad: Verifying Checksum
41a0d39d9aad: Download complete
cba0d12c58df: Verifying Checksum
cba0d12c58df: Download complete
9ab07a5e935c: Verifying Checksum
9ab07a5e935c: Download complete
0514cec46312: Pull complete
419b01f337c6: Pull complete
e8f072d5e7d5: Verifying Checksum
e8f072d5e7d5: Download complete
4a9878d3b1f5: Verifying Checksum
4a9878d3b1f5: Download complete
45e1e7926849: Verifying Checksum
45e1e7926849: Download complete
98bb324602f8: Verifying Checksum
98bb324602f8: Download complete
703d0dcbe828: Verifying Checksum
703d0dcbe828: Download complete
9c3c1b17379e: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
7b2afba1e9ae: Download complete
352b4fc37fe5: Download complete
ffe5b2ce9308: Verifying Checksum
ffe5b2ce9308: Download complete
7149bfb372da: Verifying Checksum
7149bfb372da: Download complete
7b8ee7a2bf59: Verifying Checksum
7b8ee7a2bf59: Download complete
4fe730ce5d72: Verifying Checksum
4fe730ce5d72: Download complete
b9fe6b4adc88: Verifying Checksum
b9fe6b4adc88: Download complete
4ca024f21158: Verifying Checksum
4ca024f21158: Download complete
325b3cd5fb71: Download complete
76fde5e3aa4a: Download complete
8f244a8aa8b6: Verifying Checksum
8f244a8aa8b6: Download complete
f70a586e94fe: Verifying Checksum
f70a586e94fe: Download complete
8301af8ec0f6: Download complete
e533a9f599fa: Verifying Checksum
e533a9f599fa: Download complete
175d52ff892d: Download complete
f78d76426600: Download complete
f904a7acede5: Download complete
8f244a8aa8b6: Pull complete
253a894483c9: Pull complete
d0c787c3fdd5: Pull complete
41a0d39d9aad: Pull complete
cba0d12c58df: Pull complete
9ab07a5e935c: Pull complete
e8f072d5e7d5: Pull complete
4a9878d3b1f5: Pull complete
45e1e7926849: Pull complete
98bb324602f8: Pull complete
703d0dcbe828: Pull complete
9c3c1b17379e: Pull complete
4f4fb700ef54: Pull complete
7b2afba1e9ae: Pull complete
352b4fc37fe5: Pull complete
ffe5b2ce9308: Pull complete
7149bfb372da: Pull complete
7b8ee7a2bf59: Pull complete
4fe730ce5d72: Pull complete
b9fe6b4adc88: Pull complete
4ca024f21158: Pull complete
325b3cd5fb71: Pull complete
76fde5e3aa4a: Pull complete
f70a586e94fe: Pull complete
8301af8ec0f6: Pull complete
e533a9f599fa: Pull complete
f78d76426600: Pull complete
175d52ff892d: Pull complete
cc493ef3a6fd: Verifying Checksum
cc493ef3a6fd: Download complete
d323fc538c1e: Verifying Checksum
d323fc538c1e: Download complete
c211ea35f30f: Verifying Checksum
c211ea35f30f: Download complete
accec8a59b4b: Verifying Checksum
accec8a59b4b: Download complete
a05292fdcb61: Verifying Checksum
a05292fdcb61: Download complete
68f2cd0d087c: Verifying Checksum
68f2cd0d087c: Download complete
b0f022ff57a5: Download complete
e6cf2dd4c3a3: Verifying Checksum
e6cf2dd4c3a3: Download complete
afb1d38b48f8: Verifying Checksum
afb1d38b48f8: Download complete
afb1d38b48f8: Pull complete
f904a7acede5: Pull complete
e6cf2dd4c3a3: Pull complete
cc493ef3a6fd: Pull complete
d323fc538c1e: Pull complete
c211ea35f30f: Pull complete
accec8a59b4b: Pull complete
a05292fdcb61: Pull complete
68f2cd0d087c: Pull complete
b0f022ff57a5: Pull complete
Digest: sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226
Status: Downloaded newer image for ocaml/opam@sha256:812005ecd4e4705208fc6931e4faef0244f1373d51767ab910beb8d789ff2226
2026-05-08 18:46.14 ---> using "72f23dad6288fcdac9e041255d5e6a2d8481bc0fcee96839491f67c0e5c728d5" 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:46.14 ---> using "3796fc909320bc5f6c213cfc58effad3896ab09dccc16e898ee916c1a1dc39ba" 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
2026-05-08 18:46.14 ---> using "c8bd8c48af18ad3806f89c1877e7994a4e7d6ca23e0eca0458eba9e6378ebb22" 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=22.04
# 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       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:46.14 ---> using "7bb9dcd6f0ffff8d1dd8c7d39bdf3463d15316fd6d2db63b9901b9ecd7729c1d" 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:46.14 ---> using "14fe0308c07e531a290208179638096134c68b178d08594455e40040dacb9367" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-08 18:46.24 ---> saved as "63e0e5b34d098ff366ac410939c9c592626445c4a3f681064aa64645bdf3e000"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-08 18:46.47 ---> saved as "8e6dc53e1fe89bd1e995c8d8adf62c4c7b89c8d058997517edf8815d9040dcdf"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1294 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [7004 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1602 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3915 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7251 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4247 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [82.8 kB]
- Fetched 25.8 MB in 5s (5711 kB/s)
- Reading package lists...
- 
2026-05-08 18:46.53 ---> saved as "23b06d9c742593c3643cd6026a53695a222bd8feb0969cbe8c782d3dbaf41443"

/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.54 ---> saved as "55903fe6ca67b7c109ffff966b15a25b3b55d6fcc92d045058342ecd89a3a5e1"

/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-22.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 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-fb2f79.env
# output-file          ~/.opam/log/lstar-7-fb2f79.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-20260508184655.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-22.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:47.36: Job failed: Failed: Build failed
2026-05-08 18:47.36: Log analysis:
2026-05-08 18:47.36: >>> 
[ERROR] The compilation of lstar.1.0 failed at "dune build -p lstar -j 71 @install".
 (score = 20)
2026-05-08 18:47.36: >>> 
# Error: Program rocq not found in the tree or in PATH
 (score = 48)
2026-05-08 18:47.36: Program rocq not found in the tree or in PATH