2026-04-03 11:36.05: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1Opam project buildTo reproduce locally:git clone --recursive "https://github.com/patricoferris/ocaml-cid.git" -b "main" && cd "ocaml-cid" && git reset --hard 4f665caccat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1# windows-server-mingw-ltsc2025-5.4_opam-2.5USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"RUN ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionRUN cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 cid.opam /cygwin64/home/opam/src/./RUN opam pin add -yn cid.dev '/cygwin64/home/opam/src/./'RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'ENV DEPS="alcotest.1.9.1 arch-x86_64.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.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.22.1 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 mdx.2.5.2 mingw-w64-shims.0.2.0 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uutf.1.0.4"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.5 --depext-only -y cid.dev $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . /cygwin64/home/opam/srcRUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2026-04-03 11:36.05: Using cache hint "patricoferris/ocaml-cid-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1-windows-server-mingw-ltsc2025-5.4_opam-2.5-25de8d2784db5c4c366f59b5b23fc491"2026-04-03 11:36.05: Using OBuilder spec:((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)(comment windows-server-mingw-ltsc2025-5.4_opam-2.5)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))(run (shell "opam init --reinit -ni"))(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))(network host)(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src cid.opam) (dst /cygwin64/home/opam/src/./))(run (network host)(shell "opam pin add -yn cid.dev '/cygwin64/home/opam/src/./'"))(run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))(env DEPS "alcotest.1.9.1 arch-x86_64.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.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.22.1 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 mdx.2.5.2 mingw-w64-shims.0.2.0 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uutf.1.0.4")(env CI true)(env OCAMLCI true)(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))(network host)(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y cid.dev $DEPS"))(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))(network host)(shell "opam install $DEPS"))(copy (src .) (dst /cygwin64/home/opam/src))(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build")))2026-04-03 11:36.05: Waiting for resource in pool OCluster2026-04-03 11:36.06: Waiting for worker…2026-04-03 20:11.03: Got resource from pool OClusterBuilding on ltsc2025-1Initialized empty Git repository in C:/state/git/ocaml-cid.git-7f775fab0ac8208cdfdfde4437f8b2ce363d7006/.git/HEAD is now at 4f665ca Add changes(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)2026-04-03 20:11.22 ---> using "e6e8a2cf62a928430568e9b050d6cc986ddb11ca371f3b24e6b6f1ad80860153" from cacheC:/: (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)C:/: (user (uid 1000) (gid 1000))C:/: (env CLICOLOR_FORCE 1)C:/: (env OPAMCOLOR always)C:/: (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))2026-04-03 20:11.22 ---> using "8371c7bbeda21231937607a48921d4490a1c9c23810f1d7416ef9e1aa874f8e3" from cacheC:/: (run (shell "opam init --reinit -ni"))No configuration file found, using built-in defaults.<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.How should opam obtain Unix tools?> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)3. Use Cygwin installation found in C:\cygwin644. Use another existing Cygwin/MSYS2 installation5. Abort initialisation[1/2/3/4/5] 1Checking 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.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] Initialised2026-04-03 20:11.22 ---> using "8bf506c77ce4ea2b6efe0b049434ba77c8ea5f4c0beccb9cedbfead0127ea0b7" from cacheC:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))CYGWIN_NT-10.0-26100 3.6.7-1.x86_64The OCaml toplevel, version 5.4.12.5.02026-04-03 20:11.22 ---> using "017acac92f6c222a89f675ad77684e3ed5874f73aa36dd7947a6dd1cf4a5b5c7" from cacheC:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))(network host)(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEAD65664dc5b2..d06cfb1853 master -> origin/masterd06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file://C:/cygwin64/home/opam/opam-repositoryEverything as up-to-date as possibleHowever, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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-04-03 20:11.22 ---> using "336eb34db5e647012f2aaae2737f84ba9d7c97d66e4a73adcd8264b7c65b55f1" from cacheC:/: (copy (src cid.opam) (dst /cygwin64/home/opam/src/./))2026-04-03 20:12.33 ---> saved as "b63fdf23ddf8c34627196e5d80b2285768f17cf411bd326f5ae39c3377aec8bb"C:/: (run (network host)(shell "opam pin add -yn cid.dev '/cygwin64/home/opam/src/./'"))[cid.dev] synchronised (file://C:/cygwin64/home/opam/src)[WARNING] Failed checks on cid package definition from source at file://C:/cygwin64/home/opam/src:warning 68: Missing field 'license'cid is now pinned to file://C:/cygwin64/home/opam/src (version dev)2026-04-03 20:13.40 ---> saved as "7724aed4506b35df4489e0a1c63454501534e1656160046edc130bfb9dd05eb6"C:/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))2026-04-03 20:14.31 ---> saved as "8e8663dcb99a65369af0115f2ce8abe62e454121e9ab7d126b75e35c390e4fb6"C:/: (env DEPS "alcotest.1.9.1 arch-x86_64.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.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.22.1 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 mdx.2.5.2 mingw-w64-shims.0.2.0 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uutf.1.0.4")C:/: (env CI true)C:/: (env OCAMLCI true)C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))(network host)(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y cid.dev $DEPS"))<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[cid.dev] synchronised (file://C:/cygwin64/home/opam/src)[NOTE] Package system-mingw is already installed (current version is 1).[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-env-mingw64 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.1).[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).[NOTE] Package ocaml is already installed (current version is 5.4.1).[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).[NOTE] Package host-system-mingw is already installed (current version is 1).[NOTE] Package host-arch-x86_64 is already installed (current version is 1).[NOTE] Package flexdll is already installed (current version is 0.44).[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).[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).[NOTE] Package arch-x86_64 is already installed (current version is 1).# To update the current shell environment, run: eval $(opam env)2026-04-03 20:15.39 ---> saved as "ae8f8c9e64694506ab1df6fab5df93723d4b220271f0f12cc91a86f18bdb267e"C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))(network host)(shell "opam install $DEPS"))[NOTE] Package system-mingw is already installed (current version is 1).[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-env-mingw64 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.1).[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).[NOTE] Package ocaml is already installed (current version is 5.4.1).[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).[NOTE] Package host-system-mingw is already installed (current version is 1).[NOTE] Package host-arch-x86_64 is already installed (current version is 1).[NOTE] Package flexdll is already installed (current version is 0.44).[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).[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).[NOTE] Package arch-x86_64 is already installed (current version is 1).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.1.0- install cppo 1.8.0- install csexp 1.5.2- install cstruct 6.2.0- install digestif 1.3.0- install dune 3.22.1- install eqaf 0.10- install fmt 0.11.0- install logs 0.10.0- install mdx 2.5.2- 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.4- 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.1- install uutf 1.0.4<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved alcotest.1.9.1 (cached)-> retrieved astring.0.8.5 (cached)-> retrieved base64.3.5.2 (cached)-> retrieved camlp-streams.5.0.1 (cached)-> retrieved cmdliner.2.1.0 (cached)-> retrieved cppo.1.8.0 (cached)-> retrieved csexp.1.5.2 (cached)-> retrieved cstruct.6.2.0 (cached)-> retrieved digestif.1.3.0 (cached)-> retrieved eqaf.0.10 (cached)-> retrieved fmt.0.11.0 (cached)-> retrieved logs.0.10.0 (cached)-> retrieved mdx.2.5.2 (cached)-> retrieved multicodec.0.1.0 (cached)-> retrieved multibase.0.1.0 (https://github.com/patricoferris/ocaml-multibase/releases/download/v0.1.0/multibase-0.1.0.tbz)-> retrieved ocaml-syntax-shims.1.0.0 (cached)-> retrieved ocaml-version.4.0.4 (cached)-> retrieved multihash.0.1.0, multihash-digestif.0.1.0 (https://github.com/patricoferris/ocaml-multihash/releases/download/v0.1.0/multihash-0.1.0.tbz)-> retrieved ocamlbuild.0.16.1 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved optint.0.3.0 (cached)-> retrieved re.1.14.0 (cached)-> retrieved result.1.5 (cached)-> retrieved stdlib-shims.0.3.0 (cached)-> retrieved topkg.1.1.1 (cached)-> retrieved uutf.1.0.4 (cached)-> retrieved dune.3.22.1 (cached)-> installed cmdliner.2.1.0-> installed ocamlbuild.0.16.1[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt[WARNING] Automatically adding .exe to C:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe[WARNING] Automatically adding .exe to C:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe[WARNING] C:\opam\.opam\5.4\bin\safe_camlp4 is a script; the command won't be available-> installed ocamlfind.1.9.8-> installed topkg.1.1.1-> installed uutf.1.0.4-> installed dune.3.22.1-> installed astring.0.8.5-> installed fmt.0.11.0-> installed base64.3.5.2-> installed csexp.1.5.2-> installed camlp-streams.5.0.1-> installed ocaml-version.4.0.4-> installed stdlib-shims.0.3.0-> installed result.1.5-> installed multicodec.0.1.0-> installed optint.0.3.0-> installed ocaml-syntax-shims.1.0.0-> installed cppo.1.8.0-> installed cstruct.6.2.0-> installed eqaf.0.10-> installed re.1.14.0-> installed multibase.0.1.0-> installed multihash.0.1.0-> installed digestif.1.3.0-> installed logs.0.10.0-> installed multihash-digestif.0.1.0-> installed alcotest.1.9.1-> installed mdx.2.5.2Done.# To update the current shell environment, run: eval $(opam env)2026-04-03 20:27.20 ---> saved as "56197f73bccf1c8a9e826cf84645f342218212ab830951994e1eb0bf5a7cd014"C:/: (copy (src .) (dst /cygwin64/home/opam/src))2026-04-03 20:39.16 ---> saved as "55ff694b185a664d658749a53138517857a09e1e2d40996880185a9ede8ceb25"C:/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))(cd _build/default/test && .\test.exe)Testing `CID'.This run has ID `09CM4RZH'.[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\09CM4RZH'.Test Successful in 0.009s. 5 tests run.File "README.md", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/README.md _build/default/.mdx/README.md.correcteddiff --git a/_build/default/README.md b/_build/default/.mdx/README.md.correctedindex 6ee82df..4dfeefb 100755--- a/_build/default/README.md+++ b/_build/default/.mdx/README.md.corrected@@ -1,23 +1,24 @@-ocaml-cid------------[Content-addressed identifiers](https://docs.ipfs.io/concepts/content-addressing/) in OCaml.---## Quick Example--```ocaml-# let s = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA";;-val s : string = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"-# let cid = Cid.of_string s |> Result.get_ok;;-val cid : Cid.t = <abstr>-# Cid.pp_human Format.std_formatter cid;;-cidv1 - base58btc - raw - ident(sha2-256) length(32) digest(6e 6f f7 95 0a 36 18 7a 80 16 13 42 6e 85 8d ce- 68 6c d7 d7 e3 c0 fc 42 ee 03 30 07 2d 24 5c 95- )-- : unit = ()-# Cid.to_string cid;;-- : string = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"+ocaml-cid+---------++[Content-addressed identifiers](https://docs.ipfs.io/concepts/content-addressing/) in OCaml.+++## Quick Example++```ocaml+# let s = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA";;+val s : string = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"+# let cid = Cid.of_string s |> Result.get_ok;;+val cid : Cid.t = <abstr>+# Cid.pp_human Format.std_formatter cid;;+cidv1 - base58btc - raw - ident(sha2-256) length(32) digest(6e 6f f7 95 0a 36 18 7a 80 16 13 42 6e 85 8d ce+ 68 6c d7 d7 e3 c0 fc 42 ee 03 30 07 2d 24 5c 95+ )+- : unit = ()+# Cid.to_string cid;;+- : string = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"+```++See [test/irmin_cid.ml](https://github.com/patricoferris/ocaml-cid/blob/main/test/irmin_cid.ml) to see how they can be used for Irmin store hashing.```--See [test/irmin_cid.ml](https://github.com/patricoferris/ocaml-cid/blob/main/test/irmin_cid.ml) to see how they can be used for Irmin store hashing."C:\cygwin64\bin\bash.exe" "-lc" "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12026-04-03 20:40.32: Job failed: Failed: Build failed