Organisationsocaml-ppxocamlformatb25c04 ()windows-server-mingw-ltsc2025-5.4_opam-2.5

windows-server-mingw-ltsc2025-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-03-03 16:31.30: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (b25c048a73d31753f528719d9005eb63aa247979) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard b25c048a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869
# windows-server-mingw-ltsc2025-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/local/bin/opam-2.5 /usr/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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn ocamlformat.dev '/cygwin64/home/opam/src/./' && \
opam pin add -yn ocamlformat-rpc-lib.dev '/cygwin64/home/opam/src/./' && \
opam pin add -yn ocamlformat-lib.dev '/cygwin64/home/opam/src/./' && \
opam pin add -yn ocamlformat-bench.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.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.21.1 dune-build-info.3.21.1 dune-configurator.3.21.1 either.1.0.0 fix.20250919 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /cygwin64/home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2026-03-03 16:31.30: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869-windows-server-mingw-ltsc2025-5.4_opam-2.5-b493796e3907c5cac88439f1fc69cb33"
2026-03-03 16:31.30: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869)
(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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst /cygwin64/home/opam/src/./))
(run (network host)
(shell  "opam pin add -yn ocamlformat.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn ocamlformat-rpc-lib.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn ocamlformat-lib.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn ocamlformat-bench.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.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.21.1 dune-build-info.3.21.1 dune-configurator.3.21.1 either.1.0.0 fix.20250919 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0")
(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 ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.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-03-03 16:31.30: Waiting for resource in pool OCluster
2026-03-03 16:31.30: Waiting for worker…
2026-03-03 16:59.40: Got resource from pool OCluster
Building on ltsc2025-1
HEAD is now at 2026265c Update CHANGES
HEAD is now at b25c048a Backport polymorphic parameters (#2772)


(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869)
2026-03-03 17:00.01 ---> using "a21c3d6a5c8ade59b5718498d4946f2d30bc2f15b3081890bc8673cc20de69f7" from cache


C:/: (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-03-03 17:00.01 ---> using "ba707ce1f62b585e8ecb40306d921206316b14fded440e6c49f33aa7897cc9c7" from cache


C:/: (run (shell "opam init --reinit -ni"))
2026-03-03 17:00.01 Waiting for previous build to finish cancelling
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] Initialised
2026-03-03 17:27.34 ---> saved as "dd67e9cc18682a923590cd564dd7cd6177b4afe1c25b1d53bacf8ae6b5b2364f"


C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.6-1.x86_64
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-03 17:28.27 ---> saved as "c97059ecb6d76caa6ea35cf8e41cecaa775dc323c43ea7e5cc23418742ce7876"


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u"))
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file://C:/cygwin64/home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 17:45.40 ---> saved as "a0d9e0d7c9d5b32fb7d724ee470675e47ec362564b5a242a8fabe787c66973e7"


C:/: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst /cygwin64/home/opam/src/./))
2026-03-03 17:58.34 ---> saved as "250df3562f6dcc3eedb5650f6a6f29d052e5b2ed0bbf442c5013d8eec494a39b"


C:/: (run (network host)
(shell  "opam pin add -yn ocamlformat.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn ocamlformat-rpc-lib.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn ocamlformat-lib.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn ocamlformat-bench.dev '/cygwin64/home/opam/src/./'"))
[ocamlformat.dev] synchronised (file://C:/cygwin64/home/opam/src)
ocamlformat is now pinned to file://C:/cygwin64/home/opam/src (version dev)
[ocamlformat-rpc-lib.dev] synchronised (file://C:/cygwin64/home/opam/src)
ocamlformat-rpc-lib is now pinned to file://C:/cygwin64/home/opam/src (version dev)
[ocamlformat-lib.dev] synchronised (file://C:/cygwin64/home/opam/src)
ocamlformat-lib is now pinned to file://C:/cygwin64/home/opam/src (version dev)
[NOTE] Package ocamlformat-bench does not exist in opam repositories registered in the current switch.
[ocamlformat-bench.dev] synchronised (file://C:/cygwin64/home/opam/src)
[WARNING] Failed checks on ocamlformat-bench package definition from source at file://C:/cygwin64/home/opam/src:
warning 68: Missing field 'license'
ocamlformat-bench is now pinned to file://C:/cygwin64/home/opam/src (version dev)
2026-03-03 17:59.40: Cancelling: Timeout (60.0 minutes)
Job cancelled
2026-03-03 17:59.42: Timeout (60.0 minutes)