Organisationsocsigenlwt3d14a5 ()macos-homebrew-4.14_arm64_opam-2.4

macos-homebrew-4.14_arm64_opam-2.4

Link Copied
Code Copied

Logs

2025-08-21 12:22.29: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/better-ci-test-ppx (3d14a5585c8788ddd7b19bc4035ba6c046b0a695) (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/ocsigen/lwt.git" -b "better-ci-test-ppx" && cd "lwt" && git reset --hard 3d14a558
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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam ./src/./
RUN opam pin add -yn lwt_retry.dev './src/./' && \
opam pin add -yn lwt_react.dev './src/./' && \
opam pin add -yn lwt_ppx.dev './src/./' && \
opam pin add -yn lwt.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y lwt_retry.dev lwt_react.dev lwt.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build


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


2025-08-21 12:22.29: Using cache hint "ocsigen/lwt-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.4-bd46b2e2e9ac6ce7033083ba9638e95c"
2025-08-21 12:22.29: 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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst ./src/./))
(run (network host)
(shell  "opam pin add -yn lwt_retry.dev './src/./' && \
\nopam pin add -yn lwt_react.dev './src/./' && \
\nopam pin add -yn lwt_ppx.dev './src/./' && \
\nopam pin add -yn lwt.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.1.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 lwt_retry.dev lwt_react.dev lwt.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=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build"))
)


2025-08-21 12:22.29: Waiting for resource in pool OCluster
2025-08-21 12:22.29: Waiting for worker…
2025-08-21 12:22.29: Got resource from pool OCluster
Building on m1-worker-02
HEAD is now at fda2814b5 ocaml.4.14 compat (via domain_shims)
HEAD is now at 3d14a5585 improve maintainability of github action


(from macos-homebrew-ocaml-4.14)
2025-08-21 12:22.30 ---> 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-08-21 12:22.30 ---> 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-08-21 12:22.30 ---> 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-08-21 12:22.31 ---> 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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..0978bfceb7  master     -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0


<><> 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-08-21 12:22.31 ---> using "d722631e4b2f719a7ec3b970cb55275fa41e55b61e0972beca0ae16eb4b93b56" from cache


/: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst ./src/./))
2025-08-21 12:22.31 ---> using "dcb8e57781373c069b31f586a882ae4b875ea7468f26e4dc087db673b6078586" from cache


/: (run (network host)
(shell  "opam pin add -yn lwt_retry.dev './src/./' && \
\nopam pin add -yn lwt_react.dev './src/./' && \
\nopam pin add -yn lwt_ppx.dev './src/./' && \
\nopam pin add -yn lwt.dev './src/./'"))
[lwt_retry.dev] synchronised (file:///Users/mac1000/src)
lwt_retry is now pinned to file:///Users/mac1000/src (version dev)
[lwt_react.dev] synchronised (file:///Users/mac1000/src)
lwt_react is now pinned to file:///Users/mac1000/src (version dev)
[lwt_ppx.dev] synchronised (file:///Users/mac1000/src)
lwt_ppx is now pinned to file:///Users/mac1000/src (version dev)
[lwt.dev] synchronised (file:///Users/mac1000/src)
lwt is now pinned to file:///Users/mac1000/src (version dev)
2025-08-21 12:22.31 ---> using "9a0f84f4363ce7d1dedf72f458eccfc797949a755a0f5eaf72db9cbc5587e2b8" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-08-21 12:22.31 ---> using "6f2b13af9d6ccfb0a676d507e667c201b951bee0a62924b41345d1f64b47881f" from cache


/: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.1.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 lwt_retry.dev lwt_react.dev lwt.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt_retry.dev] synchronised (file:///Users/mac1000/src)
[lwt_react.dev] synchronised (file:///Users/mac1000/src)
[lwt.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-08-21 12:22.31 ---> using "d67f2d1548cc8175f993959b86618f0b682f09165a1010d510abb5477f7ad845" 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 10 packages
- install base-bytes        base
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.20.0
- install dune-configurator 3.20.0
- install ocamlbuild        0.16.1
- install ocamlfind         1.9.8
- install ocplib-endian     1.2
- install react             1.2.2
- install topkg             1.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0  (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed react.1.2.2
-> installed dune.3.20.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 12:22.32 ---> using "2e945c138456c870917d0606f45c6ad706e8e6fa74c139e17200a336d85f0e4d" from cache


/: (copy (src .) (dst ./src))
2025-08-21 12:22.33 ---> saved as "a30dd9ebe5adfc76a9d139dbbadd4d648ef8745c7f5a60a2def9285b6c08b88f"


/: (run (shell "cd ./src && opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build"))
(cd _build/default/test/retry && ./main.exe)
Testing library 'retry'...
..............
Ok. 14 tests ran, 0 tests skipped in 0.03 seconds
(cd _build/default/test/core && ./main.exe)
Testing library 'core'...
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 705 tests ran, 23 tests skipped in 0.10 seconds
(cd _build/default/test/react && ./main.exe)
Testing library 'react'...
...........
Ok. 11 tests ran, 0 tests skipped in 4.77 seconds
File "test/unix/dune", line 22, characters 7-11:
22 |  (name main)
^^^^
(cd _build/default/test/unix && ./main.exe)
Testing library 'unix'...
.....................................SSEE......................................................................................................................................................................................................
Test 'getgrgid and Unix.getgrgid' in suite 'lwt_unix' raised 'Not_found'
Test 'getgrnam and Unix.getgrnam' in suite 'lwt_unix' raised 'Not_found'
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build" failed with exit status 1
2025-08-21 12:22.50: Job failed: Failed: Build failed