2024-03-27 15:25.25: New job: test ygrek/ocaml-zstd https://github.com/ygrek/ocaml-zstd.git#refs/heads/master (c50809df5c0474454740948ad0e7a1c77461cce0) (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/ygrek/ocaml-zstd.git" -b "master" && cd "ocaml-zstd" && git reset --hard c50809df 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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 zstd.opam ./src/./ RUN opam pin add -yn zstd.dev './src/./' ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 conf-zstd.1.3.8 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.14.2 dune-configurator.3.14.2 extlib.1.7.9 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.1 --depext-only -y zstd.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-03-27 15:25.25: Using cache hint "ygrek/ocaml-zstd-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_opam-2.1-e65783279cc4a100ba5736e9014122f8" 2024-03-27 15:25.25: 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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src zstd.opam) (dst ./src/./)) (run (network host) (shell "opam pin add -yn zstd.dev './src/./'")) (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 conf-zstd.1.3.8 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.14.2 dune-configurator.3.14.2 extlib.1.7.9 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0") (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 zstd.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-03-27 15:25.25: Waiting for resource in pool OCluster 2024-03-27 15:25.26: Waiting for worker… 2024-03-27 18:37.01: Got resource from pool OCluster Building on i7-worker-02 Initialized empty Git repository in /private/var/lib/ocluster-worker/git/ocaml-zstd.git-d49335cf952de0d1dc163c40789cb4349ecfb92d/.git/ HEAD is now at c50809d Bump version (from macos-homebrew-ocaml-5.1) 2024-03-27 18:37.03 ---> 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-03-27 18:37.03 ---> 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-03-27 18:37.03 ---> 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-03-27 18:37.04 ---> 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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD b530f3bbd2..ee7f724f69 master -> origin/master cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config <><> 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-03-27 18:37.04 ---> using "cc8a5b25ec30af8c45f5933de560474723f2dec795177855eb56d0f4cbebd836" from cache /: (copy (src zstd.opam) (dst ./src/./)) 2024-03-27 18:37.06 ---> saved as "446d12780a36e6b785196a94220f42183f8e115ab97a7d5b18418ccb596a7c59" /: (run (network host) (shell "opam pin add -yn zstd.dev './src/./'")) [zstd.dev] synchronised (file:///Users/mac1000/src) zstd is now pinned to file:///Users/mac1000/src (version dev) 2024-03-27 18:37.26 ---> saved as "9813c4be86c4f31c3ac8d38b7a12d222ff1690f302b2459f0b3580790f575e45" /: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 conf-zstd.1.3.8 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.14.2 dune-configurator.3.14.2 extlib.1.7.9 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0") /: (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 zstd.dev $DEPS")) + /usr/local/bin/brew "update" - ==> Updating Homebrew... - Already up-to-date. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [zstd.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 zstd <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/local/bin/brew "install" "pkg-config" "zstd" - ==> 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/zstd/manifests/1.5.6 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/29403e0df5404d8aeca0e750ac135ec9ef44fc5eeb6df69170ed602acabf0ffb--zstd-1.5.6.bottle_manifest.json - ==> Fetching dependencies for zstd: lz4 and xz - ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.4 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/379e59b981667f9585b33a2ff318769d8edca3ce6fd2e9a67ed291ae3e0cc872--lz4-1.9.4.bottle_manifest.json - ==> Fetching lz4 - ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/blobs/sha256:2bad368b2869db32b1b22cea76a6e65da2f4e599ac8ee327b4825d54c4579445 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/1680a080f1b23676038b3a03fad837b0e26a30613730ef93f31f87c7a40bdd7a--lz4--1.9.4.sonoma.bottle.tar.gz - ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.1 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/bc72ad1aed6fc861afaf3fd0af8266ea2913cb871cfdcbeef0c228afb9826c72--xz-5.6.1.bottle_manifest.json - ==> Fetching xz - ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:81c5be0ee64277bcee76ae2be974d82de050e815a266885f363b998a9c18117b - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/8d5f1d4596faff29ed7933e8be90599008f828328cb74348de2b7ee5a024d48d--xz--5.6.1.sonoma.bottle.tar.gz - ==> Fetching zstd - ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/blobs/sha256:09953f22fd56bc85e0d7ceac8de7e35ed622f3affe78dd782154e5e21623037b - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/506615027bab6259ad3b903339790b62d9b547ab08a5eac6707dc96c24da0c38--zstd--1.5.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`). - ==> Installing dependencies for zstd: lz4 and xz - ==> Installing zstd dependency: lz4 - ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.4 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/379e59b981667f9585b33a2ff318769d8edca3ce6fd2e9a67ed291ae3e0cc872--lz4-1.9.4.bottle_manifest.json - ==> Pouring lz4--1.9.4.sonoma.bottle.tar.gz - 🍺 /usr/local/Cellar/lz4/1.9.4: 22 files, 655KB - ==> Installing zstd dependency: xz - ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.1 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/bc72ad1aed6fc861afaf3fd0af8266ea2913cb871cfdcbeef0c228afb9826c72--xz-5.6.1.bottle_manifest.json - ==> Pouring xz--5.6.1.sonoma.bottle.tar.gz - 🍺 /usr/local/Cellar/xz/5.6.1: 166 files, 2.6MB - ==> Installing zstd - ==> Pouring zstd--1.5.6.sonoma.bottle.tar.gz - 🍺 /usr/local/Cellar/zstd/1.5.6: 31 files, 2.3MB - ==> Running `brew cleanup zstd`... - Removing: /Users/mac1000/Library/Caches/Homebrew/zstd--1.5.5... (846.3KB) 2024-03-27 18:37.56 ---> saved as "385a9de31d6366b2d9f6c4e673fe38b3c7ce8e7f4b60f357ed1c2c37ee360d6a" /: (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 conf-pkg-config 3 - install dune 3.14.2 - install conf-zstd 1.3.8 - install stdlib-shims 0.3.0 - install csexp 1.5.2 - install cppo 1.6.9 - install bigarray-compat 1.1.0 - install integers 0.7.0 - install dune-configurator 3.14.2 - install extlib 1.7.9 - install ctypes 0.22.0 ===== 11 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved csexp.1.5.2 (cached) -> retrieved cppo.1.6.9 (cached) -> installed conf-pkg-config.3 -> retrieved bigarray-compat.1.1.0 (cached) -> installed conf-zstd.1.3.8 -> retrieved ctypes.0.22.0 (cached) -> retrieved extlib.1.7.9 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved dune.3.14.2 (cached) -> retrieved dune-configurator.3.14.2 (cached) -> installed dune.3.14.2 -> installed stdlib-shims.0.3.0 -> installed bigarray-compat.1.1.0 -> installed csexp.1.5.2 -> installed integers.0.7.0 -> installed cppo.1.6.9 -> installed extlib.1.7.9 -> installed dune-configurator.3.14.2 -> installed ctypes.0.22.0 Done. # Run eval $(opam env) to update the current shell environment 2024-03-27 18:39.38 ---> saved as "715189263a8d605b4e5e5ff96040a2abbb9896b1fa53ef7891740fcb373dd1de" /: (copy (src .) (dst ./src)) 2024-03-27 18:39.40 ---> saved as "fa21ccf67ac3952c1c2bb355460b50a115d3617ebf158a5f96322f34b589151d" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/stubs && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -I/usr/local/opt/zstd/include -I /Users/mac1000/.opam/5.1.1/lib/ocaml -I /Users/mac1000/.opam/5.1.1/lib/ctypes -I /Users/mac1000/.opam/5.1.1/lib/ctypes/stubs -I /Users/mac1000/.opam/5.1.1/lib/integers -o libzstd__c_cout_generated_functions__Function_description__Functions.o -c libzstd__c_cout_generated_functions__Function_description__Functions.c) libzstd__c_cout_generated_functions__Function_description__Functions.c:28:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char* x18 = ZSTD_getErrorName(x15); ^ ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. (cd _build/default/test && ./test.exe) /bin/bash : best compression 2.5x at level 19 : 1310352 -> 525294 /Users/mac1000/src/_build/default/test/test.exe : best compression 3.7x at level 19 : 2159752 -> 577922 environment : best compression 2.4x at level 16 : 1806 -> 766 2024-03-27 18:39.48 ---> saved as "2c259aa7edba733ab7cc62fb06b6b35e025d58e8f4343a69b787a748086481ca" Job succeeded 2024-03-27 18:39.59: Job succeeded