Organisationsavsmocaml-ctypes8e58a5 (master)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-05-20 12:32.14: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/avsm/ocaml-ctypes.git" -b "master" && cd "ocaml-ctypes" && git reset --hard 8e58a54e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
# debian-13-4.11_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 7313c1f900b85e08b5cccd3e24fd16ac324393ae || git fetch origin master) && git reset -q --hard 7313c1f900b85e08b5cccd3e24fd16ac324393ae && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN opam update -u
COPY --chown=1000:1000 ctypes.opam ctypes-foreign.opam ./
RUN opam pin add -yn ctypes.dev './' && \
opam pin add -yn ctypes-foreign.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.22.2 integers.0.8.0 lwt.5.10.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS
RUN opam install $DEPS
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-05-20 12:32.14: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-79ceb1326a839311696ffcc0b2288f67"
2026-05-20 12:32.14: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
(comment debian-13-4.11_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.2 /usr/bin/opam"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7313c1f900b85e08b5cccd3e24fd16ac324393ae || git fetch origin master) && git reset -q --hard 7313c1f900b85e08b5cccd3e24fd16ac324393ae && git log --no-decorate -n1 --oneline"))
(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 "opam update -u"))
(copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ctypes.dev './' && \
\nopam pin add -yn ctypes-foreign.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.22.2 integers.0.8.0 lwt.5.10.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.0")
(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.2 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
(copy (src .) (dst /src/))
(run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2026-05-20 12:32.14: Waiting for resource in pool OCluster
2026-05-20 12:48.59: Waiting for worker…
2026-05-20 13:13.44: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext


(from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
2026-05-20 13:13.44 ---> using "36abb6db1723167d15c41f53ef05d371444812dc64e2ea7fe109d222db988473" from cache


/: (comment debian-13-4.11_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.2 /usr/bin/opam"))
2026-05-20 13:13.44 ---> using "c39f4f20754d502db7263dd7936ba956bf6745180901c2936d0a5f5580e56fb1" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7313c1f900b85e08b5cccd3e24fd16ac324393ae || git fetch origin master) && git reset -q --hard 7313c1f900b85e08b5cccd3e24fd16ac324393ae && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
fc08333d1b..7313c1f900  master     -> origin/master
7313c1f900 Merge pull request #29923 from jmid/lwt.5.10.0-ocaml-bound
2026-05-20 13:13.44 ---> using "7ec6b17d51cc8e2e855d15eb09e1ac189826beb3541053caaa9dc53ceb973b2e" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-05-20 13:13.44 ---> using "73668d2bf91300f015c7596e9d51f199eb0bf12690e67d3bfa5cc2e4efdfdd8b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 4.11.2
2.2.1
2026-05-20 13:13.44 ---> using "92a6681bfc8818ca28c0f27ea308fb7e285b652290168f0b159459c8ef8cdccd" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-05-20 13:13.44 ---> using "03b19a9844373e8d840b53850612e3deb59ec8db070398088562e32e1c0f8915" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.6.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2026-05-20 13:13.44 ---> using "3c444b874e0a7b0cff2d5867a388bbecd1b2202b372fdc67c2cc87dc162c6b2f" from cache


/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2026-05-20 13:13.44 ---> saved as "e4311fbaba06e1a2a1e6691e46625437d14f4bda0622d544b311a4af26e017f0"


/src: (run (network host)
(shell  "opam pin add -yn ctypes.dev './' && \
\nopam pin add -yn ctypes-foreign.dev './'"))
[ctypes.dev] synchronised (file:///src)
[WARNING] Failed checks on ctypes package definition from source at file:///src:
warning 48: The fields 'build-test:' and 'build-doc:' are deprecated, and should be replaced by uses of the 'with-test' and 'with-doc' filter variables in the 'build:' and 'install:' fields, and by the newer 'run-test:' field
error 52: Package is needlessly flagged "light-uninstall", since it has no remove instructions
ctypes is now pinned to file:///src (version dev)
[ctypes-foreign.dev] synchronised (file:///src)
[WARNING] Failed checks on ctypes-foreign package definition from source at file:///src:
error  3: File format error in 'depends' at line 47, column 0: Duplicate field depends
warning 47: Synopsis should start with a capital and not end with a dot
warning 68: Missing field 'license'
ctypes-foreign is now pinned to file:///src (version dev)
2026-05-20 13:13.47 ---> saved as "059c8d3c2643d744e07107465e91dcdaab259e52e2b85ed005d32ba6806cf871"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-20 13:13.47 ---> saved as "1c0c79823cf7bb3f907e7ab512717d6084de48e42cab56b173bc1999b8559b27"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.22.2 integers.0.8.0 lwt.5.10.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.0")


/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.2 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [165 kB]
- Fetched 10.1 MB in 2s (4243 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ctypes.dev] synchronised (file:///src)
[ctypes-foreign.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[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-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
libffi-dev ncurses-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "ncurses-dev" "pkg-config"
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libncurses6:amd64.
- Preparing to unpack .../1-libncurses6_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses6:amd64 (6.5+20250216-2) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../2-libncurses-dev_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.5+20250216-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libncurses6:amd64 (6.5+20250216-2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libncurses-dev:amd64 (6.5+20250216-2) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...
2026-05-20 13:14.00 ---> saved as "1af40c635ddd942ffee9809d381edae8c8e81e5b0fe8146e7038d95dead0961a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 17 packages
- install base-bytes               base
- install conf-ncurses             1
- install conf-pkg-config          4
- install cppo                     1.8.0
- install csexp                    1.5.2
- install dune                     3.23.1
- install dune-configurator        3.22.2
- install integers                 0.8.0
- install lwt                      5.10.0
- install ocaml-secondary-compiler 4.14.2
- install ocamlfind                1.9.6
- install ocamlfind-secondary      1.9.6
- install ocplib-endian            1.2
- install ounit                    2.2.7
- install ounit2                   2.2.7
- install seq                      base
- install stdlib-shims             0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-ncurses.1
-> retrieved integers.0.8.0  (cached)
-> retrieved lwt.5.10.0  (cached)
-> retrieved ocaml-secondary-compiler.4.14.2  (cached)
-> retrieved dune.3.23.1  (cached)
-> retrieved dune-configurator.3.22.2  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocaml-secondary-compiler.4.14.2
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.23.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed integers.0.8.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed dune-configurator.3.22.2
-> installed lwt.5.10.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-20 13:16.06 ---> saved as "f7bed3322ddaa98fda0e035fd5764d81eec4d385ad33b4f5d43522c853865ef3"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package dune is already installed (current version is 3.23.1).
The following actions will be performed:
=== install 14 packages
- install astring       0.8.5  [required by odoc]
- install camlp-streams 5.0.1  [required by odoc-parser]
- install cmdliner      2.1.1  [required by odoc]
- install crunch        4.0.0  [required by odoc]
- install fmt           0.11.0 [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install ocamlbuild    0.16.1 [required by fmt, astring, fpath]
- install odoc          3.2.1
- install odoc-parser   3.2.1  [required by odoc]
- install ptime         1.2.0  [required by crunch]
- install re            1.11.0 [required by tyxml]
- install topkg         1.1.1  [required by fmt, astring, fpath]
- install tyxml         4.6.0  [required by odoc]
- install uutf          1.0.4  [required by tyxml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.11.0  (cached)
-> installed camlp-streams.5.0.1
-> retrieved topkg.1.1.1  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved odoc.3.2.1, odoc-parser.3.2.1  (cached)
-> installed re.1.11.0
-> retrieved uutf.1.0.4  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.2.1
-> installed tyxml.4.6.0
-> installed odoc.3.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-20 13:16.33 ---> saved as "fcd8763056d6245568281beca047289f497b267705ae9a9667b4b5a94eb7828b"


/src: (copy (src .) (dst /src/))
2026-05-20 13:16.33 ---> saved as "9146b6a22000e704f2f8a4a2f3c32fa9495feab4f1b7750657b2cdff974176f9"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2026-05-20 13:16.34 ---> saved as "23d0c27af2bfdf52a85b1f6cc0f017d2965ce72eba128cb288a1f1513310c3a6"
Job succeeded
2026-05-20 13:16.34: Job succeeded