Organisationspatricoferrisocaml-cid4f665c ()macos-homebrew-5.4_arm64_opam-2.4

macos-homebrew-5.4_arm64_opam-2.4

Logs

Show full logs
2025-10-27 22:39.30: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (macos-arm64:macos-homebrew-5.4_arm64_opam-2.4)
Base: macos-homebrew-ocaml-5.4
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/patricoferris/ocaml-cid.git" -b "main" && cd "ocaml-cid" && git reset --hard 4f665cac
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_arm64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.4 ~/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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cid.opam ./src/./
RUN opam pin add -yn cid.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.20.2 eqaf.0.10 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y cid.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-10-27 22:39.30: Using cache hint "patricoferris/ocaml-cid-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.4-1ddf46c0185747e0f15a35bc138e4406"
2025-10-27 22:39.30: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
 (comment macos-homebrew-5.4_arm64_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.4 ~/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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src cid.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn cid.dev './src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.20.2 eqaf.0.10 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 stdlib-shims.0.3.0 topkg.1.1.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.4 --depext-only -y cid.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-10-27 22:39.30: Waiting for resource in pool OCluster
2025-10-27 22:39.30: Waiting for worker…
2025-10-28 00:30.19: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at 4f665ca Add changes

(from macos-homebrew-ocaml-5.4)
2025-10-28 00:30.20 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache

/: (comment macos-homebrew-5.4_arm64_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
2025-10-28 00:30.20 ---> using "c45c11c7286cf606ab2156414383237a0e197bf48b9278e9465cc1693c9332b7" 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-10-28 00:30.20 ---> using "59a16318ff40c58338bc0b572a2d778111fa14b30a0dc4a11f6465d8abb80bbd" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-28 00:30.20 ---> using "03cbf303c2ae412068cf1b7f097ec773b09f8e6d693af9a4cf051761664f96f9" 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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   5bf570252b..7f9c784b97  master     -> origin/master
7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1

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

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-28 00:30.20 ---> using "0d3b40e06fac490f5b93247996fcf52b04dc54fb28708e299ea5669ed85fd164" from cache

/: (copy (src cid.opam) (dst ./src/./))
2025-10-28 00:30.22 ---> saved as "c15dbb6aa91d3ff03daf79bc3076d64f289f17c514d3bce130831a3ef12fb740"

/: (run (network host)
        (shell "opam pin add -yn cid.dev './src/./'"))
[cid.dev] synchronised (file:///Users/mac1000/src)
[WARNING] Failed checks on cid package definition from source at file:///Users/mac1000/src:
  warning 68: Missing field 'license'
cid is now pinned to file:///Users/mac1000/src (version dev)
2025-10-28 00:30.30 ---> saved as "5c482d0f9b341640962827ad97cd394cdbd964adaa182ad90ff88e5685226bc5"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-10-28 00:30.31 ---> saved as "5d8faf8a9d7963199fb0e976fcef67c335cebf0bd467414e10b068c9b5280bf0"

/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.20.2 eqaf.0.10 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 stdlib-shims.0.3.0 topkg.1.1.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.4 --depext-only -y cid.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cid.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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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).
2025-10-28 00:30.44 ---> saved as "3930bf98e48c89ca1b003b1ec3634159ed033e29b5097d9f1ddc73d3a8eb8e16"

/: (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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 28 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install base64             3.5.2
  - install camlp-streams      5.0.1
  - install cmdliner           2.0.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install cstruct            6.2.0
  - install digestif           1.3.0
  - install dune               3.20.2
  - install eqaf               0.10
  - install fmt                0.11.0
  - install logs               0.9.0
  - install mdx                2.5.1
  - install multibase          0.1.0
  - install multicodec         0.1.0
  - install multihash          0.1.0
  - install multihash-digestif 0.1.0
  - install ocaml-syntax-shims 1.0.0
  - install ocaml-version      4.0.3
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install optint             0.3.0
  - install re                 1.14.0
  - install result             1.5
  - install stdlib-shims       0.3.0
  - install topkg              1.1.0
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved alcotest.1.9.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved mdx.2.5.1  (cached)
-> retrieved multibase.0.1.0  (cached)
-> retrieved multicodec.0.1.0  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved multihash.0.1.0, multihash-digestif.0.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved result.1.5  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.9.0
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed base64.3.5.2
-> installed camlp-streams.5.0.1
-> installed cstruct.6.2.0
-> installed eqaf.0.10
-> installed ocaml-version.4.0.3
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed result.1.5
-> installed cppo.1.8.0
-> installed stdlib-shims.0.3.0
-> installed multibase.0.1.0
-> installed multicodec.0.1.0
-> installed digestif.1.3.0
-> installed re.1.14.0
-> installed multihash.0.1.0
-> installed multihash-digestif.0.1.0
-> installed alcotest.1.9.1
-> installed mdx.2.5.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-28 00:31.29 ---> saved as "71ffc5a6a43232faaf951a64d2ad7c3fb5dab029e9e7821d834e71a40b492a99"

/: (copy (src .) (dst ./src))
2025-10-28 00:31.30 ---> saved as "703adcb3df0b05fe3e056c9253bd54631437c37c025d28e61c959fffa6535d4a"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `CID'.
This run has ID `9J53DPPB'.

  [OK]          enc-dec          0   cid 0.
  [OK]          enc-dec          1   cid 1.
  [OK]          enc-dec          2   cid 2.
  [OK]          enc-dec          3   cid 3.
  [OK]          enc-dec          4   cid 4.

Full test results in `~/src/_build/default/test/_build/_tests/CID'.
Test Successful in 0.000s. 5 tests run.
2025-10-28 00:31.33 ---> saved as "baef375e36a9c16a678480bc7299b6945c4dd8dc80338c2ddac67aa8cd0209df"
Job succeeded
2025-10-28 00:31.37: Job succeeded