2025-04-18 18:56.41: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/koonwen/http_sse (97b5beb8bc7837a858256faf2142accecac04b9f) (linux-x86_64:fedora-40-4.14_opam-2.3) Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:5a1ec9de7c8a6ed0e0bb674891a6cf2521e2d1187b9d6c8e0d71af1cd62ce3d4 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 ocaml/opam:fedora-40-ocaml-4.14@sha256:5a1ec9de7c8a6ed0e0bb674891a6cf2521e2d1187b9d6c8e0d71af1cd62ce3d4 # fedora-40-4.14_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo dnf install -y findutils RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src 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 ./ RUN opam pin add -yn devkit.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="angstrom.0.16.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-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 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 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 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-04-18 18:56.41: Using cache hint "ahrefs/devkit-ocaml/opam:fedora-40-ocaml-4.14@sha256:5a1ec9de7c8a6ed0e0bb674891a6cf2521e2d1187b9d6c8e0d71af1cd62ce3d4-fedora-40-4.14_opam-2.3-7830e03f0d4cc575c137ce30ae028be0" 2025-04-18 18:56.41: Using OBuilder spec: ((from ocaml/opam:fedora-40-ocaml-4.14@sha256:5a1ec9de7c8a6ed0e0bb674891a6cf2521e2d1187b9d6c8e0d71af1cd62ce3d4) (comment fedora-40-4.14_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (network host) (shell "sudo dnf install -y findutils")) (run (shell "sudo 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")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.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 ./)) (run (network host) (shell "opam pin add -yn devkit.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "angstrom.0.16.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-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 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 trace.0.9.1 yojson.2.2.2") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.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 /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2025-04-18 18:56.41: Waiting for resource in pool OCluster 2025-04-18 21:50.46: Waiting for worker… 2025-04-18 21:53.33: Got resource from pool OCluster Building on x86-bm-c3.sw.ocaml.org All commits already cached HEAD is now at 97b5beb wip: add eventsource abstraction for handling SSE (from ocaml/opam:fedora-40-ocaml-4.14@sha256:5a1ec9de7c8a6ed0e0bb674891a6cf2521e2d1187b9d6c8e0d71af1cd62ce3d4) 2025-04-18 21:54.24 ---> saved as "3912058b4593598b6b84a268c6cda72e5518a28c04ab1e298dfce7534a6e11b1" /: (comment fedora-40-4.14_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (network host) (shell "sudo dnf install -y findutils")) Fedora 40 - x86_64 - Updates 247 kB/s | 24 kB 00:00 Fedora 40 - x86_64 - Updates 4.3 MB/s | 5.2 MB 00:01 Last metadata expiration check: 0:00:08 ago on Fri Apr 18 21:54:26 2025. Package findutils-1:4.9.0-9.fc40.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! 2025-04-18 21:54.36 ---> saved as "cda85671858ee3b5fccfd4de1a44a2dab2d725409d85505f240446614552cfee" /src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-04-18 21:54.36 ---> saved as "57d80a09ab913ab601bcc09edaeb548bcefa9f38e7a17e3f584ed606a74aac9e" /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then from built-in defaults. 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. This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-04-18 21:55.19 ---> saved as "52d1ceee3a27ea9837a45002178ba6152c34026f298cf59f19ca01a4e6868143" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-134-generic The OCaml toplevel, version 4.14.2 2.3.0 2025-04-18 21:55.19 ---> saved as "37b3b2fa4e5c9a7916fa3adb35002fbc56837b1b6ce9cbb48babf4dff857dffe" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-04-18 21:55.19 ---> saved as "00f839162ecc1944d59710bcb2b65e529a5b0f836a5393f1f8b6cd89bd921da1" /src: (run (cache (opam-archives (target /home/opam/.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 34a3fc46c3..999bff3ed8 master -> origin/master 442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/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-18 21:55.48 ---> saved as "32d94f12351892aaa5dc8d8ae6442ed62898ab3e6eea168ba20071dd2816ddf5" /src: (copy (src devkit.opam) (dst ./)) 2025-04-18 21:55.49 ---> saved as "1502ee16a122bacadce87eb8326c2d3a1aee15ad8e9282dd0d0fc80fd263e6ff" /src: (run (network host) (shell "opam pin add -yn devkit.dev './'")) [devkit.dev] synchronised (file:///src) devkit is now pinned to file:///src (version dev) 2025-04-18 21:55.50 ---> saved as "b0afb4f9304c9f90c69d39b07765d20efcafecfd12f7cc59b9c8ff8277a5cbee" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-04-18 21:55.51 ---> saved as "6dddee54009e77dd142f8069ad4dc186af009559b43893f1a6cf3e3afc3dde48" /src: (env DEPS "angstrom.0.16.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-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 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 trace.0.9.1 yojson.2.2.2") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS")) + /usr/bin/sudo "yum" "makecache" - Fedora 40 - x86_64 286 kB/s | 27 kB 00:00 - Fedora 40 openh264 (From Cisco) - x86_64 13 kB/s | 989 B 00:00 - Fedora 40 - x86_64 - Updates 265 kB/s | 24 kB 00:00 - Metadata cache created. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [devkit.dev] synchronised (file:///src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [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 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). The following system packages will first need to be installed: libcurl-devel libevent-devel pcre-devel zlib-ng-compat-devel <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "yum" "install" "-y" "libcurl-devel" "libevent-devel" "pcre-devel" "zlib-ng-compat-devel" - Last metadata expiration check: 0:00:14 ago on Fri Apr 18 21:55:52 2025. - Dependencies resolved. - ================================================================================ - Package Arch Version Repository Size - ================================================================================ - Installing: - libcurl-devel x86_64 8.6.0-10.fc40 updates 851 k - libevent-devel x86_64 2.1.12-12.fc40 fedora 100 k - pcre-devel x86_64 8.45-1.fc40.6 fedora 490 k - zlib-ng-compat-devel x86_64 2.1.7-2.fc40 updates 38 k - Installing dependencies: - cmake-filesystem x86_64 3.30.8-1.fc40 updates 17 k - pcre x86_64 8.45-1.fc40.6 fedora 204 k - pcre-cpp x86_64 8.45-1.fc40.6 fedora 26 k - pcre-utf16 x86_64 8.45-1.fc40.6 fedora 189 k - pcre-utf32 x86_64 8.45-1.fc40.6 fedora 178 k - - Transaction Summary - ================================================================================ - Install 9 Packages - - Total download size: 2.0 M - Installed size: 4.9 M - Downloading Packages: - (1/9): pcre-cpp-8.45-1.fc40.6.x86_64.rpm 478 kB/s | 26 kB 00:00 - (2/9): libevent-devel-2.1.12-12.fc40.x86_64.rpm 1.0 MB/s | 100 kB 00:00 - (3/9): pcre-8.45-1.fc40.6.x86_64.rpm 1.8 MB/s | 204 kB 00:00 - (4/9): pcre-utf16-8.45-1.fc40.6.x86_64.rpm 4.7 MB/s | 189 kB 00:00 - (5/9): pcre-utf32-8.45-1.fc40.6.x86_64.rpm 4.6 MB/s | 178 kB 00:00 - (6/9): pcre-devel-8.45-1.fc40.6.x86_64.rpm 4.3 MB/s | 490 kB 00:00 - (7/9): cmake-filesystem-3.30.8-1.fc40.x86_64.rp 296 kB/s | 17 kB 00:00 - (8/9): zlib-ng-compat-devel-2.1.7-2.fc40.x86_64 684 kB/s | 38 kB 00:00 - (9/9): libcurl-devel-8.6.0-10.fc40.x86_64.rpm 5.5 MB/s | 851 kB 00:00 - -------------------------------------------------------------------------------- - Total 4.2 MB/s | 2.0 MB 00:00 - Running transaction check - Transaction check succeeded. - Running transaction test - Transaction test succeeded. - Running transaction - Preparing : 1/1 - Installing : pcre-8.45-1.fc40.6.x86_64 1/9 - Installing : pcre-cpp-8.45-1.fc40.6.x86_64 2/9 - Installing : cmake-filesystem-3.30.8-1.fc40.x86_64 3/9 - Installing : pcre-utf32-8.45-1.fc40.6.x86_64 4/9 - Installing : pcre-utf16-8.45-1.fc40.6.x86_64 5/9 - Installing : pcre-devel-8.45-1.fc40.6.x86_64 6/9 - Installing : zlib-ng-compat-devel-2.1.7-2.fc40.x86_64 7/9 - Installing : libcurl-devel-8.6.0-10.fc40.x86_64 8/9 - Installing : libevent-devel-2.1.12-12.fc40.x86_64 9/9 - Running scriptlet: libevent-devel-2.1.12-12.fc40.x86_64 9/9 - - Installed: - cmake-filesystem-3.30.8-1.fc40.x86_64 libcurl-devel-8.6.0-10.fc40.x86_64 - libevent-devel-2.1.12-12.fc40.x86_64 pcre-8.45-1.fc40.6.x86_64 - pcre-cpp-8.45-1.fc40.6.x86_64 pcre-devel-8.45-1.fc40.6.x86_64 - pcre-utf16-8.45-1.fc40.6.x86_64 pcre-utf32-8.45-1.fc40.6.x86_64 - zlib-ng-compat-devel-2.1.7-2.fc40.x86_64 - - Complete! + /usr/bin/rpm "-q" "--whatprovides" "libcurl-devel" "libevent-devel" "pcre-devel" "zlib-ng-compat-devel" - libcurl-devel-8.6.0-10.fc40.x86_64 - libevent-devel-2.1.12-12.fc40.x86_64 - pcre-devel-8.45-1.fc40.6.x86_64 - zlib-ng-compat-devel-2.1.7-2.fc40.x86_64 2025-04-18 21:56.08 ---> saved as "280cd62c658da2bf48c73ebbf1fcf84662d2646696da36db9cf457bbce304fbd" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [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 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). The following actions will be performed: === install 32 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-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 bigstringaf.0.10.0 (cached) -> retrieved camlzip.1.13 (cached) -> retrieved angstrom.0.16.1 (cached) -> retrieved cppo.1.8.0 (cached) -> installed conf-libcurl.2 -> installed conf-pkg-config.4 -> retrieved csexp.1.5.2 (cached) -> retrieved extlib.1.8.0 (cached) -> installed conf-libevent.1 -> installed conf-libpcre.2 -> installed conf-zlib.1 -> retrieved extunix.0.4.3 (cached) -> retrieved libevent.0.9.0 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved lwt.5.9.1, lwt_ppx.5.9.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved ocurl.0.9.2 (cached) -> retrieved pcre.8.0.3 (cached) -> retrieved ounit2.2.2.7 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved trace.0.9.1 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved ppxlib.0.35.0 (cached) -> retrieved dune.3.18.1, dune-configurator.3.18.1 (cached) -> installed ocamlfind.1.9.8 -> installed base-bytes.base -> installed libevent.0.9.0 -> installed camlzip.1.13 -> installed dune.3.18.1 -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.3.0 -> installed csexp.1.5.2 -> installed ocaml-compiler-libs.v0.12.4 -> installed ocaml-syntax-shims.1.0.0 -> installed sexplib0.v0.17.0 -> installed trace.0.9.1 -> installed cppo.1.8.0 -> installed ounit2.2.2.7 -> installed yojson.2.2.2 -> installed ocplib-endian.1.2 -> installed extlib.1.8.0 -> 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 -> installed extunix.0.4.3 -> installed ocurl.0.9.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-04-18 21:57.58 ---> saved as "5ad3a623bb565ea2b9c1f2198983166a9d838d2a2eebe0346931737c5d9af7bf" /src: (copy (src .) (dst /src)) 2025-04-18 21:57.58 ---> saved as "a755e73634ff8b9288e75de2eb1cc7c3c275c0347012b9d9df08baee431d12c4" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I .devkit_core.objs/byte -I /home/opam/.opam/4.14/lib/curl -I /home/opam/.opam/4.14/lib/extlib -I /home/opam/.opam/4.14/lib/extunix -I /home/opam/.opam/4.14/lib/libevent -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/pcre -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/trace/core -I /home/opam/.opam/4.14/lib/yojson -I /home/opam/.opam/4.14/lib/zip -I ocamlnet_lite/.ocamlnet_lite.objs/byte -no-alias-deps -opaque -open Devkit_core -o .devkit_core.objs/byte/devkit_core__Eventsource.cmo -c -impl eventsource.ml) File "eventsource.ml", line 18, characters 7-15: 18 | open Angstrom ^^^^^^^^ Error: Unbound module Angstrom "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-04-18 21:58.02: Job failed: Failed: Build failed