2024-05-10 09:12.24: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.1) Base: macos-homebrew-ocaml-4.14 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-4.14 # macos-homebrew-4.14_arm64_opam-2.1 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.1 ~/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 camllzma.opam ./src/./ RUN opam pin add -yn camllzma.dev './src/./' ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.1 --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 2024-05-10 09:12.24: Using cache hint "kit-ty-kate/camllzma-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-3f6e4c035a3e1c6bb03af99718560460" 2024-05-10 09:12.24: Using OBuilder spec: ((from macos-homebrew-ocaml-4.14) (comment macos-homebrew-4.14_arm64_opam-2.1) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.1 ~/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && 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/./'")) (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.1 --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")) ) 2024-05-10 09:12.24: Waiting for resource in pool OCluster 2024-05-10 13:00.40: Waiting for worker… 2024-05-10 17:48.20: Got resource from pool OCluster Building on m1-worker-03 All commits already cached HEAD is now at 39b1d49 Improve the interface (from macos-homebrew-ocaml-4.14) 2024-05-10 17:48.20 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache /: (comment macos-homebrew-4.14_arm64_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam")) 2024-05-10 17:48.20 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" 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. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///Users/mac1000/opam-repository 2024-05-10 17:48.20 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 23.1.0 The OCaml toplevel, version 4.14.2 2.1.5 2024-05-10 17:48.21 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD b530f3bbd2..20baedeee4 master -> origin/master 307e33d08f @dra27 and @Octachron maintain the 4.08+ packages <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository Constructing initial basis... 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.3.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. # Run eval $(opam env) to update the current shell environment 2024-05-10 17:48.21 ---> using "b24024a94c88960a6d52d30e3215e2b1a36b271af80c110265910615be43062b" from cache /: (copy (src camllzma.opam) (dst ./src/./)) 2024-05-10 17:48.22 ---> saved as "ded00cb2f754a41e27d5aaf59955c4af8f91a6e69cd9f81c057ae6f6cb988d6d" /: (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) 2024-05-10 17:48.29 ---> saved as "e5e5319c63876e4f2677498060a035e0c8f816cb2b70cc98804e096c5654e2e6" /: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.1 --depext-only -y camllzma.dev $DEPS")) + /opt/homebrew/bin/brew "update" - ==> Updating Homebrew... - Already up-to-date. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [camllzma.dev] synchronised (no changes) [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). Constructing initial basis... Number of 0-1 knapsack inequalities = 2 Constructing conflict graph... Conflict graph has 2 + 1 = 3 vertices The following system packages will first need to be installed: pkg-config xz <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /opt/homebrew/bin/brew "install" "pkg-config" "xz" - ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/manifests/0.29.2_3 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/ac691fc7ab8ecffba32a837e7197101d271474a3a84cfddcc30c9fd6763ab3c6--pkg-config-0.29.2_3.bottle_manifest.json - ==> Fetching pkg-config - ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/blobs/sha256:7b59abc0b5381065b1eab174217307af9324e0d02edf903171b29250ae58aeaf - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/84ce7ed13999bc49b583c1b0bfd220d1bb0682ca2316d985b0f5f9e9c0a9084d--pkg-config--0.29.2_3.arm64_sonoma.bottle.tar.gz - ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.4.6 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b2cc4077807c100af6e0253f51d186f187ff55165638cbe3a4aa16d1c4762660--xz-5.4.6.bottle_manifest.json - ==> Fetching xz - ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:01ced87d92d0c1131c069108efb14f6940f9e528e2d044ac41d9a0d8f5169f2e - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/a8def111ef35d2c9d46e56ff2c6c7b623b61be0f395014454e9f11db2db16981--xz--5.4.6.arm64_sonoma.bottle.tar.gz - ==> Pouring pkg-config--0.29.2_3.arm64_sonoma.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/pkg-config/0.29.2_3: 11 files, 675.6KB - ==> Running `brew cleanup pkg-config`... - Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. - Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). - ==> Pouring xz--5.4.6.arm64_sonoma.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/xz/5.4.6: 163 files, 2.6MB - ==> Running `brew cleanup xz`... 2024-05-10 17:48.52 ---> saved as "4541214d52ddcfac25712071bf45de0574807b6448c0d42f44a437da425fdd67" /: (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). Constructing initial basis... Number of 0-1 knapsack inequalities = 2 Constructing conflict graph... Conflict graph has 2 + 1 = 3 vertices The following actions will be performed: - install dune 3.15.2 - install conf-pkg-config 3 - install csexp 1.5.2 - install conf-liblzma 1 - install dune-configurator 3.15.2 ===== 5 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune-configurator.3.15.2 (cached) -> installed conf-pkg-config.3 -> retrieved dune.3.15.2 (cached) -> installed conf-liblzma.1 -> retrieved csexp.1.5.2 (cached) -> installed dune.3.15.2 -> installed csexp.1.5.2 -> installed dune-configurator.3.15.2 Done. # Run eval $(opam env) to update the current shell environment 2024-05-10 17:49.36 ---> saved as "6451607435020b978e248ff6b7f29f3db5e994fd70334d90880a7ef61164b52a" /: (copy (src .) (dst ./src)) 2024-05-10 17:49.37 ---> saved as "28d4d8d8c504b8f7e41dfe40d5602cc490418f8472e27de3f2530f902ac33000" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /Users/mac1000/.opam/4.14.2/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 -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.4.6/include -g -I /Users/mac1000/.opam/4.14.2/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/4.14.2/lib/ocaml/caml/alloc.h:38: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 2024-05-10 17:49.43: Job failed: Failed: Build failed