Organisationsedwintoroklintcstubs-arity742d15 ()fedora-42-5.4_opam-2.5

fedora-42-5.4_opam-2.5

Logs

Show full logs
2026-01-16 13:58.47: New job: test edwintorok/lintcstubs-arity https://github.com/edwintorok/lintcstubs-arity.git#refs/heads/main (742d1575dae6656c3ca380f4840c7eb9ffa00e92) (linux-x86_64:fedora-42-5.4_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:ce68ccbcfc7f6f0077759d2f901518b45abec0ee2b0d3846d09c257eeba41dbb
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:fedora-42-ocaml-5.4@sha256:ce68ccbcfc7f6f0077759d2f901518b45abec0ee2b0d3846d09c257eeba41dbb
# fedora-42-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 13:58.47: Using cache hint "edwintorok/lintcstubs-arity-ocaml/opam:fedora-42-ocaml-5.4@sha256:ce68ccbcfc7f6f0077759d2f901518b45abec0ee2b0d3846d09c257eeba41dbb-fedora-42-5.4_opam-2.5-4bdbbf706443ce6092a12c0adf381e20"
2026-01-16 13:58.47: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:ce68ccbcfc7f6f0077759d2f901518b45abec0ee2b0d3846d09c257eeba41dbb)
 (comment fedora-42-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 13:58.47: Waiting for resource in pool OCluster
2026-01-16 18:10.49: Waiting for worker…
2026-01-16 18:13.18: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 742d157 add ocaml-ci badge

(from ocaml/opam:fedora-42-ocaml-5.4@sha256:ce68ccbcfc7f6f0077759d2f901518b45abec0ee2b0d3846d09c257eeba41dbb)
2026-01-16 18:13.18 ---> using "036f9b732f9d17c01c758b4a476cea75fc5ffc0b43db5723c9bcbaffb014b54a" from cache

/: (comment fedora-42-5.4_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 42 - x86_64 - Updates           100% |  27.6 KiB/s |  20.2 KiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.

Nothing to do.
2026-01-16 18:13.18 ---> using "588c434da937157851c1fdd79d468b8fbe29979786d68316bd7dca540f11abbb" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-16 18:13.18 ---> using "261e20e1f8f71b537145407ffb40a24cd62176eb08a4c4e42f73955442e82c28" 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 18:13.18 ---> using "042111dbe804c3e3e9a1dae31a4d4bd5a1ca2cc34c00b6bef56a8d6aa60bda24" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-16 18:13.18 ---> using "8ca1d76b03366644862de06631e57eba020ac1bf4bdffd05b1e1e9c149b2b02b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-16 18:13.18 ---> using "01060aa655f86127c338903c2da3486b461f3f62339b138a62f8550c06ee8e88" 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..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 18:13.18 ---> using "b05b2e3125906c0516d337c34307bf8cd37a1018bbbd12bde83f0b9a3948d1b5" from cache

/src: (copy (src lintcstubs-arity.opam) (dst ./))
2026-01-16 18:13.18 ---> saved as "c46402686592a59cad423e670ece523d4e974fb530e8ddda84091d1bcefd3790"

/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 18:13.19 ---> saved as "99707892f61c9d5d851cb7845803aa0d7bf74a5c6d9d48d9c673421ca7d07fdc"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 18:13.19 ---> saved as "4edd394f1eb641ff64deccd726674ef0b8e82decaf5176293ba0bfe17f33e222"

/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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> 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 18:13.25 ---> saved as "06d389e559be4a723d0d75eef341f5f4efb543a6e3d9c9e873f4c7aa2035d8f1"

/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 18:13.49 ---> saved as "6754a150b9b47e6bc3a2a303c14c8a4c979d3d2d942d804326c2a6c9a5248352"

/src: (copy (src .) (dst /src))
2026-01-16 18:13.50 ---> saved as "7cf6c3db17d81ced892381757095b8d69cb5d9e320a5e479dbd18209cd4b93ff"

/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 18:13.51: Job failed: Failed: Build failed