Organisationsygrekocaml-snappy329a58 (master)fedora-43-5.4_opam-2.5

fedora-43-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:35.56: New job: test ygrek/ocaml-snappy https://github.com/ygrek/ocaml-snappy.git#refs/heads/master (329a58d03ad5b3d6fa131cafbb8de0eb83d22a81) (linux-x86_64:fedora-43-5.4_opam-2.5)
Base: ocaml/opam:fedora-43-ocaml-5.4@sha256:ec893d8ac00bb6c06ff30c59cce2f3727107c3133de5ad1c8ede28c001e94cc0
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocaml-snappy.git" -b "master" && cd "ocaml-snappy" && git reset --hard 329a58d0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-5.4@sha256:ec893d8ac00bb6c06ff30c59cce2f3727107c3133de5ad1c8ede28c001e94cc0
# fedora-43-5.4_opam-2.5
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.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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 snappy.opam ./
RUN opam pin add -yn snappy.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-snappy.1 dune.3.22.1 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 snappy.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-04-03 11:35.56: Using cache hint "ygrek/ocaml-snappy-ocaml/opam:fedora-43-ocaml-5.4@sha256:ec893d8ac00bb6c06ff30c59cce2f3727107c3133de5ad1c8ede28c001e94cc0-fedora-43-5.4_opam-2.5-d86b362d66f24e90e899966e498b98a3"
2026-04-03 11:35.56: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:ec893d8ac00bb6c06ff30c59cce2f3727107c3133de5ad1c8ede28c001e94cc0)
(comment fedora-43-5.4_opam-2.5)
(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.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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src snappy.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn snappy.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-snappy.1 dune.3.22.1 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 snappy.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-04-03 11:35.56: Waiting for resource in pool OCluster
2026-04-03 12:40.35: Waiting for worker…
2026-04-03 12:43.49: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 329a58d release 0.1.2


(from ocaml/opam:fedora-43-ocaml-5.4@sha256:ec893d8ac00bb6c06ff30c59cce2f3727107c3133de5ad1c8ede28c001e94cc0)
2026-04-03 12:43.49 ---> using "55235f591e73e0a73aca087590237c1328c7cdaa35a59ddc1b194c05d8428492" from cache


/: (comment fedora-43-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 43 openh264 (From Cisco) - x86_ 100% |   1.1 KiB/s | 986.0   B |  00m01s
Fedora 43 - x86_64 - Updates           100% |  51.6 KiB/s |  15.6 KiB |  00m00s
Fedora 43 - x86_64                     100% | 123.6 KiB/s |  21.8 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.


Nothing to do.
2026-04-03 12:43.49 ---> using "7be4732085dd791e3306e4890e7569aeb833b1c020b82d2656f90ce5709ff383" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-03 12:43.49 ---> using "a71c21cacef3eec18238e988128fcc4b6f9993c22d77b143d9eb518c22533292" 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-04-03 12:43.49 ---> using "2db368f3560f30e6502da68709ea4cd9e55d7fac30af1db9e0e4de129f5987b6" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-173-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-04-03 12:43.49 ---> using "f3d4c2d71b743487228470cbb258b245e8bb4eef88b4bcc7c24bcbdafa500505" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 12:43.49 ---> using "9c94321cd96c56d0bfea35e9fa0a7ab6bf97f253006f5c4f91b2747c471fc520" from cache


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


<><> 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-04-03 12:43.49 ---> using "073a3f4a992d5ae3c4395393a4968d31fd18da7644cfae38b152fe905bf97483" from cache


/src: (copy (src snappy.opam) (dst ./))
2026-04-03 12:43.49 ---> saved as "5291f483e79d95de2f51bfc03dcc3ec18b478a5b83bb37608083837598ae96e1"


/src: (run (network host)
(shell "opam pin add -yn snappy.dev './'"))
[snappy.dev] synchronised (file:///src)
snappy is now pinned to file:///src (version dev)
2026-04-03 12:43.50 ---> saved as "84306a96cd6ee4dc886701d78e01c51d21fe82d80fb538d01f719e5c8bc8ca1e"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 12:43.50 ---> saved as "ffcb3116b2789bf6af8b948a4afd29cc7d6eb4f812439331c79fd6e18d103dec"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-snappy.1 dune.3.22.1 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 snappy.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64 - Updates           100% |  49.7 KiB/s |   6.0 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[snappy.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:
snappy-devel


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


+ /usr/sbin/sudo "yum" "install" "-y" "snappy-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package           Arch   Version        Repository      Size
- Installing:
-  snappy-devel     x86_64 1.2.2-2.fc43   fedora      47.4 KiB
- Installing dependencies:
-  cmake-filesystem x86_64 3.31.11-1.fc43 updates      0.0   B
-  snappy           x86_64 1.2.2-2.fc43   fedora      71.8 KiB
- 
- Transaction Summary:
-  Installing:         3 packages
- 
- Total size of inbound packages is 75 KiB. Need to download 75 KiB.
- After this operation, 119 KiB extra will be used (install 119 KiB, remove 0 B).
- [1/3] snappy-devel-0:1.2.2-2.fc43.x86_6 100% | 469.1 KiB/s |  22.0 KiB |  00m00s
- [2/3] snappy-0:1.2.2-2.fc43.x86_64      100% | 671.6 KiB/s |  39.6 KiB |  00m00s
- [3/3] cmake-filesystem-0:3.31.11-1.fc43 100% | 212.3 KiB/s |  13.4 KiB |  00m00s
- --------------------------------------------------------------------------------
- [3/3] Total                             100% | 220.7 KiB/s |  75.0 KiB |  00m00s
- Running transaction
- [1/5] Verify package files              100% |   1.5 KiB/s |   3.0   B |  00m00s
- [2/5] Prepare transaction               100% |  41.0   B/s |   3.0   B |  00m00s
- [3/5] Installing cmake-filesystem-0:3.3 100% |   1.1 MiB/s |   7.6 KiB |  00m00s
- [4/5] Installing snappy-0:1.2.2-2.fc43. 100% |  17.9 MiB/s |  73.5 KiB |  00m00s
- [5/5] Installing snappy-devel-0:1.2.2-2 100% | 936.3 KiB/s |  49.6 KiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "snappy-devel"
- snappy-devel-1.2.2-2.fc43.x86_64
# To update the current shell environment, run: eval $(opam env)
2026-04-03 12:44.09 ---> saved as "b5f96471ec6bc5bfaa773225dae6a648a289bed56592144c5aa2a44d4be23062"


/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 2 packages
- install conf-snappy 1
- install dune        3.22.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-snappy.1  (cached)
-> installed conf-snappy.1
-> retrieved dune.3.22.1  (cached)
-> installed dune.3.22.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-03 12:45.34 ---> saved as "a66bbe8159247c0041a081b49a8f7cb817628637f854be9f7f3cd4fdf4b3d9f1"


/src: (copy (src .) (dst /src))
2026-04-03 12:45.34 ---> saved as "672c462ed19dc8df18e41218a9b70f7fd6f00341a93881ec3078892fbdd85ec7"


/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 .test.eobjs/byte -I src/.snappy.objs/byte -no-alias-deps -opaque -o .test.eobjs/byte/test.cmo -c -impl test.ml)
File "test.ml", line 7, characters 6-79:
7 |       for i = 0 to pred n do Buffer.add_char b (Char.chr (Random.int 256)) done;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 35 [unused-for-index]): unused for-loop index i.


File "test.ml", line 18, characters 2-60:
18 |   for n = 0 to 1024 do check (Random.int 16384 + 16384) done;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 35 [unused-for-index]): unused for-loop index n.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-04-03 12:45.36: Job failed: Failed: Build failed