Organisationsahrefsdevkit97b5be (koonwen/http_sse)windows-server-2022-amd64-4.14_opam-2.3

windows-server-2022-amd64-4.14_opam-2.3

Logs

Show full logs
2025-04-17 14:56.13: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/koonwen/http_sse (97b5beb8bc7837a858256faf2142accecac04b9f) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.3)
Base: windows-server-2022-amd64-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "koonwen/http_sse" && cd "devkit" && git reset --hard 97b5beb8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.3 /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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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="angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 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 dune.3.18.1 dune-configurator.3.18.1 extlib.1.8.0 extunix.0.4.3 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 trace.0.9.1 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-04-17 14:56.13: Using cache hint "ahrefs/devkit-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-1765ccd8dd251ded4281455bc9493ad5"
2025-04-17 14:56.13: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
 (comment windows-server-2022-amd64-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/bin/opam-2.3 /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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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 "angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 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 dune.3.18.1 dune-configurator.3.18.1 extlib.1.8.0 extunix.0.4.3 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 trace.0.9.1 yojson.2.2.2")
 (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.3 --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-04-17 14:56.13: Waiting for resource in pool OCluster
2025-04-17 14:56.13: Waiting for worker…
2025-04-17 14:56.44: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at 97b5beb wip: add eventsource abstraction for handling SSE

(from windows-server-2022-amd64-ocaml-4.14)
2025-04-17 14:56.44 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache

/: (comment windows-server-2022-amd64-4.14_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-17 14:56.44 ---> using "fe3978d598c814685c6ee8922c3ae17147a3127f83af70ca6588d6b26847cd93" 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-04-17 14:56.44 ---> using "0caf41f56a7e1f8a9ba062ae44d7d1f50471f3874e543c30c0d1c2b229f1e062" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-17 14:56.44 ---> using "6a7802e4db8e302e8ba8d87ff4e9376ae777099db0cd03bdab21ff27a442740c" 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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   11bdbee611..442eddb8a3  master     -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-04-17 14:58.47 ---> saved as "c4ca8193a7bc1873bb9b49f579474a54bf3e819dc6e885864586a486bbeac0f9"

/: (copy (src devkit.opam) (dst /Users/opam/src/./))
2025-04-17 14:58.59 ---> saved as "b63d4d64caab2d49bf21c2d9e4ddbf1642970507f177708cf936de1af1cfb040"

/: (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-04-17 14:59.11 ---> saved as "98e1d2b73527d18dadd494c0f8d32aabac561eb81d38db41f90d76ac1d5a8244"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-04-17 14:59.23 ---> saved as "4382bb314aa8e9f220b0c8a35c24796d48518dc41e2b3da6a74174713995da00"

/: (env DEPS "angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 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 dune.3.18.1 dune-configurator.3.18.1 extlib.1.8.0 extunix.0.4.3 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 trace.0.9.1 yojson.2.2.2")

/: (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.3 --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-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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.43).
[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-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.932
- 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++   12.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.16-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.13.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++-12.4.0-1.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.16-1.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.13.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++-12.4.0-1.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.16-1.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.13.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-04-17 15:00.02 ---> saved as "c6c1a6108c9a28910adbe1eea8ec6a6da48e8f5f7496fef93a044b819665b7f5"

/: (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-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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.43).
[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-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 36 packages
  - install   angstrom                       0.16.1
  - install   base-bytes                     base
  - install   bigstringaf                    0.10.0
  - 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   dune                           3.18.1
  - install   dune-configurator              3.18.1
  - install   extlib                         1.8.0
  - install   extunix                        0.4.3
  - install   libevent                       0.9.0
  - install   lwt                            5.9.1
  - install   lwt_ppx                        5.9.1
  - install   ocaml-compiler-libs            v0.12.4
  - install   ocaml-syntax-shims             1.0.0
  - install   ocamlfind                      1.9.8
  - install   ocplib-endian                  1.2
  - install   ocurl                          0.9.2
  - install   ounit2                         2.2.7
  - install   pcre                           8.0.3
  - install   ppx_derivers                   1.2.1
  - install   ppxlib                         0.35.0
  - install   seq                            base
  - install   sexplib0                       v0.17.0
  - install   stdlib-shims                   0.3.0
  - install   trace                          0.9.1
  - install   yojson                         2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved camlzip.1.13  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved extlib.1.8.0  (cached)
-> retrieved extunix.0.4.3  (cached)
-> installed conf-mingw-w64-curl-x86_64.1
-> retrieved lwt.5.9.1, lwt_ppx.5.9.1  (cached)
-> retrieved libevent.0.9.0  (https://ygrek.org/p/release/ocaml-libevent/ocaml-libevent-0.9.0.tar.gz)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed conf-libcurl.2
-> installed conf-mingw-w64-libevent-x86_64.1
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> installed conf-libevent.1
-> installed conf-mingw-w64-pcre-x86_64.1
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed conf-libpcre.2
-> installed conf-mingw-w64-zlib-x86_64.1
-> installed mingw-w64-shims.0.2.0
-> installed conf-zlib.1
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved pcre.8.0.3  (https://github.com/mmottl/pcre-ocaml/releases/download/8.0.3/pcre-8.0.3.tbz)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved trace.0.9.1  (https://github.com/c-cube/ocaml-trace/releases/download/v0.9.1/trace-0.9.1.tbz)
-> retrieved dune.3.18.1, dune-configurator.3.18.1  (https://github.com/ocaml/dune/releases/download/3.18.1/dune-3.18.1.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\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\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 dune.3.18.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed trace.0.9.1
-> installed extlib.1.8.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.18.1
-> installed bigstringaf.0.10.0
-> installed pcre.8.0.3
-> installed angstrom.0.16.1
-> installed lwt.5.9.1
-> installed ppxlib.0.35.0
-> installed lwt_ppx.5.9.1
[ERROR] The compilation of ocurl.0.9.2 failed at "./configure".
-> installed extunix.0.4.3

#=== ERROR while compiling ocurl.0.9.2 ========================================#
# context     2.3.0 | win32/x86_64 | ocaml-base-compiler.4.14.2 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\4.14.2\.opam-switch\build\ocurl.0.9.2
# command     ~\AppData\Local\opam\4.14.2\.opam-switch\build\ocurl.0.9.2\./configure
# exit-code   1
# env-file    ~\AppData\Local\opam\log\ocurl-3024-8a38f7.env
# output-file ~\AppData\Local\opam\log\ocurl-3024-8a38f7.out
### output ###
# checking for gcc... no
# checking for cc... no
# checking for cl.exe... no
# configure: error: in `/cygdrive/c/Users/opam/AppData/Local/opam/4.14.2/.opam-switch/build/ocurl.0.9.2':
# configure: error: no acceptable C compiler found in $PATH
# See `config.log' for more details


#=== ERROR while compiling libevent.0.9.0 =====================================#
# context     2.3.0 | win32/x86_64 | ocaml-base-compiler.4.14.2 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\4.14.2\.opam-switch\build\libevent.0.9.0
# command     C:\cygwin64\bin\make.exe depend
# exit-code   2
# env-file    ~\AppData\Local\opam\log\libevent-3024-f44e1c.env
# output-file ~\AppData\Local\opam\log\libevent-3024-f44e1c.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/4.14.2/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
| - build ocurl    0.9.2
+- 
+- The following changes have been performed
| - recompile mingw-w64-shims                0.2.0
| - install   angstrom                       0.16.1
| - install   base-bytes                     base
| - install   bigstringaf                    0.10.0
| - 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   dune                           3.18.1
| - install   dune-configurator              3.18.1
| - install   extlib                         1.8.0
| - install   extunix                        0.4.3
| - install   lwt                            5.9.1
| - install   lwt_ppx                        5.9.1
| - install   ocaml-compiler-libs            v0.12.4
| - install   ocaml-syntax-shims             1.0.0
| - install   ocamlfind                      1.9.8
| - install   ocplib-endian                  1.2
| - install   ounit2                         2.2.7
| - install   pcre                           8.0.3
| - install   ppx_derivers                   1.2.1
| - install   ppxlib                         0.35.0
| - install   seq                            base
| - install   sexplib0                       v0.17.0
| - install   stdlib-shims                   0.3.0
| - install   trace                          0.9.1
| - install   yojson                         2.2.2
+- 
# 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\\4.14.2\\.opam-switch\\backup\\state-20250417150011.export"
"opam install $DEPS" failed with exit status 31
2025-04-17 15:03.34: Job failed: Failed: Build failed