Organisationsmiragemirage-clockf45757 (main)windows-server-2022-amd64-4.14_opam-2.4

windows-server-2022-amd64-4.14_opam-2.4

Logs

Show full logs
2025-09-16 10:11.34: New job: test mirage/mirage-clock https://github.com/mirage/mirage-clock.git#refs/heads/main (f457572bfedb9586c8bf9eaa9ece7e53677856e3) (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/mirage-clock.git" -b "main" && cd "mirage-clock" && git reset --hard f457572b
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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam /Users/opam/src/./
RUN opam pin add -yn mirage-clock.dev '/Users/opam/src/./' && \
    opam pin add -yn mirage-clock-unix.dev '/Users/opam/src/./' && \
    opam pin add -yn mirage-clock-solo5.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 base-bigarray.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 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 system-mingw.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage-clock.dev mirage-clock-unix.dev mirage-clock-solo5.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-16 10:11.34: Using cache hint "mirage/mirage-clock-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.4-166ef1cd6b92d39f90126ad4719e86a8"
2025-09-16 10:11.34: 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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam)
       (dst /Users/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn mirage-clock.dev '/Users/opam/src/./' && \
             \nopam pin add -yn mirage-clock-unix.dev '/Users/opam/src/./' && \
             \nopam pin add -yn mirage-clock-solo5.dev '/Users/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
 (env DEPS "arch-x86_64.1 base-bigarray.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 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 system-mingw.1")
 (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 mirage-clock.dev mirage-clock-unix.dev mirage-clock-solo5.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-16 10:11.34: Waiting for resource in pool OCluster
2025-09-16 11:48.42: Waiting for worker…
2025-09-16 16:29.57: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at f457572 Merge pull request #53 from samoht/CHANGES-v4.2

(from windows-server-2022-amd64-ocaml-4.14)
2025-09-16 16:29.57 ---> 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-16 16:29.57 ---> 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-16 16:29.57 ---> 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-16 16:29.57 ---> 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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f6368c68f9..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc

<><> 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-16 16:29.57 ---> using "9351866e5c9578608812a21a926e8fd618098d6869e9b9aa1301b77bd843d58c" from cache

/: (copy (src mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam)
         (dst /Users/opam/src/./))
2025-09-16 16:30.16 ---> saved as "dc0a9fcbf4b2a41449b551c12a31533f702dc4166b3972093bf9d343a54877fe"

/: (run (network host)
        (shell  "opam pin add -yn mirage-clock.dev '/Users/opam/src/./' && \
               \nopam pin add -yn mirage-clock-unix.dev '/Users/opam/src/./' && \
               \nopam pin add -yn mirage-clock-solo5.dev '/Users/opam/src/./'"))
[mirage-clock.dev] synchronised (file://C:/Users/opam/src/.)
mirage-clock is now pinned to file://C:/Users/opam/src/. (version dev)
[mirage-clock-unix.dev] synchronised (file://C:/Users/opam/src/.)
mirage-clock-unix is now pinned to file://C:/Users/opam/src/. (version dev)
[NOTE] Package mirage-clock-solo5 does not exist in opam repositories registered in the current switch.
[mirage-clock-solo5.dev] synchronised (file://C:/Users/opam/src/.)
mirage-clock-solo5 is now pinned to file://C:/Users/opam/src/. (version dev)
2025-09-16 16:30.42 ---> saved as "2b03b66207300c9b22a215f4179eb5eec3c66f9c7b833df02f07279537488d6d"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-09-16 16:31.25 ---> saved as "b31ff6d8354d3f36e07a9e36d94725f17887cee2077f2cf8fb67f89953fb5ba9"

/: (env DEPS "arch-x86_64.1 base-bigarray.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 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 system-mingw.1")

/: (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 mirage-clock.dev mirage-clock-unix.dev mirage-clock-solo5.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-clock.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-clock-solo5.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-clock-unix.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-16 16:33.30 ---> saved as "2b47e99580a43443cd74d12ef6511f461f6cd454c8a8556e2ba62552357cc3c2"

/: (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 3 packages
  - install csexp             1.5.2
  - install dune              3.20.2
  - install dune-configurator 3.20.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (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 dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 16:40.55 ---> saved as "50b7963cff4f9fc1100ae0332b96a7becc6bb4819bcff87627f6efe937f7ae19"

/: (copy (src .) (dst /Users/opam/src))
2025-09-16 16:41.32 ---> saved as "8a210fd21da5af9605cf6f1e18bc86a3df61d38201f42233d48d7b76b5bf2195"

/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && .\portable.exe)
Monotonic clock says: 15570 nanoseconds
The time is 20347 days and 60139436219300000 picoseconds since the epoch.
The time is 20347 days and 60139436236400000 picoseconds since the epoch.
The time is 20347 days and 60139436256100000 picoseconds since the epoch.
The offset from UTC is 0 minutes.
The clock period is: 2303000 picoseconds
Monotonic clock says: 865760 nanoseconds
Monotonic clock period unavailable
2025-09-16 16:42.30 ---> saved as "75c1a835cf06e79bb6a4f66baf0f56580325a9e246876b8e117d95676c208bfb"
Job succeeded
2025-09-16 16:42.30: Job succeeded