2025-06-12 14:14.49: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (macos-x86_64:macos-homebrew-5.3_opam-2.3)
Base: macos-homebrew-ocaml-5.3
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.3
# macos-homebrew-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && 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 conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 lwt.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.3 --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
2025-06-12 14:14.49: Using cache hint "avsm/ocaml-ctypes-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_opam-2.3-bc326054288d12ac115365bde1e9e6c4"
2025-06-12 14:14.49: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
(comment macos-homebrew-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
(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 "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && 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 (network host)
(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 conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 lwt.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.3 --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"))
)
2025-06-12 14:14.49: Waiting for resource in pool OCluster
2025-06-12 15:40.11: Waiting for worker…
2025-06-12 18:06.36: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext
(from macos-homebrew-ocaml-5.3)
2025-06-12 18:06.37 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache
/: (comment macos-homebrew-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-06-12 18:06.37 ---> using "8efc335cb5004a650aab29e72b9849a2b2e2f0853bc55d3a74763c7cceed5d74" 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] no changes from git+file:///Users/mac1000/opam-repository
2025-06-12 18:06.38 ---> using "e29fa6de89fe919799ac81fd4a1c768d8341cedf873c17042854467d2aebeceb" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-12 18:06.38 ---> using "a268524b45b0c90a951719c2a6c8c78c0b8a0fec90c9f437befd49b0008dc673" 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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
67e940587b..a28eb8a148 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/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-compiler.5.5
-- ocaml-base-compiler.5.4.0~alpha1 is installed and requires ocaml-compiler = 5.4.0~alpha1
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 18:06.38 ---> using "eaccb6aab9958c7381ce3b97822c829fabf7189a0fcdf560e417444a1f83b5e5" from cache
/: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./src/./))
2025-06-12 18:06.40 ---> saved as "140d9c16f0adc954e002acca6721416ae1492f538ea328d81f67087a7c61442c"
/: (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)
2025-06-12 18:07.35 ---> saved as "24b2b2b162ed6dac278e50111eba0d948cac3c4fc8c1c1c87ed724b3896d612d"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-06-12 18:07.37 ---> saved as "21daa8605d3f6b0e0e8e173d3b6ce701c26b9df0f5e6d797cc36afe2b53c3630"
/: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 lwt.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.3 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ctypes.dev] synchronised (file:///Users/mac1000/src)
[ctypes-foreign.dev] synchronised (file:///Users/mac1000/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 system packages will first need to be installed:
libffi pkgconf
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/brew "install" "libffi" "pkgconf"
- ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/manifests/3.5.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/2a0a00cd44d587830113cc55dfda470280f6667255105214e0e6941d4c8b3802--libffi-3.5.1.bottle_manifest.json
- ==> Fetching libffi
- ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/blobs/sha256:2e2b8886c994abb887b1ffad984ed78bda1323eded54bbd4809e8c3a6d48ae45
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/52367318141e9bd9550c0d960319474462b0e00c53fce5a5c54b12541b0e2870--libffi--3.5.1.sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.4.3-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/f938254e85413ef0d18283c9c932823434b88c0c790e04e7534e2a3e923d0588--pkgconf-2.4.3-1.bottle_manifest.json
- ==> Fetching pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:60803149fa486b8da14591ce5c016e37c9388c1ded2a88d9167a84926cc74957
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/abf6c9afe2a21080057d3d7a2508d5df4c40b6a56c8145f904f1d518a48814d9--pkgconf--2.4.3.sequoia.bottle.1.tar.gz
- ==> Pouring libffi--3.5.1.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.5.1: 18 files, 699.8KB
- ==> Running `brew cleanup libffi`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
- ==> Pouring pkgconf--2.4.3.sequoia.bottle.1.tar.gz
- 🍺 /usr/local/Cellar/pkgconf/2.4.3: 27 files, 339.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"
2025-06-12 18:10.19 ---> saved as "b0eaba7d5267712890e5e84e7b8379d75d6dfa92f501ef417c42c7c365e74a14"
/: (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-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 15 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.19.1
- install dune-configurator 3.19.1
- install integers 0.7.0
- install lwt 5.9.1
- 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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-ncurses.1
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved ounit.2.2.7, ounit2.2.2.7 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 18:11.45 ---> saved as "2ff854a4539345169ed4b30dc4dbdd8aaf67afe8b2cb3e3edca2192fc8a0f524"
/: (copy (src .) (dst ./src))
2025-06-12 18:11.46 ---> saved as "474a53f3e11f0d000287cd19f3c93ed58058550cd386a575027600c06d11399a"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-12 18:11.48 ---> saved as "4ef16cdbbb1279ed08459731f43b61a574424d4dfd8c88045a46bc515341f563"
Job succeeded
2025-06-12 18:11.54: Job succeeded