Organisationstaridesruntime_events_toolsd976c8 ()macos-homebrew-5.4_opam-2.4

macos-homebrew-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-15 14:42.42: New job: test tarides/runtime_events_tools https://github.com/tarides/runtime_events_tools.git#refs/pull/61/head (d976c82a31af593781c284d33f0e7623c71db0f1) (macos-x86_64:macos-homebrew-5.4_opam-2.4)
Base: macos-homebrew-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/tarides/runtime_events_tools.git" && cd "runtime_events_tools" && git fetch origin "refs/pull/61/head" && git reset --hard d976c82a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 runtime_events_tools_bare.opam runtime_events_tools.opam ./src/./
RUN opam pin add -yn runtime_events_tools_bare.dev './src/./' && \
opam pin add -yn runtime_events_tools.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-cmake.1 conf-libffi.2.0.0 conf-pkg-config.4 conf-zlib.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hdr_histogram.0.0.4 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.1.1 trace.0.10 trace-fuchsia.0.10 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y runtime_events_tools_bare.dev runtime_events_tools.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-12-15 14:42.42: Using cache hint "tarides/runtime_events_tools-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_opam-2.4-ac9c65903cf161739acc7e17dc307892"
2025-12-15 14:42.42: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(comment macos-homebrew-5.4_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src runtime_events_tools_bare.opam runtime_events_tools.opam)
(dst ./src/./))
(run (network host)
(shell  "opam pin add -yn runtime_events_tools_bare.dev './src/./' && \
\nopam pin add -yn runtime_events_tools.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-cmake.1 conf-libffi.2.0.0 conf-pkg-config.4 conf-zlib.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hdr_histogram.0.0.4 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.1.1 trace.0.10 trace-fuchsia.0.10 uutf.1.0.4")
(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 runtime_events_tools_bare.dev runtime_events_tools.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-12-15 14:42.42: Waiting for resource in pool OCluster
2025-12-15 17:57.08: Waiting for worker…
2025-12-15 22:07.21: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at d976c82 Add lower bound on cmdliner


(from macos-homebrew-ocaml-5.4)
2025-12-15 22:07.22 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache


/: (comment macos-homebrew-5.4_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-12-15 22:07.22 ---> using "c45c11c7286cf606ab2156414383237a0e197bf48b9278e9465cc1693c9332b7" 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-12-15 22:07.23 ---> using "59a16318ff40c58338bc0b572a2d778111fa14b30a0dc4a11f6465d8abb80bbd" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-15 22:07.23 ---> using "03cbf303c2ae412068cf1b7f097ec773b09f8e6d693af9a4cf051761664f96f9" 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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
95f7875db7..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 22:07.23 ---> using "3659bba13a114a50d92600369b42402276f177f9e0f982c22965b4596b6ee9b8" from cache


/: (copy (src runtime_events_tools_bare.opam runtime_events_tools.opam)
(dst ./src/./))
2025-12-15 22:07.26 ---> saved as "798be7561177b51e46d16cbe2ba89ff1b9599335814f585f00d2015574d932fa"


/: (run (network host)
(shell  "opam pin add -yn runtime_events_tools_bare.dev './src/./' && \
\nopam pin add -yn runtime_events_tools.dev './src/./'"))
[runtime_events_tools_bare.dev] synchronised (file:///Users/mac1000/src)
runtime_events_tools_bare is now pinned to file:///Users/mac1000/src (version dev)
[runtime_events_tools.dev] synchronised (file:///Users/mac1000/src)
runtime_events_tools is now pinned to file:///Users/mac1000/src (version dev)
2025-12-15 22:07.42 ---> saved as "f2bf112393355994dbb211109f691eb2d141200a18dfdeac489cd3fee8c34bb1"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-12-15 22:07.46 ---> saved as "6c91fa8afadd9e1b22b0765222b4190ab817c4f7b30515b650e36294b875b596"


/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-cmake.1 conf-libffi.2.0.0 conf-pkg-config.4 conf-zlib.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hdr_histogram.0.0.4 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.1.1 trace.0.10 trace-fuchsia.0.10 uutf.1.0.4")


/: (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 runtime_events_tools_bare.dev runtime_events_tools.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[runtime_events_tools_bare.dev] synchronised (file:///Users/mac1000/src)
[runtime_events_tools.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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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:
cmake libffi pkgconf zlib


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


+ /usr/local/bin/brew "install" "cmake" "libffi" "pkgconf" "zlib"
- ==> Fetching downloads for: cmake, libffi, pkgconf and zlib
- ✔︎ Bottle Manifest cmake (4.2.1)
- ✔︎ Bottle Manifest pkgconf (2.5.1)
- ✔︎ Bottle Manifest libffi (3.5.2)
- ✔︎ Bottle Manifest zlib (1.3.1)
- ✔︎ Bottle Manifest libffi (3.5.2)
- ✔︎ Bottle Manifest zlib (1.3.1)
- ✔︎ Bottle zlib (1.3.1)
- ✔︎ Bottle libffi (3.5.2)
- ✔︎ Bottle pkgconf (2.5.1)
- ✔︎ Bottle cmake (4.2.1)
- ==> Pouring cmake--4.2.1.sequoia.bottle.tar.gz
- ==> Caveats
- To install the CMake documentation, run:
-   brew install cmake-docs
- ==> Summary
- 🍺  /usr/local/Cellar/cmake/4.2.1: 4,016 files, 66.7MB
- ==> Running `brew cleanup cmake`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Pouring libffi--3.5.2.sonoma.bottle.tar.gz
- ==> Caveats
- libffi is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find libffi you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libffi/lib"
-   export CPPFLAGS="-I/usr/local/opt/libffi/include"
- ==> Summary
- 🍺  /usr/local/Cellar/libffi/3.5.2: 18 files, 721.4KB
- ==> Running `brew cleanup libffi`...
- ==> Pouring pkgconf--2.5.1.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/pkgconf/2.5.1: 28 files, 383.2KB
- ==> Running `brew cleanup pkgconf`...
- ==> Pouring zlib--1.3.1.sonoma.bottle.tar.gz
- ==> Caveats
- zlib is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find zlib you may need to set:
-   export LDFLAGS="-L/usr/local/opt/zlib/lib"
-   export CPPFLAGS="-I/usr/local/opt/zlib/include"
- 
- For pkgconf to find zlib you may need to set:
-   export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
- ==> Summary
- 🍺  /usr/local/Cellar/zlib/1.3.1: 14 files, 420.6KB
- ==> Running `brew cleanup zlib`...
- ==> Caveats
- Bash completion has been installed to:
-   /usr/local/etc/bash_completion.d
- Emacs Lisp files have been installed to:
-   /usr/local/share/emacs/site-lisp/cmake
- ==> cmake
- To install the CMake documentation, run:
-   brew install cmake-docs
- ==> libffi
- libffi is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find libffi you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libffi/lib"
-   export CPPFLAGS="-I/usr/local/opt/libffi/include"
- ==> zlib
- zlib is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find zlib you may need to set:
-   export LDFLAGS="-L/usr/local/opt/zlib/lib"
-   export CPPFLAGS="-I/usr/local/opt/zlib/include"
- 
- For pkgconf to find zlib you may need to set:
-   export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
2025-12-15 22:08.22 ---> saved as "8e5c45888dc76f07c5571bdbe12e165b85d8c5728c8b6196ea349f495874cc28"


/: (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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 30 packages
- install alcotest             1.9.1
- install astring              0.8.5
- install cmdliner             2.1.0
- install conf-cmake           1
- install conf-libffi          2.0.0
- install conf-pkg-config      4
- install conf-zlib            1
- install csexp                1.5.2
- install ctypes               0.24.0
- install ctypes-foreign       0.24.0
- install dune                 3.20.2
- install dune-configurator    3.20.2
- install fmt                  0.11.0
- install hdr_histogram        0.0.4
- install integers             0.7.0
- install menhir               20250912
- install menhirCST            20250912
- install menhirLib            20250912
- install menhirSdk            20250912
- install mtime                2.1.0
- install ocaml-syntax-shims   1.0.0
- install ocamlbuild           0.16.1
- install ocamlfind            1.9.8
- install re                   1.14.0
- install stdlib-shims         0.3.0
- install thread-local-storage 0.2
- install topkg                1.1.1
- install trace                0.10
- install trace-fuchsia        0.10
- install uutf                 1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved conf-cmake.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> installed conf-cmake.1
-> installed conf-pkg-config.4
-> retrieved alcotest.1.9.1  (cached)
-> installed conf-libffi.2.0.0
-> installed conf-zlib.1
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved hdr_histogram.0.0.4  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved trace.0.10, trace-fuchsia.0.10  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved thread-local-storage.0.2  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed thread-local-storage.0.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed trace.0.10
-> installed menhirSdk.20250912
-> installed re.1.14.0
-> installed menhirLib.20250912
-> installed menhirCST.20250912
-> installed integers.0.7.0
-> installed trace-fuchsia.0.10
-> installed dune-configurator.3.20.2
-> installed alcotest.1.9.1
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
-> installed menhir.20250912
-> installed hdr_histogram.0.0.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 22:10.23 ---> saved as "fe52636af81a38ae18202a231cc68f5a14410f92313ce20690633ec694376910"


/: (copy (src .) (dst ./src))
2025-12-15 22:10.26 ---> saved as "d75d438cf06837c06f43eddb78c137b0476175dfae23275232bf8da6a0d1d144"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/5.4.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 lib/olly_common/.olly_common.objs/byte -I /Users/mac1000/.opam/5.4.0/lib/cmdliner -I /Users/mac1000/.opam/5.4.0/lib/ocaml/runtime_events -I /Users/mac1000/.opam/5.4.0/lib/ocaml/unix -no-alias-deps -opaque -open Olly_common -o lib/olly_common/.olly_common.objs/byte/olly_common__Cli.cmo -c -impl lib/olly_common/cli.ml)
File "lib/olly_common/cli.ml", line 23, characters 20-77:
23 |       let conv, _ = Cmdliner.Arg.enum (List.rev_map (fun s -> (s, s)) topics) in
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type string Arg.conv
but an expression was expected of type 'a * 'b
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-12-15 22:10.34: Job failed: Failed: Build failed