Organisationsmirageocaml-tarbbb199 ()macos-homebrew-4.14_opam-2.5

macos-homebrew-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-01-24 22:45.52: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (bbb19985822cae634319f9eb1ff16f236e97d206) (macos-x86_64:macos-homebrew-4.14_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 bbb19985
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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-eio.opam ./src/./
RUN opam pin add -yn tar.dev './src/./' && \
opam pin add -yn tar-eio.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 optint.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y tar.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build --only-packages=tar @install @check @runtest && rm -rf _build


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


2026-01-24 22:45.52: Using cache hint "mirage/ocaml-tar-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.5-bd538eed072c29d880783792e9cf5e0b"
2026-01-24 22:45.52: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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-eio.opam) (dst ./src/./))
(run (network host)
(shell  "opam pin add -yn tar.dev './src/./' && \
\nopam pin add -yn tar-eio.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 optint.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 tar.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 @install @check @runtest && rm -rf _build"))
)


2026-01-24 22:45.52: Waiting for resource in pool OCluster
2026-01-24 22:45.52: Waiting for worker…
2026-01-24 22:45.52: Got resource from pool OCluster
Building on i7-worker-02
HEAD is now at cde9c48 Merge pull request #175 from mirage/open-error
HEAD is now at bbb1998 Apply formatting and sync changes


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


/: (comment macos-homebrew-4.14_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-24 22:45.55 ---> 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-24 22:45.55 ---> 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-24 22:45.55 ---> 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
4c9d80b731..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-24 22:45.56 ---> using "9b174de0df1fe4f719027b2d8af70cb0e7a030ac562162893d628018ce2218f6" from cache


/: (copy (src tar.opam tar-eio.opam) (dst ./src/./))
2026-01-24 22:45.57 ---> saved as "562a5325f3fc194dc178fb413c563225d8a3998c9b7ac34f7bc2149ebdd88385"


/: (run (network host)
(shell  "opam pin add -yn tar.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-eio.dev] synchronised (file:///Users/mac1000/src)
tar-eio is now pinned to file:///Users/mac1000/src (version dev)
2026-01-24 22:46.28 ---> saved as "5cbeb3980f8a6a6f5b20db644e1085821e60a674275f76e74c55c75eb8badaa5"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-01-24 22:46.29 ---> saved as "c80ce2fc00b23f3254a48206820d9e4f82ea2cf9c7104e1c0d9075eb077da772"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.1.0 csexp.1.5.2 decompress.1.5.3 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 optint.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 tar.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:80c194381e990a4967a1ae44b8242b688e6a17ab590865a38671137677411469
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.4.8.catalina.bottle.tar.gz
- ==> Pouring portable-ruby-3.4.8.catalina.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[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-24 22:47.21 ---> saved as "d40cc2fd12cc2c264e9b9c14b7eaeb7c072dc8ae2b50c56cdc6d297c14228e47"


/: (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 7 packages
- install checkseum         0.5.2
- install cmdliner          2.1.0
- install csexp             1.5.2
- install decompress        1.5.3
- install dune              3.21.0
- install dune-configurator 3.21.0
- install optint            0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed optint.0.3.0
-> installed dune-configurator.3.21.0
-> installed checkseum.0.5.2
-> installed decompress.1.5.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-24 22:48.32 ---> saved as "4138d05b823ba6016bff90b8786b11730c6a7812c8a8d09e7e459f927b9777f4"


/: (copy (src .) (dst ./src))
2026-01-24 22:48.34 ---> saved as "d3057d0e8130ce738ed5d608403f66771206dd675af06c8c5ebd2ebc8a9f503f"


/: (run (shell "cd ./src && opam exec -- dune build --only-packages=tar @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.tar.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o lib/.tar.objs/byte/tar.cmo -c -impl lib/tar.ml)
File "lib/tar.ml", line 30, characters 5-18:
30 | open Result.Syntax
^^^^^^^^^^^^^
Error: Unbound module Result.Syntax
(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I lib/.tar.objs/byte -I lib/.tar.objs/native -intf-suffix .ml -no-alias-deps -opaque -o lib/.tar.objs/native/tar.cmx -c -impl lib/tar.ml)
File "lib/tar.ml", line 30, characters 5-18:
30 | open Result.Syntax
^^^^^^^^^^^^^
Error: Unbound module Result.Syntax
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build --only-packages=tar @install @check @runtest && rm -rf _build" failed with exit status 1
2026-01-24 22:48.40: Job failed: Failed: Build failed