Organisationsavsmocaml-ctypes8e58a5 (master)macos-homebrew-5.5_opam-2.5

macos-homebrew-5.5_opam-2.5

Link Copied
Code Copied

Logs

2026-06-30 19:36.55: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (macos-x86_64:macos-homebrew-5.5_opam-2.5)
Base: macos-homebrew-ocaml-5.5
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 macos-homebrew-ocaml-5.5
# macos-homebrew-5.5_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN opam update -u
COPY --chown=1000:1000 ctypes.opam ctypes-foreign.opam ./src/./
RUN opam pin add -yn ctypes.dev './src/./' && \
opam pin add -yn ctypes-foreign.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-ncurses.1 conf-pkg-config.5 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 integers.0.8.0 lwt.6.1.2 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-options-vanilla.1 ocamlfind.1.9.8 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.5 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2026-06-30 19:36.55: Using cache hint "avsm/ocaml-ctypes-macos-homebrew-ocaml-5.5-macos-homebrew-5.5_opam-2.5-55013467506b9be4cfd5502916553278"
2026-06-30 19:36.55: Using OBuilder spec:
((from macos-homebrew-ocaml-5.5)
(comment macos-homebrew-5.5_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update -u"))
(copy (src ctypes.opam ctypes-foreign.opam) (dst ./src/./))
(run (network host)
(shell  "opam pin add -yn ctypes.dev './src/./' && \
\nopam pin add -yn ctypes-foreign.dev './src/./'"))
(run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-ncurses.1 conf-pkg-config.5 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 integers.0.8.0 lwt.6.1.2 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-options-vanilla.1 ocamlfind.1.9.8 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-06-30 19:36.55: Connecting to build cluster…
2026-06-30 19:36.55: Waiting for resource in pool OCluster
2026-06-30 21:18.17: Waiting for worker…
2026-07-01 00:02.22: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext


(from macos-homebrew-ocaml-5.5)
2026-07-01 00:02.22 ---> using "82c12866f23b098fbbf8b05008cd71f7526a13ffd1bc8a39e4d487c3b436c70f" from cache


/: (comment macos-homebrew-5.5_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-07-01 00:02.22 ---> using "66f8eee01ecd3eb6537e87a3fb8e6278886ddc6897b79e190a452d36267d447e" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b7773e2175..8cd35acddd  master     -> origin/master
8cd35acddd Merge pull request #30092 from shonfeder/release-dune-3.24.0
2026-07-01 00:02.23 ---> using "b59e0ad35d3e034fd87d4a3402c4057a5d686cae61f8b2061f0be47d54a040e1" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.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:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


default (at git+file:///Users/mac1000/opam-repository):
[INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


2026-07-01 00:02.23 ---> using "f692cb3754527d299cbf337fe85899c7de73bd708e67653c66f149436fd578ad" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.5.0
2.5.0
2026-07-01 00:02.23 ---> using "22dfe904549f7ef27171a8343c4c3a7deaa788e272dcf914a48952537019077a" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update -u"))


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


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.1
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.1"), 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-07-01 00:02.24 ---> using "cf36e406078590c8c2900844b8c5a3c869a1c2d367f3d96a383fa4f8464391ca" from cache


/: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./src/./))
2026-07-01 00:02.25 ---> saved as "675c4a932af41d563b07d215611a2d4cf93c5e68b8ad174482316729b036f661"


/: (run (network host)
(shell  "opam pin add -yn ctypes.dev './src/./' && \
\nopam pin add -yn ctypes-foreign.dev './src/./'"))
[ctypes.dev] synchronised (file:///Users/mac1000/src)
[WARNING] Failed checks on ctypes package definition from source at file:///Users/mac1000/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:///Users/mac1000/src (version dev)
[ctypes-foreign.dev] synchronised (file:///Users/mac1000/src)
[WARNING] Failed checks on ctypes-foreign package definition from source at file:///Users/mac1000/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:///Users/mac1000/src (version dev)
2026-07-01 00:02.36 ---> saved as "2842ad2829accef632938887f2887fb6d1c74cc11e5141d4c679f94b7e424408"


/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-07-01 00:02.37 ---> saved as "7be96151dbbda37bd000fe4578444a98dd2e420536804ba03b97ef072dd39046"


/: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-ncurses.1 conf-pkg-config.5 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 integers.0.8.0 lwt.6.1.2 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-options-vanilla.1 ocamlfind.1.9.8 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


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


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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 system packages will first need to be installed:
libffi pkgconf


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


+ /usr/local/bin/brew "install" "libffi" "pkgconf"
- ==> Would install 2 formulae:
- libffi pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/manifests/3.6.0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/438a85c65dba8372b53c10cc45844dee5ac850ca9ac389a634a514dd6942e22d--libffi-3.6.0.bottle_manifest.json
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.5.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e0bf05fafcedcfbde9a9a488dc3a083cadd19584ac19f4cc053a9c265f841120--pkgconf-2.5.1.bottle_manifest.json
- ==> Fetching downloads for: libffi and pkgconf
- ✔︎ Bottle libffi (3.6.0)
- ✔︎ Bottle pkgconf (2.5.1)
- ✔︎ Bottle libffi (3.6.0)
- ✔︎ Bottle pkgconf (2.5.1)
- ==> Pouring libffi--3.6.0.sonoma.bottle.tar.gz
- ==> Caveats
- libffi is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find libffi you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libffi/lib"
-   export CPPFLAGS="-I/usr/local/opt/libffi/include"
- ==> Summary
- 🍺  /usr/local/Cellar/libffi/3.6.0: 18 files, 785.4KB
- ==> Running `brew cleanup libffi`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Pouring pkgconf--2.5.1.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/pkgconf/2.5.1: 28 files, 381.8KB
- ==> Running `brew cleanup pkgconf`...
- ==> Caveats
- ==> libffi
- libffi is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find libffi you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libffi/lib"
-   export CPPFLAGS="-I/usr/local/opt/libffi/include"
# To update the current shell environment, run: eval $(opam env)
2026-07-01 00:02.59 ---> saved as "91f0210ef378ff7f8d08e43f27cbe68be270ac1a989ba65633bcda0b3fbb1b38"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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 15 packages
- install base-bytes        base
- install conf-ncurses      1
- install conf-pkg-config   5
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.24.0
- install dune-configurator 3.24.0
- install integers          0.8.0
- install lwt               6.1.2
- install ocamlfind         1.9.8
- 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 conf-pkg-config.5  (cached)
-> installed conf-ncurses.1
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved integers.0.8.0  (cached)
-> installed conf-pkg-config.5
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved lwt.6.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved dune.3.24.0, dune-configurator.3.24.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.24.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed cppo.1.8.0
-> installed integers.0.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.24.0
-> installed lwt.6.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-07-01 00:04.23 ---> saved as "e089d120861645c451826b5207bf656e9f345f6afa7070d8108b854de9d43ad2"


/: (copy (src .) (dst ./src))
2026-07-01 00:04.25 ---> saved as "442a8978062d449c2387a17cd2d4e1c2aa16cdb0efa9ee042b1106543f472aa5"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-07-01 00:04.27 ---> saved as "85e1cf05aacc70c29eec0de9ace10bf968cbffdf3a8b03699c76000e6e1b6223"
Job succeeded
2026-07-01 00:04.34: Job succeeded