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

ubuntu-25.04-5.4_opam-2.5

Link Copied
Code Copied

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-25.04-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d19a4c57d61eb7a51c0effd94fb44b0b4e30ba81785e39e73214dda1dd5e943e
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-25.04-ocaml-5.4@sha256:d19a4c57d61eb7a51c0effd94fb44b0b4e30ba81785e39e73214dda1dd5e943e
# ubuntu-25.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-25.04-ocaml-5.4@sha256:d19a4c57d61eb7a51c0effd94fb44b0b4e30ba81785e39e73214dda1dd5e943e-ubuntu-25.04-5.4_opam-2.5-4bdbbf706443ce6092a12c0adf381e20"
2026-02-12 22:39.47: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d19a4c57d61eb7a51c0effd94fb44b0b4e30ba81785e39e73214dda1dd5e943e)
(comment ubuntu-25.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.47: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
HEAD is now at d199a94 Prepare for 0.5.0
HEAD is now at 9c3f13e Prepare for 0.5.1


(from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d19a4c57d61eb7a51c0effd94fb44b0b4e30ba81785e39e73214dda1dd5e943e)
2026-02-12 22:39.48 ---> using "81b1d3789e01a6df8461f44a41719d2300e9038bbcb2d3d1a116ff5a644387d7" from cache


/: (comment ubuntu-25.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.48 ---> using "984a4f282acc7834ac25f8d4da56f347795e1ee5c79e8b79da47f62146554b07" 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 "fe9ce9f59e2b3ce907b2ca5cd45930388ccdfae57a8e6bdc6bdb669325624e64" 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 "b38e44cb6a376a1d9533ab4151a1effa3b36cf4a05ba200cc11bf6e210609486" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-12 22:39.48 ---> using "7dd1213b025f2d5f808fa5486984ca599ac62c0916bb84ee15193cfd57842439" 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.03 ---> saved as "f886557d72898adee995a25b2811683be1d6786312a8484058cb85e90d53ed14"


/src: (copy (src lintcstubs-arity.opam) (dst ./))
2026-02-12 22:40.04 ---> saved as "70df097f803ebd0477d0db75f0a70fc26571ac8a7481f18701891c85bd4b8860"


/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.05 ---> saved as "fcd72fc843f814f72fc5a544922167497afd8c0c36ca4df953180470acc55c56"


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


/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 plucky-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [290 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [330 kB]
- Get:4 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [233 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [363 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [325 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [452 kB]
- Fetched 2371 kB in 1s (1665 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-02-12 22:40.15 ---> saved as "f8663afa68ee7989a3b2fafea969b3f9c8114d5893deffe39717867f5558404b"


/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.44 ---> saved as "0fc4001a4f26e6a9d9db8b69ad8918af99d54f46467509e9774e0333ef8e1956"


/src: (copy (src .) (dst /src))
2026-02-12 22:40.44 ---> saved as "2b16efbbdddf0c36c72d78850bbc4c0f2c9b1df329501efa15c1bb127246b910"


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