Organisationsmbarbincmdlanga719ad ()macos-homebrew-4.14_opam-2.4

macos-homebrew-4.14_opam-2.4

Link Copied
Code Copied

Logs

2026-01-03 08:34.45: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/upgrade-dunolint-preview (a719adb4ed3e20103d2c6e7f840dd005c12901af) (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/mbarbin/cmdlang.git" -b "upgrade-dunolint-preview" && cd "cmdlang" && git reset --hard a719adb4
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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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 cmdlang-dev.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/./' && \
opam pin add -yn cmdlang-dev.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.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


2026-01-03 08:34.45: Using cache hint "mbarbin/cmdlang-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.4-67b653ef1dca5c0584da7570906c28c5"
2026-01-03 08:34.45: 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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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 cmdlang-dev.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/./' && \
\nopam pin add -yn cmdlang-dev.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.9.0 cmdliner.2.1.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"))
)


2026-01-03 08:34.45: Waiting for resource in pool OCluster
2026-01-03 08:34.45: Waiting for worker…
2026-01-03 08:34.45: Got resource from pool OCluster
Building on i7-worker-04
HEAD is now at 06fc9ac Upgrade actions/checkout to v6 in CI
HEAD is now at a719adb Upgrade to recent dunolint release


(from macos-homebrew-ocaml-4.14)
2026-01-03 08:34.47 ---> 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"))
2026-01-03 08:34.47 ---> 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
2026-01-03 08:34.47 ---> 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
2026-01-03 08:34.48 ---> 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 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


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.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.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)
2026-01-03 08:34.48 ---> using "f76e7975cdead0b431949952755f6427fa0939733c81a292d7d2f02657cf1111" 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 cmdlang-dev.opam)
(dst ./src/./))
2026-01-03 08:34.49 ---> using "ea035b9220e992846cb4c53f9d7c08519a712f79fa5e700c2508ae99e7706474" from cache


/: (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/./' && \
\nopam pin add -yn cmdlang-dev.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)
[NOTE] Package cmdlang-dev does not exist in opam repositories registered in the current switch.
[cmdlang-dev.dev] synchronised (file:///Users/mac1000/src)
cmdlang-dev is now pinned to file:///Users/mac1000/src (version dev)
2026-01-03 08:34.49 ---> using "bbdcb0bcf60b53ae4b917ba496e3e22e5592cd5f7984229d5bd9fa847545bdf1" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-01-03 08:34.50 ---> using "28ed40dbd7fb07eba146615d7de75dfea509db2018b6df1ce6d6ce75e466b26d" from cache


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.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"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> 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
- 
- 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).
2026-01-03 08:34.50 ---> using "2834295145d413b282821ffb93b95cffc75b77a8a0efe2594127a0e022050838" 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 3 packages
- install climate  0.9.0
- install cmdliner 2.1.0
- install dune     3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved climate.0.9.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.20.2
-> installed climate.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-03 08:34.50 ---> using "3c7f0fcd125d6a3d7e5a3e506c354543b1822dd59ca3faaa11ee9d5d9ea82cc9" from cache


/: (copy (src .) (dst ./src))
2026-01-03 08:34.52 ---> saved as "ffb15b805b92a1c5a2823dd55db61de1f7ddd19692d46925db58b8e73a90609e"


/: (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"))
2026-01-03 08:34.55 ---> saved as "b73ea260b8563ed82ad8a7d59b4c1dab38a913e86ba6f227f05182f47fa4e89b"
Job succeeded
2026-01-03 08:35.17: Job succeeded