Organisationsrobur-coopocaml-h10ca77b ()macos-homebrew-4.14_arm64_opam-2.3

macos-homebrew-4.14_arm64_opam-2.3

Logs

Show full logs
2025-06-04 09:49.46: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/pull/8/head (0ca77bf70522c6b2d3c9be775e2e9f559c1882cc) (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/robur-coop/ocaml-h1.git" && cd "ocaml-h1" && git fetch origin "refs/pull/8/head" && git reset --hard 0ca77bf7
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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 h1.opam h1-lwt-unix.opam ./src/./
RUN opam pin add -yn h1.dev './src/./' && \
    opam pin add -yn h1-lwt-unix.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y h1.dev h1-lwt-unix.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-06-04 09:49.46: Using cache hint "robur-coop/ocaml-h1-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-89fca5a97d0cfd1d456cbd7afe6a7067"
2025-06-04 09:49.46: 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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src h1.opam h1-lwt-unix.opam) (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn h1.dev './src/./' && \
             \nopam pin add -yn h1-lwt-unix.dev './src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
 (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 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.3 --depext-only -y h1.dev h1-lwt-unix.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-06-04 09:49.46: Waiting for resource in pool OCluster
2025-06-04 09:49.46: Waiting for worker…
2025-06-04 09:51.39: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
HEAD is now at 0ca77bf merge websocketaf

(from macos-homebrew-ocaml-4.14)
2025-06-04 09:51.39 ---> 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-06-04 09:51.40 ---> 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-06-04 09:51.40 ---> 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-06-04 09:51.40 ---> 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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   67e940587b..2df846cb67  master     -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0

<><> 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.5.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-06-04 09:51.40 ---> using "33b138126e7427be367d0a9f41a85bb66a62f123bf802739a9af6a81c3ab4489" from cache

/: (copy (src h1.opam h1-lwt-unix.opam) (dst ./src/./))
2025-06-04 09:51.41 ---> saved as "1bc4247a03dbc8c7ee679d20502375fe060cbf7a4ce111747b0f4069ffba1601"

/: (run (network host)
        (shell  "opam pin add -yn h1.dev './src/./' && \
               \nopam pin add -yn h1-lwt-unix.dev './src/./'"))
[h1.dev] synchronised (file:///Users/mac1000/src)
h1 is now pinned to file:///Users/mac1000/src (version dev)
[h1-lwt-unix.dev] synchronised (file:///Users/mac1000/src)
h1-lwt-unix is now pinned to file:///Users/mac1000/src (version dev)
2025-06-04 09:51.50 ---> saved as "de8956b7c2df137345bf66f1b2b46ef95d15f5772556900ab9925fd0d05ad61c"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-06-04 09:51.51 ---> saved as "c63a37bf2cc3e32b185e25d325dbef5d5c89d18cde66eff8381e3a65aaf86fc3"

/: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 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.3 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1.dev] synchronised (file:///Users/mac1000/src)
[h1-lwt-unix.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-06-04 09:52.14 ---> saved as "1c83cf6cd60e5927cf317e55d1fd71396c3136ccd3cd074041fe2a54188d8c2c"

/: (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 28 packages
  - install alcotest           1.9.0
  - install angstrom           0.16.1
  - install astring            0.8.5
  - install base               v0.16.4
  - install base-bytes         base
  - install bigstringaf        0.10.0
  - install cmdliner           1.3.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install dune               3.19.0
  - install dune-configurator  3.19.0
  - install faraday            0.8.2
  - install faraday-lwt        0.8.2
  - install faraday-lwt-unix   0.8.2
  - install fmt                0.10.0
  - install httpun-types       0.2.0
  - install lwt                5.9.1
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocplib-endian      1.2
  - install re                 1.12.0
  - install seq                base
  - install sexplib0           v0.16.0
  - install stdio              v0.16.0
  - install stdlib-shims       0.3.0
  - install topkg              1.0.8
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved httpun-types.0.2.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed re.1.12.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.0
-> installed alcotest.1.9.0
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed lwt.5.9.1
-> installed faraday-lwt.0.8.2
-> installed faraday-lwt-unix.0.8.2
-> installed base.v0.16.4
-> installed stdio.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-04 09:53.03 ---> saved as "fac1382313775c8658f1d961f0ff47190b5561d097054a19fe6995b1c39a2d01"

/: (copy (src .) (dst ./src))
2025-06-04 09:53.04 ---> saved as "62ebb3665d15717305b8764649e38502eef751c036fa38d61e2fa88d0478fdf8"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "lib/dune", line 5, characters 20-26:
5 |    angstrom faraday base64 bigstringaf httpun-types)
                        ^^^^^^
Error: Library "base64" not found.
-> required by library "h1" in _build/default/lib
-> required by _build/default/lib/.h1.objs/byte/h1.cmi
-> required by alias lib/check
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-04 09:53.09: Job failed: Failed: Build failed