Organisationsbacktrackingbitv622b02 ()debian-12-5.3_arm32_opam-2.4

debian-12-5.3_arm32_opam-2.4

Link Copied
Code Copied

Logs

2025-08-22 12:22.37: New job: test backtracking/bitv https://github.com/backtracking/bitv.git#refs/heads/master (622b02f2d0b267eecec73f151a2f9c441e68ae34) (linux-arm64:debian-12-5.3_arm32_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/backtracking/bitv.git" -b "master" && cd "bitv" && git reset --hard 622b02f2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb
# debian-12-5.3_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.20.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 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:22.37: Using cache hint "backtracking/bitv-ocaml/opam:debian-12-ocaml-5.3@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb-debian-12-5.3_arm32_opam-2.4-07b1b940741b2aef722be26dd7a55a63"
2025-08-22 12:22.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb)
(comment debian-12-5.3_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.20.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 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:22.37: Waiting for resource in pool OCluster
2025-08-22 12:22.37: Waiting for worker…
2025-08-22 12:22.37: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
HEAD is now at a077dda Merge pull request #38 from mbarbin/dst-label
HEAD is now at 622b02f fixed bug in random


(from ocaml/opam:debian-12-ocaml-5.3@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb' locally
docker.io/ocaml/opam@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb: Pulling from ocaml/opam
346639cab7dc: Pulling fs layer
346639cab7dc: Verifying Checksum
346639cab7dc: Download complete
346639cab7dc: Pull complete
Digest: sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb
Status: Downloaded newer image for ocaml/opam@sha256:d7b3a5606dbd063179340a8e2c64b60f688565a89991479f92a086c5609d7beb
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:22.38 ---> using "a9266defa657a0c45511d3c793bc888d443a11af0b6de090e53f6a92103f5b4b" from cache


/: (comment debian-12-5.3_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:22.38 ---> using "8243a2ab9aba3e7bd3eecfcb176f71e50c7330e32a2d1c82e6cbb2ec10e71eb3" 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
2025-08-22 12:22.38 ---> using "310de2b29f11890f0a624a1ef6c2b8c6f4ac5bb92752a4ca8fc3cfccef8dbedb" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-138-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-22 12:22.38 ---> using "76a42d60e4ffdfad295bb6f2da31c4e2b1f3131a7857cb53493dfe4b82b601fa" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-08-22 12:22.38 ---> using "22885e5287603de04eac528124603c5224960bc5f7bef8e2ddf1ab9ab30cb8b6" 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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-08-22 12:22.38 ---> using "1a7182eeeed5a3f9104cf5a77747f7b04018b8cc58af699179f45619c7ea0ba0" from cache


/src: (copy (src bitv.opam) (dst ./))
2025-08-22 12:22.38 ---> using "549596dc052064daf355628a7333a43b5901ca82be53c4c7eb05fd94c4e5a06d" 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:22.38 ---> using "c8b3512d0f1850bf26f2e1e1af709b346810663f23e225b75e07555eb368fbac" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-22 12:22.38 ---> using "96ee766af8b3589fab280499f174190018082f615ae05f6897b63a05b61baff5" from cache


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.20.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 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 1s (1076 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-option-bytecode-only 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).
2025-08-22 12:22.38 ---> using "cd90d5da056ce18f8673c89cb416ab9f1854335b1f1b2de50e6080ca34e7459e" 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-option-bytecode-only 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 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:22.38 ---> using "09a2f39ec1ee61a5ff4077fa6b568222ba02fd9fee45ec7e7afece7e58d8011b" from cache


/src: (copy (src .) (dst /src))
2025-08-22 12:22.38 ---> saved as "0c09146baea00280fcb323e0b505a4aed5242f5a7c258e54ed0e1efbc726788d"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc -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 -bin-annot-occurrences -I .bitv.objs/byte -cmi-file .bitv.objs/byte/bitv.cmi -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
"/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:22.39: Job failed: Failed: Build failed