2025-08-22 12:23.10: New job: test backtracking/bitv https://github.com/backtracking/bitv.git#refs/heads/master (faa4fb0419bc1f039704a5780582ca01076190b7) (linux-arm64:debian-12-4.14_arm32_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/backtracking/bitv.git" -b "master" && cd "bitv" && git reset --hard faa4fb04
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2
# debian-12-4.14_arm32_opam-2.4
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bitv.opam ./
RUN opam pin add -yn bitv.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.20.0 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.4 --depext-only -y bitv.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-08-22 12:23.10: Using cache hint "backtracking/bitv-ocaml/opam:debian-12-ocaml-4.14@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2-debian-12-4.14_arm32_opam-2.4-c6a028cdb65f24161983639666c22cd7"
2025-08-22 12:23.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2)
(comment debian-12-4.14_arm32_opam-2.4)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bitv.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bitv.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.20.0 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.4 --depext-only -y bitv.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-08-22 12:23.10: Waiting for resource in pool OCluster
2025-08-22 12:23.10: Waiting for worker…
2025-08-22 12:23.10: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
HEAD is now at faa4fb0 release 2.1
(from ocaml/opam:debian-12-ocaml-4.14@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2' locally
docker.io/ocaml/opam@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2: Pulling from ocaml/opam
Digest: sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2
Status: Downloaded newer image for ocaml/opam@sha256:7be085b89a4a39e36f40887bfeb90ee14f8a052352eeb2793a207353981e1cb2
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2025-08-22 12:23.11 ---> using "8111fc7d4314963906f1edeeb308c334ef0ba46189da15a05e488edda8236ca0" from cache
/: (comment debian-12-4.14_arm32_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-22 12:23.11 ---> using "73f9665e4e9d9f4185cbf242a16ee761b1e98fe5f37430d9e8aaa1a69798a68a" 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 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-22 12:23.11 ---> using "44f6a2957854ba128175e5aa62ccd71db4770f65edcd0e8525e7345485ef403c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-08-22 12:23.11 ---> using "6e6aa191fef757e14be00dd5dc5e07cc03db1c729e452a2ab955c6f1b7e22ae7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-22 12:23.11 ---> using "c68b21e73d3663fbf3d3ea794a9f79d71f61932d1a396c635ecab2a6154f7e46" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee8b9193dd..0978bfceb7 master -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.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.3.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)
2025-08-22 12:23.11 ---> using "b530e08a9673a2daade071e3e94dded93b6778e9c22d88f010e16639049339e2" from cache
/src: (copy (src bitv.opam) (dst ./))
2025-08-22 12:23.11 ---> using "284323364990647b25b0f891c6173f104e773be208cdcd0e02427d3367fec1ce" from cache
/src: (run (network host)
(shell "opam pin add -yn bitv.dev './'"))
[bitv.dev] synchronised (file:///src)
bitv is now pinned to file:///src (version dev)
2025-08-22 12:23.11 ---> using "ffcb429eaf7db259137d2da30991c9f1a51f8b26b3f551d35d54144db1732caf" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-22 12:23.11 ---> using "3af84e62d9483e52ddd73ed25e759d50160d06166501a2d459f498cefb0b5c63" from cache
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.20.0 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.4 --depext-only -y bitv.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main armhf Packages.diff/Index [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main armhf Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages [6928 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [256 kB]
- Fetched 539 kB in 0s (1133 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bitv.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).
2025-08-22 12:23.11 ---> using "0469ca183d21f914814f233b58239b037443d0bc877e1970b3535c421d47577b" from cache
/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 1 package
- install dune 3.20.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.0 (cached)
-> installed dune.3.20.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-22 12:23.11 ---> using "5927263de4cda3d8ec754c6db855da90d452a1c1759a93ef9a0fbf74e0393df9" from cache
/src: (copy (src .) (dst /src))
2025-08-22 12:23.12 ---> saved as "199909ff42234fb24c4ccfcac2d472b22a03ab45ba1431b78e27c71e0e8ae2a9"
/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 -w -32 -g -bin-annot -I .bitv.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o .bitv.objs/byte/bitv.cmo -c -impl bitv.ml)
File "bitv.ml", line 222, characters 42-53:
222 | let popi32 n = pop32 (Int32.to_int n land 0xFFFF_FFFF)
^^^^^^^^^^^
Error: Integer literal exceeds the range of representable integers of type int
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -32 -g -I .bitv.objs/byte -I .bitv.objs/native -intf-suffix .ml -no-alias-deps -opaque -o .bitv.objs/native/bitv.cmx -c -impl bitv.ml)
File "bitv.ml", line 222, characters 42-53:
222 | let popi32 n = pop32 (Int32.to_int n land 0xFFFF_FFFF)
^^^^^^^^^^^
Error: Integer literal exceeds the range of representable integers of type int
"/usr/bin/linux32" "/bin/sh" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-08-22 12:23.13: Job failed: Failed: Build failed