2025-05-10 12:25.35: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (linux-x86_64:fedora-40-5.3_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
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:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
# fedora-40-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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:25.35: Using cache hint "kit-ty-kate/camllzma-ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf-fedora-40-5.3_opam-2.3-6e12f346ab277d3a18cf7204b5ad26ab"
2025-05-10 12:25.35: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf)
(comment fedora-40-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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:25.35: Waiting for resource in pool OCluster
2025-05-10 12:25.54: Waiting for worker…
2025-05-10 12:27.41: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 39b1d49 Improve the interface
(from ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf)
Unable to find image 'ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf' locally
docker.io/ocaml/opam@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf: Pulling from ocaml/opam
8e4a22b29eaf: Pulling fs layer
8e4a22b29eaf: Waiting
8e4a22b29eaf: Verifying Checksum
8e4a22b29eaf: Download complete
8e4a22b29eaf: Pull complete
Digest: sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
Status: Downloaded newer image for ocaml/opam@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
2025-05-10 12:29.40 ---> using "878a7c4d63982f7560a9e447087a87f31bea1ca792235ab887a02391aaed4d11" from cache
/: (comment fedora-40-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 198 kB/s | 25 kB 00:00
Fedora 40 openh264 (From Cisco) - x86_64 9.8 kB/s | 989 B 00:00
Fedora 40 - x86_64 - Updates 138 kB/s | 16 kB 00:00
Fedora 40 - x86_64 - Updates 7.4 MB/s | 6.2 MB 00:00
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2025-05-10 12:29.40 ---> using "f7b58d40313aa637c0685073a709ea3b91536c8cfc6d9948f19bb512fa70cf88" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-10 12:29.40 ---> using "4810a834e3609137ef1f4f49ed6c0053d499605a9a9c5a175eb327ece5158042" 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 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.
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-10 12:29.40 ---> using "2b24896f1291b4b73e2abf2f27490ca56ae4c8d773266086dff0f621b2aab584" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-10 12:29.40 ---> using "341166bcec48f375c85f227a8841242fffc64a65feb74573cfefe6fbd6a69225" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-10 12:29.40 ---> using "fc32929fd3f2c41cf47b8b57ce03ad03ba67aa200cfcaa64f449a3cf5ec6dbff" 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"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
34a3fc46c3..0d013e603b master -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2
<><> 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, 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-10 12:29.40 ---> using "d3855fa92403c197aaafeddb5ce50f092530c01f134335f9e2a298dea6a53102" from cache
/src: (copy (src camllzma.opam) (dst ./))
2025-05-10 12:29.40 ---> saved as "4eb9d00c5a3f12922e25e349b7837eb40ac72b91135403e02ba8b989bbec61a9"
/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-10 12:29.41 ---> saved as "3968ce5ac73514633c660b64909d100f9a78bbdd0d1aa343b870a2e3a9cd7ce1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-10 12:29.42 ---> saved as "a0a03c0601adcd2010a3a7870e702baa7d833bba374a155b9c5d4ef2c438e824"
/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 "yum" "makecache"
- Fedora 40 - x86_64 155 kB/s | 25 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 9.6 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 138 kB/s | 16 kB 00:00
- Metadata cache created.
<><> 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:
xz-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "xz-devel"
- Last metadata expiration check: 0:00:11 ago on Sat May 10 12:29:43 2025.
- Dependencies resolved.
- ================================================================================
- Package Architecture Version Repository Size
- ================================================================================
- Installing:
- xz-devel x86_64 1:5.8.1-2.fc40 updates 67 k
- Upgrading:
- xz x86_64 1:5.8.1-2.fc40 updates 572 k
- xz-libs x86_64 1:5.8.1-2.fc40 updates 113 k
-
- Transaction Summary
- ================================================================================
- Install 1 Package
- Upgrade 2 Packages
-
- Total download size: 752 k
- Downloading Packages:
- (1/3): xz-devel-5.8.1-2.fc40.x86_64.rpm 726 kB/s | 67 kB 00:00
- (2/3): xz-libs-5.8.1-2.fc40.x86_64.rpm 978 kB/s | 113 kB 00:00
- (3/3): xz-5.8.1-2.fc40.x86_64.rpm 3.9 MB/s | 572 kB 00:00
- --------------------------------------------------------------------------------
- Total 2.6 MB/s | 752 kB 00:00
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Upgrading : xz-libs-1:5.8.1-2.fc40.x86_64 1/5
- Installing : xz-devel-1:5.8.1-2.fc40.x86_64 2/5
- Upgrading : xz-1:5.8.1-2.fc40.x86_64 3/5
- Cleanup : xz-1:5.4.6-3.fc40.x86_64 4/5
- Cleanup : xz-libs-1:5.4.6-3.fc40.x86_64 5/5
- Running scriptlet: xz-libs-1:5.4.6-3.fc40.x86_64 5/5
-
- Upgraded:
- xz-1:5.8.1-2.fc40.x86_64 xz-libs-1:5.8.1-2.fc40.x86_64
- Installed:
- xz-devel-1:5.8.1-2.fc40.x86_64
-
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "xz-devel"
- xz-devel-5.8.1-2.fc40.x86_64
2025-05-10 12:29.56 ---> saved as "a9e615ca7be2149b0a65a077d39bffb138ef73c0291d2f6df00b094c31189e0f"
/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-10 12:30.32 ---> saved as "7d8fd3476dced8d41730264bd1858149213d6064c356fcbbf41b0687d38f81fd"
/src: (copy (src .) (dst /src))
2025-05-10 12:30.33 ---> saved as "ad0c9abe765fdcc1de454e4f3beb0970752b82c599ea1b75069534a49ad42df0"
/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-10 12:30.34: Job failed: Failed: Build failed