Organisationskit-ty-katecamllzma39b1d4 (main)debian-12-5.3_s390x_opam-2.3

debian-12-5.3_s390x_opam-2.3

Logs

Show full logs
2025-05-10 12:27.37: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (linux-s390x:debian-12-5.3_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/kit-ty-kate/camllzma.git" -b "main" && cd "camllzma" && git reset --hard 39b1d49c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6
# debian-12-5.3_s390x_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 camllzma.opam ./
RUN opam pin add -yn camllzma.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y camllzma.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

2025-05-10 12:27.37: Using cache hint "kit-ty-kate/camllzma-ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6-debian-12-5.3_s390x_opam-2.3-6e12f346ab277d3a18cf7204b5ad26ab"
2025-05-10 12:27.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6)
 (comment debian-12-5.3_s390x_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src camllzma.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn camllzma.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1")
 (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.3 --depext-only -y camllzma.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"))
)

2025-05-10 12:27.37: Waiting for resource in pool OCluster
2025-05-11 04:16.04: Waiting for worker…
2025-05-11 16:37.36: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at 39b1d49 Improve the interface

(from ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6' locally
docker.io/ocaml/opam@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6: Pulling from ocaml/opam
Digest: sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6
Status: Downloaded newer image for ocaml/opam@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6
2025-05-11 16:37.37 ---> using "491891959db966101dcf416ea25e6f09d9dc9ecee46bbb62f0c6adf578d1f872" from cache

/: (comment debian-12-5.3_s390x_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-11 16:37.37 ---> using "cee299d3e127c9819ce477f372ffb6cf3f55e66f98d6f5efd1a11de0ebe49cf6" from cache

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

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] Initialised
2025-05-11 16:37.37 ---> using "f525d09ae810b410811f69337520dfb8567e00cd4b36a23c446a5ce4fe2500d8" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-11 16:37.37 ---> using "349e15f4d58ef18ec4ef1091051b656408727f00a50952dad57d51d2b157d693" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-05-11 16:37.37 ---> using "0a74076a01ff2a34196765a615c021ba0e000842d7acd8f87665b64b2b3f897b" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+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.
# To update the current shell environment, run: eval $(opam env)
2025-05-11 16:37.37 ---> using "97881187db121c6b6962a2d5cb48e99afd146aa186fcaf169a3f2dedd8556cd7" from cache

/src: (copy (src camllzma.opam) (dst ./))
2025-05-11 16:38.00 ---> saved as "a3251268b5b512e3b76ce32aadf685a97b7f400b4d761d4ea8d7441023f146d5"

/src: (run (network host)
           (shell "opam pin add -yn camllzma.dev './'"))
Package camllzma does not exist, create as a NEW package? [y/n] y
[camllzma.dev] synchronised (file:///src)
camllzma is now pinned to file:///src (version dev)
2025-05-11 16:38.18 ---> saved as "e7a47ea8aa3172000e7e86f854fa427e689eebf59fbeceaeccc626ccd5aae686"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-11 16:39.14 ---> saved as "1e5ea2626aefdd89133e49a5949c05e3c02a8cba960200980f48d862baed1060"

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1")

/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.3 --depext-only -y camllzma.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 s390x Packages [227 kB]
- Fetched 330 kB in 2s (180 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[camllzma.dev] synchronised (file:///src)

[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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-effects 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:
    liblzma-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "liblzma-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package liblzma-dev:s390x.
- (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 ... 18551 files and directories currently installed.)
- Preparing to unpack .../liblzma-dev_5.4.1-1_s390x.deb ...
- Unpacking liblzma-dev:s390x (5.4.1-1) ...
- Selecting previously unselected package libpkgconf3:s390x.
- Preparing to unpack .../libpkgconf3_1.8.1-1_s390x.deb ...
- Unpacking libpkgconf3:s390x (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_s390x.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:s390x.
- Preparing to unpack .../pkgconf_1.8.1-1_s390x.deb ...
- Unpacking pkgconf:s390x (1.8.1-1) ...
- Selecting previously unselected package pkg-config:s390x.
- Preparing to unpack .../pkg-config_1.8.1-1_s390x.deb ...
- Unpacking pkg-config:s390x (1.8.1-1) ...
- Setting up libpkgconf3:s390x (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up liblzma-dev:s390x (5.4.1-1) ...
- Setting up pkgconf:s390x (1.8.1-1) ...
- Setting up pkg-config:s390x (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-05-11 16:40.22 ---> saved as "2d3127b56fbde8bbac181e41719724b8ee42c70f658c92c5718c401ec408eaa0"

/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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-effects 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 5 packages
  - install conf-liblzma      1
  - install conf-pkg-config   4
  - install csexp             1.5.2
  - install dune              3.18.2
  - install dune-configurator 3.18.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-liblzma.1
-> retrieved dune.3.18.2, dune-configurator.3.18.2  (cached)
-> installed dune.3.18.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.18.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-11 16:42.48 ---> saved as "2c576270c7a8ed016d8bbbf642cae45649cb575ea3bed2c8d953182731dada18"

/src: (copy (src .) (dst /src))
2025-05-11 16:43.05 ---> saved as "8feae9ac753a60ccceab9f9fa46b8423e3508322069c9d9bfc1b86f20165d62d"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I tests/.test.eobjs/byte -I src/.camllzma.objs/byte -no-alias-deps -opaque -o tests/.test.eobjs/byte/dune__exe__Test.cmo -c -impl tests/test.ml)
File "tests/test.ml", line 29, characters 10-23:
29 |   let e = Lzma2.encoder ~bufsize:1024 Lzma2.PRESET_DEFAULT Lzma2.CHECK_CRC64 in
               ^^^^^^^^^^^^^
Error: Unbound value Lzma2.encoder
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-11 16:43.13: Job failed: Failed: Build failed