Organisationsocamlopam-file-format59d9a6 (master)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-19 08:06.15: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/heads/master (59d9a6b585ac3fd141004f155a459e78f39993ac) (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/opam-file-format.git" -b "master" && cd "opam-file-format" && git reset --hard 59d9a6b5
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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-file-format.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn opam-file-format.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 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 dune.3.22.0 flexdll.0.44 fmt.0.11.0 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 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 opam-file-format.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-19 08:06.15: Using cache hint "ocaml/opam-file-format-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869-windows-server-mingw-ltsc2025-5.4_opam-2.5-19836cc247af166c7e4c0821164d656c"
2026-03-19 08:06.15: 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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-file-format.opam) (dst /cygwin64/home/opam/src/./))
(run (network host)
(shell "opam pin add -yn opam-file-format.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 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 dune.3.22.0 flexdll.0.44 fmt.0.11.0 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 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 opam-file-format.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-19 08:06.15: Waiting for resource in pool OCluster
2026-03-19 15:49.06: Waiting for worker…
2026-03-20 03:59.45: Got resource from pool OCluster
Building on ltsc2025-2
All commits already cached
HEAD is now at 59d9a6b Release 2.2.0


(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869)
2026-03-20 04:00.34 ---> 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-20 04:00.34 ---> using "ba707ce1f62b585e8ecb40306d921206316b14fded440e6c49f33aa7897cc9c7" 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-03-20 04:00.34 ---> using "dd67e9cc18682a923590cd564dd7cd6177b4afe1c25b1d53bacf8ae6b5b2364f" from cache


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-20 04:00.34 ---> using "c97059ecb6d76caa6ea35cf8e41cecaa775dc323c43ea7e5cc23418742ce7876" from cache


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b820e8c25e..9f189ca4f9  master     -> origin/master
9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file://C:/cygwin64/home/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.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-03-20 04:00.34 ---> using "ced7f83c95757ead588801f972f0887e8eaeeba3e8859b2fa40215950a6457f6" from cache


C:/: (copy (src opam-file-format.opam) (dst /cygwin64/home/opam/src/./))
2026-03-20 04:03.37 ---> saved as "a70d8f92d99862bd9b562e932a56434044e6f31bd3832fb5dc6cc7ac936ca158"


C:/: (run (network host)
(shell "opam pin add -yn opam-file-format.dev '/cygwin64/home/opam/src/./'"))
[opam-file-format.dev] synchronised (file://C:/cygwin64/home/opam/src)
opam-file-format is now pinned to file://C:/cygwin64/home/opam/src (version dev)
2026-03-20 04:05.41 ---> saved as "463a752b65a4e9e7f4a808916adb50bf8de61e8b99d8c22d9ac060a0388f7b97"


C:/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-03-20 04:07.03 ---> saved as "80f7dc5b1944bd9d201566c54710547d565edb06ca9fc6630ad9e2301a8d2fe2"


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 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 dune.3.22.0 flexdll.0.44 fmt.0.11.0 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 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 opam-file-format.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-03-20 04:09.10 ---> saved as "9276024e34682de18647a344b88ca3d6abf7b539fcdd2564d9e9eb2ac3a779e0"


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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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 17 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install cmdliner           2.1.0
- install dune               3.22.0
- install fmt                0.11.0
- install menhir             20260209
- install menhirCST          20260209
- install menhirGLR          20260209
- install menhirLib          20260209
- install menhirSdk          20260209
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.14.0
- 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 cmdliner.2.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved dune.3.22.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (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 topkg.1.1.1
-> installed dune.3.22.0
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed menhirCST.20260209
-> installed uutf.1.0.4
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
-> installed menhir.20260209
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-20 04:22.26 ---> saved as "9d81edfb0005f862c47fcce155b88cf83e734f4450b81552c10a1557b237057c"


C:/: (copy (src .) (dst /cygwin64/home/opam/src))
2026-03-20 04:24.00 ---> saved as "a28ae80a6eeb6d54a0374b487ad92dc1b5014733032ddfb7ac2fb5cc917b7aa0"


C:/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/tests/simple && .\simple.exe)
Successfully loaded ./opam-file-format.opam
(cd _build/default/tests && .\tests.exe)
Testing `opam-file-format'.
This run has ID `QJ2X3D2F'.


[OK]          oldpos values             0   parser-printer simple.
[OK]          oldpos values             1   parser-printer unop.
[OK]          oldpos values             2   parser-printer binop.
[OK]          oldpos values             3   parser-printer lists.
[OK]          oldpos values             4   parser-printer and_or.
[OK]          oldpos values             5   parser simple.
[OK]          oldpos values             6   parser unop.
[OK]          oldpos values             7   parser binop.
[OK]          oldpos values             8   parser lists.
[OK]          oldpos values             9   parser and_or.
[OK]          oldpos values            10   printer simple.
[OK]          oldpos values            11   printer unop.
[OK]          oldpos values            12   printer binop.
[OK]          oldpos values            13   printer lists.
[OK]          oldpos values            14   printer and_or.
[OK]          oldpos items              0   variable printer.
[OK]          oldpos items              1   variable parser.
[OK]          oldpos items              2   variable parser-printer.
[OK]          oldpos items              3   section printer.
[OK]          oldpos items              4   section parser.
[OK]          oldpos items              5   section parser-printer.
[OK]          oldpos opamfile           0   parser.
[OK]          oldpos opamfile           1   printer.
[OK]          oldpos opamfile           2   parser-printer.
[OK]          oldpos opamfile           3   positions-file.
[OK]          fullpos values            0   parser-printer simple.
[OK]          fullpos values            1   parser-printer unop.
[OK]          fullpos values            2   parser-printer binop.
[OK]          fullpos values            3   parser-printer lists.
[OK]          fullpos values            4   parser-printer and_or.
[OK]          fullpos values            5   parser simple.
[OK]          fullpos values            6   parser unop.
[OK]          fullpos values            7   parser binop.
[OK]          fullpos values            8   parser lists.
[OK]          fullpos values            9   parser and_or.
[OK]          fullpos values           10   printer simple.
[OK]          fullpos values           11   printer unop.
[OK]          fullpos values           12   printer binop.
[OK]          fullpos values           13   printer lists.
[OK]          fullpos values           14   printer and_or.
[OK]          fullpos items             0   variable printer.
[OK]          fullpos items             1   variable parser.
[OK]          fullpos items             2   variable parser-printer.
[OK]          fullpos items             3   section printer.
[OK]          fullpos items             4   section parser.
[OK]          fullpos items             5   section parser-printer.
[OK]          fullpos opamfile          0   parser.
[OK]          fullpos opamfile          1   printer.
[OK]          fullpos opamfile          2   parser-printer.
[OK]          fullpos opamfile          3   printer-preserved.
[OK]          fullpos opamfile          4   positions-file.
[OK]          opam-version              0   OpamPrinter.FullPos.opamfile.
[OK]          opam-version              1   OpamPrinter.FullPos.Normalise.o...
[OK]          opam-version              2   opam-version > 2.0 not at start 1.
[OK]          opam-version              3   opam-version > 2.1 repeated.
[OK]          opam-version              4   no opam-version and parsing error.
[OK]          opam-version              5   opam-version 2.1 and lexing error.
[OK]          opam-version              6   opam-version 2.1 and parsing er...
[OK]          opam-version              7   opam-version 2.1 and immediate ...
[OK]          opam-version              8   opam-version 4 and parsing error.
[OK]          opam-version              9   opam-version 42.0 and parsing e...
[OK]          opam-version             10   opam-version 42.0 and evil pars...
[OK]          opam-version             11   opam-version 42.0 and immediate...
[OK]          opam-version             12   opam-version 42.0 and lexing er...


Full test results in `~\src\_build\default\tests\_build\_tests\QJ2X3D2F'.
Test Successful in 1.180s. 64 tests run.
2026-03-20 04:26.01 ---> saved as "a7fcd74913ba23e5847ced3fca2dc1aab639110bbe34daf32ea8fb78a161b712"
Job succeeded
2026-03-20 04:26.01: Job succeeded