2025-06-12 14:15.43: New job: test mirage/irmin-watcher https://github.com/mirage/irmin-watcher.git#refs/heads/master (a25ae6d0f53cf87c62d96cc4c881d922fa31d433) (macos-x86_64:macos-homebrew-4.14_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/irmin-watcher.git" -b "master" && cd "irmin-watcher" && git reset --hard a25ae6d0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 irmin-watcher.opam ./src/./
RUN opam pin add -yn irmin-watcher.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 fsevents.0.3.0 fsevents-lwt.0.3.0 integers.0.7.0 logs.0.8.0 lwt.5.9.1 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y irmin-watcher.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:15.43: Using cache hint "mirage/irmin-watcher-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.3-faf34478cad4e87e5f6a2d965493988a"
2025-06-12 14:15.43: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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 irmin-watcher.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn irmin-watcher.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 fsevents.0.3.0 fsevents-lwt.0.3.0 integers.0.7.0 logs.0.8.0 lwt.5.9.1 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(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 irmin-watcher.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:15.43: Waiting for resource in pool OCluster
2025-06-12 17:42.14: Waiting for worker…
2025-06-12 20:20.44: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at a25ae6d Merge pull request #36 from art-w/odoc-cycle
(from macos-homebrew-ocaml-4.14)
2025-06-12 20:20.45 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_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 20:20.45 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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 20:20.46 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-12 20:20.46 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" 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
11bdbee611..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-config.3
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 20:20.46 ---> using "cbe0def484142b57e323ed60e71b5ea1be1c62ce432e64083775819603125847" from cache
/: (copy (src irmin-watcher.opam) (dst ./src/./))
2025-06-12 20:20.48 ---> saved as "c4616447827a7a5a0bebc2a5509b3d45f066aae0daf795e19f86c5daf87fa7b8"
/: (run (network host)
(shell "opam pin add -yn irmin-watcher.dev './src/./'"))
[irmin-watcher.dev] synchronised (file:///Users/mac1000/src)
irmin-watcher is now pinned to file:///Users/mac1000/src (version dev)
2025-06-12 20:21.07 ---> saved as "0e9a4cc76f8052e624782b86b0348c71aefd2cfd939e7f3ec2f797cf2e6f6963"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-06-12 20:21.09 ---> saved as "1c1c00848a8faaefa0a0ed94cfbfe397bcae43d340a8f2192f18dfa4f9c4053e"
/: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 fsevents.0.3.0 fsevents-lwt.0.3.0 integers.0.7.0 logs.0.8.0 lwt.5.9.1 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
/: (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 irmin-watcher.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[irmin-watcher.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 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 20:22.24 ---> saved as "4a5da1988cd4317e36aac2495ca5f7e72cd0d0f35ecb44f0d856d52da323be0d"
/: (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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 31 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install base-bytes base
- install bigarray-compat 1.1.0
- install cf 0.5.0
- install cf-lwt 0.5.0
- install cmdliner 1.3.0
- install conf-libffi 2.0.0
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install ctypes 0.23.0
- install ctypes-foreign 0.23.0
- install dune 3.19.1
- install dune-configurator 3.19.1
- install fmt 0.10.0
- install fsevents 0.3.0
- install fsevents-lwt 0.3.0
- install integers 0.7.0
- install logs 0.8.0
- install lwt 5.9.1
- install mtime 2.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install re 1.12.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cf.0.5.0, cf-lwt.0.5.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved cppo.1.8.0 (cached)
-> installed conf-libffi.2.0.0
-> retrieved alcotest.1.9.0 (cached)
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fsevents.0.3.0, fsevents-lwt.0.3.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed re.1.12.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.8.0
-> installed bigarray-compat.1.1.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed alcotest.1.9.0
-> installed lwt.5.9.1
-> installed logs.0.8.0
-> installed ctypes.0.23.0
-> installed ctypes-foreign.0.23.0
-> installed cf.0.5.0
-> installed cf-lwt.0.5.0
-> installed fsevents.0.3.0
-> installed fsevents-lwt.0.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 20:24.06 ---> saved as "d8f0b3b45dff41941f16d7f9be81ccbfa7173e20bb57659c405c1e8af583326d"
/: (copy (src .) (dst ./src))
2025-06-12 20:24.08 ---> saved as "a8461a9d7aeca0ab21d9b0a8931cb608416d66d9a04b50686396959dbf2d05b3"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe -q --color=always)
Testing `irmin-watch'.
This run has ID `A3YNRQKJ'.
[OK] fsevents 0 enoent.
[OK] fsevents 1 basic.
[OK] fsevents 2 100s.
[SKIP] fsevents 3 1000s.
Full test results in `~/src/_build/default/test/_build/_tests/irmin-watch'.
Test Successful in 12.590s. 3 tests run.
Thread 103 killed on uncaught exception Lwt_stream.Closed
Raised at Lwt_preemptive.run_in_main in file "src/unix/lwt_preemptive.ml", line 260, characters 24-33
Called from Fsevents__Bindings.C.Callback.to_cstring_typ in file "lib_gen/bindings.ml", line 309, characters 8-55
Called from Ctypes_ffi.Make.box_function.(fun) in file "src/ctypes-foreign/ctypes_ffi.ml", line 152, characters 16-144
Called from Cf__Generated.foreign in file "lib_gen/generated.ml", line 175, characters 2-31
Called from Cf__Generated.foreign in file "lib_gen/generated.ml", line 175, characters 2-31
Called from Cf_lwt.RunLoop.runloop_thread.(fun) in file "lwt/cf_lwt.ml", line 50, characters 8-14
Called from Thread.create.(fun) in file "thread.ml", line 49, characters 8-14
2025-06-12 20:24.24 ---> saved as "3d8a2c9e4bce6449a68ecc5430f8cf962f53636eccd0d8464cd92dc26bbf9f74"
Job succeeded
2025-06-12 20:24.30: Job succeeded