Organisationskit-ty-katecamllzma39b1d4 (main)ubuntu-25.10-5.4_opam-2.4

ubuntu-25.10-5.4_opam-2.4

Logs

Show full logs
2025-10-27 22:42.41: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (linux-x86_64:ubuntu-25.10-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
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:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
# ubuntu-25.10-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-10-27 22:42.41: Using cache hint "kit-ty-kate/camllzma-ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840-ubuntu-25.10-5.4_opam-2.4-408240e14b54a22fd90086a953a3d72d"
2025-10-27 22:42.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
 (comment ubuntu-25.10-5.4_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.4 --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-10-27 22:42.41: Waiting for resource in pool OCluster
2025-10-27 23:52.22: Waiting for worker…
2025-10-27 23:55.39: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 39b1d49 Improve the interface

(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
2025-10-27 23:55.40 ---> using "3be20ed9bde11478d710180884f722280dfc08d0ee382a0870797929c1d03cd4" from cache

/: (comment ubuntu-25.10-5.4_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-27 23:55.40 ---> using "da6960692231a059dab52bacd68875d42b6b35b205939a28c7e327c1c48fb166" 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.2, 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] Initialised
2025-10-27 23:55.40 ---> using "e9b0ecbad3beb2e452151c1169527a8879012a89c3350bb7b46eace3adcd6aea" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-27 23:55.40 ---> using "77ec95f59e260ec6798c95d067d0fb48d4d663c0eb249c2e29ab7e2bbb0a15a8" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-27 23:55.40 ---> using "112fb3f58706e2a934d242f81fc30ccd1722e38dcf8fa9411a64fe043420055b" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   5bf570252b..7f9c784b97  master     -> origin/master
7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-27 23:55.40 ---> using "3373ec45c39b3ac1b21dc6fed7680c486cae4b5fbe64e370b76132a9fa05d11d" from cache

/src: (copy (src camllzma.opam) (dst ./))
2025-10-27 23:55.40 ---> saved as "8e23045cfe69b346e3862c89f2ce99553c2c3262afbf4306819adfdd62c882a2"

/src: (run (network host)
           (shell "opam pin add -yn camllzma.dev './'"))
[NOTE] Package camllzma does not exist in opam repositories registered in the current switch.
[camllzma.dev] synchronised (file:///src)
camllzma is now pinned to file:///src (version dev)
2025-10-27 23:55.44 ---> saved as "5023a916b1061937ba33148e848bf5e7b14e05af3e6765d62a19b09d557f59e7"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-27 23:55.45 ---> saved as "78c1613a93cb8e9dd1a56ecd1c8795728ecb2f762d3dc000799f421b4e22ff57"

/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.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.4 --depext-only -y camllzma.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [60.6 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [92.6 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [33.0 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [1687 B]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [64.9 kB]
- Get:10 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [92.6 kB]
- Get:11 http://security.ubuntu.com/ubuntu questing-security/multiverse amd64 Packages [1687 B]
- Get:12 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [32.4 kB]
- Fetched 783 kB in 1s (1057 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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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"
- Selecting previously unselected package libpkgconf3: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 ... 18746 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package liblzma-dev:amd64.
- Preparing to unpack .../liblzma-dev_5.8.1-1build2_amd64.deb ...
- Unpacking liblzma-dev:amd64 (5.8.1-1build2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4build1) ...
- Setting up pkgconf-bin (1.8.1-4build1) ...
- Setting up liblzma-dev:amd64 (5.8.1-1build2) ...
- Setting up pkgconf:amd64 (1.8.1-4build1) ...
- Setting up pkg-config:amd64 (1.8.1-4build1) ...
- Processing triggers for libc-bin (2.42-0ubuntu3) ...
2025-10-27 23:56.14 ---> saved as "099a86b3c6276b26597b7cc7192ba1d7830f6ab42128ed5c2c795aec289a7230"

/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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.20.2
  - install dune-configurator 3.20.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-liblzma.1
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-27 23:58.30 ---> saved as "bf2b1c90f3ec26e0a4f8bb757aad7e3c35efae0d4f93a7a2e668d8ab2be2321e"

/src: (copy (src .) (dst /src))
2025-10-27 23:58.31 ---> saved as "d9c54640e40015738e27ac2196d5a700aded7a27acd94687d8aa6a4f2503439a"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.4/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-10-27 23:58.33: Job failed: Failed: Build failed