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

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

Logs

Show full logs
2026-04-29 12:47.34: 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:c4fc1f5b2bc9daafb540c1a38944299d245c950befaa382a751ccc4c6306000d
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:c4fc1f5b2bc9daafb540c1a38944299d245c950befaa382a751ccc4c6306000d
# 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 e9505134f9febca871af14d1fc90493e330efecd || git fetch origin master) && git reset -q --hard e9505134f9febca871af14d1fc90493e330efecd && 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.2.0 atdgen.4.2.0 atdgen-runtime.4.2.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.3.0 camlp-streams.5.0.1 cmdliner.2.1.1 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.22.2 dune-configurator.3.22.2 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.1.0 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-29 12:47.34: Using cache hint "ocaml-opam/opam-compiler-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:c4fc1f5b2bc9daafb540c1a38944299d245c950befaa382a751ccc4c6306000d-windows-server-mingw-ltsc2025-5.4_opam-2.5-f7ce0997bad98d49f6cc0cef01d4c084"
2026-04-29 12:47.34: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:c4fc1f5b2bc9daafb540c1a38944299d245c950befaa382a751ccc4c6306000d)
 (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 e9505134f9febca871af14d1fc90493e330efecd || git fetch origin master) && git reset -q --hard e9505134f9febca871af14d1fc90493e330efecd && 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.2.0 atdgen.4.2.0 atdgen-runtime.4.2.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.3.0 camlp-streams.5.0.1 cmdliner.2.1.1 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.22.2 dune-configurator.3.22.2 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.1.0 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-29 12:47.34: Connecting to build cluster…
2026-04-29 12:47.34: Waiting for resource in pool OCluster
2026-04-29 12:47.58: Waiting for worker…
2026-05-01 19:56.22: Got resource from pool OCluster
Building on ltsc2025-3
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:c4fc1f5b2bc9daafb540c1a38944299d245c950befaa382a751ccc4c6306000d)
2026-05-01 20:16.53 ---> using "ec981fc5aa88c4d81ed6944b947998a3582ceda5dccad31763847b59253ba21d" 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-05-01 20:16.53 ---> using "c53a822b6ae964c9af78f3a9c0a56550e5cef6c7d7355f71342bf74ae4d64c86" 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-05-01 20:16.53 ---> using "1728796349436f2055a17bd135f69d2c2804165c6e6a7db981961cab8bde50f5" 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.1
2026-05-01 20:16.53 ---> using "a26b22f65e75e4e486a006c1c855b9e90c5da21b5fbefb6dd265e22da723023f" from cache

C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
          (network host)
          (shell "cd ~/opam-repository && (git cat-file -e e9505134f9febca871af14d1fc90493e330efecd || git fetch origin master) && git reset -q --hard e9505134f9febca871af14d1fc90493e330efecd && git log --no-decorate -n1 --oneline && opam update -u"))
fatal: unable to access 'https://github.com/ocaml/opam-repository/': Could not resolve host: github.com
"C:\cygwin64\bin\bash.exe" "-lc" "cd ~/opam-repository && (git cat-file -e e9505134f9febca871af14d1fc90493e330efecd || git fetch origin master) && git reset -q --hard e9505134f9febca871af14d1fc90493e330efecd && git log --no-decorate -n1 --oneline && opam update -u" failed with exit status 128
2026-05-01 20:18.46: Job failed: Failed: Build failed