2024-03-27 15:25.25: New job: test ygrek/ocaml-zstd https://github.com/ygrek/ocaml-zstd.git#refs/heads/master (c50809df5c0474454740948ad0e7a1c77461cce0) (macos-arm64:macos-homebrew-5.1_arm64_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_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 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_arm64_opam-2.1-e65783279cc4a100ba5736e9014122f8" 2024-03-27 15:25.25: Using OBuilder spec: ((from macos-homebrew-ocaml-5.1) (comment macos-homebrew-5.1_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 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 16:11.07: Got resource from pool OCluster Building on m1-worker-04 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 16:11.08 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache /: (comment macos-homebrew-5.1_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-03-27 16:11.08 ---> 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 16:11.08 ---> 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 16:11.08 ---> 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 16:11.08 ---> using "cc8a5b25ec30af8c45f5933de560474723f2dec795177855eb56d0f4cbebd836" from cache /: (copy (src zstd.opam) (dst ./src/./)) 2024-03-27 16:11.09 ---> 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 16:11.16 ---> 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")) + /opt/homebrew/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... No 0-1 knapsack inequalities detected Constructing conflict graph... Conflict graph has 2 + 2 = 4 vertices The following system packages will first need to be installed: pkg-config zstd <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /opt/homebrew/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: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/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:5a8b7116d978e403c525e61794c60b43480d0afc83e499a763f7f14641bbc9b1 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/cfb2864b638ce3847b31fa1f44483b5edcf090a414eaa5306c8b7ff2dc0ba44a--lz4--1.9.4.arm64_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:b5583c24107269a6223a3fae17d83b596d6ce1d84b3497be59670f143d73eaf7 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/0e0aec6661183ecb640ab65fdea4d5387cd8029dbe702b0b4801030e148df690--xz--5.6.1.arm64_sonoma.bottle.tar.gz - ==> Fetching zstd - ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/blobs/sha256:2028141683f55bffcd0693b9e49eef1e3dabc1e184214cacb173ca9bd54dabc0 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/af6fd07ad9cd935975dd761af51c9baba7eb782dda7630d4abd399fa98e53578--zstd--1.5.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`). - ==> 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.arm64_sonoma.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/lz4/1.9.4: 22 files, 634.5KB - ==> 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.arm64_sonoma.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/xz/5.6.1: 166 files, 2.7MB - ==> Installing zstd - ==> Pouring zstd--1.5.6.arm64_sonoma.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/zstd/1.5.6: 31 files, 2.2MB - ==> Running `brew cleanup zstd`... - Removing: /Users/mac1000/Library/Caches/Homebrew/zstd--1.5.5... (721.7KB) 2024-03-27 16:11.32 ---> 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... No 0-1 knapsack inequalities detected Constructing conflict graph... Conflict graph has 2 + 2 = 4 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 dune.3.14.2 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved dune-configurator.3.14.2 (cached) -> retrieved extlib.1.7.9 (https://github.com/ygrek/ocaml-extlib/releases/download/1.7.9/extlib-1.7.9.tar.gz) -> 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 16:12.20 ---> saved as "715189263a8d605b4e5e5ff96040a2abbb9896b1fa53ef7891740fcb373dd1de" /: (copy (src .) (dst ./src)) 2024-03-27 16:12.21 ---> 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/opt/homebrew/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.5x at level 19 : 2186696 -> 617146 environment : best compression 2.4x at level 5 : 1809 -> 769 2024-03-27 16:12.25 ---> saved as "2c259aa7edba733ab7cc62fb06b6b35e025d58e8f4343a69b787a748086481ca" Job succeeded 2024-03-27 16:12.29: Job succeeded