2025-08-22 12:23.10: New job: test backtracking/bitv https://github.com/backtracking/bitv.git#refs/heads/master (faa4fb0419bc1f039704a5780582ca01076190b7) (linux-x86_64:debian-12-4.14_x86_32_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:3471e334ac8d7c3ae3e5dc58420954c72f1c5b5d4d08c95960f6d68037235cc2
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:3471e334ac8d7c3ae3e5dc58420954c72f1c5b5d4d08c95960f6d68037235cc2
# debian-12-4.14_x86_32_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:3471e334ac8d7c3ae3e5dc58420954c72f1c5b5d4d08c95960f6d68037235cc2-debian-12-4.14_x86_32_opam-2.4-c6a028cdb65f24161983639666c22cd7"
2025-08-22 12:23.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:3471e334ac8d7c3ae3e5dc58420954c72f1c5b5d4d08c95960f6d68037235cc2)
(comment debian-12-4.14_x86_32_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:28.43: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at faa4fb0 release 2.1
(from ocaml/opam:debian-12-ocaml-4.14@sha256:3471e334ac8d7c3ae3e5dc58420954c72f1c5b5d4d08c95960f6d68037235cc2)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-08-22 12:29.40 ---> saved as "44803299b6e164f95779c38545f782707517bdbd898c80c31139479f9bc028f7"
/: (comment debian-12-4.14_x86_32_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:29.41 ---> saved as "e7754ebc3240d6d3cd56b097d0b9874da85a6deb8aab5d3b0fd5337ecbd1346d"
/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
2025-08-22 12:30.41 ---> saved as "21d3dbfe7cb5f5baa03c7508212357a15daf025accc54080a82136200c6a92f5"
/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:30.42 ---> saved as "acd34208bcf2ad86047b1f30053313270bcf498da6f64b7d1ce889ee6a228a08"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-22 12:30.43 ---> saved as "f8e58a6e09abd33108f8e78bf32bab96746779ff9b18920bd8dfe80cf1ca2cc7"
/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..4bae7ec4df 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:31.28 ---> saved as "c62134ab54099ba557386d84f70cb4dc3eb104dbd2b1c364a1e0ef28039c2e3c"
/src: (copy (src bitv.opam) (dst ./))
2025-08-22 12:31.29 ---> saved as "f8e7ecf1291be360976259d7ad523389c1ad2bd684cd47f3c3fbe15913756ec1"
/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:31.33 ---> saved as "06c236c7b2e094994c5bb0fb9887432f029f2f0a5d245c4702e7848849d0e369"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-22 12:31.33 ---> saved as "9211256e82498d148ce5d20913cef3eca34cdee19b61b2da75d1b36ad36c7016"
/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 i386 Packages.diff/Index [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main i386 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main i386 Packages [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [268 kB]
- Fetched 551 kB in 1s (475 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:31.55 ---> saved as "079edbbb60d54a13bf6ef589553fe509fced316fd5ed75522328577f3b5eae5a"
/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:33.13 ---> saved as "7ccab3b991d35fc333c70202030f07555648e4c96478c1b294cb2ce3d6343a51"
/src: (copy (src .) (dst /src))
2025-08-22 12:33.13 ---> saved as "eae49523afcc9ada51944d4e5f38a04f8179f1e148534b972a0e08e1fae402b3"
/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:33.15: Job failed: Failed: Build failed