Organisationsjmidmutaml783831 (main)macos-homebrew-5.5_opam-2.5

macos-homebrew-5.5_opam-2.5

Link Copied
Code Copied

Logs

2026-06-30 12:12.17: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (macos-x86_64:macos-homebrew-5.5_opam-2.5)
Base: macos-homebrew-ocaml-5.5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard 783831dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.5
# macos-homebrew-5.5_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN opam update -u
COPY --chown=1000:1000 mutaml.opam ./src/./
RUN opam pin add -yn mutaml.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-compiler-libs.v0.17.0 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-06-30 12:12.17: Using cache hint "jmid/mutaml-macos-homebrew-ocaml-5.5-macos-homebrew-5.5_opam-2.5-8f2e6a77f59f76ab52cc83c8a72066e3"
2026-06-30 12:12.17: Using OBuilder spec:
((from macos-homebrew-ocaml-5.5)
(comment macos-homebrew-5.5_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update -u"))
(copy (src mutaml.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn mutaml.dev './src/./'"))
(run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-compiler-libs.v0.17.0 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-06-30 12:12.17: Waiting for resource in pool OCluster
2026-06-30 12:12.17: Waiting for worker…
2026-06-30 12:25.17: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
HEAD is now at 783831d Merge pull request #44 from jmid/dependabot/github_actions/actions/checkout-5


(from macos-homebrew-ocaml-5.5)
2026-06-30 12:25.18 ---> using "82c12866f23b098fbbf8b05008cd71f7526a13ffd1bc8a39e4d487c3b436c70f" from cache


/: (comment macos-homebrew-5.5_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-06-30 12:25.18 ---> using "66f8eee01ecd3eb6537e87a3fb8e6278886ddc6897b79e190a452d36267d447e" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b7773e2175..8cd35acddd  master     -> origin/master
8cd35acddd Merge pull request #30092 from shonfeder/release-dune-3.24.0
2026-06-30 12:25.18 ---> using "b59e0ad35d3e034fd87d4a3402c4057a5d686cae61f8b2061f0be47d54a040e1" from cache


/: (run (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] synchronised from git+file:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


default (at git+file:///Users/mac1000/opam-repository):
[INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


2026-06-30 12:25.19 ---> using "f692cb3754527d299cbf337fe85899c7de73bd708e67653c66f149436fd578ad" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.5.0
2.5.0
2026-06-30 12:25.19 ---> using "22dfe904549f7ef27171a8343c4c3a7deaa788e272dcf914a48952537019077a" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update -u"))


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.1
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.1"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-06-30 12:25.19 ---> using "cf36e406078590c8c2900844b8c5a3c869a1c2d367f3d96a383fa4f8464391ca" from cache


/: (copy (src mutaml.opam) (dst ./src/./))
2026-06-30 12:25.21 ---> saved as "0adafaa712e47d2258c562d1cf98034d0dcafafaae4d1091e4de4319433d25f5"


/: (run (network host)
(shell "opam pin add -yn mutaml.dev './src/./'"))
[mutaml.dev] synchronised (file:///Users/mac1000/src)
mutaml is now pinned to file:///Users/mac1000/src (version dev)
2026-06-30 12:25.34 ---> saved as "df3899bc7647c87a5e3e940a2df68fa17f90660639c3680075a34824d1576be3"


/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-06-30 12:25.35 ---> saved as "60d03ae9b3dc8a789a999fc94cff9a74983ee34ee92f342eb7c11309ba49f589"


/: (env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-compiler-libs.v0.17.0 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.dev] synchronised (file:///Users/mac1000/src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
coreutils diffutils


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/local/bin/brew "install" "coreutils" "diffutils"
- ==> Would install 2 formulae:
- coreutils diffutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/manifests/9.11
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/fbfa9037a96ef37ec520593e3b9a2cd943e785aa962485447484495e270dede2--coreutils-9.11.bottle_manifest.json
- ==> Would install 1 dependency for coreutils:
- gmp
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/manifests/3.12
- ==> Fetching downloads for: coreutils and diffutils
- ✔︎ Bottle gmp (6.3.0)
- ✔︎ Bottle coreutils (9.11)
- ✔︎ Bottle gmp (6.3.0)
- ✔︎ Bottle coreutils (9.11)
- ✔︎ Bottle diffutils (3.12)
- ==> Installing coreutils dependency: gmp
- ==> Pouring gmp--6.3.0.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/gmp/6.3.0: 22 files, 3.4MB
- ==> Pouring coreutils--9.11.sonoma.bottle.tar.gz
- ==> Caveats
- Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix "g".
- If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH with:
-   PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
- ==> Summary
- 🍺  /usr/local/Cellar/coreutils/9.11: 457 files, 9.9MB
- ==> Running `brew cleanup coreutils`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Pouring diffutils--3.12.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/diffutils/3.12: 18 files, 866.7KB
- ==> Running `brew cleanup diffutils`...
- ==> Caveats
- ==> coreutils
- Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix "g".
- If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH with:
-   PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
# To update the current shell environment, run: eval $(opam env)
2026-06-30 12:26.01 ---> saved as "c409abce9ed50588286e32b99748af8ee9d10fa569b0868c358387d88f3f3a45"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 23 packages
- install base                    v0.17.3
- install conf-diffutils          2
- install conf-timeout            1
- install cppo                    1.8.0
- install csexp                   1.5.2
- install dune                    3.24.0
- install dune-configurator       3.24.0
- install ocaml-compiler-libs     v0.17.0
- install ocaml_intrinsics_kernel v0.17.2
- install ocamlfind               1.9.8
- install octavius                1.2.2
- install ounit2                  2.2.7
- install ppx_derivers            1.2.1
- install ppx_deriving            6.1.1
- install ppx_js_style            v0.17.1
- install ppx_yojson_conv         v0.17.1
- install ppx_yojson_conv_lib     v0.17.0
- install ppxlib                  0.38.0
- install seq                     base
- install sexplib0                v0.17.0
- install stdlib-random           1.2.0
- install stdlib-shims            0.3.0
- install yojson                  3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-timeout.1
-> installed conf-diffutils.2
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.2  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_js_style.v0.17.1  (cached)
-> retrieved ppx_yojson_conv.v0.17.1  (cached)
-> retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-random.1.2.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.24.0, dune-configurator.3.24.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.24.0
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ounit2.2.2.7
-> installed yojson.3.0.0
-> installed sexplib0.v0.17.0
-> installed octavius.1.2.2
-> installed ocaml_intrinsics_kernel.v0.17.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.0
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed stdlib-random.1.2.0
-> installed dune-configurator.3.24.0
-> installed base.v0.17.3
-> installed ppxlib.0.38.0
-> installed ppx_js_style.v0.17.1
-> installed ppx_deriving.6.1.1
-> installed ppx_yojson_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-30 12:27.47 ---> saved as "143d187953083b240884e26d51e773c03d499af8097d7ad13526528486bae81a"


/: (copy (src .) (dst ./src))
2026-06-30 12:27.48 ---> saved as "5221ffbab7a939edf85fb402f3c28900c539c7762907e6e6a625c5262086646d"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.14 seconds.
OK
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.20 seconds.
OK
(cd _build/default && /Users/mac1000/.opam/5.5.0/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/ppx/.mutaml_ppx.objs/byte -I /Users/mac1000/.opam/5.5.0/lib/ocaml-compiler-libs/common -I /Users/mac1000/.opam/5.5.0/lib/ocaml-compiler-libs/shadow -I /Users/mac1000/.opam/5.5.0/lib/ocaml/compiler-libs -I /Users/mac1000/.opam/5.5.0/lib/ppx_derivers -I /Users/mac1000/.opam/5.5.0/lib/ppx_yojson_conv_lib -I /Users/mac1000/.opam/5.5.0/lib/ppxlib -I /Users/mac1000/.opam/5.5.0/lib/ppxlib/ast -I /Users/mac1000/.opam/5.5.0/lib/ppxlib/astlib -I /Users/mac1000/.opam/5.5.0/lib/ppxlib/print_diff -I /Users/mac1000/.opam/5.5.0/lib/ppxlib/stdppx -I /Users/mac1000/.opam/5.5.0/lib/ppxlib/traverse_builtins -I /Users/mac1000/.opam/5.5.0/lib/sexplib0 -I /Users/mac1000/.opam/5.5.0/lib/stdlib-random/v4 -I /Users/mac1000/.opam/5.5.0/lib/stdlib-shims -I /Users/mac1000/.opam/5.5.0/lib/yojson -I src/common/.mutaml_common.objs/byte -no-alias-deps -opaque -o src/ppx/.mutaml_ppx.objs/byte/mutaml_ppx.cmo -c -impl src/ppx/mutaml_ppx.pp.ml)
File "src/ppx/mutaml_ppx.ml", line 466, characters 9-28:
466 |     | _, Pexp_function cases ->
^^^^^^^^^^^^^^^^^^^
Error: The constructor Pexp_function expects 3 argument(s),
but is applied here to 1 argument(s)
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-06-30 12:27.56: Job failed: Failed: Build failed