Organisationsjmidmutaml638168 ()macos-homebrew-5.3_arm64_opam-2.3

macos-homebrew-5.3_arm64_opam-2.3

Logs

Show full logs
2025-04-24 16:16.22: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (63816875cf5bb9b98167db012aa817844de1e329) (macos-arm64:macos-homebrew-5.3_arm64_opam-2.3)
Base: macos-homebrew-ocaml-5.3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard 63816875
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.3
# macos-homebrew-5.3_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.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.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.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-04-24 16:16.22: Using cache hint "jmid/mutaml-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_arm64_opam-2.3-a432aefea8b852abc75844802d4b5a50"
2025-04-24 16:16.22: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
 (comment macos-homebrew-5.3_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.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.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.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-04-24 16:16.22: Waiting for resource in pool OCluster
2025-04-24 16:16.23: Waiting for worker…
2025-04-24 16:16.23: Got resource from pool OCluster
Building on m1-worker-01
HEAD is now at 87c26f3 Remove conf-which dependency and regenerate opam file
HEAD is now at 6381687 Merge pull request #39 from jmid/remove-which-dep

(from macos-homebrew-ocaml-5.3)
2025-04-24 16:16.24 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache

/: (comment macos-homebrew-5.3_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-04-24 16:16.24 ---> using "8efc335cb5004a650aab29e72b9849a2b2e2f0853bc55d3a74763c7cceed5d74" 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-04-24 16:16.24 ---> using "e29fa6de89fe919799ac81fd4a1c768d8341cedf873c17042854467d2aebeceb" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-24 16:16.24 ---> using "a268524b45b0c90a951719c2a6c8c78c0b8a0fec90c9f437befd49b0008dc673" 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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..5afc819055  master     -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1

<><> 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
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-04-24 16:16.24 ---> using "0fbaba39e6ec5df90366a8dfd5051007fe230d7c334dcc7d0160d66f2ca0c437" from cache

/: (copy (src mutaml.opam) (dst ./src/./))
2025-04-24 16:16.24 ---> using "319e81edecc8c41946c3409721daa935cbabe4657c9b96df1f18c824e8b46f7f" 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-04-24 16:16.24 ---> using "5f03ebafd7f77ffab5877200836a653590e9161b593605217cea11b9c06304b3" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-04-24 16:16.25 ---> using "aec05bd55e13953d5ae49ee969cbe63b0cb05cd7d7655090242f0b7d988f8787" from cache

/: (env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.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.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.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:7645e2d653a335798030f6502e7834dfdbeeec5629429a1a34da5dbb2c57d63e
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.3.8.arm64_big_sur.bottle.tar.gz
- ==> Pouring portable-ruby-3.3.8.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
- mender-artifact
- multi-gitter
- preevy
- terraform-module-versions
- ==> Outdated Formulae
- gpatch
- 
- You have 1 outdated formula installed.
- You can upgrade it with brew upgrade
- or list it with brew outdated.

<><> 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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 <><><><><><><><><><><><><><><><><><><><><><>

+ /opt/homebrew/bin/brew "install" "coreutils" "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
- ==> 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:4092845c230a1b20213f3896125f12484cf72dcaca28e111544dbacb1110c8eb
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/1f8b720e923c355a1f8b8574512ab344de0753bedf4b1918e4c3963f91697db3--coreutils--9.7.arm64_sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/manifests/3.12
- ==> Fetching diffutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/blobs/sha256:9b9673616bcea3eb994a9b3afcb243f1b204f182c9aef25e6abf0c19eb79e2e7
- ==> 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.7.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.7: 477 files, 11.8MB
- ==> 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.12.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/diffutils/3.12: 18 files, 951.3KB
- ==> Running `brew cleanup diffutils`...
- Removing: /Users/mac1000/Library/Caches/Homebrew/diffutils_bottle_manifest--3.11... (7.4KB)
- Removing: /Users/mac1000/Library/Caches/Homebrew/diffutils--3.11... (308.5KB)
- ==> 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-04-24 16:16.25 ---> using "eba7e149b7dfc954d2f101a8428200a2133589e3eb67b1c7ddffad6a8403996e" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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.1
  - install conf-diffutils          2
  - install conf-timeout            1
  - install cppo                    1.8.0
  - install csexp                   1.5.2
  - install dune                    3.18.1
  - install dune-configurator       3.18.1
  - install ocaml-compiler-libs     v0.17.0
  - install ocaml_intrinsics_kernel v0.17.1
  - 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.17.0
  - install ppx_yojson_conv         v0.17.0
  - install ppx_yojson_conv_lib     v0.17.0
  - install ppxlib                  0.35.0
  - install seq                     base
  - install sexplib0                v0.17.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-timeout.1
-> installed conf-diffutils.2
-> retrieved cppo.1.8.0  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (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.17.0  (cached)
-> retrieved ppx_yojson_conv.v0.17.0  (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.35.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.18.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed octavius.1.2.2
-> installed yojson.2.2.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 ounit2.2.2.7
-> installed dune-configurator.3.18.1
-> installed base.v0.17.1
-> installed ppxlib.0.35.0
-> installed ppx_js_style.v0.17.0
-> installed ppx_deriving.6.0.3
-> installed ppx_yojson_conv.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-24 16:16.25 ---> using "3bb4607701592e0426897e4f8018fce72ef3ca37787a323844557d89ff9eee9a" from cache

/: (copy (src .) (dst ./src))
2025-04-24 16:16.25 ---> using "e793c2c55754a62c9e5ff59d9a00afd12fa9eaee329d5b454765e27a96720605" 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-04-24 16:16.25 ---> using "bef5f6ae973bacbf58f0485920a935f41c079f6e889f6ef8a0851d7d96f3cd20" from cache
Job succeeded
2025-04-24 16:16.32: Job succeeded