2024-03-27 15:25.25: New job: test ygrek/ocaml-zstd https://github.com/ygrek/ocaml-zstd.git#refs/heads/master (c50809df5c0474454740948ad0e7a1c77461cce0) (linux-x86_64:ubuntu-23.04-4.14_opam-2.1) Base: ocaml/opam@sha256:406d4205c977a58cf4c6e0adfc883a8233009efd3c99b3956de95518b9781e57 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 ocaml/opam@sha256:406d4205c977a58cf4c6e0adfc883a8233009efd3c99b3956de95518b9781e57 # ubuntu-23.04-4.14_opam-2.1 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src 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 ./ RUN opam pin add -yn zstd.dev './' 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.1 ocaml-base-compiler.4.14.1 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 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-ocaml/opam@sha256:406d4205c977a58cf4c6e0adfc883a8233009efd3c99b3956de95518b9781e57-ubuntu-23.04-4.14_opam-2.1-a428c156bbbccadeb6c8e25e7abe5dc9" 2024-03-27 15:25.25: Using OBuilder spec: ((from ocaml/opam@sha256:406d4205c977a58cf4c6e0adfc883a8233009efd3c99b3956de95518b9781e57) (comment ubuntu-23.04-4.14_opam-2.1) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (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 ./)) (run (network host) (shell "opam pin add -yn zstd.dev './'")) (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.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y zstd.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "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 16:47.51: Waiting for worker… 2024-03-27 16:51.03: Got resource from pool OCluster Building on x86-bm-c20.sw.ocaml.org All commits already cached HEAD is now at c50809d Bump version (from ocaml/opam@sha256:406d4205c977a58cf4c6e0adfc883a8233009efd3c99b3956de95518b9781e57) 2024-03-27 16:52.20 ---> saved as "2619325e3802fd07891bb0dc80fcfeaa631db8a148854918f68bea19db2d6b0f" /: (comment ubuntu-23.04-4.14_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2024-03-27 16:52.20 ---> saved as "a4283665c1ae18f72c422c478da40eb1f3eb343146323c5bddc8732ee01c7a49" /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then from 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. This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-03-27 16:53.46 ---> saved as "bfad7131a20cafd0f2247f01eb229c6f06032b9752fedd9bbe2e73e19970ab78" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-97-generic The OCaml toplevel, version 4.14.1 2.1.5 2024-03-27 16:53.47 ---> saved as "389f8c9204033bcb2b38037c2ff3b609f50499b99c1fbfe7769d6c36d1f7c86c" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-03-27 16:53.47 ---> saved as "3031aea691019a7caca12968cf96cf6d1f8ceb6ee40ec0491291727d755c65c1" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (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 f17e271e4c..fe00df86c9 master -> origin/master cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository Everything as up-to-date as possible (run with --verbose to show unavailable upgrades). 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:55.12 ---> saved as "9cbf0397ba44614d0ae266223bf602fd83da3b27c39a947b3e4b59dc5ec3f5cf" /src: (copy (src zstd.opam) (dst ./)) 2024-03-27 16:55.12 ---> saved as "5f2451d4e661afec46a496c158bc990812367d9711649e46d7612d259192edd1" /src: (run (network host) (shell "opam pin add -yn zstd.dev './'")) [zstd.dev] synchronised (file:///src) zstd is now pinned to file:///src (version dev) 2024-03-27 16:55.14 ---> saved as "e690cf079a3b8f90c2105d4ed083c217fe5fce154b6cb81d7472592b7dfcd87e" /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.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y zstd.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://security.ubuntu.com/ubuntu lunar-security InRelease - Hit:2 http://archive.ubuntu.com/ubuntu lunar InRelease - Hit:3 http://archive.ubuntu.com/ubuntu lunar-updates InRelease - Hit:4 http://archive.ubuntu.com/ubuntu lunar-backports InRelease - Reading package lists... - <><> 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.1). [NOTE] Package ocaml is already installed (current version is 4.14.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-bigarray is already installed (current version is base). The following system packages will first need to be installed: libzstd-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libzstd-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpkgconf3:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 16142 files and directories currently installed.) - Preparing to unpack .../libpkgconf3_1.8.1-1ubuntu2_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1ubuntu2) ... - Selecting previously unselected package libzstd-dev:amd64. - Preparing to unpack .../libzstd-dev_1.5.4+dfsg2-4_amd64.deb ... - Unpacking libzstd-dev:amd64 (1.5.4+dfsg2-4) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-1ubuntu2_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1ubuntu2) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-1ubuntu2_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1ubuntu2) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-1ubuntu2_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1ubuntu2) ... - Setting up libzstd-dev:amd64 (1.5.4+dfsg2-4) ... - Setting up libpkgconf3:amd64 (1.8.1-1ubuntu2) ... - Setting up pkgconf-bin (1.8.1-1ubuntu2) ... - Setting up pkgconf:amd64 (1.8.1-1ubuntu2) ... - Setting up pkg-config:amd64 (1.8.1-1ubuntu2) ... - Processing triggers for libc-bin (2.37-0ubuntu2.2) ... 2024-03-27 16:55.47 ---> saved as "3bddb84cba6b1001131dedc625467b12fbb7f3dad77167480e33fb3350cfeb11" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (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.1). [NOTE] Package ocaml is already installed (current version is 4.14.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-bigarray is already installed (current version is base). The following actions will be performed: - install dune 3.14.2 - install conf-pkg-config 3 - install stdlib-shims 0.3.0 - install csexp 1.5.2 - install cppo 1.6.9 - install bigarray-compat 1.1.0 - install conf-zstd 1.3.8 - 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 bigarray-compat.1.1.0 (cached) -> retrieved cppo.1.6.9 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-pkg-config.3 -> retrieved ctypes.0.22.0 (cached) -> installed conf-zstd.1.3.8 -> 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 csexp.1.5.2 -> installed bigarray-compat.1.1.0 -> installed stdlib-shims.0.3.0 -> installed cppo.1.6.9 -> installed integers.0.7.0 -> 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:57.27 ---> saved as "3470c76e5d031a938259750fe67e5c918847cdc376d61e7bae967522d6493cf1" /src: (copy (src .) (dst /src)) 2024-03-27 16:57.27 ---> saved as "6c1d4c2662a0613d8197189d0dea73570883d8c35731142010effa8d514e2a28" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/stubs && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/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: In function 'libzstd_stubs_3_ZSTD_getErrorName': libzstd__c_cout_generated_functions__Function_description__Functions.c:28:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28 | char* x18 = ZSTD_getErrorName(x15); | ^~~~~~~~~~~~~~~~~ (cd _build/default/test && ./test.exe) /bin/bash : best compression 2.3x at level 19 : 1437832 -> 616648 /src/_build/default/test/test.exe : best compression 3.5x at level 19 : 3879072 -> 1106889 /etc/ld.so.cache : best compression 5.1x at level 14 : 10459 -> 2064 environment : best compression 2.2x at level 13 : 1360 -> 618 2024-03-27 16:57.48 ---> saved as "ec833416d00e0e9f9ab93ca348872d7c859caf75125b5fb1ea0c06a20cbd778f" Job succeeded 2024-03-27 16:57.49: Job succeeded