Organisationsjmidmutamlcf593f ()macos-homebrew-4.14_opam-2.4

macos-homebrew-4.14_opam-2.4

Logs

Show full logs
2025-09-16 20:40.32: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (cf593f1577bfe06b0872d09d7f42242e4394e578) (macos-x86_64:macos-homebrew-4.14_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 "main" && cd "mutaml" && git reset --hard cf593f15
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 20:40.32: Using cache hint "jmid/mutaml-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.4-9dbad31cfecdf54d97de1beb19a9bc4c"
2025-09-16 20:40.32: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_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 20:40.32: Waiting for resource in pool OCluster
2025-09-16 20:40.32: Waiting for worker…
2025-09-16 20:42.08: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
HEAD is now at cf593f1 Merge pull request #45 from jmid/use-dunes-maintenance-intent

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

/: (comment macos-homebrew-4.14_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:42.09 ---> 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:42.10 ---> 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:42.10 ---> 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
   f1d3c77350..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:42.10 ---> using "5070814a7f4022fc108a09ca7bcfb987d4847595c8fa4ffbe52a0c54e0b84a41" from cache

/: (copy (src mutaml.opam) (dst ./src/./))
2025-09-16 20:42.10 ---> using "445128de69f770c3f7485208b803baa1a85e824c36ab140ea26a5be24756903b" 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:42.11 ---> using "654c4c59b57a0d5b944d30d921795621d54a2f443f2440e85ffc41edb117a172" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-16 20:42.11 ---> using "e1be920f355523dceffcffe92aec86570d42cdeb71e084a897d2f9e52df4cd8e" 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"))
+ /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-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 <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/local/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:d1192da68b2618652f4be0dd9f56b18d2d276481440ae241ce9cc17be0450e07
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/ea83c2ee63250dbc931826078df9b212ba8618ad631319170d4cb55723e4fe0b--gmp--6.3.0.sequoia.bottle.tar.gz
- ==> Fetching coreutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/coreutils/blobs/sha256:c7580a41bcd888acda07bd8b2c6c0c194a3763a27d36b1a48210a96f22ee773c
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/0171ba45a5cd03ec2c93974cc80f8bf2008279cc31e86c45eed018294482a445--coreutils--9.7.sonoma.bottle.tar.gz
- ==> Fetching diffutils
- ==> Downloading https://ghcr.io/v2/homebrew/core/diffutils/blobs/sha256:710e012f9f4c1f2f4cbd489741e98ac26d3e48133bb5c1c2cad3d6e08d64a5d8
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/9743643fb72df5af831ad3a6d90b6dc817513082bbc5957eaea8dd007397c3f6--diffutils--3.12.sonoma.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.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/gmp/6.3.0: 22 files, 3.2MB
- ==> Pouring coreutils--9.7.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.7: 477 files, 8.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.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/diffutils/3.12: 18 files, 846.9KB
- ==> 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="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
2025-09-16 20:42.12 ---> using "62be7da8876fbfd38a7742917465a5b9c110d474850e2d704a1de5951d740ccc" 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 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 ppx_derivers.1.2.1
-> 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:42.12 ---> using "a3709f357d6369300280ca429fa287e177af9cc90452ee7911a1ab8f58e350e4" from cache

/: (copy (src .) (dst ./src))
2025-09-16 20:42.13 ---> using "e66f1228383a1dea978797d7d1b6969648c130bed6e307b05c39c5e7f7adc2d7" from cache

/: (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.10 seconds.
OK
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.25 seconds.
OK
2025-09-16 20:42.13 ---> using "737a983f3c9009d744069601dd7fd62b04323349fd2a251474ae1c9a3d586d52" from cache
Job succeeded
2025-09-16 20:42.23: Job succeeded