2026-04-17 00:53.07: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (0b4f2191aff13d20b656261ba6d7b2e5092a8f93) (linux-x86_64:ubuntu-22.04-4.14_opam-2.5) Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00 Opam project build To reproduce locally: git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard 0b4f2191 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00 # ubuntu-22.04-4.14_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.5 /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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 curl_lwt.opam curl.opam ./ RUN opam pin add -yn curl_lwt.dev './' && \ opam pin add -yn curl.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 lwt.6.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.5 --depext-only -y curl_lwt.dev curl.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 2026-04-17 00:53.07: Using cache hint "ygrek/ocurl-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00-ubuntu-22.04-4.14_opam-2.5-f1969951ad3d33431fb5c9b923712234" 2026-04-17 00:53.07: Using OBuilder spec: ((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00) (comment ubuntu-22.04-4.14_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src curl_lwt.opam curl.opam) (dst ./)) (run (network host) (shell "opam pin add -yn curl_lwt.dev './' && \ \nopam pin add -yn curl.dev './'")) (run (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 lwt.6.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.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.5 --depext-only -y curl_lwt.dev curl.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")) ) 2026-04-17 00:53.07: Waiting for resource in pool OCluster 2026-04-17 00:53.07: Waiting for worker… 2026-04-17 00:53.18: Got resource from pool OCluster Building on clete.caelum.ci.dev All commits already cached HEAD is now at 0b4f219 Remove the ocurl package definition (#107) (from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00) 2026-04-17 00:54.27 ---> saved as "752ab5c6ad79de967908e3073b7fceaa0abf89b6f293aaa06b19d969149dde3c" /: (comment ubuntu-22.04-4.14_opam-2.5) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam")) 2026-04-17 00:54.39 ---> saved as "1a1eff4052ea3104fb7e5ec5761842d0cfe9656287a6882b1eac7caa3efa349f" /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 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 2026-04-17 00:55.07 ---> saved as "2e1e4395ca2a0d261913003a3e43f34a1f0efdc272202fe92ed711df2d6f3e43" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-107-generic The OCaml toplevel, version 4.14.2 2.5.0 2026-04-17 00:55.17 ---> saved as "95ff2ee8d7fe66b59ec0e45f834976653a81c7090dc41602580dd6f1b36445d7" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-04-17 00:55.27 ---> saved as "71b4ea2e8ceb4f55c80eaf0cf25522e581c7d7b5464709106ded0f2c4ab7d51b" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD ffb54b9bdd..ba1ca7509c master -> origin/master 5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2 <><> 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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-04-17 00:56.02 ---> saved as "b818a66987a4ada308a5efb6a7b77bb58155dc2a63350ea9ff4329983e01db1e" /src: (copy (src curl_lwt.opam curl.opam) (dst ./)) 2026-04-17 00:56.15 ---> saved as "e054f7fdc67d753b5aa0de132f9f835109f85b4ef7a4e58f7f9a5a9d1ff37e77" /src: (run (network host) (shell "opam pin add -yn curl_lwt.dev './' && \ \nopam pin add -yn curl.dev './'")) [curl_lwt.dev] synchronised (file:///src) curl_lwt is now pinned to file:///src (version dev) [curl.dev] synchronised (file:///src) curl is now pinned to file:///src (version dev) 2026-04-17 00:56.26 ---> saved as "104b545a25804e77ca60501672d50825edaaa9a0901da0cc7d51c5a31d099984" /src: (run (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-04-17 00:56.35 ---> saved as "bc2b733ccdc0a215856689113a2032c32ab64429c0c41767ea5a05a8b96de2f1" /src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 lwt.6.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.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.5 --depext-only -y curl_lwt.dev curl.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease - Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] - Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] - Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7232 kB] - Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1623 kB] - Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4264 kB] - Get:7 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB] - Get:8 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.9 kB] - Get:9 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] - Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [7015 kB] - Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3929 kB] - Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1311 kB] - Fetched 25.9 MB in 7s (3513 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [curl.dev] synchronised (file:///src) [curl_lwt.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: libcurl4-gnutls-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev" - debconf: delaying package configuration, since apt-utils is not installed - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15645 files and directories currently installed.) - Preparing to unpack .../libcurl3-gnutls_7.81.0-1ubuntu1.23_amd64.deb ... - Unpacking libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.23) over (7.81.0-1ubuntu1.22) ... - Selecting previously unselected package libcurl4-gnutls-dev:amd64. - Preparing to unpack .../libcurl4-gnutls-dev_7.81.0-1ubuntu1.23_amd64.deb ... - Unpacking libcurl4-gnutls-dev:amd64 (7.81.0-1ubuntu1.23) ... - Setting up libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.23) ... - Setting up libcurl4-gnutls-dev:amd64 (7.81.0-1ubuntu1.23) ... - Processing triggers for libc-bin (2.35-0ubuntu3.13) ... # To update the current shell environment, run: eval $(opam env) 2026-04-17 00:57.42 ---> saved as "2103d46d145f6f4897fb362e07ed62a91f5163e6565a7db5aa12a7b50f467051" /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 9 packages - install base-bytes base - install conf-libcurl 2 - install cppo 1.8.0 - install csexp 1.5.2 - install dune 3.22.2 - install dune-configurator 3.22.2 - install lwt 6.1.1 - install ocamlfind 1.9.8 - install ocplib-endian 1.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved cppo.1.8.0 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-libcurl.2 -> retrieved lwt.6.1.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved dune.3.22.2, dune-configurator.3.22.2 (cached) -> installed ocamlfind.1.9.8 -> installed base-bytes.base -> installed dune.3.22.2 -> installed csexp.1.5.2 -> installed cppo.1.8.0 -> installed ocplib-endian.1.2 -> installed dune-configurator.3.22.2 -> installed lwt.6.1.1 Done. # To update the current shell environment, run: eval $(opam env) 2026-04-17 00:58.35 ---> saved as "d3a3771b2e0124d53ddbb95e68f7af053dcafc37529760b2dae67d588adac7bf" /src: (copy (src .) (dst /src)) 2026-04-17 00:58.43 ---> saved as "ae8b39380bff97b6fc8406501d770948ce9a05368474667c14e9a11f230b274f" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) File "examples/dune", line 35, characters 18-25: 35 | (preprocess (pps lwt_ppx)) ^^^^^^^ Error: Library "lwt_ppx" not found. -> required by _build/default/examples/.merlin-conf/exe-test_lwt-4ae3cca8f9be9de71a1a7b2ad5e3dcce -> required by alias examples/check (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 -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -I examples/.ocurl.eobjs/byte -I .curl.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o examples/.ocurl.eobjs/byte/dune__exe__Ocurl.cmo -c -impl examples/ocurl.ml) File "examples/ocurl.ml", line 21, characters 4-14: 21 | let getContent connection url = ^^^^^^^^^^ Warning 32 [unused-value-declaration]: unused value getContent. (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 -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -I examples/.opar.eobjs/byte -I /home/opam/.opam/4.14/lib/ocaml/threads -I .curl.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o examples/.opar.eobjs/byte/dune__exe__Opar.cmo -c -impl examples/opar.ml) File "examples/opar.ml", line 9, characters 4-17: 9 | let show_progress fname conn = ^^^^^^^^^^^^^ Warning 32 [unused-value-declaration]: unused value show_progress. (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 -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -I .curl_lwt.objs/byte -I /home/opam/.opam/4.14/lib/bytes -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/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I .curl.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o .curl_lwt.objs/byte/curl_lwt.cmo -c -impl curl_lwt.ml) File "curl_lwt.ml", line 42, characters 4-20: 42 | M.action_timeout mt; ^^^^^^^^^^^^^^^^ Alert deprecated: M.action_timeout Use action_timeout' instead (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-42-69-70 -warn-error -a+31 -g -I .curl_lwt.objs/byte -I .curl_lwt.objs/native -I /home/opam/.opam/4.14/lib/bytes -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/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I .curl.objs/byte -I .curl.objs/native -intf-suffix .ml -no-alias-deps -opaque -o .curl_lwt.objs/native/curl_lwt.cmx -c -impl curl_lwt.ml) File "curl_lwt.ml", line 42, characters 4-20: 42 | M.action_timeout mt; ^^^^^^^^^^^^^^^^ Alert deprecated: M.action_timeout Use action_timeout' instead (cd _build/default && /usr/bin/gcc -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wno-deprecated-declarations -g -I /home/opam/.opam/4.14/lib/ocaml -o curl-helper.o -c curl-helper.c) curl-helper.c: In function 'handle_POSTREDIR': curl-helper.c:3437:51: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3437 | long bitmask = caml_convert_flag_list(option, curlPostRedir_table); | ^~~~~~~~~~~~~~~~~~~ In file included from curl-helper.c:29: /home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *' 60 | CAMLextern int caml_convert_flag_list (value, int *); | ^~~~~ curl-helper.c: In function 'convert_extra_fds': curl-helper.c:4981:72: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4981 | extra_fds[i].events = caml_convert_flag_list(Field(v_extra_fd, 1), curlWait_table); | ^~~~~~~~~~~~~~ In file included from curl-helper.c:29: /home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *' 60 | CAMLextern int caml_convert_flag_list (value, int *); | ^~~~~ (cd _build/default/examples && ./test_memory_leaks.exe) RSS 9555968 -> 13340672 OK RSS 13344768 -> 13733888 OK RSS 13733888 -> 13733888 OK "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2026-04-17 00:59.11: Job failed: Failed: Build failed