Organisationsedwintoroklintcstubs-arity9c3f13 ()ubuntu-22.04-5.4_opam-2.5

ubuntu-22.04-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:ubuntu-22.04-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf
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:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf
# ubuntu-22.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-02-12 22:39.47: Using cache hint "edwintorok/lintcstubs-arity-ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf-ubuntu-22.04-5.4_opam-2.5-4bdbbf706443ce6092a12c0adf381e20"
2026-02-12 22:39.47: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf)
 (comment ubuntu-22.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-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.49: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 9c3f13e Prepare for 0.5.1

(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf' locally
docker.io/ocaml/opam@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf: Pulling from ocaml/opam
7e49dc6156b0: Already exists
65bdcb90cd9a: Already exists
8a57a4c399f1: Already exists
59c09820d352: Already exists
0b0f4f66ef34: Already exists
e90294888346: Already exists
ce0c8e352950: Already exists
e1c547e72f55: Already exists
f65f7d0d5a6b: Already exists
5bf8f7b5ae47: Already exists
4c0063a04a4f: Already exists
8f78cdfec5cd: Already exists
576b7ada738c: Already exists
08e02ba26792: Already exists
2178ec162f17: Already exists
1e3cdad8c2cf: Already exists
b8bc66c50efe: Already exists
b8bc66c50efe: Already exists
4f4fb700ef54: Already exists
c97176e241e4: Already exists
4e3fb299a44e: Already exists
918a18accca5: Already exists
4f4fb700ef54: Already exists
a67fbef18c3b: Already exists
493e62f841d2: Already exists
63f963a03809: Already exists
11fba2bf1c32: Already exists
6566e414ef98: Already exists
242773756c53: Already exists
347353cb20e5: Already exists
a3406a4edb0c: Already exists
410a36612209: Already exists
2d65b6db5b4b: Already exists
f3e3808d15ca: Already exists
7acec8b986fd: Already exists
a6c7dcc7803f: Already exists
92d000ad2eb2: Already exists
a9b5fc1c0e92: Already exists
8bc304301dd4: Already exists
0712946836c1: Already exists
47bb5b5c05ac: Already exists
d05226ef3202: Already exists
9204c000513f: Already exists
19ed4e99d5ff: Already exists
bfa9cec314e2: Already exists
ace257d32dbc: Already exists
d6fdef0c42fe: Already exists
2bd2e738cdab: Already exists
Digest: sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf
Status: Downloaded newer image for ocaml/opam@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf
2026-02-12 22:39.49 ---> using "7a9f40bfd6eae0cbe23271c7b8d132ab75e85de213c7201e41623cbd6253ba55" from cache

/: (comment ubuntu-22.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-02-12 22:39.49 ---> using "b319cbce2e5705e4fb1f92cb4b1e300392daf9d5c0a365811116903b52ef003b" 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.49 ---> using "cbc98d5810fbee3548b36119d392c05238b7cc66ed66e48cd90cc2787f9d646c" from cache

/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-02-12 22:39.49 ---> using "9288545b90511a0a602819257c8eb0739b9dea6623a0f0619c6a9dd8ef570a92" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-02-12 22:39.49 ---> using "69ca65ba44feda7c5f5d730d820704de55c243e0d7f002705bf5d264fa34fb9e" 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.06 ---> saved as "0bca0cf3b4b7bd54868b1b6dc6a97d6efafdec63801daf44c7690b4cdbc27a7d"

/src: (copy (src lintcstubs-arity.opam) (dst ./))
2026-02-12 22:40.07 ---> saved as "54aad9b9f2f8fb7a992df441a38421bc8f88dcf8e96ac77b80f7ffc8cf43704b"

/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.09 ---> saved as "b76af287d12e20b0ae24ea9b63f8348c244eb466a8a989a2ef024bab23c34bb4"

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

/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 jammy-security InRelease [129 kB]
- Get:2 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6468 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3708 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1299 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [62.6 kB]
- Hit:6 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [70.9 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1610 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4047 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6688 kB]
- Fetched 24.3 MB in 2s (11.6 MB/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-02-12 22:40.24 ---> saved as "5c6f6698801e1dd86ac924c22a2552a93df0397d0a70efd11816002fb4628ea8"

/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:41.01 ---> saved as "3b0e48d51d74fcc904f8252274a8b0f09ab32611f87f107541a8143944a26080"

/src: (copy (src .) (dst /src))
2026-02-12 22:41.02 ---> saved as "c99001e1f91438864fc4b07299ba3c2c57f621b1d284aa2fa7c2a5493a40ce81"

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