Organisationsahrefsdevkita805e8 (master)windows-server-mingw-ltsc2025-5.4_opam-2.5

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

Logs

Show full logs
2026-06-14 12:31.34: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (a805e833a2cb30f3e40095de8caee33b48ef46f3) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:6b6bcfd98b4600d5c8de1feffe95b566f1c337d961157c2fea3ccf3e3c5939bd
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard a805e833
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:6b6bcfd98b4600d5c8de1feffe95b566f1c337d961157c2fea3ccf3e3c5939bd
# 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 cd ~/opam-repository && (git cat-file -e e8dee6070985e2146f9ef14e5432de435831e572 || git fetch origin master) && git reset -q --hard e8dee6070985e2146f9ef14e5432de435831e572 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN opam update -u
COPY --chown=1000:1000 devkit.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn devkit.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.14 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-mingw-w64-curl-x86_64.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libevent-x86_64.1 conf-mingw-w64-pcre2-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.5 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.2 lwt_ppx.6.1.0 mingw-w64-shims.1.0.1 num.1.6 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 trace.0.12 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 devkit.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-06-14 12:31.34: Using cache hint "ahrefs/devkit-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:6b6bcfd98b4600d5c8de1feffe95b566f1c337d961157c2fea3ccf3e3c5939bd-windows-server-mingw-ltsc2025-5.4_opam-2.5-b7e9cd9a1bf5c782b61ca1330d55360d"
2026-06-14 12:31.34: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:6b6bcfd98b4600d5c8de1feffe95b566f1c337d961157c2fea3ccf3e3c5939bd)
 (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 (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e e8dee6070985e2146f9ef14e5432de435831e572 || git fetch origin master) && git reset -q --hard e8dee6070985e2146f9ef14e5432de435831e572 && git log --no-decorate -n1 --oneline"))
 (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 "opam update -u"))
 (copy (src devkit.opam) (dst /cygwin64/home/opam/src/./))
 (run (network host)
      (shell "opam pin add -yn devkit.dev '/cygwin64/home/opam/src/./'"))
 (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.14 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-mingw-w64-curl-x86_64.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libevent-x86_64.1 conf-mingw-w64-pcre2-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.5 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.2 lwt_ppx.6.1.0 mingw-w64-shims.1.0.1 num.1.6 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 trace.0.12 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 devkit.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-06-14 12:31.34: Waiting for resource in pool OCluster
2026-06-14 12:31.34: Waiting for worker…
2026-06-14 21:14.45: Connecting to build cluster…
2026-06-14 21:14.56: Waiting for worker…
2026-06-15 02:50.20: Got resource from pool OCluster
Building on ltsc2025-3
All commits already cached
HEAD is now at a805e83 drop last mentions of logstash

(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:6b6bcfd98b4600d5c8de1feffe95b566f1c337d961157c2fea3ccf3e3c5939bd)
2026-06-15 02:50.32 ---> using "47f7838a4aa9bba8b4a71358c252d241055ea2dd7e9e55067a8fc43fd8ca6486" 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-06-15 02:50.32 ---> using "13c53a6739a624f85cfa07c5897ebb2fe832e07df2a198c2ee35e9bcf7662cb5" from cache

C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
          (network host)
          (shell "cd ~/opam-repository && (git cat-file -e e8dee6070985e2146f9ef14e5432de435831e572 || git fetch origin master) && git reset -q --hard e8dee6070985e2146f9ef14e5432de435831e572 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   1138ca347f..bfde4320ee  master     -> origin/master
warning: unable to unlink '/home/opam/opam-repository/.git/objects/maintenance.lock': Permission denied
e8dee60709 Merge pull request #30040 from dra27/mingw-w64-shims
2026-06-15 02:50.32 ---> using "968082438e6e0a223c5af51e65b532a0b40f74cd1f589011be373780a37d5378" 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-06-15 02:50.32 ---> using "aa68071369c6fd8d9655c43e16dbd60ef3c328bc3a39a290cdd7d5ae8f661453" from cache

C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.9-1.x86_64
The OCaml toplevel, version 5.4.1
2.5.1
2026-06-15 02:50.32 ---> using "7bd0a3ba5f5c6afdfde4f7b76f874f9977ac54eca590d91d0c0f2acc489f454c" from cache

C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
          (network host)
          (shell "opam update -u"))

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

The following actions will be performed:
=== recompile 10 packages
  - recompile base-domains              base           [uses ocaml]
  - recompile base-effects              base           [uses ocaml]
  - recompile base-nnp                  base           [uses base-domains]
  - recompile conf-mingw-w64-gcc-x86_64 1              [uses mingw-w64-shims]
  - recompile ocaml                     5.4.1          [uses ocaml-env-mingw64]
  - recompile ocaml-base-compiler       5.4.1 (pinned) [uses ocaml-compiler]
  - recompile ocaml-compiler            5.4.1          [uses system-mingw]
  - recompile ocaml-config              3              [uses ocaml-base-compiler]
  - recompile ocaml-env-mingw64         1              [uses mingw-w64-shims]
  - recompile system-mingw              1              [uses ocaml-env-mingw64]
=== upgrade 1 package
  - upgrade   mingw-w64-shims           0.2.0 to 1.0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   ocaml.5.4.1
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.4.1
-> retrieved conf-mingw-w64-gcc-x86_64.1  (cached)
-> retrieved ocaml-compiler.5.4.1  (cached)
-> removed   ocaml-compiler.5.4.1
-> removed   system-mingw.1
-> removed   ocaml-env-mingw64.1
-> removed   mingw-w64-shims.0.2.0
-> removed   conf-mingw-w64-gcc-x86_64.1
-> installed mingw-w64-shims.1.0.1
-> installed conf-mingw-w64-gcc-x86_64.1
-> installed ocaml-env-mingw64.1
-> installed system-mingw.1
-> installed ocaml-compiler.5.4.1
-> installed ocaml-base-compiler.5.4.1
-> installed ocaml-config.3
-> installed ocaml.5.4.1
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-15 02:50.32 ---> using "1f974f2a6db6f8322b3912acb34c625201b303dd7504b5a6e613ac834a53be66" from cache

C:/: (copy (src devkit.opam) (dst /cygwin64/home/opam/src/./))
2026-06-15 02:51.29 ---> saved as "44194d8ad2db48594e1b8fdcd8883f20c5f7dddfb953590badd8d11962c96632"

C:/: (run (network host)
          (shell "opam pin add -yn devkit.dev '/cygwin64/home/opam/src/./'"))
Failure("Failed to prepare snapshot obuilder-bf4e97756a4fbd74514b3394f74e8064f5c4d6629208493ab179bd5f6fd53145: \"ctr\" \"snapshot\" \"prepare\" \"--mounts\" \"obuilder-bf4e97756a4fbd74514b3394f74e8064f5c4d6629208493ab179bd5f6fd53145\" \"obuilder-44194d8ad2db48594e1b8fdcd8883f20c5f7dddfb953590badd8d11962c96632-committed\" failed with exit status 1")
2026-06-15 02:51.53: Job failed: Failed: Build failed