2024-11-19 18:51.23: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/expose-sanitize-name (6862f3f05b5f58fe0e705d89084619462d4c7944) (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 "expose-sanitize-name" && cd "devkit" && git reset --hard 6862f3f0 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 6b5f49f3dbe83de5bf787b957f246375fa89d4ab || git fetch origin master) && git reset -q --hard 6b5f49f3dbe83de5bf787b957f246375fa89d4ab && 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/./' ENV DEPS="arch-x86_64.1 base-bigarray.base base-bytes.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-pcre-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.3 conf-zlib.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 extlib.1.8.0 extunix.0.4.2 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 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 ocamlfind.1.9.5 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.7.5.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 trace.0.8 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 2024-11-19 18:51.23: Using cache hint "ahrefs/devkit-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-9a233a0f8ea66f7bb3e21fd51c9c88ef" 2024-11-19 18:51.23: 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 6b5f49f3dbe83de5bf787b957f246375fa89d4ab || git fetch origin master) && git reset -q --hard 6b5f49f3dbe83de5bf787b957f246375fa89d4ab && 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/./'")) (env DEPS "arch-x86_64.1 base-bigarray.base base-bytes.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-pcre-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.3 conf-zlib.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 extlib.1.8.0 extunix.0.4.2 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 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 ocamlfind.1.9.5 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.7.5.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 trace.0.8 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")) ) 2024-11-19 18:51.23: Waiting for resource in pool OCluster 2024-11-19 18:51.24: Waiting for worker… 2024-11-19 18:59.19: Got resource from pool OCluster Building on odawa All commits already cached HEAD is now at 6862f3f expose Pid.sanitize_name (from windows-server-2022-amd64-ocaml-4.14) 2024-11-19 18:59.19 ---> 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")) 2024-11-19 18:59.19 ---> 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 2024-11-19 18:59.19 ---> 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 2024-11-19 18:59.19 ---> 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 6b5f49f3dbe83de5bf787b957f246375fa89d4ab || git fetch origin master) && git reset -q --hard 6b5f49f3dbe83de5bf787b957f246375fa89d4ab && git log --no-decorate -n1 --oneline && opam update -u")) 6b5f49f3db Merge pull request #26893 from yosefAlsuhaibani/conf-libpcre.1-windows-build <><> 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) 2024-11-19 18:59.19 ---> using "d4888d9b1467b16265235b3093c3601eb8bfa17cfcbc77ca2ad09888c00593f4" from cache /: (copy (src devkit.opam) (dst /Users/opam/src/./)) 2024-11-19 18:59.19 ---> using "5d2684e62a24f9facafbb8a4d3463c1fcbac3981c545f150b3b83117e8479cbd" 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) 2024-11-19 18:59.19 ---> using "b7b379366a47f7731d65e89ffbcd0dbdd918da8d0ecf6311ce61443f119d3e9f" from cache /: (env DEPS "arch-x86_64.1 base-bigarray.base base-bytes.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-pcre-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.3 conf-zlib.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 extlib.1.8.0 extunix.0.4.2 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 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 ocamlfind.1.9.5 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.7.5.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 trace.0.8 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 (no changes) [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-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-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: 3 tasks, update: no, use test packages: no - solving: 11 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-nghttp2 1.61.0-1 - 2 install mingw64-x86_64-win-iconv 0.0.8-1 - 3 install mingw64-x86_64-zlib 1.3.1-1 - 4 install mingw64-x86_64-zstd 1.5.6-1 - 5 install mingw64-x86_64-pcre 8.45-1 - 6 install mingw64-x86_64-gettext 0.22.5-1 - 7 install mingw64-x86_64-openssl 1.0.2u+za-1 - 8 install mingw64-x86_64-libssh2 1.11.0-1 - 9 install mingw64-x86_64-libidn2 2.3.7-1 - 10 install mingw64-x86_64-curl 8.11.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-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.6-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-1.0.2u+za-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.7-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.11.0-1.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-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.6-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-1.0.2u+za-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.7-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.11.0-1.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 2024-11-19 18:59.19 ---> using "9778538fe49b4a97cb9a8767e23e129199af8c73883bbdd8449eafde58e0c609" 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-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 32 packages - 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-pcre-x86_64 1 - install conf-mingw-w64-zlib-x86_64 1 - install conf-pkg-config 3 - install conf-zlib 1 - install cppo 1.7.0 - install csexp 1.5.2 - install dune 3.16.1 - install dune-configurator 3.16.1 - install extlib 1.8.0 - install extunix 0.4.2 - install libevent 0.9.0 - install lwt 5.9.0 - install lwt_ppx 5.8.0 - install ocaml-compiler-libs v0.12.4 - install ocamlfind 1.9.5 - install ocplib-endian 1.2 - install ocurl 0.9.2 - install ounit2 2.2.7 - install pcre 7.5.0 - install ppx_derivers 1.2.1 - install ppxlib 0.33.0 - install seq base - install sexplib0 v0.17.0 - install stdlib-shims 0.3.0 - install trace 0.8 - install yojson 2.2.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved camlzip.1.13 (cached) -> retrieved cppo.1.7.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved extlib.1.8.0 (cached) -> retrieved extunix.0.4.2 (cached) -> installed conf-pkg-config.3 #=== ERROR while compiling conf-libevent.1 ====================================# "pkg-config": command not found. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - fetch dune.3.16.1, dune-configurator.3.16.1 | - fetch libevent 0.9.0 | - fetch lwt 5.9.0 | - build conf-libevent 1 +- +- The following changes have been performed (the rest was aborted) | - install conf-pkg-config 3 +- # 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-20241119185932.export" "opam install $DEPS" failed with exit status 31 2024-11-19 18:59.49: Job failed: Failed: Build failed