Organisationsahrefsdevkitd24a05 (master)windows-server-2022-amd64-5.3_opam-2.4

windows-server-2022-amd64-5.3_opam-2.4

Logs

Show full logs
2025-08-27 16:22.44: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (d24a0517dd2d6c6290010d212efb480abc94e392) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.4)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard d24a0517
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam /Users/opam/src/./
RUN opam pin add -yn devkit.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/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.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.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-pcre-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 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.20.1 dune-compiledb.0.6.0 dune-configurator.3.20.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.5.9.2 lwt_ppx.5.9.2 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y devkit.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build

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

2025-08-27 16:22.44: Using cache hint "ahrefs/devkit-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.4-5922c09c569b16c07761628bc0274906"
2025-08-27 16:22.44: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
 (comment windows-server-2022-amd64-5.3_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src devkit.opam) (dst /Users/opam/src/./))
 (run (network host)
      (shell "opam pin add -yn devkit.dev '/Users/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/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.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.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-pcre-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 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.20.1 dune-compiledb.0.6.0 dune-configurator.3.20.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.5.9.2 lwt_ppx.5.9.2 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y devkit.dev $DEPS"))
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /Users/opam/src))
 (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2025-08-27 16:22.44: Waiting for resource in pool OCluster
2025-08-27 21:35.25: Waiting for worker…
2025-08-28 02:35.28: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at d24a051 Prelude: + F1

(from windows-server-2022-amd64-ocaml-5.3)
2025-08-28 02:35.28 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache

/: (comment windows-server-2022-amd64-5.3_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-28 02:35.28 ---> using "1e2d14b3062f84a7d6f6f169887d274097a3ceefc9654f3a38ec7d8793bb5864" from cache

/: (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] no changes from file://C:/Users/opam/opam-repository
2025-08-28 02:35.28 ---> using "6dbdca3e6c2df003f6cebaa139aa227252a76195aef4f258913cc7da8ee795b2" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.4-1.x86_64
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-28 02:35.28 ---> using "dd7e0e07f915e027f7b9342b70fd32de99a0178469368b94a3f981825bdf3d42" from cache

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f1d3c77350..5c7ac19272  master     -> origin/master
53c7f25306 Merge pull request #28384 from raphael-proust/opam-publish-lwt.5.9.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-08-28 02:35.28 ---> using "ab1f7b17eeb93f322b6e9d9ceaf6a0bb93fdf134f642fb01f27c07f504c3bd9d" from cache

/: (copy (src devkit.opam) (dst /Users/opam/src/./))
2025-08-28 02:35.28 ---> using "04092981872c2c9ffeb72d803345d23cae672be3a15a94c29e1aad0951c0d757" from cache

/: (run (network host)
        (shell "opam pin add -yn devkit.dev '/Users/opam/src/./'"))
[devkit.dev] synchronised (file://C:/Users/opam/src/.)
devkit is now pinned to file://C:/Users/opam/src/. (version dev)
2025-08-28 02:35.28 ---> using "a71d488eb23b3c82fc07f357bed97765e4c3c24cabf29673f646c0e47c6d084a" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-08-28 02:35.28 ---> using "973c5b42e1b4a0cdd33d58972cb8e10205282b4ae03ccc65ae33caff1f26cf11" from cache

/: (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.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.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-pcre-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 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.20.1 dune-compiledb.0.6.0 dune-configurator.3.20.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.5.9.2 lwt_ppx.5.9.2 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0")

/: (env CI true)

/: (env OCAMLCI true)

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y devkit.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (file://C:/Users/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 system packages will first need to be installed:
    mingw64-x86_64-curl mingw64-x86_64-libevent mingw64-x86_64-pcre mingw64-x86_64-zlib

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-x86_64-curl,mingw64-x86_64-libevent,mingw64-x86_64-pcre,mingw64-x86_64-zlib"
- Starting cygwin install, version 2.934
- User has backup/restore rights
- User has symlink creation right
- Current Directory: C:\Windows\system32
- root: C:\cygwin64 system
- Changing gid to Administrators
- Selected local directory: C:\Windows\system32
- net: Preconfig
- site: https://cygwin.mirror.constant.com/
- solving: 4 tasks, update: no, use test packages: no
- solving: 12 tasks, update: no, use test packages: no
- Augmented Transaction List:
-    0 install mingw64-x86_64-gcc-g++   13.4.0-1 
-    1 install mingw64-x86_64-libevent  2.1.12-1 
-    2 install mingw64-x86_64-nghttp2   1.61.0-1 
-    3 install mingw64-x86_64-win-iconv 0.0.8-1  
-    4 install mingw64-x86_64-zlib      1.3.1-1  
-    5 install mingw64-x86_64-zstd      1.5.7-1  
-    6 install mingw64-x86_64-pcre      8.45-1   
-    7 install mingw64-x86_64-gettext   0.22.5-1 
-    8 install mingw64-x86_64-openssl   3.0.17-1 
-    9 install mingw64-x86_64-libssh2   1.11.0-1 
-   10 install mingw64-x86_64-libidn2   2.3.8-1  
-   11 install mingw64-x86_64-curl      8.15.0-1 
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-13.4.0-1-x86_64.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libevent/mingw64-x86_64-libevent-2.1.12-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-nghttp2/mingw64-x86_64-nghttp2-1.61.0-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-win-iconv/mingw64-x86_64-win-iconv-0.0.8-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zlib/mingw64-x86_64-zlib-1.3.1-1.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zstd/mingw64-x86_64-zstd-1.5.7-1.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-pcre/mingw64-x86_64-pcre-8.45-1.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gettext/mingw64-x86_64-gettext-0.22.5-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-openssl/mingw64-x86_64-openssl-3.0.17-1-noarch.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libssh2/mingw64-x86_64-libssh2-1.11.0-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libidn2/mingw64-x86_64-libidn2-2.3.8-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-curl/mingw64-x86_64-curl-8.15.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-13.4.0-1-x86_64.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libevent/mingw64-x86_64-libevent-2.1.12-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-nghttp2/mingw64-x86_64-nghttp2-1.61.0-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-win-iconv/mingw64-x86_64-win-iconv-0.0.8-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zlib/mingw64-x86_64-zlib-1.3.1-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zstd/mingw64-x86_64-zstd-1.5.7-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-pcre/mingw64-x86_64-pcre-8.45-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gettext/mingw64-x86_64-gettext-0.22.5-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-openssl/mingw64-x86_64-openssl-3.0.17-1-noarch.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libssh2/mingw64-x86_64-libssh2-1.11.0-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libidn2/mingw64-x86_64-libidn2-2.3.8-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-curl/mingw64-x86_64-curl-8.15.0-1-noarch.tar.xz
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
- Ending cygwin install
- NOTE: you should run 'diskperf -y' to enable the disk statistics
- NOTE: you should run 'diskperf -y' to enable the disk statistics
2025-08-28 02:35.28 ---> using "0d14a58447a30d41476d7829f88091432c414e2cb58d64aefb329e778cc72b67" from cache

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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:
=== recompile 1 package
  - recompile mingw-w64-shims                0.2.0
=== install 49 packages
  - install   astring                        0.8.5
  - install   base-bytes                     base
  - install   camlzip                        1.13
  - install   conf-libcurl                   2
  - install   conf-libevent                  1
  - install   conf-libpcre                   2
  - install   conf-mingw-w64-curl-x86_64     1
  - install   conf-mingw-w64-libevent-x86_64 1
  - install   conf-mingw-w64-pcre-x86_64     1
  - install   conf-mingw-w64-zlib-x86_64     1
  - install   conf-pkg-config                4
  - install   conf-zlib                      1
  - install   cppo                           1.8.0
  - install   csexp                          1.5.2
  - install   cstruct                        6.2.0
  - install   curl                           0.10.0
  - install   curl_lwt                       0.10.0
  - install   dune                           3.20.1
  - install   dune-compiledb                 0.6.0
  - install   dune-configurator              3.20.1
  - install   extlib                         1.8.0
  - install   extunix                        0.4.4
  - install   ezjsonm                        1.3.0
  - install   fmt                            0.11.0
  - install   fpath                          0.7.3
  - install   hex                            1.5.0
  - install   jsonm                          1.0.2
  - install   libevent                       0.9.0
  - install   lwt                            5.9.2
  - install   lwt_ppx                        5.9.2
  - install   num                            1.6
  - install   ocaml-compiler-libs            v0.17.0
  - install   ocamlbuild                     0.16.1
  - install   ocamlfind                      1.9.8
  - install   ocplib-endian                  1.2
  - install   ocurl                          transition (deprecated)
  - install   ounit2                         2.2.7
  - install   parsexp                        v0.17.0
  - install   pcre                           8.0.5
  - install   ppx_derivers                   1.2.1
  - install   ppxlib                         0.36.0
  - install   seq                            base
  - install   sexplib                        v0.17.0
  - install   sexplib0                       v0.17.0
  - install   stdlib-shims                   0.3.0
  - install   topkg                          1.1.0
  - install   trace                          0.10
  - install   uutf                           1.0.4
  - install   yojson                         3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved camlzip.1.13  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved curl.0.10.0, curl_lwt.0.10.0, ocurl.transition  (cached)
-> installed conf-pkg-config.4
-> retrieved extlib.1.8.0  (cached)
-> retrieved dune-compiledb.0.6.0  (https://github.com/edwintorok/dune-compiledb/releases/download/0.6.0/dune-compiledb-0.6.0.tbz)
-> retrieved ezjsonm.1.3.0  (cached)
-> installed conf-mingw-w64-curl-x86_64.1
-> installed conf-mingw-w64-libevent-x86_64.1
-> retrieved extunix.0.4.4  (https://github.com/ygrek/extunix/releases/download/v0.4.4/extunix-0.4.4.tbz)
-> retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> retrieved fpath.0.7.3  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved libevent.0.9.0  (cached)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> retrieved lwt.5.9.2, lwt_ppx.5.9.2  (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved num.1.6  (https://github.com/ocaml/num/archive/refs/tags/v1.6.tar.gz)
-> installed conf-libevent.1
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved pcre.8.0.5  (https://github.com/mmottl/pcre-ocaml/releases/download/8.0.5/pcre-8.0.5.tbz)
-> retrieved seq.base  (cached)
-> installed seq.base
-> installed conf-mingw-w64-pcre-x86_64.1
-> installed conf-mingw-w64-zlib-x86_64.1
-> retrieved sexplib.v0.17.0  (cached)
-> installed conf-libpcre.2
-> installed conf-zlib.1
-> installed mingw-w64-shims.0.2.0
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved dune.3.20.1, dune-configurator.3.20.1  (https://github.com/ocaml/dune/releases/download/3.20.1/dune-3.20.1.tbz)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed conf-libcurl.2
-> retrieved topkg.1.1.0  (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved trace.0.10  (https://github.com/c-cube/ocaml-trace/releases/download/v0.10/trace-0.10.tbz)
-> installed num.1.6
-> retrieved yojson.3.0.0  (https://github.com/ocaml-community/yojson/releases/download/3.0.0/yojson-3.0.0.tbz)
[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:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
[ERROR] The compilation of libevent.0.9.0 failed at "make depend".
-> installed camlzip.1.13
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.20.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed hex.1.5.0
-> installed ocplib-endian.1.2
-> installed stdlib-shims.0.3.0
-> installed extlib.1.8.0
-> installed dune-configurator.3.20.1
-> installed ezjsonm.1.3.0
-> installed trace.0.10
-> installed yojson.3.0.0
-> installed parsexp.v0.17.0
-> installed ounit2.2.2.7
-> installed curl.0.10.0
-> installed sexplib.v0.17.0
-> installed dune-compiledb.0.6.0
-> installed pcre.8.0.5
-> installed lwt.5.9.2
-> installed curl_lwt.0.10.0
-> installed ocurl.transition
-> installed ppxlib.0.36.0
-> installed lwt_ppx.5.9.2
-> installed extunix.0.4.4

#=== ERROR while compiling libevent.0.9.0 =====================================#
# context     2.4.1 | win32/x86_64 | ocaml-base-compiler.5.3.0 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\5.3.0\.opam-switch\build\libevent.0.9.0
# command     C:\cygwin64\bin\make.exe depend
# exit-code   2
# env-file    ~\AppData\Local\opam\log\libevent-2436-0c7f4b.env
# output-file ~\AppData\Local\opam\log\libevent-2436-0c7f4b.out
### output ###
# [...]
# Package libevent was not found in the pkg-config search path.
# Perhaps you should add the directory containing `libevent.pc'
# to the PKG_CONFIG_PATH environment variable
# Package 'libevent' not found
# Package libevent was not found in the pkg-config search path.
# Perhaps you should add the directory containing `libevent.pc'
# to the PKG_CONFIG_PATH environment variable
# Package 'libevent' not found
# gcc -I C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml -MM *.c > depend
# /bin/sh: line 1: gcc: command not found
# Makefile:99: depend: No such file or directory
# make: *** [Makefile:37: depend] Error 127



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build libevent 0.9.0
+- 
+- The following changes have been performed
| - recompile mingw-w64-shims                0.2.0
| - install   astring                        0.8.5
| - install   base-bytes                     base
| - install   camlzip                        1.13
| - install   conf-libcurl                   2
| - install   conf-libevent                  1
| - install   conf-libpcre                   2
| - install   conf-mingw-w64-curl-x86_64     1
| - install   conf-mingw-w64-libevent-x86_64 1
| - install   conf-mingw-w64-pcre-x86_64     1
| - install   conf-mingw-w64-zlib-x86_64     1
| - install   conf-pkg-config                4
| - install   conf-zlib                      1
| - install   cppo                           1.8.0
| - install   csexp                          1.5.2
| - install   cstruct                        6.2.0
| - install   curl                           0.10.0
| - install   curl_lwt                       0.10.0
| - install   dune                           3.20.1
| - install   dune-compiledb                 0.6.0
| - install   dune-configurator              3.20.1
| - install   extlib                         1.8.0
| - install   extunix                        0.4.4
| - install   ezjsonm                        1.3.0
| - install   fmt                            0.11.0
| - install   fpath                          0.7.3
| - install   hex                            1.5.0
| - install   jsonm                          1.0.2
| - install   lwt                            5.9.2
| - install   lwt_ppx                        5.9.2
| - install   num                            1.6
| - install   ocaml-compiler-libs            v0.17.0
| - install   ocamlbuild                     0.16.1
| - install   ocamlfind                      1.9.8
| - install   ocplib-endian                  1.2
| - install   ocurl                          transition
| - install   ounit2                         2.2.7
| - install   parsexp                        v0.17.0
| - install   pcre                           8.0.5
| - install   ppx_derivers                   1.2.1
| - install   ppxlib                         0.36.0
| - install   seq                            base
| - install   sexplib                        v0.17.0
| - install   sexplib0                       v0.17.0
| - install   stdlib-shims                   0.3.0
| - install   topkg                          1.1.0
| - install   trace                          0.10
| - install   uutf                           1.0.4
| - install   yojson                         3.0.0
+- 

<><> ocurl.transition installed successfully ><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> ocurl has been renamed and the ocurl package is now a transition package. Use the curl package instead.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\5.3.0\\.opam-switch\\backup\\state-20250828023706.export"
"opam install $DEPS" failed with exit status 31
2025-08-28 02:56.16: Job failed: Failed: Build failed