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-x86_64:macos-homebrew-5.1_opam-2.1) Base: macos-homebrew-ocaml-5.1 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.1 # macos-homebrew-5.1_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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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-5.1-macos-homebrew-5.1_opam-2.1-c7b148cd56475b3539e5c47d84387bfa" 2024-05-10 09:12.24: Using OBuilder spec: ((from macos-homebrew-ocaml-5.1) (comment macos-homebrew-5.1_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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 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.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-11 02:41.09: Waiting for worker… 2024-05-11 06:36.18: Got resource from pool OCluster Building on i7-worker-04 All commits already cached HEAD is now at 39b1d49 Improve the interface (from macos-homebrew-ocaml-5.1) 2024-05-11 06:36.19 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache /: (comment macos-homebrew-5.1_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-11 06:36.19 ---> using "22cd16a64c632695859fdcedd94c70c4cc08c65c5ac152872708c4f22bdb6b91" 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-11 06:36.20 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 23.1.0 The OCaml toplevel, version 5.1.1 2.1.5 2024-05-11 06:36.20 ---> using "b9cb7a7e67e401d6d05e669cb4a23e6bbd1c29e9a607e1e5d301dc2a9918b0c9" 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 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-11 06:36.20 ---> using "cabee6b61444bc33d210024577406e218f69742c8bcf128a36e96832a17bee72" from cache /: (copy (src camllzma.opam) (dst ./src/./)) 2024-05-11 06:36.22 ---> saved as "4143b6a491ed61f8dd671f583638d70168d14aa859c37ae5f514b71d8830b092" /: (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-11 06:36.31 ---> saved as "9f5fbdab3d231674740c4ea1e95ce1f6b7d4506a8b33c83996f5fea91011f845" /: (env DEPS "base-bigarray.base base-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 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.1 --depext-only -y camllzma.dev $DEPS")) + /usr/local/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 3). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1). [NOTE] Package ocaml is already installed (current version is 5.1.1). [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-domains 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 = 5 Constructing conflict graph... Conflict graph has 6 + 5 = 11 vertices The following system packages will first need to be installed: pkg-config xz <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/local/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:421571f340277c62c5cc6fd68737bd7c4e085de113452ea49b33bcd46509bb12 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/c5b6da58fb5d679eeb1765833596e7394625255fb46b165955fc4c4de746080e--pkg-config--0.29.2_3.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:139fcf6d46fb85d3693f5d7452a37ec5f50f17b5ef044ac96a2c7deccb7983b4 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/43f3e389ca6041ad27899272abc383096ddb15ec4c51b83d5873dbc44829cabe--xz--5.4.6.sonoma.bottle.tar.gz - ==> Pouring pkg-config--0.29.2_3.sonoma.bottle.tar.gz - 🍺 /usr/local/Cellar/pkg-config/0.29.2_3: 11 files, 655.3KB - ==> 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.sonoma.bottle.tar.gz - 🍺 /usr/local/Cellar/xz/5.4.6: 163 files, 2.5MB - ==> Running `brew cleanup xz`... 2024-05-11 06:37.04 ---> saved as "655364ba8ac531d1932bcb8ff32e1330ab36e8394257fc52fb27687e16206e07" /: (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-base-compiler is already installed (current version is 5.1.1). [NOTE] Package ocaml is already installed (current version is 5.1.1). [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-domains 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 = 5 Constructing conflict graph... Conflict graph has 6 + 5 = 11 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-11 06:38.31 ---> saved as "1d4aec4eac6aae1cfeb017e8591500da838837bc31adaea902c1748556a164a3" /: (copy (src .) (dst ./src)) 2024-05-11 06:38.33 ---> saved as "4b2370e14f7c0b51ca72e395b364dd762b84d7097360336e687c12abc1508990" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /Users/mac1000/.opam/5.1.1/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/usr/local/Cellar/xz/5.4.6/include -g -I /Users/mac1000/.opam/5.1.1/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.1.1/lib/ocaml/caml/alloc.h:50: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-11 06:38.39: Job failed: Failed: Build failed