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-22.04-4.14_opam-2.1) Base: ocaml/opam@sha256:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473 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:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473 # ubuntu-22.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:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473-ubuntu-22.04-4.14_opam-2.1-a428c156bbbccadeb6c8e25e7abe5dc9" 2024-03-27 15:25.25: Using OBuilder spec: ((from ocaml/opam@sha256:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473) (comment ubuntu-22.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:48.11: Got resource from pool OCluster Building on x86-bm-d1.sw.ocaml.org hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-zstd.git-d49335cf952de0d1dc163c40789cb4349ecfb92d/.git/ HEAD is now at c50809d Bump version (from ocaml/opam@sha256:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473) Unable to find image 'ocaml/opam@sha256:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473' locally docker.io/ocaml/opam@sha256:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473: Pulling from ocaml/opam b67f1ca68546: Pulling fs layer b67f1ca68546: Verifying Checksum b67f1ca68546: Download complete b67f1ca68546: Pull complete Digest: sha256:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473 Status: Downloaded newer image for ocaml/opam@sha256:7729a21e0fdc38a01dd52d8c919ab893220573b4f49a3b9e044bba0b6b0f0473 2024-03-27 16:48.13 ---> using "113e29eda6d3c5ef03f8c65f46e224bb5b81cf084843887effe347cced4a1357" from cache /: (comment ubuntu-22.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:48.13 ---> using "ff769971d6eef4c5e9f135f226c063ceae14e4f3e4950fef9f641d5cde7c79f6" from cache /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:48.13 ---> using "d8cf4d6243b5c800130207b010a0fe5df182e52000bd7b599956523914716da6" from cache /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:48.13 ---> using "175a67caf922e6014837eea70ca9f0e59b90f8ba73c8eca08182a7edb9af06eb" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-03-27 16:48.13 ---> using "7a24cfa80f7b916ed40510b9c9da6a6e5b671a316ed17a3d61e4306cdb75766d" from cache /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 a6ba98231d..ee7f724f69 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:48.13 ---> using "03e2fc20af533adf21aecfea1ef30cfc788b5cbb8c90b146233b270b150fcc82" from cache /src: (copy (src zstd.opam) (dst ./)) 2024-03-27 16:48.13 ---> saved as "d3edadb18687f7b4a286acf0ae3c6a6f366755b0ed1b0c2b3ef46d558add09d2" /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:48.17 ---> saved as "f1f18ab708c17640f6e829064b644436cc3b1f9fdbda3cefccc27ee556ad4ea1" /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://archive.ubuntu.com/ubuntu jammy InRelease - Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] - Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] - Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB] - Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2048 kB] - Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2091 kB] - Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1624 kB] - Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1080 kB] - Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1906 kB] - Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1356 kB] - Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.3 kB] - Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [80.9 kB] - Fetched 10.6 MB in 2s (5034 kB/s) - 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 libglib2.0-0: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 ... 15637 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.2_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.2) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.2_all.deb ... - Unpacking libglib2.0-data (2.72.4-0ubuntu2.2) ... - Selecting previously unselected package libicu70:amd64. - Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ... - Unpacking libicu70:amd64 (70.1-2) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.4_amd64.deb ... - Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.4) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ... - Unpacking shared-mime-info (2.1-2) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2ubuntu4) ... - Selecting previously unselected package libzstd-dev:amd64. - Preparing to unpack .../6-libzstd-dev_1.4.8+dfsg-3build1_amd64.deb ... - Unpacking libzstd-dev:amd64 (1.4.8+dfsg-3build1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../7-pkg-config_0.29.2-1ubuntu3_amd64.deb ... - Unpacking pkg-config (0.29.2-1ubuntu3) ... - Setting up libzstd-dev:amd64 (1.4.8+dfsg-3build1) ... - Setting up xdg-user-dirs (0.17-2ubuntu4) ... - Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.2) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.72.4-0ubuntu2.2) ... - Setting up pkg-config (0.29.2-1ubuntu3) ... - Setting up libicu70:amd64 (70.1-2) ... - Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.4) ... - Setting up shared-mime-info (2.1-2) ... - Processing triggers for libc-bin (2.35-0ubuntu3.6) ... 2024-03-27 16:48.45 ---> saved as "b6312505985f028aaa7b6d46524b3cfba932190baf48f4c34f2e25c0e1823f0c" /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 (https://github.com/ygrek/ocaml-extlib/releases/download/1.7.9/extlib-1.7.9.tar.gz) -> 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 dune-configurator.3.14.2 -> installed extlib.1.7.9 -> installed ctypes.0.22.0 Done. # Run eval $(opam env) to update the current shell environment 2024-03-27 16:50.26 ---> saved as "c40e31e62f6b4a49ea17f4c05d69a301501a9cbd51028d6cb6cda6749ff5b602" /src: (copy (src .) (dst /src)) 2024-03-27 16:50.26 ---> saved as "d9a6dae06a507e66e610262e115053bd47e0a5e86d327f0ffe522c65c1eafbe6" /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 : 1396520 -> 600971 /src/_build/default/test/test.exe : best compression 3.4x at level 19 : 3704392 -> 1095092 /etc/ld.so.cache : best compression 5.1x at level 16 : 11099 -> 2187 environment : best compression 2.2x at level 13 : 1360 -> 618 2024-03-27 16:50.41 ---> saved as "254337d4ea801c75759384ee0e70d47acbb252f0d707de4dcb21c077575f30a1" Job succeeded 2024-03-27 16:50.41: Job succeeded