Build:
- 0
2026-05-20 10:22.59: New job: test lrgrep.0.9, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29928/head (07fbcc3b99d47734688318c6e2971cce19794907)
on macos-homebrew-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/29928/head" && git reset --hard 07fbcc3b
git fetch origin master
git merge --no-edit 64a847a29e96527a72f3e45822610f25e7ad0a40
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
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 lrgrep.0.9 0.9
RUN opam reinstall lrgrep.0.9; \
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" != 'lrgrep.0.9' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test lrgrep.0.9) || true
RUN opam reinstall --with-test --verbose lrgrep.0.9; \
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" != 'lrgrep.0.9' && 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-20 10:22.59: Using cache hint "macos-homebrew-ocaml-5.4-lrgrep.0.9-07fbcc3b99d47734688318c6e2971cce19794907"
2026-05-20 10:22.59: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(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 lrgrep.0.9 0.9"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall lrgrep.0.9;\
\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\" != 'lrgrep.0.9' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test lrgrep.0.9) || true"))
(run (shell "opam reinstall --with-test --verbose lrgrep.0.9;\
\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\" != 'lrgrep.0.9' && 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-20 10:22.59: Waiting for resource in pool OCluster
2026-05-20 10:23.00: Waiting for worker…
2026-05-20 10:26.47: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
Updating files: 36% (6491/17923)
Updating files: 37% (6632/17923)
Updating files: 38% (6811/17923)
Updating files: 39% (6990/17923)
Updating files: 40% (7170/17923)
Updating files: 41% (7349/17923)
Updating files: 42% (7528/17923)
Updating files: 43% (7707/17923)
Updating files: 44% (7887/17923)
Updating files: 45% (8066/17923)
Updating files: 46% (8245/17923)
Updating files: 47% (8424/17923)
Updating files: 48% (8604/17923)
Updating files: 49% (8783/17923)
Updating files: 50% (8962/17923)
Updating files: 51% (9141/17923)
Updating files: 52% (9320/17923)
Updating files: 53% (9500/17923)
Updating files: 54% (9679/17923)
Updating files: 55% (9858/17923)
Updating files: 56% (10037/17923)
Updating files: 57% (10217/17923)
Updating files: 58% (10396/17923)
Updating files: 59% (10575/17923)
Updating files: 60% (10754/17923)
Updating files: 61% (10934/17923)
Updating files: 62% (11113/17923)
Updating files: 63% (11292/17923)
Updating files: 63% (11306/17923)
Updating files: 64% (11471/17923)
Updating files: 65% (11650/17923)
Updating files: 66% (11830/17923)
Updating files: 67% (12009/17923)
Updating files: 68% (12188/17923)
Updating files: 69% (12367/17923)
Updating files: 70% (12547/17923)
Updating files: 71% (12726/17923)
Updating files: 72% (12905/17923)
Updating files: 73% (13084/17923)
Updating files: 74% (13264/17923)
Updating files: 75% (13443/17923)
Updating files: 76% (13622/17923)
Updating files: 77% (13801/17923)
Updating files: 78% (13980/17923)
Updating files: 79% (14160/17923)
Updating files: 80% (14339/17923)
Updating files: 81% (14518/17923)
Updating files: 82% (14697/17923)
Updating files: 83% (14877/17923)
Updating files: 84% (15056/17923)
Updating files: 85% (15235/17923)
Updating files: 86% (15414/17923)
Updating files: 87% (15594/17923)
Updating files: 88% (15773/17923)
Updating files: 89% (15952/17923)
Updating files: 90% (16131/17923)
Updating files: 91% (16310/17923)
Updating files: 92% (16490/17923)
Updating files: 93% (16669/17923)
Updating files: 94% (16848/17923)
Updating files: 95% (17027/17923)
Updating files: 96% (17207/17923)
Updating files: 96% (17251/17923)
Updating files: 97% (17386/17923)
Updating files: 98% (17565/17923)
Updating files: 99% (17744/17923)
Updating files: 100% (17923/17923)
Updating files: 100% (17923/17923), done.
HEAD is now at 64a847a29e Merge pull request #29924 from jmid/add-dune-3.23.0-ocaml-bound
Updating 64a847a29e..07fbcc3b99
Fast-forward
packages/lrgrep/lrgrep.0.9/opam | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 packages/lrgrep/lrgrep.0.9/opam
(from macos-homebrew-ocaml-5.4)
2026-05-20 10:26.53 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-05-20 10:26.53 ---> using "7aa34524ca0a69b4a488c30909f7495a04a243f9066091b1dfe73b446b0dfcd3" 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-20 10:26.54 ---> using "91dcaa513ca3161d91620d0583acdea5310cd52ccab1dfbdd183600da37afdb2" 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=x86_64 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 11
# repositories 1 (version-controlled)
# pinned 0
# current-switch 5.4.0
# invariant ["ocaml-base-compiler" {= "5.4.0"} | "ocaml-system" {= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /Users/mac1000/.opam/5.4.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.4.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-05-20 10:26.54 ---> using "cea1bfc0b1cda73d964aa2fc69cc828a6e6d8edd86f991754707e8b004a3cb09" 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-20 10:26.54 ---> using "e3eba35b672d86e69268bbb9214f23a1f9d1fb0787b4d803840af8d45829b222" from cache
/: (copy (src .) (dst opam-repository/))
2026-05-20 10:26.57 ---> using "15fb3e8368678f921cb9bfc34d527108c6840427c81b031828bc226d240d3f30" 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-20 10:26.57 ---> using "a7456887b5dddae28d1136048aef01f11da71d4c3f8929807b0ce442f072b010" from cache
/: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:a372ff770be6364313bb5e9bd9e5abb128a1c35cd9f98b8a591ca07f948c7491
- #=#=#
0.7%
# 1.5%
# 2.3%
## 3.1%
## 4.0%
-
### 5.0%
#### 5.8%
#### 6.6%
##### 7.4%
##### 8.3%
###### 9.1%
####### 9.9%
####### 10.8%
######## 11.6%
######## 12.4%
######### 13.4%
-
########## 14.2%
########## 15.0%
########### 15.9%
############ 16.7%
############ 17.5%
############# 18.3%
############# 19.2%
############## 20.0%
############## 20.8%
############### 21.7%
################ 22.5%
-
################ 23.3%
################# 24.1%
################## 25.1%
################## 25.9%
################### 26.7%
################### 27.5%
#################### 28.3%
##################### 29.2%
##################### 30.0%
###################### 30.8%
###################### 31.7%
####################### 32.5%
-
####################### 33.3%
######################## 34.1%
######################### 34.9%
######################### 35.6%
######################### 36.0%
########################## 36.4%
########################## 36.8%
########################## 37.3%
########################### 37.7%
########################### 38.5%
############################ 39.3%
-
############################ 40.0%
############################# 40.8%
############################# 41.3%
############################## 41.7%
############################## 42.0%
############################## 42.2%
############################## 42.6%
############################## 42.9%
############################### 43.3%
############################### 43.7%
############################### 44.0%
-
################################ 44.5%
################################ 44.9%
################################ 45.3%
################################ 45.7%
################################# 46.1%
################################# 46.5%
################################# 46.8%
################################# 47.0%
################################## 47.3%
################################## 47.7%
################################## 48.1%
-
################################## 48.5%
################################### 48.9%
################################### 49.3%
################################### 49.7%
#################################### 50.1%
#################################### 50.5%
#################################### 51.0%
##################################### 51.4%
##################################### 51.8%
##################################### 52.2%
-
##################################### 52.6%
###################################### 53.0%
###################################### 53.4%
###################################### 54.0%
####################################### 54.4%
####################################### 54.8%
####################################### 55.3%
######################################## 55.7%
######################################## 56.1%
######################################## 56.5%
######################################### 57.0%
-
######################################### 57.4%
######################################### 57.9%
########################################## 58.7%
########################################## 59.5%
########################################### 60.5%
############################################ 61.3%
############################################ 62.1%
############################################# 63.0%
############################################# 63.8%
############################################## 64.6%
############################################### 65.4%
-
############################################### 66.2%
################################################ 67.1%
################################################# 68.1%
################################################# 68.9%
################################################## 69.7%
################################################## 70.6%
################################################### 71.4%
#################################################### 72.3%
#################################################### 73.1%
##################################################### 74.0%
##################################################### 74.8%
-
###################################################### 75.6%
####################################################### 76.4%
####################################################### 77.2%
######################################################## 78.2%
######################################################## 79.1%
######################################################### 79.9%
########################################################## 80.7%
########################################################## 81.6%
########################################################### 82.4%
########################################################### 83.2%
############################################################ 84.0%
-
############################################################# 85.0%
############################################################# 85.8%
############################################################## 86.6%
############################################################## 87.4%
############################################################### 88.3%
################################################################ 89.1%
################################################################ 89.9%
################################################################# 90.8%
################################################################# 91.6%
################################################################## 92.4%
################################################################### 93.3%
-
################################################################### 94.1%
#################################################################### 95.1%
##################################################################### 95.9%
##################################################################### 96.7%
###################################################################### 97.6%
###################################################################### 98.4%
####################################################################### 99.3%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.4.catalina.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-20 10:26.57 ---> using "f207e2921dfbe271b687bc5a48fb8f02fef200b4bd18e2b10020078272073be5" from cache
/: (run (shell "opam pin add -k version -yn lrgrep.0.9 0.9"))
lrgrep is now pinned to version 0.9
2026-05-20 10:26.58 ---> using "c931a2183ad66fc93860429569894c29ce1444c5cf6532fed14fa479faae16a9" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall lrgrep.0.9;\
\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\" != 'lrgrep.0.9' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lrgrep.0.9 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
- install cmon 0.2 [required by lrgrep]
- install dune 3.23.1 [required by lrgrep]
- install grenier 0.16 [required by cmon]
- install lrgrep 0.9 (pinned)
- install menhir 20260209 [required by lrgrep]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by menhir]
- install menhirSdk 20260209 [required by menhir]
- install pprint 20230830 [required by cmon]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmon.0.2 (cached)
-> retrieved dune.3.23.1 (cached)
-> retrieved grenier.0.16 (cached)
-> retrieved lrgrep.0.9 (https://github.com/let-def/lrgrep/releases/download/v0.9/lrgrep-0.9.tbz)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> retrieved pprint.20230830 (cached)
-> installed dune.3.23.1
-> installed menhirCST.20260209
-> installed grenier.0.16
-> installed menhirGLR.20260209
-> installed pprint.20230830
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed cmon.0.2
-> installed menhir.20260209
-> installed lrgrep.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-20 10:26.58 ---> using "9755d7ae94ba9f896436bac75448d50300c9edadfc7118029f0c684638be3afc" from cache
/: (run (network host)
(shell "(opam reinstall --with-test lrgrep.0.9) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile lrgrep 0.9 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed lrgrep.0.9
-> installed lrgrep.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-20 10:27.11 ---> saved as "17ae306535aaae1e190503483fb56af27ff45fa6bea5b104ae3991edbc19f284"
/: (run (shell "opam reinstall --with-test --verbose lrgrep.0.9;\
\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\" != 'lrgrep.0.9' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile lrgrep 0.9 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [lrgrep: dune build]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lrgrep" "-j" "11" (CWD=/Users/mac1000/.opam/5.4.0/.opam-switch/build/lrgrep.0.9)
- (cd _build/default/test/lrgrep-example/src && ../../../../install/default/bin/lrgrep compile -s errors.lrgrep -g parser.cmly -o errors.ml)
- total transitions: 71 (domain: 184), non-default: 33
- bytecode size: 548
Processing 2/4: [lrgrep: dune runtest]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "lrgrep" "-j" "11" (CWD=/Users/mac1000/.opam/5.4.0/.opam-switch/build/lrgrep.0.9)
-> compiled lrgrep.0.9
-> removed lrgrep.0.9
-> installed lrgrep.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-20 10:27.24 ---> saved as "5ba65e78fc24ed56b8971e9a2676254dd4c64fc4303a3bd80b665f216507cf80"
Job succeeded
2026-05-20 10:27.37: Job succeeded