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-4.14_arm64_opam-2.1) Base: macos-homebrew-ocaml-4.14 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-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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-macos-homebrew-4.14_arm64_opam-2.1-bae3dcb3b4cb7bac7e4a19e497ef9be6" 2024-03-27 15:25.25: 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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:17.10: Got resource from pool OCluster Building on m1-worker-01 All commits already cached HEAD is now at c50809d Bump version (from macos-homebrew-ocaml-4.14) 2024-03-27 16:17.10 ---> 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-03-27 16:17.10 ---> 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-03-27 16:17.10 ---> 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-03-27 16:17.10 ---> 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 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 3505e93828..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 - 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-03-27 16:17.10 ---> using "e5ec0c2b8d0b7f88c37d8eb444391388bfdb34ca56801b134f78a2287edb9da7" from cache /: (copy (src zstd.opam) (dst ./src/./)) 2024-03-27 16:17.11 ---> saved as "a879a149fb06962ec066f96cdc9cda02ebca2cb655dc43521e1e1451a213a09f" /: (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:17.18 ---> saved as "04553f919151e0318ff50881177b6e2911607463b28f45f9d4da910efdb8e24b" /: (env DEPS "base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 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 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:17.35 ---> saved as "a8fc939d9e0afa0afb8b3e73d3e28266c6551341155e7064bce8bf6ca4872bbb" /: (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 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 16:18.22 ---> saved as "090ca3def8deef7ac5312f781945b78539e2dedb49d8d6eb3ebe9b2c87c7afa8" /: (copy (src .) (dst ./src)) 2024-03-27 16:18.23 ---> saved as "8ba1ecbabed49c3c6e690754940b741e716cc9a0e2b49d9534664a06561c4a6a" /: (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/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/ctypes -I /Users/mac1000/.opam/4.14.2/lib/ctypes/stubs -I /Users/mac1000/.opam/4.14.2/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.4x at level 19 : 1889544 -> 552318 environment : best compression 2.3x at level 13 : 1750 -> 754 2024-03-27 16:18.27 ---> saved as "8c1d8d820bbe83dabced2c05c48ac7a51f55b0cef1d8bec9df022a225afdbbc0" Job succeeded 2024-03-27 16:18.31: Job succeeded