(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 macos-homebrew-ocaml-4.14/arm64
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 macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/local/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 -k local --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 "\"macos-homebrew\""; 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 "macos-homebrew-ocaml-4.14-lstar.1.0-e5ab047b033e89fa4026a3a78b062664a0cf8a36"
2026-05-08 18:45.20: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(user (uid 1000) (gid 1000))
(run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -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 -k local --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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 \"\\\"macos-homebrew\\\"\"; 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 19:21.08: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
Updating files: 69% (12314/17840)
Updating files: 70% (12488/17840)
Updating files: 71% (12667/17840)
Updating files: 72% (12845/17840)
Updating files: 73% (13024/17840)
Updating files: 74% (13202/17840)
Updating files: 75% (13380/17840)
Updating files: 76% (13559/17840)
Updating files: 77% (13737/17840)
Updating files: 78% (13916/17840)
Updating files: 79% (14094/17840)
Updating files: 80% (14272/17840)
Updating files: 81% (14451/17840)
Updating files: 82% (14629/17840)
Updating files: 83% (14808/17840)
Updating files: 84% (14986/17840)
Updating files: 85% (15164/17840)
Updating files: 86% (15343/17840)
Updating files: 87% (15521/17840)
Updating files: 88% (15700/17840)
Updating files: 89% (15878/17840)
Updating files: 90% (16056/17840)
Updating files: 91% (16235/17840)
Updating files: 92% (16413/17840)
Updating files: 93% (16592/17840)
Updating files: 94% (16770/17840)
Updating files: 95% (16948/17840)
Updating files: 96% (17127/17840)
Updating files: 97% (17305/17840)
Updating files: 98% (17484/17840)
Updating files: 99% (17662/17840)
Updating files: 100% (17840/17840)
Updating files: 100% (17840/17840), done.
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 macos-homebrew-ocaml-4.14)
2026-05-08 19:21.10 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-05-08 19:21.10 ---> using "f20a31eccb94af52fa2a3ef86b723bc6460bac3d8a92b8861915540c2498d20a" from cache
/: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2026-05-08 19:21.11 ---> using "7818e224f85c11d1d318abe9ba4e297be345388b7ed476f912b6900c6bae56aa" from cache
/: (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.0
# self-upgrade no
# system arch=arm64 os=macos os-distribution=homebrew os-version=15.5
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 7
# repositories 1 (version-controlled)
# pinned 0
# current-switch 4.14.2
# invariant ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-05-08 19:21.11 ---> using "625776f8b2f728a128171e2ba4372c97abd18632a07574a8412026e8be39dac5" from cache
/: (env OPAMDOWNLOADJOBS 1)
/: (env OPAMERRLOGLEN 0)
/: (env OPAMPRECISETRACKING 1)
/: (env CI true)
/: (env OPAM_REPO_CI true)
/: (run (shell "rm -rf opam-repository/"))
2026-05-08 19:21.11 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache
/: (copy (src .) (dst opam-repository/))
2026-05-08 19:21.12 ---> using "0161ce69250646b6173d3933d3f2e30360a25e29e57ee4618630e7c20bde02c2" from cache
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
default (at file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
default (at file:///Users/mac1000/opam-repository):
[INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-05-08 19:21.12 ---> using "d9dc379f26c4d00267de43e4680724d94373d6c213ae8fbcd3045248dd18a060" from cache
/: (run (network host)
(shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:8ad98d9cf15477d1a43f4012cfd5eff5c271398bca1e2724b55bd4944a0bb1d4
- #=#=#
0.6%
-
# 1.5%
# 2.3%
## 3.2%
## 4.0%
### 4.7%
#### 5.6%
#### 6.4%
##### 7.2%
##### 8.0%
###### 8.9%
###### 9.6%
-
####### 10.4%
######## 11.2%
######## 12.1%
######### 12.9%
######### 13.7%
########## 14.6%
########### 15.3%
########### 16.1%
############ 16.9%
############ 17.8%
############# 18.6%
-
############# 19.3%
############## 20.2%
############### 21.0%
############### 21.8%
################ 22.6%
################ 23.5%
################# 24.2%
################## 25.0%
################## 25.8%
################### 26.7%
################### 27.5%
#################### 28.2%
-
#################### 29.0%
##################### 29.9%
###################### 30.7%
###################### 31.5%
####################### 32.2%
####################### 33.2%
######################## 33.9%
######################## 34.7%
######################### 35.6%
########################## 36.4%
########################## 37.3%
-
########################### 38.1%
########################### 38.8%
############################ 39.6%
############################# 40.5%
############################# 41.3%
############################## 42.1%
############################## 42.8%
############################### 43.7%
################################ 44.5%
################################ 45.3%
################################# 46.1%
######################
- ##
- ######### 47.0%
################################## 47.7%
################################## 48.5%
################################### 49.4%
#################################### 50.2%
#################################### 51.0%
##################################### 51.8%
##################################### 52.7%
###################################### 53.6%
####################################### 54.3%
####################################### 55.1%
-
######################################## 56.0%
######################################## 56.8%
######################################### 57.6%
########################################## 58.3%
########################################## 59.2%
########################################### 60.0%
########################################### 60.8%
############################################ 61.6%
############################################ 62.5%
############################################# 63.2%
############################################## 64.1%
############################################## 64.9%
-
############################################### 65.7%
############################################### 66.5%
################################################ 67.4%
################################################# 68.2%
################################################# 68.9%
################################################## 69.7%
################################################## 70.6%
################################################### 71.4%
################################################### 72.2%
#################################################### 73.1%
##################################################### 73.8%
-
##################################################### 74.6%
###################################################### 75.5%
###################################################### 76.3%
####################################################### 77.1%
######################################################## 77.8%
######################################################## 78.9%
######################################################### 79.6%
######################################################### 80.4%
########################################################## 81.2%
########################################################### 82.1%
########################################################### 82.9%
-
############################################################ 83.7%
############################################################ 84.6%
############################################################# 85.3%
############################################################# 86.1%
############################################################## 86.9%
############################################################### 87.8%
############################################################### 88.6%
################################################################ 89.3%
################################################################ 90.1%
################################################################# 91.0%
################################################################## 91.9%
################################################################## 92.7%
-
################################################################### 93.5%
################################################################### 94.4%
#################################################################### 95.1%
##################################################################### 96.0%
##################################################################### 96.8%
###################################################################### 97.6%
###################################################################### 98.5%
####################################################################### 99.3%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.3.arm64_big_sur.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
- https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
-
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
- https://github.com/Homebrew/brew#donations
-
- Already up-to-date.
2026-05-08 19:21.12 ---> using "9f3cd042a154f251945817f5fdacb3dff8c9b762a2e916fd33a1c0d7d041fb3c" from cache
/: (run (shell "opam pin add -k version -yn lstar.1.0 1.0"))
lstar is now pinned to version 1.0
2026-05-08 19:21.13 ---> saved as "4f09005a994927152e89c88f98140c8274b2bfe0f879ca97e2d587e7e3bdf068"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 \"\\\"macos-homebrew\\\"\"; 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 7 @install".
#=== ERROR while compiling lstar.1.0 ==========================================#
# context 2.5.0 | macos/arm64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/CharlesAverill/lstar-rocq/releases/download/v1.0/lstar-rocq-1.0.tbz)
# path ~/.opam/4.14.2/.opam-switch/build/lstar.1.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p lstar -j 7 @install
# exit-code 1
# env-file ~/.opam/log/lstar-86879-df64dd.env
# output-file ~/.opam/log/lstar-86879-df64dd.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:
/opt/homebrew/bin/opam switch import "/Users/mac1000/.opam/4.14.2/.opam-switch/backup/state-20260508192115.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 "\"macos-homebrew\""; 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 19:21.57: Job failed: Failed: Build failed
2026-05-08 19:21.57: Log analysis:
2026-05-08 19:21.57: >>>
[ERROR] The compilation of lstar.1.0 failed at "dune build -p lstar -j 7 @install".
(score = 20)
2026-05-08 19:21.57: >>>
# Error: Program rocq not found in the tree or in PATH
(score = 48)
2026-05-08 19:21.57: Program rocq not found in the tree or in PATH