Organisationsedwintoroklintcstubs-arity742d15 ()debian-13-5.4_arm64_opam-2.5

debian-13-5.4_arm64_opam-2.5

Link Copied
Code Copied

Logs

2026-01-20 08:52.46: New job: test edwintorok/lintcstubs-arity https://github.com/edwintorok/lintcstubs-arity.git#refs/heads/main (742d1575dae6656c3ca380f4840c7eb9ffa00e92) (linux-arm64:debian-13-5.4_arm64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/edwintorok/lintcstubs-arity.git" -b "main" && cd "lintcstubs-arity" && git reset --hard 742d1575
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370
# debian-13-5.4_arm64_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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lintcstubs-arity.opam ./
RUN opam pin add -yn lintcstubs-arity.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.21.0 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 lintcstubs-arity.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-01-20 08:52.46: Using cache hint "edwintorok/lintcstubs-arity-ocaml/opam:debian-13-ocaml-5.4@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370-debian-13-5.4_arm64_opam-2.5-4bdbbf706443ce6092a12c0adf381e20"
2026-01-20 08:52.46: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370)
(comment debian-13-5.4_arm64_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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lintcstubs-arity.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn lintcstubs-arity.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.21.0 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 lintcstubs-arity.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-01-20 08:52.46: Waiting for resource in pool OCluster
2026-01-20 08:53.03: Waiting for worker…
2026-01-20 09:18.51: Got resource from pool OCluster
Building on ainia.caelum.ci.dev
All commits already cached
HEAD is now at 742d157 add ocaml-ci badge


(from ocaml/opam:debian-13-ocaml-5.4@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370' locally
docker.io/ocaml/opam@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370: Pulling from ocaml/opam
bdfce8c2bb9c: Pulling fs layer
bdfce8c2bb9c: Download complete
bdfce8c2bb9c: Pull complete
Digest: sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370
Status: Downloaded newer image for ocaml/opam@sha256:1733caa24629b4458e1ec6a11272bfd8cf9370838e13b0bb017f4f8779b0b370
2026-01-20 09:18.51 ---> using "9e9b656e9b6bdc237589a9d76f00a1fbae61934b764b5da2a79ad3132262762c" from cache


/: (comment debian-13-5.4_arm64_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-01-20 09:18.51 ---> using "16d8338ac3f28cc60f8ade39bc00db9fc8ea5e4128cc4217b2f8937c548f693e" 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-01-20 09:18.51 ---> using "28ed39bc46dc71b63a4db24822d6116d272e3c3b6cf3a4c750ee0816294d8604" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-20 09:18.51 ---> using "59045ffde86693f70a84c038fc17d2b0f4cca4b6e8597706980c949f95211e91" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-20 09:18.51 ---> using "136ef18ba7fbea384565010841d122831b56c12750f60d960037e100311d559f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a6b2f19780..1c997ec9e6  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.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)
2026-01-20 09:18.51 ---> using "77d924d48c2741f6cd2a5373c465c5da3ae556b1242bf3e73d77877e7d788307" from cache


/src: (copy (src lintcstubs-arity.opam) (dst ./))
2026-01-20 09:18.51 ---> saved as "0d9f4bdd56b55725205b73b6b17b76372afc5d347b393a0610eb0855928acd73"


/src: (run (network host)
(shell "opam pin add -yn lintcstubs-arity.dev './'"))
[lintcstubs-arity.dev] synchronised (file:///src)
lintcstubs-arity is now pinned to file:///src (version dev)
2026-01-20 09:18.53 ---> saved as "2ea09736e0e5dd1e3446e263b19e1fc80ad848161173da68875c3d24c69249bf"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-20 09:18.53 ---> saved as "3e13a5ffdf96d55384fccc39c5400aa0440005fdcc42929cf6ce6d1ed4550369"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.21.0 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 lintcstubs-arity.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main arm64 Packages [9607 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main arm64 Packages [96.3 kB]
- Fetched 9935 kB in 2s (6434 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lintcstubs-arity.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).
# To update the current shell environment, run: eval $(opam env)
2026-01-20 09:19.03 ---> saved as "3db4ba4f3b216419a36872bb2255d8393d2bd42e2696b2cd2ec50ae2573e7c50"


/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 1 package
- install dune 3.21.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> installed dune.3.21.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-20 09:19.37 ---> saved as "85450bb6c11ef7d281bcf0bad0de4601db19707ee9676a6d7fb4aa6ef2621ecd"


/src: (copy (src .) (dst /src))
2026-01-20 09:19.37 ---> saved as "08bce245bb4a518ec65a76da86a08442fbecc25750eb060db64f133468ab22c1"


/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 cmt/lib/.primitives_of_cmt.objs/byte -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -cmi-file cmt/lib/.primitives_of_cmt.objs/byte/primitives_of_cmt.cmi -no-alias-deps -opaque -o cmt/lib/.primitives_of_cmt.objs/byte/primitives_of_cmt.cmo -c -impl cmt/lib/primitives_of_cmt.ml)
File "cmt/lib/primitives_of_cmt.ml", line 46, characters 4-16:
46 |   | Untagged_int ->
^^^^^^^^^^^^
Error: This variant pattern is expected to have type native_repr
There is no constructor Untagged_int within type native_repr
(cd _build/default && /home/opam/.opam/5.4/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 -g -I cmt/lib/.primitives_of_cmt.objs/byte -I cmt/lib/.primitives_of_cmt.objs/native -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -cmi-file cmt/lib/.primitives_of_cmt.objs/byte/primitives_of_cmt.cmi -no-alias-deps -opaque -o cmt/lib/.primitives_of_cmt.objs/native/primitives_of_cmt.cmx -c -impl cmt/lib/primitives_of_cmt.ml)
File "cmt/lib/primitives_of_cmt.ml", line 46, characters 4-16:
46 |   | Untagged_int ->
^^^^^^^^^^^^
Error: This variant pattern is expected to have type native_repr
There is no constructor Untagged_int within type native_repr
(cd _build/default && ./test.sh ../install/default/bin/lintcstubs_arity)
+ opam var prefix
+ DIR=/home/opam/.opam/5.4/lib/ocaml-src
+ [ -d /home/opam/.opam/5.4/lib/ocaml-src ]
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-01-20 09:19.39: Job failed: Failed: Build failed