Organisationsocsigenlwt7c8c1f (backport-fixes-from-recent-releases)macos-homebrew-4.14_arm64_opam-2.3

macos-homebrew-4.14_arm64_opam-2.3

Logs

Show full logs
2025-03-07 09:48.05: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/pull/1053/head (7c8c1f18b095603472d356add4fc3a9b154b53a5) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocsigen/lwt.git" && cd "lwt" && git fetch origin "refs/pull/1053/head" && git reset --hard 7c8c1f18
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && 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.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.35.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.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-03-07 09:48.05: Using cache hint "ocsigen/lwt-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-3b3bcf292ef89fa0a0764a8cd730848b"
2025-03-07 09:48.05: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && 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.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.35.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7")
 (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.3 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.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 @install @check @runtest && rm -rf _build"))
)

2025-03-07 09:48.05: Waiting for resource in pool OCluster
2025-03-07 09:48.05: Waiting for worker…
2025-03-07 09:49.14: Got resource from pool OCluster
Building on m1-worker-02
HEAD is now at 76294f4e5 regen opam file
HEAD is now at 7c8c1f18b dune-project fixes from 5.[89].1

(from macos-homebrew-ocaml-4.14)
2025-03-07 09:49.15 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_arm64_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-03-07 09:49.15 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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-03-07 09:49.15 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-07 09:49.16 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" 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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   67e940587b..5c627de423  master     -> origin/master
5c627de423 Merge pull request #27523 from hannesm/re-add-base-ocamlbuild

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

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

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, 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-03-07 09:49.16 ---> using "77ed959baea5dcbd4601d8b99bc43f4f20824b777982baee690f4e7acf520d42" from cache

/: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
         (dst ./src/./))
2025-03-07 09:49.17 ---> saved as "aba8a4c974ba25b98270ba68c37aed6e5fab2937baf6dd8cabb759113c0aa050"

/: (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-03-07 09:49.27 ---> saved as "184062b0d0ac6c65405b6b4e6c1c3fab1feab498b05d24048e2ecde7b8863442"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-03-07 09:49.28 ---> saved as "89211c2b060ca28c897a62a484505f7906ec33fbdb3cabd4b2191c8a52b0d321"

/: (env DEPS "base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.35.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7")

/: (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.3 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt.dev] synchronised (file:///Users/mac1000/src)
[lwt_react.dev] synchronised (file:///Users/mac1000/src)
[lwt_ppx.dev] synchronised (file:///Users/mac1000/src)
[lwt_retry.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-03-07 09:49.45 ---> saved as "cbe5c8ade77e23489ff52032a006e1ff0f72337033d9058beeb7cfd1c3eb4938"

/: (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 21 packages
  - install base                v0.16.3
  - install base-bytes          base
  - install bisect_ppx          2.8.3
  - install cmdliner            1.3.0
  - install conf-bash           1
  - install cppo                1.8.0
  - install csexp               1.5.2
  - install dune                3.17.2
  - install dune-configurator   3.17.2
  - install ocaml-compiler-libs v0.12.4
  - install ocamlbuild          0.16.1
  - install ocamlfind           1.9.8
  - install ocplib-endian       1.2
  - install ppx_derivers        1.2.1
  - install ppx_here            v0.16.0
  - install ppx_let             v0.16.0
  - install ppxlib              0.35.0
  - install react               1.2.2
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install topkg               1.0.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved bisect_ppx.2.8.3  (cached)
-> installed conf-bash.1
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved base.v0.16.3  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ppx_here.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_let.v0.16.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed react.1.2.2
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.2
-> installed base.v0.16.3
-> installed ppxlib.0.35.0
-> installed ppx_here.v0.16.0
-> installed bisect_ppx.2.8.3
-> installed ppx_let.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-07 09:50.37 ---> saved as "519dfb2b6334b08d2509135af1bc575f4a137277b4c0aad1b847bbedad1867cd"

/: (copy (src .) (dst ./src))
2025-03-07 09:50.38 ---> saved as "bf3f5d99df4440bfa34a137e0b11ab05a9b02c537a271c4b35dd8ba28a96ebaf"

/: (run (shell "cd ./src && opam exec -- dune build @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.09 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/ppx && ./main.exe)
Testing library 'ppx'...
................
Ok. 16 tests ran, 0 tests skipped in 1.92 seconds
(cd _build/default/test/react && ./main.exe)
Testing library 'react'...
...........
Ok. 11 tests ran, 0 tests skipped in 4.59 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 @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-07 09:50.55: Job failed: Failed: Build failed