(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 centos-9-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:centos-9-ocaml-5.4@sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f
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 "\"centos-9\""; 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:centos-9-ocaml-5.4@sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f-lstar.1.0-e5ab047b033e89fa4026a3a78b062664a0cf8a36"
2026-05-08 18:45.20: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f)
 (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 \"\\\"centos-9\\\"\"; 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:centos-9-ocaml-5.4@sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f)
Unable to find image 'ocaml/opam:centos-9-ocaml-5.4@sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f' locally
docker.io/ocaml/opam@sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f: Pulling from ocaml/opam
c374cdb1fd6c: Pulling fs layer
f64b15ee5890: Pulling fs layer
c374cdb1fd6c: Waiting
72f246ba1aad: Pulling fs layer
f64b15ee5890: Waiting
46452d9a4160: Pulling fs layer
72f246ba1aad: Waiting
4e4e2ef71a7e: Pulling fs layer
46452d9a4160: Waiting
0300eae2dbeb: Pulling fs layer
4e4e2ef71a7e: Waiting
30d5c5f2496f: Pulling fs layer
0300eae2dbeb: Waiting
81ba7c655a43: Pulling fs layer
30d5c5f2496f: Waiting
51f98825496f: Pulling fs layer
81ba7c655a43: Waiting
fa66f9676560: Pulling fs layer
21fe8d76c4f6: Pulling fs layer
51f98825496f: Waiting
fa66f9676560: Waiting
31c8f585f2f9: Pulling fs layer
21fe8d76c4f6: Waiting
7fe49046bcd4: Pulling fs layer
31c8f585f2f9: Waiting
7fe49046bcd4: Waiting
69873cfb7a74: Pulling fs layer
f9e6db422145: Pulling fs layer
69873cfb7a74: Waiting
f9e6db422145: Waiting
9215218c5db1: Pulling fs layer
ced659c7fe46: Pulling fs layer
ced659c7fe46: Waiting
ed7bb5306323: Pulling fs layer
ed7bb5306323: Waiting
772b0d84047d: Pulling fs layer
767fe43cb577: Pulling fs layer
772b0d84047d: Waiting
539ab2455650: Pulling fs layer
9d751a535a76: Pulling fs layer
539ab2455650: Waiting
767fe43cb577: Waiting
4f4fb700ef54: Pulling fs layer
9d751a535a76: Waiting
3698aed3b52e: Pulling fs layer
9ded111b9120: Pulling fs layer
4f4fb700ef54: Waiting
3698aed3b52e: Waiting
5083fdb589c4: Pulling fs layer
63d61fdcaa50: Pulling fs layer
5083fdb589c4: Waiting
24f1c49da1f7: Pulling fs layer
63d61fdcaa50: Waiting
83b05dc7d711: Pulling fs layer
24f1c49da1f7: Waiting
be4ca6cedf05: Pulling fs layer
83b05dc7d711: Waiting
13ad0e4b34dd: Pulling fs layer
be4ca6cedf05: Waiting
7e990376fde8: Pulling fs layer
63688f82ae5f: Pulling fs layer
8ae6c2848b6c: Pulling fs layer
13ad0e4b34dd: Waiting
7e990376fde8: Waiting
4b0122781c20: Pulling fs layer
63688f82ae5f: Waiting
8af3197bdca2: Pulling fs layer
216a54f58b95: Pulling fs layer
3e0c7c85feab: Pulling fs layer
ccf26e618edf: Pulling fs layer
8af3197bdca2: Waiting
216a54f58b95: Waiting
b125a4a50da2: Pulling fs layer
ccf26e618edf: Waiting
66530f9ce5bc: Pulling fs layer
b125a4a50da2: Waiting
3e0c7c85feab: Waiting
09f1e93730e1: Pulling fs layer
66530f9ce5bc: Waiting
4b0122781c20: Waiting
8ae6c2848b6c: Waiting
e2da69d8ab40: Pulling fs layer
9c2b5335b238: Pulling fs layer
09f1e93730e1: Waiting
6e501dd949a0: Pulling fs layer
1853207b106d: Pulling fs layer
6e501dd949a0: Waiting
9c2b5335b238: Waiting
1853207b106d: Waiting
c374cdb1fd6c: Verifying Checksum
c374cdb1fd6c: Download complete
f64b15ee5890: Download complete
72f246ba1aad: Verifying Checksum
72f246ba1aad: Download complete
c374cdb1fd6c: Pull complete
f64b15ee5890: Pull complete
0300eae2dbeb: Verifying Checksum
0300eae2dbeb: Download complete
72f246ba1aad: Pull complete
4e4e2ef71a7e: Verifying Checksum
4e4e2ef71a7e: Download complete
30d5c5f2496f: Verifying Checksum
30d5c5f2496f: Download complete
81ba7c655a43: Verifying Checksum
81ba7c655a43: Download complete
fa66f9676560: Verifying Checksum
fa66f9676560: Download complete
21fe8d76c4f6: Verifying Checksum
21fe8d76c4f6: Download complete
31c8f585f2f9: Download complete
46452d9a4160: Verifying Checksum
46452d9a4160: Download complete
69873cfb7a74: Verifying Checksum
69873cfb7a74: Download complete
f9e6db422145: Verifying Checksum
f9e6db422145: Download complete
9215218c5db1: Download complete
ced659c7fe46: Verifying Checksum
ced659c7fe46: Download complete
ed7bb5306323: Verifying Checksum
ed7bb5306323: Download complete
772b0d84047d: Download complete
767fe43cb577: Download complete
539ab2455650: Verifying Checksum
539ab2455650: Download complete
9d751a535a76: Verifying Checksum
9d751a535a76: Download complete
4f4fb700ef54: Download complete
51f98825496f: Verifying Checksum
51f98825496f: Download complete
3698aed3b52e: Verifying Checksum
3698aed3b52e: Download complete
9ded111b9120: Verifying Checksum
9ded111b9120: Download complete
5083fdb589c4: Verifying Checksum
5083fdb589c4: Download complete
63d61fdcaa50: Verifying Checksum
63d61fdcaa50: Download complete
24f1c49da1f7: Download complete
83b05dc7d711: Download complete
be4ca6cedf05: Verifying Checksum
be4ca6cedf05: Download complete
13ad0e4b34dd: Download complete
7e990376fde8: Verifying Checksum
7e990376fde8: Download complete
7fe49046bcd4: Verifying Checksum
7fe49046bcd4: Download complete
63688f82ae5f: Verifying Checksum
63688f82ae5f: Download complete
4b0122781c20: Download complete
8ae6c2848b6c: Verifying Checksum
8ae6c2848b6c: Download complete
216a54f58b95: Verifying Checksum
216a54f58b95: Download complete
ccf26e618edf: Verifying Checksum
ccf26e618edf: Download complete
b125a4a50da2: Download complete
66530f9ce5bc: Verifying Checksum
66530f9ce5bc: Download complete
09f1e93730e1: Verifying Checksum
09f1e93730e1: Download complete
8af3197bdca2: Verifying Checksum
8af3197bdca2: Download complete
9c2b5335b238: Download complete
6e501dd949a0: Verifying Checksum
6e501dd949a0: Download complete
1853207b106d: Verifying Checksum
1853207b106d: Download complete
46452d9a4160: Pull complete
4e4e2ef71a7e: Pull complete
0300eae2dbeb: Pull complete
30d5c5f2496f: Pull complete
81ba7c655a43: Pull complete
51f98825496f: Pull complete
fa66f9676560: Pull complete
21fe8d76c4f6: Pull complete
31c8f585f2f9: Pull complete
7fe49046bcd4: Pull complete
69873cfb7a74: Pull complete
f9e6db422145: Pull complete
9215218c5db1: Pull complete
ced659c7fe46: Pull complete
ed7bb5306323: Pull complete
772b0d84047d: Pull complete
767fe43cb577: Pull complete
539ab2455650: Pull complete
9d751a535a76: Pull complete
4f4fb700ef54: Pull complete
3698aed3b52e: Pull complete
9ded111b9120: Pull complete
5083fdb589c4: Pull complete
63d61fdcaa50: Pull complete
24f1c49da1f7: Pull complete
83b05dc7d711: Pull complete
be4ca6cedf05: Pull complete
13ad0e4b34dd: Pull complete
7e990376fde8: Pull complete
63688f82ae5f: Pull complete
8ae6c2848b6c: Pull complete
4b0122781c20: Pull complete
e2da69d8ab40: Download complete
8af3197bdca2: Pull complete
216a54f58b95: Pull complete
3e0c7c85feab: Verifying Checksum
3e0c7c85feab: Download complete
3e0c7c85feab: Pull complete
ccf26e618edf: Pull complete
b125a4a50da2: Pull complete
66530f9ce5bc: Pull complete
09f1e93730e1: Pull complete
e2da69d8ab40: Pull complete
9c2b5335b238: Pull complete
6e501dd949a0: Pull complete
1853207b106d: Pull complete
Digest: sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f
Status: Downloaded newer image for ocaml/opam@sha256:1a9a4b0baf8d8caacb42b7a59cd538d542808bf3b386280f0b2af1589937122f
2026-05-08 18:45.40 ---> using "1eedc2bb35567644bac2e81d8dad64796c94c686b5c5c6ed25815be024c15d5f" 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.40 ---> using "771aa5260e361f978203db34ea33550958ff9379ac728775f53b4dcc96300851" 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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-05-08 18:45.40 ---> using "ec1b59c1e026538f128cd1927f7a7d5d540bd92a34c27afe66f1e8ff5f31433b" 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=centos os-version=9
# 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.40 ---> using "3ee063db338373ba295a772b6b31bfa068d608411f7b1d293917d8e2e0c4c28c" 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.40 ---> using "cb862902078143da4980da13a5c3f97754aa1a74f96954d74d57f77b1b1620c1" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                         41 kB/s |  14 kB     00:00    
- CentOS Stream 9 - BaseOS                        1.2 MB/s | 8.9 MB     00:07    
- CentOS Stream 9 - AppStream                      18 kB/s |  14 kB     00:00    
- CentOS Stream 9 - AppStream                     4.1 MB/s |  27 MB     00:06    
- CentOS Stream 9 - CRB                            47 kB/s |  14 kB     00:00    
- CentOS Stream 9 - CRB                           1.7 MB/s | 8.0 MB     00:04    
- CentOS Stream 9 - Extras packages                91 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-05-08 18:46.40 ---> saved as "04f3aceab5cd3767c788a2da958c7f0481f5f1c43e4f595c414c187797d27e85"

/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.41 ---> saved as "df859459e55157017de3235203d4bfeb664ebc710287885fbb5762f2f5eab667"

/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 \"\\\"centos-9\\\"\"; 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  (cached)
-> 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-3987b4.env
# output-file          ~/.opam/log/lstar-7-3987b4.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-20260508184642.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 "\"centos-9\""; 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.15: Job failed: Failed: Build failed
2026-05-08 18:47.15: Log analysis:
2026-05-08 18:47.15: >>> 
[ERROR] The compilation of lstar.1.0 failed at "dune build -p lstar -j 255 @install".
 (score = 20)
2026-05-08 18:47.15: >>> 
# Error: Program rocq not found in the tree or in PATH
 (score = 48)
2026-05-08 18:47.15: Program rocq not found in the tree or in PATH