(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-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/29883/head" && git reset --hard e5ab047b
git fetch origin master
git merge --no-edit fc08333d1ba03c1ffbc960479a92aa94085c5f78
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2
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-25.10\""; 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-25.10-ocaml-5.4@sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2-lstar.1.0-e5ab047b033e89fa4026a3a78b062664a0cf8a36"
2026-05-08 18:45.20: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2)
 (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-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\" != '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-25.10-ocaml-5.4@sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2' locally
docker.io/ocaml/opam@sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2: Pulling from ocaml/opam
16c195d4c5e9: Pulling fs layer
52e5c620adad: Pulling fs layer
ede3e96d4e3e: Pulling fs layer
52e5c620adad: Waiting
d04fc5fa7c6b: Pulling fs layer
16c195d4c5e9: Waiting
3dcc1eb82c36: Pulling fs layer
ede3e96d4e3e: Waiting
ab3defebbb54: Pulling fs layer
d04fc5fa7c6b: Waiting
7b715b836645: Pulling fs layer
2b27f2185f00: Pulling fs layer
ab3defebbb54: Waiting
3dcc1eb82c36: Waiting
7d6e3d5c7d36: Pulling fs layer
2b27f2185f00: Waiting
624c8c87c403: Pulling fs layer
7b715b836645: Waiting
7d6e3d5c7d36: Waiting
075c9f317734: Pulling fs layer
624c8c87c403: Waiting
347a57877bff: Pulling fs layer
1c7b5d97e131: Pulling fs layer
ab60fbcc17aa: Pulling fs layer
b3b72b72bac3: Pulling fs layer
347a57877bff: Waiting
075c9f317734: Waiting
1bf622d6b3d7: Pulling fs layer
b3b72b72bac3: Waiting
7a247a63940a: Pulling fs layer
1bf622d6b3d7: Waiting
47a0b674a796: Pulling fs layer
7a247a63940a: Waiting
f17243fda6ba: Pulling fs layer
f7ac1276cf4c: Pulling fs layer
47a0b674a796: Waiting
f17243fda6ba: Waiting
810eb6f380bd: Pulling fs layer
f9b004d77a8f: Pulling fs layer
f7ac1276cf4c: Waiting
4f4fb700ef54: Pulling fs layer
810eb6f380bd: Waiting
2e70c6ccc025: Pulling fs layer
f9b004d77a8f: Waiting
656649c9d203: Pulling fs layer
4f4fb700ef54: Waiting
92e34d2de701: Pulling fs layer
2e70c6ccc025: Waiting
656649c9d203: Waiting
c9dee8320bf1: Pulling fs layer
d73125ae33f0: Pulling fs layer
92e34d2de701: Waiting
133c9d673e68: Pulling fs layer
c9dee8320bf1: Waiting
e0c506d89aae: Pulling fs layer
133c9d673e68: Waiting
80d6eeea925b: Pulling fs layer
d73125ae33f0: Waiting
df33debf5406: Pulling fs layer
e0c506d89aae: Waiting
17b51d6a9514: Pulling fs layer
80d6eeea925b: Waiting
ba321bf7d347: Pulling fs layer
df33debf5406: Waiting
2d32e3af2844: Pulling fs layer
17b51d6a9514: Waiting
ba321bf7d347: Waiting
de21c23148e5: Pulling fs layer
2d32e3af2844: Waiting
c294f0fb9043: Pulling fs layer
01017e126508: Pulling fs layer
cd700eb57465: Pulling fs layer
0de85858ac80: Pulling fs layer
483552bdd695: Pulling fs layer
01017e126508: Waiting
c294f0fb9043: Waiting
cd700eb57465: Waiting
2ae778d4c14c: Pulling fs layer
0de85858ac80: Waiting
483552bdd695: Waiting
0aabfce9909a: Pulling fs layer
62c8fe98dbd8: Pulling fs layer
ece97d23588c: Pulling fs layer
7f168d31d4c2: Pulling fs layer
2ae778d4c14c: Waiting
62c8fe98dbd8: Waiting
2bdb952a0f47: Pulling fs layer
ece97d23588c: Waiting
0aabfce9909a: Waiting
f0a6800cab4c: Pulling fs layer
7f168d31d4c2: Waiting
2bdb952a0f47: Waiting
f0a6800cab4c: Waiting
52e5c620adad: Verifying Checksum
52e5c620adad: Download complete
ede3e96d4e3e: Download complete
16c195d4c5e9: Verifying Checksum
16c195d4c5e9: Download complete
3dcc1eb82c36: Download complete
d04fc5fa7c6b: Download complete
7b715b836645: Verifying Checksum
7b715b836645: Download complete
2b27f2185f00: Verifying Checksum
2b27f2185f00: Download complete
16c195d4c5e9: Pull complete
52e5c620adad: Pull complete
ede3e96d4e3e: Pull complete
d04fc5fa7c6b: Pull complete
3dcc1eb82c36: Pull complete
ab3defebbb54: Verifying Checksum
ab3defebbb54: Download complete
7d6e3d5c7d36: Download complete
624c8c87c403: Verifying Checksum
624c8c87c403: Download complete
347a57877bff: Verifying Checksum
347a57877bff: Download complete
075c9f317734: Verifying Checksum
075c9f317734: Download complete
1c7b5d97e131: Download complete
ab60fbcc17aa: Verifying Checksum
ab60fbcc17aa: Download complete
b3b72b72bac3: Verifying Checksum
b3b72b72bac3: Download complete
1bf622d6b3d7: Download complete
7a247a63940a: Verifying Checksum
7a247a63940a: Download complete
47a0b674a796: Verifying Checksum
47a0b674a796: Download complete
f17243fda6ba: Verifying Checksum
f17243fda6ba: Download complete
f7ac1276cf4c: Verifying Checksum
f7ac1276cf4c: Download complete
810eb6f380bd: Download complete
f9b004d77a8f: Verifying Checksum
f9b004d77a8f: Download complete
4f4fb700ef54: Download complete
2e70c6ccc025: Verifying Checksum
2e70c6ccc025: Download complete
656649c9d203: Download complete
c9dee8320bf1: Download complete
92e34d2de701: Download complete
d73125ae33f0: Download complete
133c9d673e68: Download complete
e0c506d89aae: Verifying Checksum
e0c506d89aae: Download complete
df33debf5406: Verifying Checksum
df33debf5406: Download complete
80d6eeea925b: Download complete
17b51d6a9514: Download complete
2d32e3af2844: Download complete
ba321bf7d347: Download complete
c294f0fb9043: Verifying Checksum
c294f0fb9043: Download complete
ab3defebbb54: Pull complete
7b715b836645: Pull complete
2b27f2185f00: Pull complete
7d6e3d5c7d36: Pull complete
624c8c87c403: Pull complete
075c9f317734: Pull complete
347a57877bff: Pull complete
1c7b5d97e131: Pull complete
ab60fbcc17aa: Pull complete
01017e126508: Verifying Checksum
01017e126508: Download complete
b3b72b72bac3: Pull complete
1bf622d6b3d7: Pull complete
7a247a63940a: Pull complete
47a0b674a796: Pull complete
cd700eb57465: Verifying Checksum
cd700eb57465: Download complete
0de85858ac80: Download complete
483552bdd695: Verifying Checksum
483552bdd695: Download complete
2ae778d4c14c: Download complete
0aabfce9909a: Verifying Checksum
0aabfce9909a: Download complete
62c8fe98dbd8: Download complete
7f168d31d4c2: Verifying Checksum
7f168d31d4c2: Download complete
2bdb952a0f47: Verifying Checksum
2bdb952a0f47: Download complete
f0a6800cab4c: Download complete
de21c23148e5: Verifying Checksum
de21c23148e5: Download complete
ece97d23588c: Verifying Checksum
ece97d23588c: Download complete
f17243fda6ba: Pull complete
f7ac1276cf4c: Pull complete
810eb6f380bd: Pull complete
f9b004d77a8f: Pull complete
4f4fb700ef54: Pull complete
2e70c6ccc025: Pull complete
656649c9d203: Pull complete
92e34d2de701: Pull complete
c9dee8320bf1: Pull complete
d73125ae33f0: Pull complete
133c9d673e68: Pull complete
e0c506d89aae: Pull complete
80d6eeea925b: Pull complete
df33debf5406: Pull complete
17b51d6a9514: Pull complete
ba321bf7d347: Pull complete
2d32e3af2844: Pull complete
de21c23148e5: Pull complete
c294f0fb9043: Pull complete
01017e126508: Pull complete
cd700eb57465: Pull complete
0de85858ac80: Pull complete
483552bdd695: Pull complete
2ae778d4c14c: Pull complete
0aabfce9909a: Pull complete
62c8fe98dbd8: Pull complete
ece97d23588c: Pull complete
7f168d31d4c2: Pull complete
2bdb952a0f47: Pull complete
f0a6800cab4c: Pull complete
Digest: sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2
Status: Downloaded newer image for ocaml/opam@sha256:86914ae81e6c55119aa21859244b93a43aa890d3a884964820a9947a72fc52d2
2026-05-08 18:45.30 ---> using "1d82e9aca0454dbf6a63bfd577d15e22a320a34a993687bfb785d7778c099686" 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.30 ---> using "f46237db06389601fd6c26dac859a9f7ca23ce44defc27702ffffe2f7ef47fc0" 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:45.30 ---> using "9097ce9cefd2ec24716e1a4657abe4a895710fac73cf03ff7254798d0002c0f9" 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=25.10
# 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       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-05-08 18:45.30 ---> using "92d1696043851be6e2661034aa89e04b161921458fa8c322a2cd801def9a09f2" 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.30 ---> using "8885b6b86449ca0f1f68c26526f111ae2e4e923ee656e110830097e3b267d0e6" from cache

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

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

/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]
- Hit:2 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:3 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [303 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [276 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [387 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [297 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [388 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [526 kB]
- Fetched 2581 kB in 1s (3194 kB/s)
- Reading package lists...
- 
2026-05-08 18:46.00 ---> saved as "8a952d4bac62ec7664bdbc690a7081177f8a14d6a53ed71088c4bb7d2158dc8b"

/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.00 ---> saved as "d9e3eb04803663646f2e03ffcb00423fcaf84d988ffaabe09adaff16212f78ce"

/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-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\" != '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.5.4.1 | pinned(https://github.com/CharlesAverill/lstar-rocq/releases/download/v1.0/lstar-rocq-1.0.tbz)
# path                 ~/.opam/5.4/.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-7-eaa13f.env
# output-file          ~/.opam/log/lstar-7-eaa13f.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/5.4/.opam-switch/backup/state-20260508184601.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-25.10\""; 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.37: Job failed: Failed: Build failed
2026-05-08 18:46.37: Log analysis:
2026-05-08 18:46.37: >>> 
[ERROR] The compilation of lstar.1.0 failed at "dune build -p lstar -j 255 @install".
 (score = 20)
2026-05-08 18:46.37: >>> 
# Error: Program rocq not found in the tree or in PATH
 (score = 48)
2026-05-08 18:46.37: Program rocq not found in the tree or in PATH