Organisationsygrekocaml-snappy329a58 (master)ubuntu-25.10-4.14_opam-2.5

ubuntu-25.10-4.14_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:ubuntu-25.10-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:b63ce908a4a9acc88a16ba3825683fcc8f9968bdc468616b98e70b73e09be34d
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:ubuntu-25.10-ocaml-4.14@sha256:b63ce908a4a9acc88a16ba3825683fcc8f9968bdc468616b98e70b73e09be34d
# ubuntu-25.10-4.14_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 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-threads.base base-unix.base conf-snappy.1 dune.3.22.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:ubuntu-25.10-ocaml-4.14@sha256:b63ce908a4a9acc88a16ba3825683fcc8f9968bdc468616b98e70b73e09be34d-ubuntu-25.10-4.14_opam-2.5-bc3da1e8ab8b41681da8e575ef9a82fd"
2026-04-03 11:35.56: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:b63ce908a4a9acc88a16ba3825683fcc8f9968bdc468616b98e70b73e09be34d)
(comment ubuntu-25.10-4.14_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 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-threads.base base-unix.base conf-snappy.1 dune.3.22.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.29: Waiting for worker…
2026-04-03 12:43.33: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-snappy.git-aa278a0c62dca1447db591838af078915226c67b/.git/
HEAD is now at 329a58d release 0.1.2


(from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:b63ce908a4a9acc88a16ba3825683fcc8f9968bdc468616b98e70b73e09be34d)
2026-04-03 12:43.34 ---> using "3c4ce9c6e9ee70034bd29229916ad5ec000d95ead0b0fba43b6def92796984a9" from cache


/: (comment ubuntu-25.10-4.14_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-04-03 12:43.34 ---> using "39be6e7cab41726702a381918496ae7f209450c36172c28a96e133eca65443b9" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-03 12:43.34 ---> using "1051b28800052ed02673c24f559c1a667e94c3f4e140f902854f61773b45b4d4" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 12:43.34 ---> using "f58999d006116fb785ab804ae8b57a0dc6afced41860121df9860ff6db0689b1" 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..2a4b439041  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.34 ---> using "4902df18caa754e8660d4b65903876d944567e35bb924e6f3555e5f9c18d208d" from cache


/src: (copy (src snappy.opam) (dst ./))
2026-04-03 12:43.34 ---> saved as "13f6806d3b60781ba7764b66fb503c6f5f654580320f4bdf87e81129b342f5ec"


/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.37 ---> saved as "ae234c1cc3ff50ce3829e0bc6c89170753f2f5883edf8c82ab1bad6bbbbaa63d"


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


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-snappy.1 dune.3.22.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [471 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [340 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [239 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [5979 B]
- Get:8 http://archive.ubuntu.com/ubuntu questing-backports/universe amd64 Packages [4037 B]
- Get:9 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:10 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [237 kB]
- Get:11 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [264 kB]
- Get:12 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [338 kB]
- Fetched 2304 kB in 18s (130 kB/s)
- Reading package lists...
- 


<><> 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
libsnappy-dev


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libsnappy-dev"
- Selecting previously unselected package libsnappy1v5: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 ... 18712 files and directories currently installed.)
- Preparing to unpack .../libsnappy1v5_1.2.2-1_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.2.2-1) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../libsnappy-dev_1.2.2-1_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.2.2-1) ...
- Setting up libsnappy1v5:amd64 (1.2.2-1) ...
- Setting up libsnappy-dev:amd64 (1.2.2-1) ...
- Processing triggers for libc-bin (2.42-0ubuntu3.1) ...
# To update the current shell environment, run: eval $(opam env)
2026-04-03 12:44.15 ---> saved as "a112ade867d744da53a3550cae9f872d2709513101d738f07ee79abb90ead4ec"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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.41 ---> saved as "6f6c518e89169dd73e4bd9307d705f5b99e8f2d15a8e59c2961ad9c4e092f06b"


/src: (copy (src .) (dst /src))
2026-04-03 12:45.42 ---> saved as "f89644cdcf82f3bd98114a6ae894c0d53bf6d1d4382d51e600452ddbb343eb96"


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