Organisationsjmidmutamlf293e6 ()macos-homebrew-4.14_arm64_opam-2.3

macos-homebrew-4.14_arm64_opam-2.3

Logs

Show full logs
2025-03-04 21:54.14: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (f293e64792819268894a575dd18b6aa836ce0807) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard f293e647
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/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 f90215803a7685163b9d99ec926c4efac6cd671a || git fetch origin master) && git reset -q --hard f90215803a7685163b9d99ec926c4efac6cd671a && 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.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 conf-diffutils.2 conf-timeout.1 conf-which.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.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.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-03-04 21:54.14: Using cache hint "jmid/mutaml-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-e672dab5ae5acf48d877bb9771b5d2f0"
2025-03-04 21:54.14: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/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 f90215803a7685163b9d99ec926c4efac6cd671a || git fetch origin master) && git reset -q --hard f90215803a7685163b9d99ec926c4efac6cd671a && 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.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 conf-diffutils.2 conf-timeout.1 conf-which.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.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.2.2.2")
 (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.3 --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-03-04 21:54.14: Waiting for resource in pool OCluster
2025-03-04 21:54.14: Waiting for worker…
2025-03-04 21:54.14: Got resource from pool OCluster
Building on m1-worker-04
HEAD is now at 4331cd8 Bump setup-ocaml to avoid darcs installation error
HEAD is now at f293e64 Merge pull request #37 from jmid/add-dependabot

(from macos-homebrew-ocaml-4.14)
2025-03-04 21:54.15 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-03-04 21:54.15 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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-03-04 21:54.15 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-04 21:54.15 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" 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 f90215803a7685163b9d99ec926c4efac6cd671a || git fetch origin master) && git reset -q --hard f90215803a7685163b9d99ec926c4efac6cd671a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   67e940587b..a263eb47bd  master     -> origin/master
f90215803a Merge pull request #27486 from NathanReb/prep-for-ppxlib.0.36.0

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

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.4.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly, 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-03-04 21:54.16 ---> using "c4bffcdc80710e322468e4f6a2d5a0be37153abc3920791a9c6707c0c940a83a" from cache

/: (copy (src mutaml.opam) (dst ./src/./))
2025-03-04 21:54.16 ---> using "d54db686bdeee3941cfd234f724f9f3106ffe08502e4df83c00f30ace9589877" 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-03-04 21:54.16 ---> using "73d98e9c8748ea36a4741d7154a9a1b8b1f451c11f6e501fc6971edb18e9309c" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-03-04 21:54.16 ---> using "4470fbb372f7bf5eb1dffcc952fa92edba855c4c62ab31624e7f9128c9b942fc" from cache

/: (env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 conf-diffutils.2 conf-timeout.1 conf-which.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.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.2.2.2")

/: (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.3 --depext-only -y mutaml.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:d9faa506c014dedc0b034a68103ba75c9a58242f4d6c67b6ca0f649c39602bcf
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.3.7.arm64_big_sur.bottle.tar.gz
- ==> Pouring portable-ruby-3.3.7.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
- 
- Updated 1 tap (homebrew/core).
- ==> New Formulae
- sequoia-sqv

<><> 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"
- ==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/manifests/9.6
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/fc56eb4e1329f92d37faafd82b3c44f7924a4d39de2d4f6dfeeae96efd28ff80--coreutils-9.6.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:78e4f40cba6419cf7e2d81e9c945d1e93744511bd5230bdfac1b69ed894914b4
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/96a5c6ba7b30c6f2734be44067ba66ef0de5e0973c913659c7b555a4b063029c--gmp--6.3.0.arm64_sonoma.bottle.tar.gz
- ==> Fetching coreutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/blobs/sha256:99ce6ca149108ad1200010db99705cf85ae18943f6f5b56f4f232a017b94fcf2
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/395d65f7528356fd6c5324696310399fb8c127ea666f4424b0fa9b1dacf5b706--coreutils--9.6.arm64_sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/manifests/3.11
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/ec8d410cb793fac7e3aaab6bf052835d3a6193a51df549bb23d5cb430fad9021--diffutils-3.11.bottle_manifest.json
- ==> Fetching diffutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/blobs/sha256:47b8019f3e69a3b80f5e0f257e75e2de36bf3d46110f0bb19896f72eb19443a6
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/bb4b320e6f2f9e6cfad81475fce45c5c36a8a40fc5b78f5e84382766e62068f8--diffutils--3.11.arm64_sonoma.bottle.tar.gz
- ==> Installing dependencies for coreutils: gmp
- ==> 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_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/gmp/6.3.0: 22 files, 3.3MB
- ==> Installing coreutils
- ==> Pouring coreutils--9.6.arm64_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="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
- ==> Summary
- 🍺  /opt/homebrew/Cellar/coreutils/9.6: 477 files, 11.7MB
- ==> Running `brew cleanup coreutils`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
- ==> Pouring diffutils--3.11.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/diffutils/3.11: 18 files, 948.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="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
2025-03-04 21:54.16 ---> using "7199724b950fc42e5d065d171341370f4e47a119f68c6e4f169676e703a6592c" 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 24 packages
  - install base                v0.16.3
  - install conf-bash           1
  - install conf-diffutils      2
  - install conf-timeout        1
  - install conf-which          1
  - install cppo                1.8.0
  - install csexp               1.5.2
  - install dune                3.17.2
  - install dune-configurator   3.17.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              2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-which.1
-> installed conf-timeout.1
-> installed conf-diffutils.2
-> installed conf-bash.1
-> retrieved cppo.1.8.0  (cached)
-> retrieved base.v0.16.3  (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.2.2.2  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ounit2.2.2.7
-> installed yojson.2.2.2
-> 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.17.2
-> installed base.v0.16.3
-> 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-03-04 21:54.16 ---> using "d32c7363666a90b274eda137c8ba7844a781b3ce4a6f770f73bf325fc8b2e9b5" from cache

/: (copy (src .) (dst ./src))
2025-03-04 21:54.16 ---> using "dcd4ca2efe0887443ab3367c31a33d97a273d24e2fa749d5021bc94ffb0bf767" from cache

/: (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.21 seconds.
OK
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.24 seconds.
OK
2025-03-04 21:54.16 ---> using "ac3b2e13b1a309f51b6ed94d9544e4388b779b1af1b99c032026b13f835ce8d8" from cache
Job succeeded
2025-03-04 21:54.23: Job succeeded