Organisationsedwintoroklintcstubs-arity742d15 ()debian-13-5.4+flambda_opam-2.5

debian-13-5.4+flambda_opam-2.5

Link Copied
Code Copied

Logs

2026-01-16 14:01.35: New job: test edwintorok/lintcstubs-arity https://github.com/edwintorok/lintcstubs-arity.git#refs/heads/main (742d1575dae6656c3ca380f4840c7eb9ffa00e92) (linux-x86_64:debian-13-5.4+flambda_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8
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-flambda@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8
# debian-13-5.4+flambda_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-compiler.5.4.0 ocaml-config.3 ocaml-variants.5.4.0+options"
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-16 14:01.35: Using cache hint "edwintorok/lintcstubs-arity-ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8-debian-13-5.4+flambda_opam-2.5-92208fac9bebbb2398754f6cd27c2b22"
2026-01-16 14:01.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8)
(comment debian-13-5.4+flambda_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-compiler.5.4.0 ocaml-config.3 ocaml-variants.5.4.0+options")
(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-16 14:01.35: Waiting for resource in pool OCluster
2026-01-16 19:43.58: Waiting for worker…
2026-01-16 19:49.07: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 742d157 add ocaml-ci badge


(from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8' locally
docker.io/ocaml/opam@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8: Pulling from ocaml/opam
281b80c799de: Already exists
00fc4ac50d5e: Already exists
7dc48a314bea: Already exists
8f654937f9e3: Already exists
1240f6fbe8cc: Already exists
f77f967230a1: Already exists
1b4ac3d9a8c2: Already exists
27b61414175d: Already exists
26fabf9b20e0: Already exists
b4426e2c299b: Already exists
9c12df827e83: Already exists
9a5608646906: Already exists
2a83342677ae: Already exists
5cbaedd36b85: Already exists
750a9830ac77: Already exists
400560080670: Already exists
bad13195b6fa: Already exists
b51fe78b498e: Already exists
185ce27e889b: Already exists
8a483dc1e759: Already exists
4de9d6d54a13: Already exists
0c268a22c8a0: Already exists
4f4fb700ef54: Already exists
e61881bc2621: Already exists
c864a4af1ff0: Already exists
42d012f62ad9: Already exists
ccb2ed78fa2e: Already exists
84c22434b2f6: Already exists
18c972827b32: Already exists
4c6dcdff9e80: Already exists
280bf9d33ca6: Already exists
51ce8c29753c: Already exists
5ac80663b9d2: Already exists
93f877c915e3: Already exists
8573ccc6bb69: Already exists
d26192cd75ec: Already exists
c7cce15b715e: Already exists
c998ca7b5976: Already exists
3cd1b61d806b: Already exists
19a26ec5319e: Already exists
b1f6813045f3: Already exists
2fb6fee07095: Already exists
d7a8a6f23075: Already exists
d1eb163b4fac: Already exists
39e67413349c: Already exists
32625120391d: Already exists
2bb0fee11258: Already exists
aed90036ed39: Already exists
Digest: sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8
Status: Downloaded newer image for ocaml/opam@sha256:5e17466e6f7e30ed05201e6eaa188b26ed09caa5236a24a3ad1c6c17559fe4a8
2026-01-16 19:49.08 ---> saved as "c8fe2874b311935dab17a36a624c1c045982974c34bbbbb407f5c0ccc087ecd5"


/: (comment debian-13-5.4+flambda_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-16 19:49.09 ---> saved as "dc7db11a86192beda370fb584323a0dfd47e2408a50a956c3fbdc06f4ed32134"


/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-16 19:49.47 ---> saved as "19f277dcba8e556396bf47163fbf03829c528b4fecc28881570beea9a359c780"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-16 19:49.47 ---> saved as "820ec10ceca1598c1fb72bc0f9449e0a41a767e7b34297851d598dcee674520b"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-16 19:49.47 ---> saved as "ab0b9c476a6011386a62452404a6d6cbf16cf3fb6ed3b41d647990ff2b891301"


/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..92679ed614  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-16 19:50.03 ---> saved as "5fb7ab1a73b9eaac7cb8edef7c6f85bfd3f040ad9a1fe73d599afc5ff40af75c"


/src: (copy (src lintcstubs-arity.opam) (dst ./))
2026-01-16 19:50.04 ---> saved as "e75863f3b662483193fb38bcc0763a89957d661caacfb5529e6816d83ad5f1fc"


/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-16 19:50.06 ---> saved as "d57328726b1f56233f7aae6e3f610d7d22ef2e95ba054fc54569a33f5d0a6f8f"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 19:50.07 ---> saved as "07a650d776f18b629aa081665f93416cf516f3858df46da6b7c999232b8df26d"


/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-compiler.5.4.0 ocaml-config.3 ocaml-variants.5.4.0+options")


/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 amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [95.9 kB]
- Fetched 9997 kB in 6s (1774 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lintcstubs-arity.dev] synchronised (file:///src)


[NOTE] Package ocaml-variants is already installed (current version is 5.4.0+options).
[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 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-16 19:50.24 ---> saved as "fcc3cd63884918ab566396c626cfa36f19ad36a9b1117fdba0b2edd644907f6a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.4.0+options).
[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 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-16 19:52.45 ---> saved as "adfb4ee5ec2ee4476d958dfad0ddafdf69244844616b1db30f6711e16729113f"


/src: (copy (src .) (dst /src))
2026-01-16 19:52.45 ---> saved as "996f0b40ac828b2bde076d29b4c1aeb107eadbfbf8c0605bd39b934e72d9b5f2"


/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-16 19:52.49: Job failed: Failed: Build failed