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

macos-homebrew-5.3_arm64_opam-2.3

Logs

Show full logs
2025-05-02 15:03.18: 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.3)
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.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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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.18.2 dune-configurator.3.18.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.3 --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-05-02 15:03.18: Using cache hint "kit-ty-kate/camllzma-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_arm64_opam-2.3-6e12f346ab277d3a18cf7204b5ad26ab"
2025-05-02 15:03.18: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
 (comment macos-homebrew-5.3_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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.18.2 dune-configurator.3.18.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.3 --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-05-02 15:03.18: Waiting for resource in pool OCluster
2025-05-03 01:44.55: Waiting for worker…
2025-05-03 03:23.03: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at 39b1d49 Improve the interface

(from macos-homebrew-ocaml-5.3)
2025-05-03 03:23.03 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache

/: (comment macos-homebrew-5.3_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-05-03 03:23.03 ---> using "8efc335cb5004a650aab29e72b9849a2b2e2f0853bc55d3a74763c7cceed5d74" 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-05-03 03:23.03 ---> using "e29fa6de89fe919799ac81fd4a1c768d8341cedf873c17042854467d2aebeceb" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-03 03:23.04 ---> using "a268524b45b0c90a951719c2a6c8c78c0b8a0fec90c9f437befd49b0008dc673" 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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   67e940587b..35eb2f107a  master     -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2

<><> 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-compiler.5.4
    -- ocaml-base-compiler.5.3.0 is installed and requires ocaml-compiler = 5.3.0
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-05-03 03:23.04 ---> using "3fe2ca036e72efc59f5925647c72146459ead6189784d75e8eed5e891f24693d" from cache

/: (copy (src camllzma.opam) (dst ./src/./))
2025-05-03 03:23.05 ---> saved as "2e8329bd09d58c230bed53ed3b257e42b4ba24e943e49c68ee9c10d471e0452e"

/: (run (network host)
        (shell "opam pin add -yn camllzma.dev './src/./'"))
Package camllzma does not exist, create as a NEW package? [y/n] y
[camllzma.dev] synchronised (file:///Users/mac1000/src)
camllzma is now pinned to file:///Users/mac1000/src (version dev)
2025-05-03 03:23.13 ---> saved as "2b8838899ecfc8448c98047acba8c567dbea82cde29c5f1f425d996b8affb289"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-05-03 03:23.14 ---> saved as "72bf6b14d0741cf68ee81510df9cd235176176ae0f6e7ab12a97b1bf82ebfa96"

/: (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.18.2 dune-configurator.3.18.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.3 --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"
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.4.3-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/f938254e85413ef0d18283c9c932823434b88c0c790e04e7534e2a3e923d0588--pkgconf-2.4.3-1.bottle_manifest.json
- ==> Fetching pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:24e921aaf87bc253adf250761cb4bf717d14dec995d2f6302cf966f30f28fe59
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/0edb51c813324d2dd844ffe8591067a9189a6bbeb61d670f82866e4047eb939b--pkgconf--2.4.3.arm64_sonoma.bottle.tar.gz
- ==> 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 xz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:3bcdfeaa8b5bd910ac1cf1e7aec7e0fd82fd69f2f09c6ac682eca92725ad9e6c
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/5f1f5ea8a632e3f24df349517d47c9ff58bbd4eceab958d6b52dfef3928b19ec--xz--5.8.1.arm64_sonoma.bottle.tar.gz
- ==> Pouring pkgconf--2.4.3.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/pkgconf/2.4.3: 27 files, 485.2KB
- ==> Running `brew cleanup pkgconf`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
- ==> Pouring xz--5.8.1.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/xz/5.8.1: 96 files, 2.5MB
- ==> Running `brew cleanup xz`...
2025-05-03 03:23.43 ---> saved as "2fe03b1c8a0c4e3a5f7a7851b52bfae55bf4965b922f8d4c50c83dcd31214b9f"

/: (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.18.2
  - install dune-configurator 3.18.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-liblzma.1
-> retrieved dune.3.18.2, dune-configurator.3.18.2  (cached)
-> installed dune.3.18.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.18.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-03 03:24.20 ---> saved as "a5fd891c3730f78e9dec82cce20d84ee2487de1bd1325a92a0fb87d0828eae83"

/: (copy (src .) (dst ./src))
2025-05-03 03:24.21 ---> saved as "8c0a0a38835f00dfd7907208dd56fd1fd6e835db63b87158a62139484ebc0ce8"

/: (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]
        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
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-05-03 03:24.27: Job failed: Failed: Build failed