Organisationsocaml-opamopam-compilerc4c0f3 ()windows-server-mingw-ltsc2025-5.4_opam-2.5

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

Link Copied
Code Copied

Logs

2026-04-13 14:28.11: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/pull/42/head (c4c0f39777fbac93375f03a21cd268abe9b7e055) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-opam/opam-compiler.git" && cd "opam-compiler" && git fetch origin "refs/pull/42/head" && git reset --hard c4c0f397
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
# 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 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 || git fetch origin master) && git reset -q --hard 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-compiler.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn opam-compiler.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 atd.4.1.0 atdgen.4.1.0 atdgen-runtime.4.1.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.22.1 dune-configurator.3.22.1 easy-format.1.3.4 either.1.0.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 github-data.4.5.1 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.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 re.1.14.0 result.1.5 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.1 uri.4.4.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 opam-compiler.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-04-13 14:28.11: Using cache hint "ocaml-opam/opam-compiler-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1-windows-server-mingw-ltsc2025-5.4_opam-2.5-bc239ce939e564c613986da24de72c7c"
2026-04-13 14:28.11: 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 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 || git fetch origin master) && git reset -q --hard 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-compiler.opam) (dst /cygwin64/home/opam/src/./))
(run (network host)
(shell "opam pin add -yn opam-compiler.dev '/cygwin64/home/opam/src/./'"))
(run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "alcotest.1.9.1 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 atd.4.1.0 atdgen.4.1.0 atdgen-runtime.4.1.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.22.1 dune-configurator.3.22.1 easy-format.1.3.4 either.1.0.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 github-data.4.5.1 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.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 re.1.14.0 result.1.5 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.1 uri.4.4.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 opam-compiler.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-13 14:28.11: Waiting for resource in pool OCluster
2026-04-13 14:28.12: Waiting for worker…
2026-04-13 15:27.50: Got resource from pool OCluster
Building on ltsc2025-1
All commits already cached
HEAD is now at c4c0f39 Fixing formatting and fixing CI


(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
2026-04-13 15:28.02 ---> using "e6e8a2cf62a928430568e9b050d6cc986ddb11ca371f3b24e6b6f1ad80860153" 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-04-13 15:28.02 ---> using "8371c7bbeda21231937607a48921d4490a1c9c23810f1d7416ef9e1aa874f8e3" from cache


C:/: (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] Initialised
2026-04-13 15:28.02 ---> using "8bf506c77ce4ea2b6efe0b049434ba77c8ea5f4c0beccb9cedbfead0127ea0b7" from cache


C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.7-1.x86_64
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-13 15:28.02 ---> using "017acac92f6c222a89f675ad77684e3ed5874f73aa36dd7947a6dd1cf4a5b5c7" from cache


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 || git fetch origin master) && git reset -q --hard 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
65664dc5b2..ba4685aeec  master     -> origin/master
19a1fb6eac Merge pull request #29709 from mjambon/release-atd-4.1.0


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


Everything as up-to-date as possible
However, 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-13 15:52.08 ---> saved as "81ba08f715a2ababdb3446179983f56f9f7e70d944a85f01a52c80afaa6454c9"


C:/: (copy (src opam-compiler.opam) (dst /cygwin64/home/opam/src/./))
2026-04-13 15:55.14 ---> saved as "e360a41673c8df259efefd98728119f8349541a58ffe4cfe6d4715ca23c07dd0"


C:/: (run (network host)
(shell "opam pin add -yn opam-compiler.dev '/cygwin64/home/opam/src/./'"))
[opam-compiler.dev] synchronised (file://C:/cygwin64/home/opam/src)
opam-compiler is now pinned to file://C:/cygwin64/home/opam/src (version dev)
2026-04-13 15:59.04 ---> saved as "aef580d1d9101858fd1a596ca2f8ec5e50d5ce147ffcc1ded7f451495be7568d"


C:/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-04-13 15:59.49 ---> saved as "4760e14c55f290befc0ad6a1033d2936f76f010bca715c2f15b7124c9a7c06fa"


C:/: (env DEPS "alcotest.1.9.1 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 atd.4.1.0 atdgen.4.1.0 atdgen-runtime.4.1.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.22.1 dune-configurator.3.22.1 easy-format.1.3.4 either.1.0.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 github-data.4.5.1 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.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 re.1.14.0 result.1.5 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.1 uri.4.4.0 uutf.1.0.4 yojson.3.0.0")


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 opam-compiler.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-compiler.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-13 16:01.18 ---> saved as "f6105b81d807e6a5763d69a8c64e5c92c32c60b6e9fa4fd0da68eedcddec883d"


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 39 packages
- install alcotest           1.9.1
- install angstrom           0.16.1
- install astring            0.8.5
- install atd                4.1.0
- install atdgen             4.1.0
- install atdgen-runtime     4.1.0
- install bigstringaf        0.10.0
- install biniou             1.2.2
- install bos                0.2.1
- install camlp-streams      5.0.1
- install cmdliner           2.1.0
- install csexp              1.5.2
- install curly              0.3.0
- install dune               3.22.1
- install dune-configurator  3.22.1
- install easy-format        1.3.4
- install either             1.0.0
- install fmt                0.11.0
- install fpath              0.7.3
- install github-data        4.5.1
- install logs               0.10.0
- install menhir             20260209
- install menhirCST          20260209
- install menhirGLR          20260209
- install menhirLib          20260209
- install menhirSdk          20260209
- install ocaml-syntax-shims 1.0.0
- install ocaml-version      4.0.4
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.14.0
- install result             1.5
- install rresult            0.7.0
- install stdlib-shims       0.3.0
- install stringext          1.6.0
- install topkg              1.1.1
- install uri                4.4.0
- install uutf               1.0.4
- install yojson             3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved biniou.1.2.2  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved curly.0.3.0  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved atd.4.1.0, atdgen.4.1.0, atdgen-runtime.4.1.0  (https://github.com/ahrefs/atd/releases/download/4.1.0/atd-4.1.0.tbz)
-> retrieved github-data.4.5.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.4  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed cmdliner.2.1.0
[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 ocamlbuild.0.16.1
-> installed dune.3.22.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed easy-format.1.3.4
-> installed either.1.0.0
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.4
-> installed re.1.14.0
-> installed biniou.1.2.2
-> installed result.1.5
-> installed dune-configurator.3.22.1
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed topkg.1.1.1
-> installed yojson.3.0.0
-> installed curly.0.3.0
-> installed bigstringaf.0.10.0
-> installed atdgen-runtime.4.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed angstrom.0.16.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed uri.4.4.0
-> installed alcotest.1.9.1
-> installed fpath.0.7.3
-> installed menhir.20260209
-> installed logs.0.10.0
-> installed atd.4.1.0
[WARNING] C:\opam\.opam\5.4\bin\atdgen-cppo is a script; the command won't be available
[WARNING] C:\opam\.opam\5.4\bin\cppo-json is a script; the command won't be available
-> installed atdgen.4.1.0
-> installed bos.0.2.1
-> installed github-data.4.5.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 16:20.18 ---> saved as "f66ca3e05edb062fa457c287f13a222f15415e6702f05e3beface6affb04c61a"


C:/: (copy (src .) (dst /cygwin64/home/opam/src))
2026-04-13 16:21.38 ---> saved as "9b6436f6761869171d6c8fc934439fdc302f6d4471e9111a57a67d4aeb6d191b"


C:/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", lines 29-32, characters 2-52:
29 |   (cmdliner
30 |    (and
31 |    (>= 1.2.0)
32 |    :with-test))
Warning: Duplicate dependency on package (cmdliner (and (>= 1.2.0)
:with-test)) in 'depends' field. If you want to specify multiple constraints,
combine them using (and ...).
Hint: To disable this warning, add the following to your dune-project file:
(warnings (duplicate_deps disabled))
(cd _build/default/test/unit && .\test.exe --compact)
Testing `opam-compiler'.
This run has ID `5TUQ4WOU'.


............................


2026-04-13 16:23.46 ---> saved as "b580567381e9324038665ef950dbea640a5820776f581f6c9987cefb5cf311d7"
Job succeeded
2026-04-13 16:23.46: Job succeeded