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

fedora-42-5.4_opam-2.5

Logs

Show full logs
2026-02-12 22:39.47: New job: test edwintorok/lintcstubs-arity https://github.com/edwintorok/lintcstubs-arity.git#refs/heads/main (9c3f13ea3d916c189449d8991b7894105d31c14b) (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 9c3f13ea
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-02-12 22:39.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-02-12 22:39.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-02-12 22:39.47: Waiting for resource in pool OCluster
2026-02-12 22:39.47: Waiting for worker…
2026-02-12 22:39.48: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 9c3f13e Prepare for 0.5.1

(from ocaml/opam:fedora-42-ocaml-5.4@sha256:ce68ccbcfc7f6f0077759d2f901518b45abec0ee2b0d3846d09c257eeba41dbb)
2026-02-12 22:39.48 ---> 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% |  13.0 KiB/s |  15.8 KiB |  00m01s
 Fedora 42 - x86_64                     100% |  19.8 KiB/s |  22.6 KiB |  00m01s
 Fedora 42 openh264 (From Cisco) - x86_ 100% |   1.7 KiB/s | 986.0   B |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.

Nothing to do.
2026-02-12 22:39.48 ---> using "588c434da937157851c1fdd79d468b8fbe29979786d68316bd7dca540f11abbb" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-12 22:39.48 ---> 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-02-12 22:39.48 ---> 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-02-12 22:39.48 ---> using "8ca1d76b03366644862de06631e57eba020ac1bf4bdffd05b1e1e9c149b2b02b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-02-12 22:39.48 ---> 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..119f3176b8  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-02-12 22:40.01 ---> saved as "b05b2e3125906c0516d337c34307bf8cd37a1018bbbd12bde83f0b9a3948d1b5"

/src: (copy (src lintcstubs-arity.opam) (dst ./))
2026-02-12 22:40.02 ---> saved as "50e012fe170f3453203bd92dcbbc4cf5fb5c60194e06f8c26abe520bddf2a753"

/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-02-12 22:40.02 ---> saved as "bcc8f4f99590b622702286048fe3d5fe12b4365739003099fac89cbefb15b49b"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-12 22:40.02 ---> saved as "ac5b7f80b4956f53ce87450c598eb32a5542b80e9d04934a1b83f1d8c3d04497"

/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:
-  Fedora 42 - x86_64 - Updates           100% |  47.7 KiB/s |  15.8 KiB |  00m00s
- 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-02-12 22:40.09 ---> saved as "c3f61bcc27c73e2636a62c232ed389c93db1c90c532c90d33b8b4381e067ee27"

/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-02-12 22:40.32 ---> saved as "f25c888add60894fc8e1b3b19abc87067818e55d756d85b29edd6bcd59e47f61"

/src: (copy (src .) (dst /src))
2026-02-12 22:40.32 ---> saved as "025117aa88ee1790e0b18657a28d9cb39c9ee82e2e7efcaf30050dd8ebe26d25"

/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 -no-alias-deps -opaque -open Primitives_of_cmt__ -o cmt/lib/.primitives_of_cmt.objs/byte/primitives_of_cmt__Native_arg.cmo -c -impl cmt/lib/native_arg.ml)
File "cmt/lib/native_arg.gte52.ml", line 1, characters 5-11:
Error: Unbound module Ptypes
(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-02-12 22:40.33: Job failed: Failed: Build failed