Organisationsygrekocaml-zstdc50809 ()ubuntu-20.04-5.1_opam-2.1

ubuntu-20.04-5.1_opam-2.1

Link Copied
Code Copied

Logs

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-20.04-5.1_opam-2.1)
Base: ocaml/opam@sha256:54ecc782fa12e61a0350d748afe8ac8be474d5d057dcb6a3c85c10e3db98a1c6
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:54ecc782fa12e61a0350d748afe8ac8be474d5d057dcb6a3c85c10e3db98a1c6
# ubuntu-20.04-5.1_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-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 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:54ecc782fa12e61a0350d748afe8ac8be474d5d057dcb6a3c85c10e3db98a1c6-ubuntu-20.04-5.1_opam-2.1-e65783279cc4a100ba5736e9014122f8"
2024-03-27 15:25.25: Using OBuilder spec:
((from ocaml/opam@sha256:54ecc782fa12e61a0350d748afe8ac8be474d5d057dcb6a3c85c10e3db98a1c6)
 (comment ubuntu-20.04-5.1_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-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 /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.54: Waiting for worker…
2024-03-27 16:52.05: 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:54ecc782fa12e61a0350d748afe8ac8be474d5d057dcb6a3c85c10e3db98a1c6)
2024-03-27 16:52.06 ---> using "efca1d03a5ba81a365522d76020e65d282671e411ef3b67d6438f12a3ca6d992" from cache


/: (comment ubuntu-20.04-5.1_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.06 ---> using "38e9000a4a3c2ab0db27966e43501617446142986f3efa523364681812420463" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
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.


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.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-03-27 16:52.06 ---> using "4823a092d1f45967c8d4674db4a81f0cef5c3117895d92d5e431654c3c60dae7" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-97-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-03-27 16:52.06 ---> using "853c7a82d6b261cbb50f39c7974826ed51c44ae2919993adb5123ea639deb6e7" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 16:52.06 ---> using "e31417988156e79dbc3e8bc522b4d38febc91d5e62138161461ddb58859ae46a" 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..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:53.40 ---> saved as "0bce2aacfd0d78310a012ab2fd2806e58c4751a100374c7119e00c5dda62ca11"


/src: (copy (src zstd.opam) (dst ./))
2024-03-27 16:53.40 ---> saved as "d4bc055534536440107b9d62664b3d6e13b7ad29901fcc27e1a6776a65c08016"


/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:53.43 ---> saved as "b570b587d0d592dcc6501b174fd51d23c7ffb9688b4eccc7839aee0106fa0ef2"


/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")


/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 focal InRelease
- Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3498 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1489 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1194 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3976 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3433 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3588 kB]
- Fetched 17.4 MB in 3s (5813 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 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).


The following system packages will first need to be installed:
    pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-03-27 16:54.12 ---> saved as "33af46983ad6f4209b8dece39797cf76526a59957eb19870f4a5f66c8a056a47"


/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 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).
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 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:55.22 ---> saved as "cd0ff96e392068d51199be8f291a0fd904d2e920897d4bf73da8aee656e36e1d"


/src: (copy (src .) (dst /src))
2024-03-27 16:55.22 ---> saved as "9ad2d12d6e9dd0c08bbb6c4c00d69b846f576ce2b13ea51523711a4c204b48eb"


/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/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.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: 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 : 1183448 -> 513354
                 /src/_build/default/test/test.exe : best compression 3.9x at level 19 : 5004480 -> 1289517
                                  /etc/ld.so.cache : best compression 5.7x at level 16 : 13972 -> 2460
                                       environment : best compression 2.2x at level 13 : 1412 -> 629
2024-03-27 16:55.47 ---> saved as "76124abeb2264871645924b40bccb5f84102f32a2199c24bd9a660e2e2c60050"
Job succeeded
2024-03-27 16:55.47: Job succeeded