Organisationsavsmocaml-ctypes8e58a5 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2026-06-11 17:57.13: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
Opam project build


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.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 462111e6aeff3d118a1fb42d7c3016393bb4777f || git fetch origin master) && git reset -q --hard 462111e6aeff3d118a1fb42d7c3016393bb4777f && 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-m4.1 conf-ncurses.1 conf-pkg-config.1.0 cppo.1.6.1 dune.1.6.3 integers.0.3.0 jbuilder.transition lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ounit.2.0.0 result.1.5 seq.base"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ctypes.dev ctypes-foreign.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-06-11 17:57.13: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-ceb58401c5172e446739c6fe7c237097"
2026-06-11 17:57.13: 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.5 /usr/bin/opam"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 462111e6aeff3d118a1fb42d7c3016393bb4777f || git fetch origin master) && git reset -q --hard 462111e6aeff3d118a1fb42d7c3016393bb4777f && 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-m4.1 conf-ncurses.1 conf-pkg-config.1.0 cppo.1.6.1 dune.1.6.3 integers.0.3.0 jbuilder.transition lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ounit.2.0.0 result.1.5 seq.base")
(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 ctypes.dev ctypes-foreign.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-06-11 17:57.13: Waiting for resource in pool OCluster
2026-06-11 19:18.59: Waiting for worker…
2026-06-11 19:24.49: Got resource from pool OCluster
Building on eumache.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)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c' locally
docker.io/ocaml/opam@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c: Pulling from ocaml/opam
307f8152a55e: Already exists
53d481666795: Already exists
4ee22a5df705: Already exists
ae88ba2e7c99: Already exists
466fcae906a3: Already exists
024abae8c1ed: Already exists
d582ebdec32b: Already exists
aa12715098f1: Already exists
62299cb9f759: Already exists
a25072680c61: Already exists
43b56dd9ccf7: Already exists
244d3fc9f983: Already exists
c4fb47424a8f: Already exists
cf6798d648a4: Already exists
279a991ac05e: Already exists
cf66fc12d100: Already exists
cf66fc12d100: Already exists
d39d0e8ae83c: Already exists
4b54e9cd8568: Already exists
f65d25bce8ea: Already exists
7d77baca5957: Already exists
4f4fb700ef54: Already exists
a99a940ecfac: Already exists
f5264679c08b: Already exists
f2b70106109c: Already exists
b37088730bad: Already exists
cbd33ffade5f: Already exists
f1cf9ab18ca0: Already exists
87f3d72372a4: Already exists
25d15f09ece2: Already exists
6304df60357e: Already exists
34a8ea3e9b48: Already exists
a0636f21098e: Already exists
9511add15c87: Already exists
963ec00065e9: Already exists
3a098b8178a5: Already exists
ca1c1d43252a: Already exists
ca50eb78767c: Already exists
85fc1e77225e: Already exists
088f7de253ad: Already exists
a3252813698b: Pulling fs layer
29c18e123b7c: Pulling fs layer
f9fe8a9fcba5: Pulling fs layer
c7ffbe2d1595: Pulling fs layer
a3252813698b: Waiting
29c18e123b7c: Waiting
f9fe8a9fcba5: Waiting
c7ffbe2d1595: Waiting
29c18e123b7c: Download complete
f9fe8a9fcba5: Verifying Checksum
f9fe8a9fcba5: Download complete
c7ffbe2d1595: Verifying Checksum
c7ffbe2d1595: Download complete
a3252813698b: Verifying Checksum
a3252813698b: Download complete
a3252813698b: Pull complete
29c18e123b7c: Pull complete
f9fe8a9fcba5: Pull complete
c7ffbe2d1595: Pull complete
Digest: sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
Status: Downloaded newer image for ocaml/opam@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
2026-06-11 19:24.50 ---> 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.5 /usr/bin/opam"))
2026-06-11 19:24.50 ---> using "8b6c3f9b20d6c3beeb84a8d52ac5abfb97ee836913fb82a0f86bfdcf7eb71547" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 462111e6aeff3d118a1fb42d7c3016393bb4777f || git fetch origin master) && git reset -q --hard 462111e6aeff3d118a1fb42d7c3016393bb4777f && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
fc08333d1b..462111e6ae  master     -> origin/master
462111e6ae Merge pull request #30029 from dra27/conf-0install-windows
2026-06-11 19:24.50 ---> using "3825f7c0003f6939676d51b42a906fe73e7dda0d685246cef7f1d9c8acce74dc" 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


[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
Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-11 19:24.50 ---> using "d6f2b675a04e622629b4dddf138de53c4ed1bb77f5bf0719d6ae1ba4eda86f83" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 4.11.2
2.5.1
2026-06-11 19:24.50 ---> using "84a3d8139a535ab74420525b07be9aaf6db0d14e55f3a8c20fc9a5519a8de233" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-11 19:24.50 ---> using "1ed72ee6d6f4f40b9d6ea0c663a040ad2215beb33238ccb30099e9f7a9570db1" 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.5.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-06-11 19:24.50 ---> using "2ea19a61b2d0d6d60e2ae59e3317928e2443efa75315ae438a68fe6b2b334d58" from cache


/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2026-06-11 19:24.51 ---> saved as "26523fd32fd46da49a78660ca71cccf7efd1e719e8c69c131e3063da1a9bdf96"


/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-06-11 19:24.57 ---> saved as "e7b61d56924122c44dc5ae3fe3d830518568430973263d2c97627d039bd4d95a"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-11 19:24.57 ---> saved as "3b350a631e19c32458ffbbc082295d83c0440ec752b274d0b91efc08fda910d3"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 cppo.1.6.1 dune.1.6.3 integers.0.3.0 jbuilder.transition lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ounit.2.0.0 result.1.5 seq.base")


/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 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 [215 kB]
- Fetched 10.1 MB in 2s (4615 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 m4 ncurses-dev pkg-config


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "m4" "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 m4.
- Preparing to unpack .../4-m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up m4 (1.4.19-8) ...
- 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) ...
# To update the current shell environment, run: eval $(opam env)
2026-06-11 19:25.25 ---> saved as "ba95bc2a854d696628108c9e0db6889e1dd7a2ae41932fb4d53a1bb77a46d76e"


/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 15 packages
- install base-bytes      base
- install conf-m4         1
- install conf-ncurses    1
- install conf-pkg-config 1.0
- install cppo            1.6.1
- install dune            1.6.3
- install integers        0.3.0
- install jbuilder        transition (deprecated)
- install lwt             4.2.0
- install mmap            1.0.2
- install ocamlbuild      0.14.0
- install ocamlfind       1.8.1
- install ounit           2.0.0
- install result          1.5
- install seq             base


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> retrieved lwt.4.2.0  (cached)
-> retrieved integers.0.3.0  (https://opam.ocaml.org/cache)
-> installed conf-ncurses.1
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved dune.1.6.3  (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved mmap.1.0.2  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved ounit.2.0.0  (https://opam.ocaml.org/cache)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed ounit.2.0.0
-> installed dune.1.6.3
-> installed jbuilder.transition
-> installed result.1.5
-> installed mmap.1.0.2
-> installed integers.0.3.0
-> installed cppo.1.6.1
-> installed lwt.4.2.0
Done.


<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# To update the current shell environment, run: eval $(opam env)
2026-06-11 19:26.21 ---> saved as "e658ac24ed55eeab1c85a0a92e3e6ea33d90d7dee1c1e5d8f3f03246513b14db"


/src: (copy (src .) (dst /src))
2026-06-11 19:26.22 ---> saved as "b331ded1f12a3402e94c67c70a8835962c1ba8d018bb14b2a1dfdd30b372e136"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 1, characters 11-14:
1 | (lang dune 3.0)
^^^
Error: Version 3.0 of dune is not supported.
Supported versions:
- 0.0
- 1.0 to 1.6
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-06-11 19:26.22: Job failed: Failed: Build failed