Organisationsjmidmutaml374efb ()macos-homebrew-4.14_arm64_opam-2.4

macos-homebrew-4.14_arm64_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:12.19: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/dependabot/github_actions/actions/checkout-5 (374efbe54fd4cf47e86f6644f1524289e4975046) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.4)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/jmid/mutaml.git" -b "dependabot/github_actions/actions/checkout-5" && cd "mutaml" && git reset --hard 374efbe5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.4 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && 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.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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.4 --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


2025-09-16 10:12.19: Using cache hint "jmid/mutaml-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.4-9dbad31cfecdf54d97de1beb19a9bc4c"
2025-09-16 10:12.19: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
(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 "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mutaml.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn mutaml.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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.4 --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"))
)


2025-09-16 10:12.19: Waiting for resource in pool OCluster
2025-09-16 15:40.18: Waiting for worker…
2025-09-16 20:44.33: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
HEAD is now at 374efbe Bump actions/checkout from 4 to 5


(from macos-homebrew-ocaml-4.14)
2025-09-16 20:44.33 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_arm64_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
2025-09-16 20:44.33 ---> using "16fd332aba96a180769fbf49639a0f9a6aa6ed7d2edfa24c2b9bea4039176eb4" 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] no changes from git+file:///Users/mac1000/opam-repository
2025-09-16 20:44.33 ---> using "441082522a992e4675bb61cf184ac4d487fcb27eccab875ab68ef480e42527a0" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-16 20:44.33 ---> using "73a23ad864bce177bda3ef5ed15fdc258f712e067e25e839184501078d169a1f" 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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised 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.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 20:44.34 ---> using "5070814a7f4022fc108a09ca7bcfb987d4847595c8fa4ffbe52a0c54e0b84a41" from cache


/: (copy (src mutaml.opam) (dst ./src/./))
2025-09-16 20:44.34 ---> using "0e9a7f6cfd57175085a7f4fd134734bbae545abe0e37ad7383532467e98a5bde" from cache


/: (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)
2025-09-16 20:44.34 ---> using "214b9635328c3d60851cf0098af25a17835b083a121309287ab0a9a61a183b36" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-16 20:44.34 ---> using "ffa9e7f208f8a8422e385687ec169f7f381a6434f9f0a0ac134dcc2156637bbb" from cache


/: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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.4 --depext-only -y mutaml.dev $DEPS"))
+ /opt/homebrew/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-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).


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


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


+ /opt/homebrew/bin/brew "install" "coreutils" "diffutils"
- ==> Fetching downloads for: coreutils and diffutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/manifests/9.7
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/42f4c2e61aba25d3ead49fbfc09e225ee50c3adbc35e4b6ce7a72d4ebe4a3460--coreutils-9.7.bottle_manifest.json
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/manifests/3.12
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/df7a9d1fb56fe293861f95e08610548604677a410e1f7627d8b3847e2a4b9a81--diffutils-3.12.bottle_manifest.json
- ==> Fetching dependencies for coreutils: gmp
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
- ==> Fetching gmp
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:6683d73d6677d28e1e8d1b92d6ebfbc068c1d33e19b79114a22a648a99ba5991
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/a0c4a56cc56ffac0cb3f0aa5deb1b3a614002dabf65a81e14d87129c89eb7bde--gmp--6.3.0.arm64_sequoia.bottle.tar.gz
- ==> Fetching coreutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/blobs/sha256:5d3e3c74de367a4d8ae6f22457732a8e5d39030c46f8f585b1780c0a916d0c8e
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/c9ccae12238e2a1cd135ab7c3f464c828533a61898d3bb24391ffcc0350112de--coreutils--9.7.arm64_sequoia.bottle.tar.gz
- ==> Fetching diffutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/blobs/sha256:f1439a94ab4fc8928a92a20d939e88ae0a77fb350a9d93e4d1101570a9590b4b
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/2636218705a875a47993c7f281ffd0a76669912a671897848d1aa42588335be4--diffutils--3.12.arm64_sequoia.bottle.tar.gz
- ==> Installing coreutils dependency: gmp
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
- ==> Pouring gmp--6.3.0.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/gmp/6.3.0: 22 files, 3.3MB
- ==> Pouring coreutils--9.7.arm64_sequoia.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="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
- ==> Summary
- 🍺  /opt/homebrew/Cellar/coreutils/9.7: 465 files, 11.8MB
- ==> 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.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/diffutils/3.12: 18 files, 951.3KB
- ==> Running `brew cleanup diffutils`...
- ==> No outdated dependents to upgrade!
- ==> 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="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
2025-09-16 20:44.34 ---> using "9d6849dcd6444ab25f280bbc907c16497599be4897e69adeeca49e346aec654f" from cache


/: (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-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 22 packages
- install base                v0.16.4
- install conf-diffutils      2
- install conf-timeout        1
- install cppo                1.8.0
- install csexp               1.5.2
- install dune                3.20.2
- install dune-configurator   3.20.2
- install ocaml-compiler-libs v0.12.4
- 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.0.3
- install ppx_js_style        v0.16.0
- install ppx_yojson_conv     v0.16.0
- install ppx_yojson_conv_lib v0.16.0
- install ppxlib              0.35.0
- install seq                 base
- install sexplib0            v0.16.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.16.4  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (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.0.3  (cached)
-> retrieved ppx_js_style.v0.16.0  (cached)
-> retrieved ppx_yojson_conv.v0.16.0  (cached)
-> retrieved ppx_yojson_conv_lib.v0.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-random.1.2.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed ounit2.2.2.7
-> installed yojson.3.0.0
-> installed sexplib0.v0.16.0
-> installed octavius.1.2.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed ppx_yojson_conv_lib.v0.16.0
-> installed stdlib-random.1.2.0
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_js_style.v0.16.0
-> installed ppx_deriving.6.0.3
-> installed ppx_yojson_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 20:44.34 ---> using "b076d2ef61bf8d0e6827c023831ab23c81a53249ded731900b2f01e22afbffcc" from cache


/: (copy (src .) (dst ./src))
2025-09-16 20:44.36 ---> saved as "b6185c612e82dd8ce4782cd39ca8fe5e2440a965845e8ed353d139c7a2019e1f"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.20 seconds.
OK
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.22 seconds.
OK
2025-09-16 20:45.12 ---> saved as "bc4fd4040017c3fb0d4e071ae4bf26cce24c98603f5fd44a95265ba5d898b263"
Job succeeded
2025-09-16 20:45.18: Job succeeded