Organisationsygrekocaml-zstdc50809 ()debian-12-4.14_arm64_opam-2.1

debian-12-4.14_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-03-27 15:25.26: New job: test ygrek/ocaml-zstd https://github.com/ygrek/ocaml-zstd.git#refs/heads/master (c50809df5c0474454740948ad0e7a1c77461cce0) (linux-arm64:debian-12-4.14_arm64_opam-2.1)
Base: ocaml/opam@sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a
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:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a
# debian-12-4.14_arm64_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.26: Using cache hint "ygrek/ocaml-zstd-ocaml/opam@sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a-debian-12-4.14_arm64_opam-2.1-a428c156bbbccadeb6c8e25e7abe5dc9"
2024-03-27 15:25.26: Using OBuilder spec:
((from ocaml/opam@sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a)
 (comment debian-12-4.14_arm64_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.26: Waiting for resource in pool OCluster
2024-03-27 15:25.26: Waiting for worker…
2024-03-27 15:25.26: Got resource from pool OCluster
Building on ainia.caelum.ci.dev
All commits already cached
HEAD is now at c50809d Bump version


(from ocaml/opam@sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a)
Unable to find image 'ocaml/opam@sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a' locally
docker.io/ocaml/opam@sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a: Pulling from ocaml/opam
fde6678fdb39: Pulling fs layer
fde6678fdb39: Verifying Checksum
fde6678fdb39: Download complete
fde6678fdb39: Pull complete
Digest: sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a
Status: Downloaded newer image for ocaml/opam@sha256:7c33fc27892b7331e8921261281c8f3eae25f7f8d20195c88d60c617a4de650a
2024-03-27 15:25.27 ---> using "e762486fe30e3deb1e8f7f9ef80de50ffbea23e3d5c58415961f0eac6077bd3f" from cache


/: (comment debian-12-4.14_arm64_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 15:25.27 ---> using "0a708ebb09695f7cae1d83b89c5e7007b9dbaa357a81494a19bae41efcc86d38" 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.


Continue? [Y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-03-27 15:25.27 ---> using "dde93cee4bbdeaa75b855c3e4b77d6b6b3c44518373eabf1f75d40107a2b09e9" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-91-generic
The OCaml toplevel, version 4.14.1
2.1.5
2024-03-27 15:25.27 ---> using "1eb8e31aeaec96bcc57926da99697745f0a65b36548c15881d899f7a9f4ee1c8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 15:25.27 ---> using "9e848374d326323db6b3e2accb30a551245fff49f1b8042c7a28e41c2a1bf893" 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 15:25.29 ---> using "c5efaa49276ffb9d18d43e1fe8036195ae86d2a404d39d671c8fa3d27f043cb7" from cache


/src: (copy (src zstd.opam) (dst ./))
2024-03-27 15:25.31 ---> saved as "57e761efab8082e8eb2a11caf707baeba6799d8f2deabc8d07f81b70a5028e9f"


/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 15:25.36 ---> saved as "f44884c02bbc344b4a1fd351df0740a174ab36713f0c9472b4d1f32e3b8092d8"


/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://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [145 kB]
- Fetched 248 kB in 0s (513 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


2024-03-27 15:25.59 ---> saved as "b6032a43ee7d8f8184eed1e28c609b57fc4bb170aba38c928ea334dc2cc592ee"


/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)
-> retrieved dune.3.14.2  (cached)
-> retrieved dune-configurator.3.14.2  (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)
-> installed dune.3.14.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed cppo.1.6.9
-> 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 15:27.22 ---> saved as "6fc1889a65af826794cae14dbd0b69faf847c27aaf7e60d5b86f18f982d215d7"


/src: (copy (src .) (dst /src))
2024-03-27 15:27.32 ---> saved as "7df4afe3b3b4b5bf69456109e3546c20376d9738cd95203698e3f02174917c6f"


/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.5x at level 19 : 1346480 -> 545092
                 /src/_build/default/test/test.exe : best compression 3.6x at level 19 : 4229864 -> 1172488
                                  /etc/ld.so.cache : best compression 5.3x at level 19 : 16726 -> 3134
                                       environment : best compression 2.2x at level 13 : 1360 -> 618
2024-03-27 15:28.03 ---> saved as "c2f96bf5c25f7e65540e677e32564e627d1d95b0365f07ecfb0f54473fc5cdab"
Job succeeded
2024-03-27 15:28.03: Job succeeded