- github
- ocaml
- opam-repository
- 353fd9
- macos,macos-homebrew-ocaml-5.4-arm64,ocamlformat-lib.0.29.0,tests
(not at the head of any monitored branch or PR)
2026-03-23 09:19.17: New job: test ocamlformat-lib.0.29.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29568/head (353fd9234f0397ed1edb6d612e5b9da8472dea1c)
on macos-homebrew-ocaml-5.4/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/29568/head" && git reset --hard 353fd923
git fetch origin master
git merge --no-edit 63b7ba71be83567e54bb667df0f2bb374d74fb61
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 ocamlformat-lib.0.29.0 0.29.0
RUN opam reinstall ocamlformat-lib.0.29.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" != 'ocamlformat-lib.0.29.0' && 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 ocamlformat-lib.0.29.0) || true
RUN opam reinstall --with-test --verbose ocamlformat-lib.0.29.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" != 'ocamlformat-lib.0.29.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-03-23 09:19.17: Using cache hint "macos-homebrew-ocaml-5.4-ocamlformat-lib.0.29.0-353fd9234f0397ed1edb6d612e5b9da8472dea1c"
2026-03-23 09:19.17: 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 ocamlformat-lib.0.29.0 0.29.0"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall ocamlformat-lib.0.29.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\" != 'ocamlformat-lib.0.29.0' && 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 ocamlformat-lib.0.29.0) || true"))
(run (shell "opam reinstall --with-test --verbose ocamlformat-lib.0.29.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\" != 'ocamlformat-lib.0.29.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-03-23 09:19.17: Waiting for resource in pool OCluster
2026-03-23 09:19.20: Waiting for worker…
2026-03-23 09:22.50: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
Updating files: 68% (12619/18511)
Updating files: 69% (12773/18511)
Updating files: 70% (12958/18511)
Updating files: 71% (13143/18511)
Updating files: 72% (13328/18511)
Updating files: 73% (13514/18511)
Updating files: 74% (13699/18511)
Updating files: 75% (13884/18511)
Updating files: 76% (14069/18511)
Updating files: 77% (14254/18511)
Updating files: 78% (14439/18511)
Updating files: 79% (14624/18511)
Updating files: 80% (14809/18511)
Updating files: 81% (14994/18511)
Updating files: 82% (15180/18511)
Updating files: 83% (15365/18511)
Updating files: 84% (15550/18511)
Updating files: 85% (15735/18511)
Updating files: 86% (15920/18511)
Updating files: 87% (16105/18511)
Updating files: 88% (16290/18511)
Updating files: 89% (16475/18511)
Updating files: 90% (16660/18511)
Updating files: 91% (16846/18511)
Updating files: 92% (17031/18511)
Updating files: 93% (17216/18511)
Updating files: 94% (17401/18511)
Updating files: 95% (17586/18511)
Updating files: 96% (17771/18511)
Updating files: 97% (17956/18511)
Updating files: 98% (18141/18511)
Updating files: 99% (18326/18511)
Updating files: 100% (18511/18511)
Updating files: 100% (18511/18511), done.
HEAD is now at 63b7ba71be Merge pull request #29573 from davesnx/release-parseff-0.2.0
Merge made by the 'ort' strategy.
packages/ocamlformat-lib/ocamlformat-lib.0.25.1/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.26.0/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.26.1/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.26.2/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.28.1/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.29.0/opam | 1 +
packages/ocamlformat/ocamlformat.0.24.1/opam | 1 +
8 files changed, 8 insertions(+)
(from macos-homebrew-ocaml-5.4)
2026-03-23 09:22.51 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-03-23 09:22.51 ---> 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-03-23 09:22.51 ---> 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=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 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-03-23 09:22.51 ---> 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-03-23 09:22.51 ---> using "e3eba35b672d86e69268bbb9214f23a1f9d1fb0787b4d803840af8d45829b222" from cache
/: (copy (src .) (dst opam-repository/))
2026-03-23 09:22.52 ---> using "db6fdf22309c799aac5bc3812f982e86111054a5fe44802de898bcd27cf5b723" from cache
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-03-23 09:22.53 ---> using "a6594f3b442b6ba3da0cb03e8dbe217240d1d27695255b120db948b5b7458a48" 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:cef6f881f516d2cdbd0a5bfc7e20318da8b047cf2674ee27c5d4858d3ecd6430
- #=#=#
0.3%
-
0.5%
1.0%
# 1.5%
# 2.0%
# 2.3%
# 2.6%
## 3.0%
## 3.3%
## 3.6%
## 3.8%
-
### 4.2%
### 4.5%
### 4.9%
### 5.3%
#### 5.7%
#### 5.9%
#### 6.3%
#### 6.5%
#### 6.8%
##### 7.2%
##### 7.6%
-
##### 8.0%
##### 8.2%
###### 8.6%
###### 9.0%
###### 9.4%
####### 9.8%
####### 10.2%
####### 10.6%
####### 10.8%
######## 11.2%
######## 11.7%
-
######## 12.1%
######### 12.5%
######### 12.9%
######### 13.3%
######### 13.7%
########## 14.1%
########## 14.3%
########## 14.6%
########## 15.0%
########### 15.4%
########### 15.9%
-
########### 16.1%
########### 16.5%
############ 16.9%
############ 17.3%
############ 17.6%
############ 18.0%
############# 18.4%
############# 18.6%
############# 19.0%
############# 19.4%
############## 19.8%
-
############## 20.1%
############## 20.5%
############### 20.8%
############### 21.2%
############### 21.5%
############### 21.8%
############### 22.1%
################ 22.5%
################ 22.8%
################ 23.1%
################ 23.5%
-
################# 23.9%
################# 24.2%
################# 24.7%
################## 25.1%
################## 25.4%
################## 25.8%
################## 26.2%
################### 26.5%
################### 26.9%
################### 27.3%
################### 27.6%
-
#################### 27.8%
#################### 28.1%
#################### 28.5%
#################### 28.7%
#################### 29.0%
##################### 29.3%
##################### 29.6%
##################### 30.0%
##################### 30.4%
###################### 30.7%
###################### 31.2%
-
###################### 31.6%
###################### 31.8%
####################### 32.2%
####################### 32.6%
####################### 32.9%
####################### 33.3%
######################## 33.5%
######################## 33.8%
######################## 34.1%
######################## 34.4%
-
######################### 34.8%
######################### 35.2%
######################### 35.5%
######################### 35.9%
########################## 36.3%
########################## 36.7%
########################## 37.1%
########################### 37.5%
########################### 37.9%
########################### 38.3%
########################### 38.7%
############################
-
- 39.3%
-
############################ 39.6%
############################ 40.2%
############################# 40.6%
############################# 41.0%
############################# 41.3%
############################## 41.7%
############################## 42.2%
############################## 42.6%
############################## 43.0%
############################### 43.4%
-
############################### 43.9%
############################### 44.3%
################################ 44.7%
################################ 45.1%
################################ 45.5%
################################# 45.9%
################################# 46.4%
################################# 46.8%
################################# 47.1%
################################## 47.5%
################################## 48.1%
-
################################## 48.5%
################################### 48.9%
################################### 49.4%
################################### 49.8%
#################################### 50.2%
#################################### 50.6%
#################################### 50.9%
#################################### 51.3%
##################################### 51.9%
##################################### 52.3%
##################################### 52.6%
-
###################################### 53.0%
###################################### 53.5%
###################################### 53.9%
####################################### 54.3%
####################################### 54.7%
####################################### 55.2%
######################################## 55.6%
######################################## 56.0%
######################################## 56.4%
######################################## 56.8%
-
######################################### 57.2%
######################################### 57.7%
######################################### 58.1%
########################################## 58.5%
########################################## 59.0%
########################################## 59.4%
########################################### 59.8%
########################################### 60.3%
########################################### 60.7%
############################################ 61.2%
############################################ 61.6%
-
############################################ 62.1%
############################################ 62.5%
############################################# 62.9%
############################################# 63.4%
############################################# 63.8%
############################################## 64.2%
############################################## 64.6%
############################################## 65.1%
############################################### 65.5%
############################################### 65.9%
############################################### 66.3%
-
############################################### 66.7%
################################################ 67.1%
################################################ 67.5%
################################################ 67.9%
################################################# 68.3%
################################################# 68.7%
################################################# 69.3%
################################################## 69.7%
################################################## 70.0%
################################################## 70.4%
################################################## 70.8%
-
################################################### 71.4%
################################################### 71.7%
################################################### 72.1%
#################################################### 72.5%
#################################################### 72.9%
#################################################### 73.4%
##################################################### 73.8%
##################################################### 74.2%
##################################################### 74.7%
###################################################### 75.1%
###################################################### 75.5%
-
###################################################### 75.9%
####################################################### 76.4%
####################################################### 76.9%
####################################################### 77.3%
####################################################### 77.7%
######################################################## 78.1%
######################################################## 78.6%
######################################################## 79.0%
######################################################### 79.4%
######################################################### 79.8%
######################################################### 80.2%
-
########################################################## 80.7%
########################################################## 81.1%
########################################################## 81.7%
########################################################### 82.7%
############################################################ 83.4%
############################################################ 84.3%
############################################################# 85.1%
############################################################# 85.9%
############################################################## 86.7%
############################################################## 87.5%
############################################################### 88.4%
-
################################################################ 89.2%
################################################################ 89.9%
################################################################# 90.9%
################################################################# 91.6%
################################################################## 92.6%
################################################################### 93.3%
################################################################### 94.2%
#################################################################### 95.0%
#################################################################### 95.8%
##################################################################### 96.6%
###################################################################### 97.4%
-
###################################################################### 98.3%
####################################################################### 99.0%
####################################################################### 99.8%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.1.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-03-23 09:22.53 ---> using "0dd5835250acddd59faa9dbd8053df457e93681fc079f0f446910edeec527c74" from cache
/: (run (shell "opam pin add -k version -yn ocamlformat-lib.0.29.0 0.29.0"))
ocamlformat-lib is now pinned to version 0.29.0
2026-03-23 09:22.53 ---> using "965c2acd984e591fcd2fe0504a5809b7446ef1e3149f54b599ddf66fbb08573f" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall ocamlformat-lib.0.29.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\" != 'ocamlformat-lib.0.29.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat-lib.0.29.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 28 packages
- install astring 0.8.5 [required by ocamlformat-lib]
- install base v0.17.3 [required by ocamlformat-lib]
- install camlp-streams 5.0.1 [required by ocamlformat-lib]
- install cmdliner 2.1.0 [required by ocamlformat-lib]
- install csexp 1.5.2 [required by ocamlformat-lib]
- install dune 3.22.0 [required by ocamlformat-lib]
- install dune-build-info 3.22.0 [required by ocamlformat-lib]
- install dune-configurator 3.22.0 [required by base]
- install either 1.0.0 [required by ocamlformat-lib]
- install fix 20250919 [required by ocamlformat-lib]
- install fpath 0.7.3 [required by ocamlformat-lib]
- install menhir 20260209 [required by ocamlformat-lib]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by ocamlformat-lib]
- install menhirSdk 20260209 [required by ocamlformat-lib]
- install ocaml-version 4.0.4 [required by ocamlformat-lib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by fpath, astring, uuseg]
- install ocamlfind 1.9.8 [required by ocp-indent, astring, fpath, uuseg]
- install ocamlformat-lib 0.29.0 (pinned)
- install ocp-indent 1.9.0 [required by ocamlformat-lib]
- install sexplib0 v0.17.0 [required by base]
- install stdio v0.17.0 [required by ocamlformat-lib]
- install topkg 1.1.1 [required by fpath, astring, uuseg]
- install uucp 17.0.0 [required by uuseg]
- install uuseg 17.0.0 [required by ocamlformat-lib]
- install uutf 1.0.4 [required by ocamlformat-lib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.22.0, dune-build-info.3.22.0, dune-configurator.3.22.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fix.20250919 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> retrieved ocaml-version.4.0.4 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> installed cmdliner.2.1.0
-> retrieved ocamlformat-lib.0.29.0 (cached)
-> retrieved ocp-indent.1.9.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uucp.17.0.0 (cached)
-> retrieved uuseg.17.0.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed menhirGLR.20260209
-> installed menhirCST.20260209
-> installed fix.20250919
-> installed either.1.0.0
-> installed dune-build-info.3.22.0
-> installed menhirLib.20260209
-> installed ocaml-version.4.0.4
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed menhirSdk.20260209
-> installed dune-configurator.3.22.0
-> installed sexplib0.v0.17.0
-> installed ocp-indent.1.9.0
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed menhir.20260209
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed ocamlformat-lib.0.29.0
Done.
<><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/Users/mac1000/.opam/5.4.0/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/Users/mac1000/.opam/5.4.0/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2026-03-23 09:22.53 ---> using "4799bc30b4d058658bb1714484737bdeadb21f9bc9b3df2049c511e5d1f699bb" from cache
/: (run (network host)
(shell "(opam reinstall --with-test ocamlformat-lib.0.29.0) || true"))
The following actions will be performed:
=== downgrade 3 packages
- downgrade dune 3.22.0 to 3.21.1 [required by ocamlformat-lib]
- downgrade dune-build-info 3.22.0 to 3.21.1 [required by ocamlformat-lib]
- downgrade dune-configurator 3.22.0 to 3.21.1 [uses dune]
=== recompile 16 packages
- recompile base v0.17.3 [uses dune]
- recompile camlp-streams 5.0.1 [uses dune]
- recompile csexp 1.5.2 [uses dune]
- recompile either 1.0.0 [uses dune]
- recompile fix 20250919 [uses dune]
- recompile menhir 20260209 [uses dune]
- recompile menhirCST 20260209 [uses dune]
- recompile menhirGLR 20260209 [uses dune]
- recompile menhirLib 20260209 [uses dune]
- recompile menhirSdk 20260209 [uses dune]
- recompile ocaml-version 4.0.4 [uses dune]
- recompile ocaml_intrinsics_kernel v0.17.1 [uses dune]
- recompile ocamlformat-lib 0.29.0 (pinned)
- recompile ocp-indent 1.9.0 [uses dune]
- recompile sexplib0 v0.17.0 [uses dune]
- recompile stdio v0.17.0 [uses dune]
=== install 6 packages
- install alcotest 1.9.1 [required by ocamlformat-lib]
- install fmt 0.11.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlformat-rpc-lib 0.29.0 [required by ocamlformat-lib]
- install re 1.14.0 [required by alcotest]
- install stdlib-shims 0.3.0 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
-> retrieved base.v0.17.3 (https://github.com/janestreet/base/archive/refs/tags/v0.17.3.tar.gz)
-> retrieved camlp-streams.5.0.1 (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
-> retrieved csexp.1.5.2 (https://github.com/ocaml-dune/csexp/releases/download/1.5.2/csexp-1.5.2.tbz)
-> retrieved dune.3.21.1, dune-build-info.3.21.1, dune-configurator.3.21.1 (https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz)
-> retrieved either.1.0.0 (https://github.com/mirage/either/releases/download/1.0.0/either-1.0.0.tbz)
-> retrieved fix.20250919 (https://gitlab.inria.fr/fpottier/fix/-/archive/20250919/archive.tar.gz)
-> retrieved fmt.0.11.0 (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> installed fmt.0.11.0
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (https://gitlab.inria.fr/fpottier/menhir/-/archive/20260209/archive.tar.gz)
-> retrieved ocaml-syntax-shims.1.0.0 (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved ocaml-version.4.0.4 (https://github.com/ocurrent/ocaml-version/releases/download/v4.0.4/ocaml-version-4.0.4.tbz)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (https://github.com/janestreet/ocaml_intrinsics_kernel/archive/refs/tags/v0.17.1.tar.gz)
-> retrieved ocamlformat-lib.0.29.0, ocamlformat-rpc-lib.0.29.0 (https://github.com/ocaml-ppx/ocamlformat/releases/download/0.29.0/ocamlformat-0.29.0.tbz)
-> retrieved ocp-indent.1.9.0 (https://github.com/OCamlPro/ocp-indent/releases/download/1.9.0/ocp-indent-1.9.0.tbz)
-> retrieved re.1.14.0 (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)
-> retrieved sexplib0.v0.17.0 (https://github.com/janestreet/sexplib0/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved stdio.v0.17.0 (https://github.com/janestreet/stdio/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved stdlib-shims.0.3.0 (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> removed ocamlformat-lib.0.29.0
-> removed camlp-streams.5.0.1
-> removed dune-build-info.3.22.0
-> removed either.1.0.0
-> removed fix.20250919
-> removed menhir.20260209
-> removed menhirCST.20260209
-> removed menhirGLR.20260209
-> removed menhirLib.20260209
-> removed menhirSdk.20260209
-> removed ocaml-version.4.0.4
-> removed ocp-indent.1.9.0
-> removed stdio.v0.17.0
-> removed base.v0.17.3
-> removed dune-configurator.3.22.0
-> removed csexp.1.5.2
-> removed ocaml_intrinsics_kernel.v0.17.1
-> removed sexplib0.v0.17.0
-> removed dune.3.22.0
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed dune-build-info.3.21.1
-> installed menhirLib.20260209
-> installed menhirGLR.20260209
-> installed menhirCST.20260209
-> installed fix.20250919
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-version.4.0.4
-> installed ocaml-syntax-shims.1.0.0
-> installed menhirSdk.20260209
-> installed camlp-streams.5.0.1
-> installed stdlib-shims.0.3.0
-> installed ocamlformat-rpc-lib.0.29.0
-> installed sexplib0.v0.17.0
-> installed dune-configurator.3.21.1
-> installed ocp-indent.1.9.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
-> installed base.v0.17.3
-> installed menhir.20260209
-> installed stdio.v0.17.0
-> installed ocamlformat-lib.0.29.0
Done.
<><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/Users/mac1000/.opam/5.4.0/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/Users/mac1000/.opam/5.4.0/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2026-03-23 09:24.12 ---> saved as "c21fe0340699d0471c760609decef77421635d24c8104dbbc990476cde0d62fa"
/: (run (shell "opam reinstall --with-test --verbose ocamlformat-lib.0.29.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\" != 'ocamlformat-lib.0.29.0' && 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 ocamlformat-lib 0.29.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ocamlformat-lib: dune build]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlformat-lib" "-j" "7" "@install" "@runtest" (CWD=/Users/mac1000/.opam/5.4.0/.opam-switch/build/ocamlformat-lib.0.29.0)
- (cd _build/default/test/unit && ./test_unit.exe)
- Testing `ocamlformat'.
- This run has ID `NP4EFP02'.
-
- ................................................................................
- ................................................................................
- ............................................
-
-> compiled ocamlformat-lib.0.29.0
-> removed ocamlformat-lib.0.29.0
-> installed ocamlformat-lib.0.29.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-23 09:24.25 ---> saved as "1f7a231eccd18a19ff74b550ec2c1eac9abfd6a8fb3b1c382901f20f94af53d9"
Job succeeded
2026-03-23 09:24.36: Job succeeded