Organisationsygrekocaml-zstdc50809 ()debian-12-5.2~alpha1_opam-2.1

debian-12-5.2~alpha1_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-x86_64:debian-12-5.2~alpha1_opam-2.1)
Base: ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
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:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
# debian-12-5.2~alpha1_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.2.0 ocaml-base-compiler.5.2.0~alpha1 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.26: Using cache hint "ygrek/ocaml-zstd-ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff-debian-12-5.2~alpha1_opam-2.1-0e3e6474f01b19a01a3cf0a3ab5d95f9"
2024-03-27 15:25.26: Using OBuilder spec:
((from ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff)
 (comment debian-12-5.2~alpha1_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.2.0 ocaml-base-compiler.5.2.0~alpha1 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.26: Waiting for resource in pool OCluster
2024-03-27 16:48.06: Waiting for worker…
2024-03-27 17:06.39: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at c50809d Bump version


(from ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff)
Unable to find image 'ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff' locally
docker.io/ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff: Pulling from ocaml/opam
e04af6793b17: Pulling fs layer
e04af6793b17: Verifying Checksum
e04af6793b17: Download complete
e04af6793b17: Pull complete
Digest: sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
Status: Downloaded newer image for ocaml/opam@sha256:9d4e544185a4954ff2ac177bd08cb71d14812bc5ffe3ea2424b641b166cb22ff
2024-03-27 17:06.39 ---> using "1abba29aee1b056bc37b31b3176dba46474c07c2f07cadc05c89b7f153af358c" from cache


/: (comment debian-12-5.2~alpha1_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 17:06.39 ---> using "560ef7e55d3f66835efc6678a9e7527ee22746eb69aa773fca936d481869b5bb" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "beta": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/ocaml-beta-repository/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2024-03-27 17:06.39 ---> using "af55921dce00aaf5f716342524330f948380d62a15f4f50aa8c7108bb6e7dcc3" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.2.0~alpha1
2.1.5
2024-03-27 17:06.39 ---> using "cd9834e838d8f9878d0f7bd4a40c9e5f07bee4ab297cbfe1088548257664d25e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 17:06.39 ---> using "5fedb1a74f2bbade0512039f2eb255663ad703be339b16d7184d046ebbfccb5b" 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
   69e073a577..ee7f724f69  master     -> origin/master
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[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 17:06.39 ---> using "7070bf322ed02f116c52b14f891660ccec332db3a4680ab9caefb620bff7f6d9" from cache


/src: (copy (src zstd.opam) (dst ./))
2024-03-27 17:06.39 ---> saved as "61f5bf6f3be6eec5d0a3d0bfd6179e05998f1a9954806f758ccfc86da31f98d6"


/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 17:06.41 ---> saved as "7eed8ba726be2286aa1b07153b5a5af804c529cccd8116d3f8d5c03b9a37acf2"


/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.2.0 ocaml-base-compiler.5.2.0~alpha1 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://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 amd64 Packages [147 kB]
- Fetched 251 kB in 0s (966 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.2.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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 17:07.05 ---> saved as "69205dea4c66b48959ed2703ed0eea89a0f7216c7bb49ee788d219851ed4c0fd"


/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.2.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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 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 17:08.20 ---> saved as "2a3d17c9a03579679c016aec0b59e8f8aa0847158a935f7d619a30888de2d1e9"


/src: (copy (src .) (dst /src))
2024-03-27 17:08.20 ---> saved as "9870f3ee6e79e44a4de979b02fb719430aae3cc561707633ba8d66d6fcc0ee6f"


/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 -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -I /home/opam/.opam/5.2~alpha1/lib/ocaml -I /home/opam/.opam/5.2~alpha1/lib/ctypes -I /home/opam/.opam/5.2~alpha1/lib/ctypes/stubs -I /home/opam/.opam/5.2~alpha1/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 : 1265648 -> 549720
                 /src/_build/default/test/test.exe : best compression 3.5x at level 19 : 4518288 -> 1306593
                                  /etc/ld.so.cache : best compression 5.3x at level 16 : 16494 -> 3132
                                       environment : best compression 2.3x at level 13 : 1489 -> 639
2024-03-27 17:08.44 ---> saved as "5e657cf9271ee96088c4a25f0438a0d93a78fd834565deef714d0eaf49d02fae"
Job succeeded
2024-03-27 17:08.44: Job succeeded