2025-09-10 00:49.41: New job: test mirage/ke https://github.com/mirage/ke.git#refs/heads/main (2267852fc634134c7de8a274c1b60b9f1a603629) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.4)
Base: windows-server-2022-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ke.git" -b "main" && cd "ke" && git reset --hard 2267852f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ke.opam /Users/opam/src/./
RUN opam pin add -yn ke.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 fmt.0.11.0 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 json-data-encoding.1.0.1 jsonm.1.0.2 lwt.5.9.2 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 psq.0.2.1 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ke.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-09-10 00:49.41: Using cache hint "mirage/ke-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.4-5d32da7465526e84e1b90771eea056ea"
2025-09-10 00:49.41: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
(comment windows-server-2022-amd64-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ke.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn ke.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 fmt.0.11.0 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 json-data-encoding.1.0.1 jsonm.1.0.2 lwt.5.9.2 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 psq.0.2.1 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y ke.dev $DEPS"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-09-10 00:49.41: Waiting for resource in pool OCluster
2025-09-10 06:48.02: Waiting for worker…
2025-09-10 11:32.09: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at 2267852 Merge pull request #20 from edwintorok/master
(from windows-server-2022-amd64-ocaml-4.14)
2025-09-10 11:32.09 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache
/: (comment windows-server-2022-amd64-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-10 11:32.09 ---> using "fa5bb00e1b6dc297799f071f6d36c5ba197ac910917f6631927fc1b4259523b1" from cache
/: (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:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation
[1/2/3/4/5] 1
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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2025-09-10 11:32.09 ---> using "c9a6bb12454183a6bda5e24c40375763b3914e101e14ca85a4ab6e7ff857e315" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-10 11:32.09 ---> using "6ecdd3ea7a5353b5481faeb55be51b830717334a488c4abef4de194957089ce9" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f6368c68f9..ea994caae6 master -> origin/master
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.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)
2025-09-10 11:32.09 ---> using "5ed130e6c91a00fd1fa13b869221afbdd9c33836f47a5eb1d8e26ca1f0baca53" from cache
/: (copy (src ke.opam) (dst /Users/opam/src/./))
2025-09-10 11:32.47 ---> saved as "ff3d4b49d5d296409bffad4d347d1bce7a7896473ad4eda4ad6665a751af4b0e"
/: (run (network host)
(shell "opam pin add -yn ke.dev '/Users/opam/src/./'"))
[ke.dev] synchronised (file://C:/Users/opam/src/.)
ke is now pinned to file://C:/Users/opam/src/. (version dev)
2025-09-10 11:33.34 ---> saved as "fc9aaeb396ea9c8803c0c07e241a433ae75ca5d9c1f4daa7c2a5511c5bfadd55"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-09-10 11:34.36 ---> saved as "0edf8afd661bdc82f8f56b10f0ddb38362c2478abce2e56c4ebc2f0b30ca286b"
/: (env DEPS "afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 fmt.0.11.0 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 json-data-encoding.1.0.1 jsonm.1.0.2 lwt.5.9.2 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 psq.0.2.1 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uutf.1.0.4")
/: (env CI true)
/: (env OCAMLCI true)
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y ke.dev $DEPS"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ke.dev] synchronised (file://C:/Users/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-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 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-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2025-09-10 11:36.04 ---> saved as "b93bf3df384410a5ba693bf00039eb8cc15b6f775d9247e650ccdb4ad09da534"
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\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-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 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-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 34 packages
- install afl-persistent 1.4
- install alcotest 1.9.0
- install angstrom 0.16.1
- install astring 0.8.5
- install base-bytes base
- install bechamel 0.5.0
- install bechamel-js 0.5.0
- install bigstringaf 0.10.0
- install cmdliner 1.3.0
- install cppo 1.8.0
- install crowbar 0.2.1
- install csexp 1.5.2
- install cstruct 6.2.0
- install dune 3.20.2
- install dune-configurator 3.20.2
- install fmt 0.11.0
- install hex 1.5.0
- install json-data-encoding 1.0.1
- install jsonm 1.0.2
- install lwt 5.9.2
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install psq 0.2.1
- install re 1.13.2
- install result 1.5
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install topkg 1.1.0
- install uri 4.4.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bechamel.0.5.0, bechamel-js.0.5.0 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved crowbar.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved fmt.0.11.0 (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> retrieved json-data-encoding.1.0.1 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved lwt.5.9.2 (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.13.2 (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.13.2.tar.gz)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.1.0 (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved uri.4.4.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
-> installed cmdliner.1.3.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:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed jsonm.1.0.2
-> installed dune.3.20.2
-> installed afl-persistent.1.4
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed bechamel.0.5.0
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed psq.0.2.1
-> installed re.1.13.2
-> installed hex.1.5.0
-> installed result.1.5
-> installed ocplib-endian.1.2
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed crowbar.0.2.1
-> installed dune-configurator.3.20.2
-> installed alcotest.1.9.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed json-data-encoding.1.0.1
-> installed bechamel-js.0.5.0
-> installed lwt.5.9.2
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)
2025-09-10 11:44.25 ---> saved as "1b1769b2ce403dcbc57cbffbe51791d92889d811ab6e742fa65447989ccf4490"
/: (copy (src .) (dst /Users/opam/src))
2025-09-10 11:44.45 ---> saved as "7d5c1210c278033b13ba1fd0ed410d9aab680c7db653e5be85ee644de1d0d928"
/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/fuzz && .\fuzz.exe)
queue: PASS
(cd _build/default/test && .\test.exe --color=always)
Testing `ke'.
This run has ID `6E29OKJ2'.
[OK] rke 0 test-0.
[OK] rke 1 test-1.
[OK] rke 2 test-2.
[OK] rke 3 test-3.
[OK] rke 4 test-4.
[OK] rke 5 test-5.
[OK] rke 6 test-6.
[OK] rke 7 test-7.
[OK] rke 8 test-8.
[OK] rke:weighted 0 test-0.
[OK] rke:weighted 1 test-1.
[OK] rke:weighted 2 test-2.
[OK] rke:weighted 3 test-3.
[OK] rke:weighted 4 test-4.
[OK] rke:weighted 5 test-5.
[OK] rke:weighted 6 test-6.
[OK] rke:weighted 7 test-7.
[OK] rke:weighted 8 test-8.
[OK] rke:weighted 9 peek/keep.
[OK] rke:weighted 10 shift.
[OK] rke:weighted 11 push.
Full test results in `~\src\_build\default\test\_build\_tests\6E29OKJ2'.
Test Successful in 0.234s. 21 tests run.
2025-09-10 11:45.36 ---> saved as "e36a7e15fa7dea172dbb209b522ba8ce9a74550333fe4e04bae276cbdf9d65d4"
Job succeeded
2025-09-10 11:45.37: Job succeeded