Organisationskit-ty-katecamllzma39b1d4 (main)macos-homebrew-5.3_arm64_opam-2.4

macos-homebrew-5.3_arm64_opam-2.4

Logs

Show full logs
2025-09-16 10:11.06: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (macos-arm64:macos-homebrew-5.3_arm64_opam-2.4)
Base: macos-homebrew-ocaml-5.3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/kit-ty-kate/camllzma.git" -b "main" && cd "camllzma" && git reset --hard 39b1d49c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.3
# macos-homebrew-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 camllzma.opam ./src/./
RUN opam pin add -yn camllzma.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y camllzma.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-09-16 10:11.06: Using cache hint "kit-ty-kate/camllzma-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_arm64_opam-2.4-b97f4f97ce1d0d5f3c87b2f8113a4a8e"
2025-09-16 10:11.06: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
 (comment macos-homebrew-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src camllzma.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn camllzma.dev './src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
 (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 camllzma.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-09-16 10:11.06: Waiting for resource in pool OCluster
2025-09-16 10:11.06: Waiting for worker…
2025-09-16 12:23.35: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
HEAD is now at 39b1d49 Improve the interface

(from macos-homebrew-ocaml-5.3)
2025-09-16 12:23.35 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache

/: (comment macos-homebrew-5.3_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-16 12:23.35 ---> using "98f27ffc931cc35f6fd0434c4b7cb74004ae5b966eac1b4d0d724f37574600ad" 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-16 12:23.36 ---> using "05bef02621f4f152ba73fa5008f45408f9224fb6a3f95400ffe628ff48189e9f" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 12:23.36 ---> using "a78de44d0fa6eb2299c3aff4eac17004df22cc4faa362aec41a39eccbcb56bb5" 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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f6368c68f9..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc

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

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 12:23.36 ---> using "c75343fe439a095d4287a0be3640a73f56aad132b898fca37874f86897182883" from cache

/: (copy (src camllzma.opam) (dst ./src/./))
2025-09-16 12:23.37 ---> saved as "598ff9e7c7ffa71591f5b837ecdac69c31689efcc3a166890c7cd62bcfa53c72"

/: (run (network host)
        (shell "opam pin add -yn camllzma.dev './src/./'"))
[NOTE] Package camllzma does not exist in opam repositories registered in the current switch.
[camllzma.dev] synchronised (file:///Users/mac1000/src)
camllzma is now pinned to file:///Users/mac1000/src (version dev)
2025-09-16 12:23.45 ---> saved as "caf1b2aaaf61dbe7588a1398f2de4e64533f61569802aeed2d6d94e8b67da440"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-16 12:23.46 ---> saved as "d80b9d257527b140a252ed6c6299d715d9982a87252c52bc781635932b340881"

/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 camllzma.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[camllzma.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

The following system packages will first need to be installed:
    pkgconf xz

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /opt/homebrew/bin/brew "install" "pkgconf" "xz"
- ==> Fetching downloads for: pkgconf and xz
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.5.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e0bf05fafcedcfbde9a9a488dc3a083cadd19584ac19f4cc053a9c265f841120--pkgconf-2.5.1.bottle_manifest.json
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.8.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/86a115cc1d43ff8a480fd907f812e70a403e1675d8a7223f61bbb08cbd2adc27--xz-5.8.1.bottle_manifest.json
- ==> Fetching pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:6fabdc3d0a656e2d505aec4e39b2f8e354601ee141469554fa71eabc3386e18f
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/1a24d1ad02d9375a2488968c81e160cf6edbbb0709cc51dbeeb5c7f9c5e473b0--pkgconf--2.5.1.arm64_sequoia.bottle.tar.gz
- ==> Fetching xz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:dcd7823f2624cbcd08f55c232097a79300c7d76ab5969004db1a4785c6c0cd87
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/8f568766296bfa5c5404abb3a41380af721fb0128bae1a3495429085db009872--xz--5.8.1.arm64_sequoia.bottle.tar.gz
- ==> Pouring pkgconf--2.5.1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 518.6KB
- ==> Running `brew cleanup pkgconf`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Pouring xz--5.8.1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/xz/5.8.1: 96 files, 2.5MB
- ==> Running `brew cleanup xz`...
- ==> No outdated dependents to upgrade!
2025-09-16 12:24.04 ---> saved as "28653c59b45761e5417fb67acf6477509f4cf7c2439ef3a7a18022290c5a3cc0"

/: (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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 5 packages
  - install conf-liblzma      1
  - install conf-pkg-config   4
  - install csexp             1.5.2
  - install dune              3.20.2
  - install dune-configurator 3.20.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> installed conf-liblzma.1
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 12:24.44 ---> saved as "acf70ce8c3a94b8d7787bc4e77cfe3dbd8af60a15c80a087b377620adbf1a007"

/: (copy (src .) (dst ./src))
2025-09-16 12:24.45 ---> saved as "7cf0e9a8559fca61ae81ca9f6308e84c257488d7a46c6b446774c5d98f09e160"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/5.3.0/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I tests/.test.eobjs/byte -I src/.camllzma.objs/byte -no-alias-deps -opaque -o tests/.test.eobjs/byte/dune__exe__Test.cmo -c -impl tests/test.ml)
File "tests/test.ml", line 29, characters 10-23:
29 |   let e = Lzma2.encoder ~bufsize:1024 Lzma2.PRESET_DEFAULT Lzma2.CHECK_CRC64 in
               ^^^^^^^^^^^^^
Error: Unbound value Lzma2.encoder
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -I/opt/homebrew/Cellar/xz/5.8.1/include -g -I /Users/mac1000/.opam/5.3.0/lib/ocaml -o liblzma.o -c liblzma.c)
liblzma.c:210:50: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  210 |         str = caml_alloc_initialized_string(len, strm->outbuf);
      |                                                  ^~~~~~~~~~~~
/Users/mac1000/.opam/5.3.0/lib/ocaml/caml/alloc.h:49:75: note: passing argument to parameter here
   49 | CAMLextern value caml_alloc_initialized_string (mlsize_t len, const char *);
      |                                                                           ^
1 warning generated.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-16 12:24.51: Job failed: Failed: Build failed