Organisationsmbarbincmdlang9c0893 ()macos-homebrew-4.14_arm64_opam-2.4

macos-homebrew-4.14_arm64_opam-2.4

Link Copied
Code Copied

Logs

2025-09-10 00:37.24: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (9c08934f0da7be3d5b18fc590aef4e778919acae) (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/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 9c08934f
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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam ./src/./
RUN opam pin add -yn cmdlang.dev './src/./' && \
opam pin add -yn cmdlang-to-cmdliner.dev './src/./' && \
opam pin add -yn cmdlang-to-climate.dev './src/./' && \
opam pin add -yn cmdlang-to-base.dev './src/./' && \
opam pin add -yn cmdlang-tests.dev './src/./' && \
opam pin add -yn cmdlang-stdlib-runner.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-09-10 00:37.24: Using cache hint "mbarbin/cmdlang-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.4-666c13f0263d3e6defc02cd01a587c68"
2025-09-10 00:37.24: 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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam)
(dst ./src/./))
(run (network host)
(shell  "opam pin add -yn cmdlang.dev './src/./' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './src/./' && \
\nopam pin add -yn cmdlang-to-climate.dev './src/./' && \
\nopam pin add -yn cmdlang-to-base.dev './src/./' && \
\nopam pin add -yn cmdlang-tests.dev './src/./' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
(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 cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.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 --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build"))
)


2025-09-10 00:37.24: Waiting for resource in pool OCluster
2025-09-10 00:37.24: Waiting for worker…
2025-09-10 00:52.02: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at 9c08934 Merge pull request #29 from mbarbin/upgrade-docusaurus


(from macos-homebrew-ocaml-4.14)
2025-09-10 00:52.02 ---> 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-10 00:52.02 ---> 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-10 00:52.03 ---> 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-10 00:52.03 ---> 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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..109398e2fd  master     -> origin/master
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2


<><> 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-10 00:52.03 ---> using "cf6301655f7dcc2221945c15e0de7a493362e3cc87e5a218114cc79105d27770" from cache


/: (copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam)
(dst ./src/./))
2025-09-10 00:52.04 ---> saved as "b9ee0322acaa2859c4c928bf7e6b1f81403b8a4592cc0777d52683cfee0c7fc0"


/: (run (network host)
(shell  "opam pin add -yn cmdlang.dev './src/./' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './src/./' && \
\nopam pin add -yn cmdlang-to-climate.dev './src/./' && \
\nopam pin add -yn cmdlang-to-base.dev './src/./' && \
\nopam pin add -yn cmdlang-tests.dev './src/./' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './src/./'"))
[cmdlang.dev] synchronised (file:///Users/mac1000/src)
cmdlang is now pinned to file:///Users/mac1000/src (version dev)
[cmdlang-to-cmdliner.dev] synchronised (file:///Users/mac1000/src)
cmdlang-to-cmdliner is now pinned to file:///Users/mac1000/src (version dev)
[cmdlang-to-climate.dev] synchronised (file:///Users/mac1000/src)
cmdlang-to-climate is now pinned to file:///Users/mac1000/src (version dev)
[cmdlang-to-base.dev] synchronised (file:///Users/mac1000/src)
cmdlang-to-base is now pinned to file:///Users/mac1000/src (version dev)
[NOTE] Package cmdlang-tests does not exist in opam repositories registered in the current switch.
[cmdlang-tests.dev] synchronised (file:///Users/mac1000/src)
cmdlang-tests is now pinned to file:///Users/mac1000/src (version dev)
[cmdlang-stdlib-runner.dev] synchronised (file:///Users/mac1000/src)
cmdlang-stdlib-runner is now pinned to file:///Users/mac1000/src (version dev)
2025-09-10 00:52.20 ---> saved as "8d689af38642e402a15114711c0cd88339a84d7fe691f8fe0342a255451ac722"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-10 00:52.21 ---> saved as "74dbc78f05916dd405c0230dd0494953a6b3ab86c96e45c754afe23e5a81ffe2"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")


/: (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 cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cmdlang-to-climate.dev] synchronised (file:///Users/mac1000/src)
[cmdlang-stdlib-runner.dev] synchronised (file:///Users/mac1000/src)
[cmdlang.dev] synchronised (file:///Users/mac1000/src)
[cmdlang-to-cmdliner.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).
2025-09-10 00:52.38 ---> saved as "556df8a98ffaea3f2b4ae7e836f36a00bc8572532670bbcdb707ebda5c4088a4"


/: (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 3 packages
- install climate  0.8.3
- install cmdliner 1.3.0
- install dune     3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved climate.0.8.3  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.20.2
-> installed climate.0.8.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-10 00:53.11 ---> saved as "32730b8ebc77d0fa6844c2fc7616b6e56524dd9890ae4e11b0ae9321b9c55d14"


/: (copy (src .) (dst ./src))
2025-09-10 00:53.12 ---> saved as "be08b2ca9d7343c3f3a96b69f9b3949e431a9bba8fd3c92e1e0973a8581ef873"


/: (run (shell "cd ./src && opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build"))
File "lib/cmdlang_to_base/test/cram/bin/dune", line 6, characters 2-24:
6 |   core_unix.command_unix
^^^^^^^^^^^^^^^^^^^^^^
Error: Library "core_unix.command_unix" not found.
-> required by
_build/default/lib/cmdlang_to_base/test/cram/bin/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias lib/cmdlang_to_base/test/cram/bin/check
File "test/cram/bin/stdlib-runner/dune", line 4, characters 34-51:
4 |  (libraries cmdlang_stdlib_runner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/stdlib-runner/.main_stdlib_runner.eobjs/byte/dune__exe__Main_stdlib_runner.cmi
-> required by alias test/cram/bin/stdlib-runner/check
File "test/cram/bin/base/dune", line 4, characters 51-68:
4 |  (libraries cmdlang_to_base core_unix.command_unix cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/base/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias test/cram/bin/base/check
File "test/cram/bin/climate/dune", line 4, characters 39-56:
4 |  (libraries climate cmdlang_to_climate cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/climate/.main_climate.eobjs/byte/dune__exe__Main_climate.cmi
-> required by alias test/cram/bin/climate/check
File "test/cram/bin/cmdliner/dune", line 4, characters 41-58:
4 |  (libraries cmdlang_to_cmdliner cmdliner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/cmdliner/.main_cmdliner.eobjs/byte/dune__exe__Main_cmdliner.cmi
-> required by alias test/cram/bin/cmdliner/check
File "doc/docs/tutorials/getting-started/bin/dune", line 4, characters 41-56:
4 |  (libraries cmdlang-to-cmdliner cmdliner getting_started)
^^^^^^^^^^^^^^^
Error: Library "getting_started" not found.
-> required by
_build/default/doc/docs/tutorials/getting-started/bin/.main.eobjs/byte/dune__exe__Main.cmi
-> required by alias doc/docs/tutorials/getting-started/bin/check
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-10 00:53.17: Job failed: Failed: Build failed