Organisationskit-ty-katecamllzma39b1d4 (main)ubuntu-22.04-5.4_opam-2.5

ubuntu-22.04-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-03-19 08:06.46: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (linux-x86_64:ubuntu-22.04-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
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-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
# ubuntu-22.04-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && 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.22.0 dune-configurator.3.22.0 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.5 --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


2026-03-19 08:06.46: Using cache hint "kit-ty-kate/camllzma-ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9-ubuntu-22.04-5.4_opam-2.5-8ee6a1a57f800edd064be5cccc7ce530"
2026-03-19 08:06.46: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
(comment ubuntu-22.04-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && 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 (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.22.0 dune-configurator.3.22.0 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.5 --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"))
)


2026-03-19 08:06.46: Waiting for resource in pool OCluster
2026-03-19 15:39.07: Waiting for worker…
2026-03-19 15:44.18: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 39b1d49 Improve the interface


(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
2026-03-19 15:44.19 ---> using "a494baecbb94e7af4729d4c2ae860efde3ac6b3dc163dcb8423239dae5deadc4" from cache


/: (comment ubuntu-22.04-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-03-19 15:44.19 ---> using "e5280f8b1c6f0298ccc2a6bcb36e6de990878c996fb6e9437093be910da9449d" 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
2026-03-19 15:44.19 ---> using "0733a7d2324a7e649e143a7b1a25624625d45bf75af068c91f760900ce4dfe73" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-19 15:44.19 ---> using "4d7450a6f82470363f267e9558dda7fc3483e573698f6886e667a9bb28c3b837" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-19 15:44.19 ---> using "b8a2c0d42955ac90f8517be228dcb3fea7854c0d204131339e5e27619cebb1b7" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ffb54b9bdd..9f189ca4f9  master     -> origin/master
9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised 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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-03-19 15:44.19 ---> using "926414b1f6d2a3f10e799864dd1e97578c4c21ac94c9f6e6e961e406d808c8d5" from cache


/src: (copy (src camllzma.opam) (dst ./))
2026-03-19 15:44.20 ---> saved as "7683e288e122b786472456fd318a8604802903aec5a6f87690941dbc5792cf46"


/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)
2026-03-19 15:44.25 ---> saved as "fefc47a050ec5b7e5441df74d5a3457b97412efc48bb3898cd4ce1d4679f2724"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-19 15:44.26 ---> saved as "e7d1c1f7b13c6d8d25528d3450ca6610f08671879f32622d696bf3e602be5602"


/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.22.0 dune-configurator.3.22.0 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.5 --depext-only -y camllzma.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4166 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7002 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1615 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3833 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1303 kB]
- Get:12 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6794 kB]
- Fetched 25.2 MB in 3s (7426 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"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 15669 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.9_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.9_all.deb ...
- Unpacking libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libicu70:amd64.
- Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ...
- Unpacking libicu70:amd64 (70.1-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.11_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ...
- Unpacking shared-mime-info (2.1-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../6-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
- Unpacking pkg-config (0.29.2-1ubuntu3) ...
- Selecting previously unselected package liblzma-dev:amd64.
- Preparing to unpack .../7-liblzma-dev_5.2.5-2ubuntu1_amd64.deb ...
- Unpacking liblzma-dev:amd64 (5.2.5-2ubuntu1) ...
- Setting up xdg-user-dirs (0.17-2ubuntu4) ...
- Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Setting up pkg-config (0.29.2-1ubuntu3) ...
- Setting up liblzma-dev:amd64 (5.2.5-2ubuntu1) ...
- Setting up libicu70:amd64 (70.1-2) ...
- Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Setting up shared-mime-info (2.1-2) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.13) ...
# To update the current shell environment, run: eval $(opam env)
2026-03-19 15:45.03 ---> saved as "b00ec6cb02d8ae6eec439d60b0cfb86cb17787b87a1ac754fac705609ba7a3b7"


/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.22.0
- install dune-configurator 3.22.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-liblzma.1
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed dune-configurator.3.22.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-19 15:47.20 ---> saved as "2899c1b020e1df254b1b9a362d0d3ce94fd8bed7a86daea356a2c78bcab057fd"


/src: (copy (src .) (dst /src))
2026-03-19 15:47.21 ---> saved as "8e8936e40e03b751ff22f8d3fd1e618950976aa8d6dce0139898c2f93f3b3879"


/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
2026-03-19 15:47.23: Job failed: Failed: Build failed