Organisationsmirageocaml-tarcde9c4 (main)macos-homebrew-4.14_arm64_opam-2.5

macos-homebrew-4.14_arm64_opam-2.5

Logs

Show full logs
2026-01-16 11:41.07: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (cde9c483f4e06e8200257b03d03ebcf3fd5993eb) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.5)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/ocaml-tar.git" -b "main" && cd "ocaml-tar" && git reset --hard cde9c483
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_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 opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam ./src/./
RUN opam pin add -yn tar.dev './src/./' && \
    opam pin add -yn tar-unix.dev './src/./' && \
    opam pin add -yn tar-mirage.dev './src/./' && \
    opam pin add -yn tar-eio.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 logs.0.10.0 lwt.6.0.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.2.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 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build

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

2026-01-16 11:41.07: Using cache hint "mirage/ocaml-tar-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.5-9a1725ffa36e6bfe05385656ab744111"
2026-01-16 11:41.07: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_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 (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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
       (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn tar.dev './src/./' && \
             \nopam pin add -yn tar-unix.dev './src/./' && \
             \nopam pin add -yn tar-mirage.dev './src/./' && \
             \nopam pin add -yn tar-eio.dev './src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
 (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 logs.0.10.0 lwt.6.0.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.2.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 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 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.5 --depext-only -y tar.dev tar-unix.dev tar-mirage.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 --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build"))
)

2026-01-16 11:41.07: Waiting for resource in pool OCluster
2026-01-16 20:23.08: Waiting for worker…
2026-01-16 22:08.35: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at cde9c48 Merge pull request #175 from mirage/open-error

(from macos-homebrew-ocaml-4.14)
2026-01-16 22:08.35 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_arm64_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-01-16 22:08.35 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" 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
2026-01-16 22:08.36 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-16 22:08.36 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" 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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   043b6ea343..873cb18c37  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised 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.4.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.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-01-16 22:08.36 ---> using "9b174de0df1fe4f719027b2d8af70cb0e7a030ac562162893d628018ce2218f6" from cache

/: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
         (dst ./src/./))
2026-01-16 22:08.37 ---> saved as "953de5f624c64458e73b031267e456614b119ae75bcf66a286ed08a86cd90520"

/: (run (network host)
        (shell  "opam pin add -yn tar.dev './src/./' && \
               \nopam pin add -yn tar-unix.dev './src/./' && \
               \nopam pin add -yn tar-mirage.dev './src/./' && \
               \nopam pin add -yn tar-eio.dev './src/./'"))
[tar.dev] synchronised (file:///Users/mac1000/src)
tar is now pinned to file:///Users/mac1000/src (version dev)
[tar-unix.dev] synchronised (file:///Users/mac1000/src)
tar-unix is now pinned to file:///Users/mac1000/src (version dev)
[tar-mirage.dev] synchronised (file:///Users/mac1000/src)
tar-mirage is now pinned to file:///Users/mac1000/src (version dev)
[tar-eio.dev] synchronised (file:///Users/mac1000/src)
tar-eio is now pinned to file:///Users/mac1000/src (version dev)
2026-01-16 22:08.50 ---> saved as "331fa6b42f638626089b96ae263bd6ac615d0bc2777cb8c0d18fcecea0e1f111"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-01-16 22:08.51 ---> saved as "7a22e02faa75b49acf794914f942cc288a53c4d108b949dd0a5d1efdf04e093e"

/: (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 logs.0.10.0 lwt.6.0.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.2.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 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 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.5 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar-unix.dev] synchronised (file:///Users/mac1000/src)
[tar-mirage.dev] synchronised (file:///Users/mac1000/src)
[tar.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).
# To update the current shell environment, run: eval $(opam env)
2026-01-16 22:09.07 ---> saved as "21c16269d24c958edf78c7d024d6737bb1422133d28fd57ce8340229a29b3476"

/: (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 35 packages
  - install alcotest           1.9.1
  - install alcotest-lwt       1.9.1
  - install angstrom           0.16.1
  - install astring            0.8.5
  - install base-bytes         base
  - install bigstringaf        0.10.0
  - install checkseum          0.5.2
  - install cmdliner           2.1.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install cstruct            6.2.0
  - install cstruct-lwt        6.2.0
  - install decompress         1.5.3
  - install dune               3.21.0
  - install dune-configurator  3.21.0
  - install fmt                0.11.0
  - install logs               0.10.0
  - install lwt                6.0.0
  - install mirage-block       3.0.2
  - install mirage-block-unix  2.14.2
  - install mirage-kv          6.1.1
  - install mirage-ptime       5.2.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocplib-endian      1.2
  - install optint             0.3.0
  - install ptime              1.2.0
  - install re                 1.14.0
  - install rresult            0.7.0
  - install stdlib-shims       0.3.0
  - install stringext          1.6.0
  - install topkg              1.1.1
  - install uri                4.4.0
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved alcotest.1.9.1, alcotest-lwt.1.9.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mirage-block.3.0.2  (cached)
-> retrieved mirage-block-unix.2.14.2  (cached)
-> retrieved lwt.6.0.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mirage-ptime.5.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed mirage-ptime.5.2.0
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed cstruct.6.2.0
-> installed cppo.1.8.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed dune-configurator.3.21.0
-> installed bigstringaf.0.10.0
-> installed checkseum.0.5.2
-> installed angstrom.0.16.1
-> installed decompress.1.5.3
-> installed uri.4.4.0
-> installed lwt.6.0.0
-> installed mirage-block.3.0.2
-> installed mirage-kv.6.1.1
-> installed cstruct-lwt.6.2.0
-> installed logs.0.10.0
-> installed alcotest-lwt.1.9.1
-> installed mirage-block-unix.2.14.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-16 22:09.55 ---> saved as "71394b7822af0c9a3cc9d109cb40fc192ddeef18e343f4ff508994238e4710fb"

/: (copy (src .) (dst ./src))
2026-01-16 22:09.56 ---> saved as "b34b6d835f8dc42f0b09acdab73a96bf79d63dd0b295f49f9e884b2a0d7f531e"

/: (run (shell "cd ./src && opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./global_extended_headers_test.exe)
Testing `global extended headers'.
This run has ID `QYJ24S7W'.

  [OK]          tar - pax global extended headers          0   can use pax gl...

Full test results in `~/src/_build/default/lib_test/_build/_tests/global extended headers'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/lib_test && ./allocate_set_partial_test.exe)
Testing `tar-allocate-set-partial'.
This run has ID `DTJVH9GH'.

  [OK]          Test512           0   allocate empty file b512.
  [OK]          Test512           1   set_partial nonexistent file b512.
  [OK]          Test512           2   allocate is zeroed b512.
  [OK]          Test512           3   allocate two one-byte files b512.
  [OK]          Test512           4   allocate and set first byte b512.
  [OK]          Test512           5   set and rename b512.
  [OK]          Test4096          0   allocate empty file b4096.
  [OK]          Test4096          1   set_partial nonexistent file b4096.
  [OK]          Test4096          2   allocate is zeroed b4096.
  [OK]          Test4096          3   allocate two one-byte files b4096.
  [OK]          Test4096          4   allocate and set first byte b4096.
  [OK]          Test4096          5   set and rename b4096.

Full test results in `~/src/_build/default/lib_test/_build/_tests/tar-allocate-set-partial'.
Test Successful in 0.030s. 12 tests run.
(cd _build/default/lib_test && ./parse_test.exe)
Testing `parse-test'.
This run has ID `R3CWRZMK'.

  [OK]          parse_test          0   header.
  [OK]          parse_test          1   can_read_tar.
  [OK]          parse_test          2   can write pax headers.
  [OK]          parse_test          3   can read @Longlink.
  [OK]          parse_test          4   can read pax long names and links.
  [OK]          parse_test          5   can read pax header with implicit dir...
  [OK]          parse_test          6   can transform tars.
  [OK]          parse_test          7   can read @LongLink with implicit dire...

Full test results in `~/src/_build/_tests/parse-test'.
Test Successful in 0.014s. 8 tests run.
(cd _build/default/lib_test && ./write_test.exe)
Testing `tar-write'.
This run has ID `NZXIPMZ5'.

  [OK]          Test512           0   write empty b512.
  [OK]          Test512           1   write block size b512.
  [OK]          Test512           2   write block size b512.
  [OK]          Test512           3   write two blocks b512.
  [OK]          Test512           4   write two files b512.
  [OK]          Test512           5   write two files remove first b512.
  [OK]          Test512           6   write two files remove second b512.
  [OK]          Test512           7   remove odd sized file b512.
  [OK]          Test512           8   set after remove b512.
  [OK]          Test512           9   allocate doesn't affect tail after arch...
  [OK]          Test512          10   allocate doesn't affect tail after arch...
  [OK]          Test512          11   allocate doesn't affect tail after arch...
  [OK]          Test4096          0   write empty b4096.
  [OK]          Test4096          1   write block size b4096.
  [OK]          Test4096          2   write block size b4096.
  [OK]          Test4096          3   write two blocks b4096.
  [OK]          Test4096          4   write two files b4096.
  [OK]          Test4096          5   write two files remove first b4096.
  [OK]          Test4096          6   write two files remove second b4096.
  [OK]          Test4096          7   remove odd sized file b4096.
  [OK]          Test4096          8   set after remove b4096.
  [OK]          Test4096          9   allocate doesn't affect tail after arch...
  [OK]          Test4096         10   allocate doesn't affect tail after arch...
  [OK]          Test4096         11   allocate doesn't affect tail after arch...

Full test results in `~/src/_build/default/lib_test/_build/_tests/tar-write'.
Test Successful in 0.092s. 24 tests run.
2026-01-16 22:09.58 ---> saved as "7a23b003cd62149c6f22298837e2512b9893e5cbeb4f9d1da9acc5dfae8e53ef"
Job succeeded
2026-01-16 22:10.03: Job succeeded