Organisationsedwintoroklintcstubs-arity742d15 ()ubuntu-24.04-5.4_opam-2.5

ubuntu-24.04-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-01-16 14:21.27: New job: test edwintorok/lintcstubs-arity https://github.com/edwintorok/lintcstubs-arity.git#refs/heads/main (742d1575dae6656c3ca380f4840c7eb9ffa00e92) (linux-x86_64:ubuntu-24.04-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:4d3f3bfde08b8390c215f5a3acf94051dc74872dff8788b58f3496507d18854b
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:ubuntu-24.04-ocaml-5.4@sha256:4d3f3bfde08b8390c215f5a3acf94051dc74872dff8788b58f3496507d18854b
# ubuntu-24.04-5.4_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-16 14:21.27: Using cache hint "edwintorok/lintcstubs-arity-ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:4d3f3bfde08b8390c215f5a3acf94051dc74872dff8788b58f3496507d18854b-ubuntu-24.04-5.4_opam-2.5-4bdbbf706443ce6092a12c0adf381e20"
2026-01-16 14:21.27: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:4d3f3bfde08b8390c215f5a3acf94051dc74872dff8788b58f3496507d18854b)
(comment ubuntu-24.04-5.4_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-16 14:21.27: Waiting for resource in pool OCluster
2026-01-16 20:00.31: Waiting for worker…
2026-01-16 20:03.50: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 742d157 add ocaml-ci badge


(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:4d3f3bfde08b8390c215f5a3acf94051dc74872dff8788b58f3496507d18854b)
2026-01-16 20:03.51 ---> using "ee7775e2a289b73b66d139e9a7c7338ead1dd548303e89413e28034c19dc69ea" from cache


/: (comment ubuntu-24.04-5.4_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 20:03.51 ---> using "588651255bc78700474afdcb3bed437cbda0f330fd691ff5f516540a69695b58" 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-16 20:04.20 ---> saved as "1b5f378f5260608cc191434e666316b9cfb30ba121e0b3c43d1ad090e10f0eaa"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-16 20:04.20 ---> saved as "6cfed1fb52181599ebdf843e21a6cc46abafca92a09134b978ef5ed2d50cbe96"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-16 20:04.21 ---> saved as "641e76bb402b69d8d97f78c4fcbb7cfab73aa93dab311a40ce73544655a6699f"


/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 20:04.51 ---> saved as "2dad8539a67cb42e617149d659721889210c6a08071e5032355ac49f9882a94a"


/src: (copy (src lintcstubs-arity.opam) (dst ./))
2026-01-16 20:04.52 ---> saved as "565c48e4e33daaa14fae7923cdcee5d8d89dd40f832b3f2fc1754c530c795105"


/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 20:04.57 ---> saved as "e490a859c7d52c6ed63e05c1f81d0086b4b53332759566ab4715b7c095d2da39"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 20:04.58 ---> saved as "c7cda78174a7e0d48ddc49927590ffc5a537fb5395e75bf429cacaff226c55e1"


/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://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1769 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2919 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1191 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3077 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1959 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2142 kB]
- Fetched 13.4 MB in 2s (5474 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-16 20:05.25 ---> saved as "e2b164c3aceba9c0099c4533c8f40cf83f4560cd3fd0f5ff75c81bde77d83190"


/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-16 20:07.02 ---> saved as "146f0c20058f5c2d7c668412bf9c203bc7a6761855ad584011861a2d25dbd4a5"


/src: (copy (src .) (dst /src))
2026-01-16 20:07.02 ---> saved as "6293a8671532d6ac36511827bed9a5abb42ff3e89aeec0a404b32dbfd9e4f184"


/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 20:07.05: Job failed: Failed: Build failed