- github
- ocaml
- opam-repository
- e61292
- macos,macos-homebrew-ocaml-4.14-arm64,gendarme-yaml.0.4.1
(not at the head of any monitored branch or PR)
2026-03-20 14:10.45: New job: build gendarme-yaml.0.4.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29566/head (e61292316e671dff4d23c1c4ff6c8357b7b78765)
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/29566/head" && git reset --hard e6129231
git fetch origin master
git merge --no-edit 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef
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 gendarme-yaml.0.4.1 0.4.1
RUN opam reinstall gendarme-yaml.0.4.1; \
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" != 'gendarme-yaml.0.4.1' && 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-20 14:10.45: Using cache hint "macos-homebrew-ocaml-4.14-gendarme-yaml.0.4.1-e61292316e671dff4d23c1c4ff6c8357b7b78765"
2026-03-20 14:10.45: 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 gendarme-yaml.0.4.1 0.4.1"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall gendarme-yaml.0.4.1;\
\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\" != 'gendarme-yaml.0.4.1' && 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-20 14:10.45: Waiting for resource in pool OCluster
2026-03-20 14:10.47: Waiting for worker…
2026-03-20 14:19.36: Got resource from pool OCluster
Building on m1-worker-03
All commits already cached
Updating files: 66% (12242/18514)
Updating files: 67% (12405/18514)
Updating files: 68% (12590/18514)
Updating files: 69% (12775/18514)
Updating files: 70% (12960/18514)
Updating files: 71% (13145/18514)
Updating files: 72% (13331/18514)
Updating files: 73% (13516/18514)
Updating files: 74% (13701/18514)
Updating files: 75% (13886/18514)
Updating files: 76% (14071/18514)
Updating files: 77% (14256/18514)
Updating files: 78% (14441/18514)
Updating files: 79% (14627/18514)
Updating files: 80% (14812/18514)
Updating files: 81% (14997/18514)
Updating files: 82% (15182/18514)
Updating files: 83% (15367/18514)
Updating files: 84% (15552/18514)
Updating files: 85% (15737/18514)
Updating files: 86% (15923/18514)
Updating files: 87% (16108/18514)
Updating files: 88% (16293/18514)
Updating files: 89% (16478/18514)
Updating files: 90% (16663/18514)
Updating files: 91% (16848/18514)
Updating files: 92% (17033/18514)
Updating files: 93% (17219/18514)
Updating files: 94% (17404/18514)
Updating files: 95% (17589/18514)
Updating files: 96% (17774/18514)
Updating files: 97% (17959/18514)
Updating files: 98% (18144/18514)
Updating files: 99% (18329/18514)
Updating files: 100% (18514/18514)
Updating files: 100% (18514/18514), done.
HEAD is now at 9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0
Updating 9f189ca4f9..e61292316e
Fast-forward
packages/gendarme-csv/gendarme-csv.0.4.1/opam | 38 ++++++++++++++++++
.../gendarme-ezjsonm/gendarme-ezjsonm.0.4.1/opam | 40 +++++++++++++++++++
packages/gendarme-json/gendarme-json.0.4.1/opam | 21 ++++++++++
packages/gendarme-toml/gendarme-toml.0.4.1/opam | 38 ++++++++++++++++++
packages/gendarme-yaml/gendarme-yaml.0.4.1/opam | 38 ++++++++++++++++++
.../gendarme-yojson/gendarme-yojson.0.4.1/opam | 39 ++++++++++++++++++
packages/gendarme/gendarme.0.4.1/opam | 37 +++++++++++++++++
packages/ppx_marshal/ppx_marshal.0.4.1/opam | 46 ++++++++++++++++++++++
.../ppx_marshal_ext/ppx_marshal_ext.0.4.1/opam | 40 +++++++++++++++++++
9 files changed, 337 insertions(+)
create mode 100644 packages/gendarme-csv/gendarme-csv.0.4.1/opam
create mode 100644 packages/gendarme-ezjsonm/gendarme-ezjsonm.0.4.1/opam
create mode 100644 packages/gendarme-json/gendarme-json.0.4.1/opam
create mode 100644 packages/gendarme-toml/gendarme-toml.0.4.1/opam
create mode 100644 packages/gendarme-yaml/gendarme-yaml.0.4.1/opam
create mode 100644 packages/gendarme-yojson/gendarme-yojson.0.4.1/opam
create mode 100644 packages/gendarme/gendarme.0.4.1/opam
create mode 100644 packages/ppx_marshal/ppx_marshal.0.4.1/opam
create mode 100644 packages/ppx_marshal_ext/ppx_marshal_ext.0.4.1/opam
(from macos-homebrew-ocaml-4.14)
2026-03-20 14:19.38 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-03-20 14:19.39 ---> 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-03-20 14:19.39 ---> 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-03-20 14:19.39 ---> 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-03-20 14:19.39 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache
/: (copy (src .) (dst opam-repository/))
2026-03-20 14:19.44 ---> saved as "1751ee3d24f6af2c965656887385dbad6e95cb00bc156b6da1be78f44b98cfe1"
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-03-20 14:19.53 ---> saved as "5d81b2b5823d5d5711765a7aceccac0b4c9ef2fb37fc1202580bec41410b855b"
/: (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.1%
0.8%
# 2.0%
# 2.7%
## 3.5%
### 4.3%
-
### 5.2%
#### 6.0%
#### 6.9%
##### 7.7%
###### 8.5%
###### 9.3%
####### 10.2%
####### 11.0%
######## 11.8%
######### 12.6%
######### 13.5%
########## 14.3%
-
########## 15.0%
########### 15.8%
############ 16.7%
############ 17.5%
############# 18.3%
############# 19.1%
############## 20.0%
############## 20.8%
############### 21.6%
################ 22.4%
################ 23.3%
-
################# 24.1%
################# 24.9%
################## 25.6%
################### 26.6%
################### 27.3%
#################### 28.1%
#################### 28.9%
##################### 29.8%
###################### 30.6%
###################### 31.4%
####################### 32.2%
####################### 33.1%
-
######################## 33.9%
######################## 34.7%
######################### 35.6%
########################## 36.4%
########################## 37.3%
########################### 38.1%
########################### 38.9%
############################ 39.6%
############################# 40.6%
############################# 41.3%
############################## 42.1%
-
############################## 43.0%
############################### 43.8%
################################ 44.6%
################################ 45.4%
################################# 46.3%
################################# 47.1%
################################## 47.9%
################################### 48.8%
################################### 49.6%
#################################### 50.4%
#################################### 51.2%
-
##################################### 52.1%
###################################### 52.9%
###################################### 53.6%
####################################### 54.4%
####################################### 55.3%
######################################## 56.1%
######################################## 56.9%
######################################### 57.7%
########################################## 58.6%
########################################## 59.4%
########################################### 60.2%
########################################### 61.0%
-
############################################ 61.9%
############################################# 62.7%
############################################# 63.5%
############################################## 64.2%
############################################## 65.2%
############################################### 65.9%
################################################ 66.7%
################################################ 67.6%
################################################# 68.4%
################################################# 69.3%
################################################## 70.1%
-
################################################### 70.9%
################################################### 71.7%
#################################################### 72.6%
#################################################### 73.4%
##################################################### 74.2%
##################################################### 75.0%
###################################################### 75.9%
####################################################### 76.7%
####################################################### 77.5%
######################################################## 78.2%
######################################################## 79.2%
-
######################################################### 80.1%
########################################################## 80.9%
########################################################## 81.6%
########################################################### 82.4%
########################################################### 83.1%
############################################################ 84.0%
############################################################# 84.8%
############################################################# 85.6%
############################################################## 86.4%
############################################################## 87.3%
############################################################### 88.1%
-
################################################################ 89.0%
################################################################ 89.8%
################################################################# 90.5%
################################################################# 91.5%
################################################################## 92.2%
################################################################## 93.0%
################################################################### 93.8%
#################################################################### 94.7%
#################################################################### 95.5%
##################################################################### 96.3%
##################################################################### 97.1%
-
###################################################################### 98.0%
####################################################################### 98.8%
####################################################################### 99.7%
######################################################################## 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-20 14:20.24 ---> saved as "db3fac470867689cdd43235200122fa553f4daffeec4b11403716530dca45347"
/: (run (shell "opam pin add -k version -yn gendarme-yaml.0.4.1 0.4.1"))
gendarme-yaml is now pinned to version 0.4.1
2026-03-20 14:20.26 ---> saved as "6050ecabd15b69b54fd569db95e19247b73a0c8d4c0c6ae3565370feddfd48b3"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall gendarme-yaml.0.4.1;\
\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\" != 'gendarme-yaml.0.4.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
gendarme-yaml.0.4.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 23 packages
- install astring 0.8.5 [required by bos]
- install bos 0.2.1 [required by yaml]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by yaml]
- install dune 3.21.1 [required by gendarme-yaml]
- install dune-configurator 3.21.1 [required by yaml]
- install fmt 0.11.0 [required by bos]
- install fpath 0.7.3 [required by bos]
- install gendarme 0.4.1 [required by ppx_marshal_ext]
- install gendarme-yaml 0.4.1 (pinned)
- install integers 0.7.0 [required by ctypes]
- install logs 0.10.0 [required by bos]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by bos]
- install ocamlfind 1.9.8 [required by bos]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_marshal_ext 0.4.1 [required by gendarme-yaml]
- install ppxlib 0.37.0 [required by ppx_marshal_ext]
- install rresult 0.7.0 [required by bos]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by bos]
- install yaml 3.2.0 [required by gendarme-yaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0 (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gendarme.0.4.1, gendarme-yaml.0.4.1, ppx_marshal_ext.0.4.1 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved yaml.3.2.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.21.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
[ERROR] The compilation of gendarme.0.4.1 failed at "dune build -p gendarme -j 7 @install".
-> installed integers.0.7.0
-> installed dune-configurator.3.21.1
-> installed ctypes.0.24.0
-> installed yaml.3.2.0
-> installed ppxlib.0.37.0
#=== ERROR while compiling gendarme.0.4.1 =====================================#
# context 2.5.0 | macos/arm64 | ocaml-base-compiler.4.14.2 | file:///Users/mac1000/opam-repository
# path ~/.opam/4.14.2/.opam-switch/build/gendarme.0.4.1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p gendarme -j 7 @install
# exit-code 1
# env-file ~/.opam/log/gendarme-19592-cccb9e.env
# output-file ~/.opam/log/gendarme-19592-cccb9e.out
### output ###
# File "ppx/dune", line 17, characters 16-33:
# 17 | (enabled_if (< %{version:ppxlib} 0.36))
# ^^^^^^^^^^^^^^^^^
# Error: Package "ppxlib" doesn't exist in the current project and isn't
# installed either.
# File "ppx/dune", line 25, characters 17-34:
# 25 | (enabled_if (>= %{version:ppxlib} 0.36))
# ^^^^^^^^^^^^^^^^^
# Error: Package "ppxlib" doesn't exist in the current project and isn't
# installed either.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build gendarme 0.4.1
+-
+- The following changes have been performed (the rest was aborted)
| - install astring 0.8.5
| - install bos 0.2.1
| - install csexp 1.5.2
| - install ctypes 0.24.0
| - install dune 3.21.1
| - install dune-configurator 3.21.1
| - install fmt 0.11.0
| - install fpath 0.7.3
| - install integers 0.7.0
| - install logs 0.10.0
| - install ocaml-compiler-libs v0.12.4
| - install ocamlbuild 0.16.1
| - install ocamlfind 1.9.8
| - install ppx_derivers 1.2.1
| - install ppxlib 0.37.0
| - install rresult 0.7.0
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
| - install topkg 1.1.1
| - install yaml 3.2.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-20260320142027.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.
opam-repo-ci detected dependencies failing: gendarme.0.4.1
"/usr/bin/env" "bash" "-c" "opam reinstall gendarme-yaml.0.4.1;
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" != 'gendarme-yaml.0.4.1' && 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-03-20 14:21.26: Job failed: Failed: Build failed
2026-03-20 14:21.26: Log analysis:
2026-03-20 14:21.26: >>>
[ERROR] The compilation of gendarme.0.4.1 failed at "dune build -p gendarme -j 7 @install".
(score = 20)
2026-03-20 14:21.26: >>>
# Error: Package "ppxlib" doesn't exist in the current project and isn't
(score = 48)
2026-03-20 14:21.26: >>>
# Error: Package "ppxlib" doesn't exist in the current project and isn't
(score = 48)
2026-03-20 14:21.26: >>>
opam-repo-ci detected dependencies failing: gendarme.0.4.1
(score = 75)
2026-03-20 14:21.26: gendarme.0.4.1 failed to build