2025-05-22 19:58.11: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/remove-ocurl (f31cdb042a734e243a68cf4cb994a020a3119fb1) (linux-x86_64:fedora-42-4.14_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:475a852401de7d578efec2afce4384d87b505f5bc610dc56f6bde3b87ebb7664
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/ocurl.git" -b "remove-ocurl" && cd "ocurl" && git reset --hard f31cdb04
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:475a852401de7d578efec2afce4384d87b505f5bc610dc56f6bde3b87ebb7664
# fedora-42-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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && 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.19.0 dune-configurator.3.19.0 lwt.5.9.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.3 --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
2025-05-22 19:58.11: Using cache hint "ygrek/ocurl-ocaml/opam:fedora-42-ocaml-4.14@sha256:475a852401de7d578efec2afce4384d87b505f5bc610dc56f6bde3b87ebb7664-fedora-42-4.14_opam-2.3-f0167304596ff44ebb6821a2e1773735"
2025-05-22 19:58.11: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:475a852401de7d578efec2afce4384d87b505f5bc610dc56f6bde3b87ebb7664)
(comment fedora-42-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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && 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 (network host)
(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.19.0 dune-configurator.3.19.0 lwt.5.9.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.3 --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"))
)
2025-05-22 19:58.11: Waiting for resource in pool OCluster
2025-05-22 20:34.31: Waiting for worker…
2025-05-22 20:36.40: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at f31cdb0 Remove the ocurl package definition
(from ocaml/opam:fedora-42-ocaml-4.14@sha256:475a852401de7d578efec2afce4384d87b505f5bc610dc56f6bde3b87ebb7664)
2025-05-22 20:36.41 ---> using "aefb7551cd0db7b5ebec7e244d5637aef02ab3f94c732650de7ad183465adaa0" from cache
/: (comment fedora-42-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"))
Updating and loading repositories:
Fedora 42 - x86_64 - Updates 100% | 101.9 KiB/s | 12.8 KiB | 00m00s
Fedora 42 - x86_64 100% | 178.2 KiB/s | 24.4 KiB | 00m00s
Fedora 42 - x86_64 - Updates 100% | 4.0 MiB/s | 5.4 MiB | 00m01s
Fedora 42 - x86_64 100% | 428.8 KiB/s | 310.0 KiB | 00m01s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.
Nothing to do.
2025-05-22 20:36.41 ---> using "90ac926fbf0dd80a050fe07b782da645d449add02f129faddd96e43755a04a28" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-22 20:36.41 ---> using "5ab48161f7c22f51d404bb5d2a2c5c549b74daa5ccd0f91af261e63f1695b519" from cache
/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-05-22 20:36.41 ---> using "d92a9320f021e5a742c7d5b83bf52f2edabb999e504fcc09aa073d3dae5f7cd1" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-22 20:36.41 ---> using "331c939535d03227897d583b5fde573388f2700c81597883a942f894459d2d34" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-22 20:36.41 ---> using "4a8bf714148bfe78f89e423539b8a92586260102d756bbbf31ce5f39e20f8378" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..2df846cb67 master -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0
<><> 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-05-22 20:36.41 ---> using "00e42b64475f4f262ba20741cab92e65339980345d6220da4cf1235f1ecfc5b1" from cache
/src: (copy (src curl_lwt.opam curl.opam) (dst ./))
2025-05-22 20:36.41 ---> saved as "b14ae13d4cd51765b426e54f1930b785cdb6d12f7dde0b9a41d15eeab09f24dc"
/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)
2025-05-22 20:36.45 ---> saved as "18ade3dcb696f30be7a4f05b919feef645f0fed2eeab11e5b6137a2ea7df451e"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-22 20:36.46 ---> saved as "fc3afb0b25fbf70493db840fd35d74e18437360063d8df3a981bc823774895bd"
/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.19.0 dune-configurator.3.19.0 lwt.5.9.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.3 --depext-only -y curl_lwt.dev curl.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 94.9 KiB/s | 24.3 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
<><> 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:
libcurl-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/sbin/sudo "yum" "install" "-y" "libcurl-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- libcurl-devel x86_64 8.11.1-4.fc42 fedora 1.3 MiB
- Installing dependencies:
- brotli x86_64 1.1.0-6.fc42 fedora 31.6 KiB
- brotli-devel x86_64 1.1.0-6.fc42 fedora 65.6 KiB
- cmake-filesystem x86_64 3.31.6-2.fc42 fedora 0.0 B
- keyutils-libs-devel x86_64 1.6.3-5.fc42 fedora 48.2 KiB
- krb5-devel x86_64 1.21.3-5.fc42 fedora 705.9 KiB
- libcom_err-devel x86_64 1.47.2-3.fc42 fedora 16.7 KiB
- libidn2-devel x86_64 2.3.8-1.fc42 fedora 149.1 KiB
- libkadm5 x86_64 1.21.3-5.fc42 fedora 213.9 KiB
- libnghttp2-devel x86_64 1.64.0-3.fc42 fedora 295.4 KiB
- libpsl-devel x86_64 0.21.5-5.fc42 fedora 110.3 KiB
- libselinux-devel x86_64 3.8-1.fc42 fedora 126.8 KiB
- libsepol-devel x86_64 3.8-1.fc42 fedora 120.8 KiB
- libssh-devel x86_64 0.11.1-4.fc42 fedora 178.0 KiB
- libverto-devel x86_64 0.3.2-10.fc42 fedora 25.7 KiB
- openssl-devel x86_64 1:3.2.4-3.fc42 fedora 4.3 MiB
- pcre2-devel x86_64 10.45-1.fc42 fedora 2.1 MiB
- pcre2-utf16 x86_64 10.45-1.fc42 fedora 626.3 KiB
- pcre2-utf32 x86_64 10.45-1.fc42 fedora 598.2 KiB
- publicsuffix-list noarch 20250116-1.fc42 fedora 329.8 KiB
- zlib-ng-compat-devel x86_64 2.2.4-3.fc42 fedora 107.0 KiB
-
- Transaction Summary:
- Installing: 21 packages
-
- Total size of inbound packages is 6 MiB. Need to download 6 MiB.
- After this operation, 11 MiB extra will be used (install 11 MiB, remove 0 B).
- [ 1/21] brotli-0:1.1.0-6.fc42.x86_64 100% | 338.1 KiB/s | 19.9 KiB | 00m00s
- [ 2/21] brotli-devel-0:1.1.0-6.fc42.x86 100% | 514.1 KiB/s | 33.9 KiB | 00m00s
- [ 3/21] libkadm5-0:1.21.3-5.fc42.x86_64 100% | 2.4 MiB/s | 77.4 KiB | 00m00s
- [ 4/21] libcurl-devel-0:8.11.1-4.fc42.x 100% | 7.8 MiB/s | 883.0 KiB | 00m00s
- [ 5/21] libidn2-devel-0:2.3.8-1.fc42.x8 100% | 3.9 MiB/s | 64.0 KiB | 00m00s
- [ 6/21] libnghttp2-devel-0:1.64.0-3.fc4 100% | 6.8 MiB/s | 55.7 KiB | 00m00s
- [ 7/21] krb5-devel-0:1.21.3-5.fc42.x86_ 100% | 2.2 MiB/s | 142.5 KiB | 00m00s
- [ 8/21] libpsl-devel-0:0.21.5-5.fc42.x8 100% | 4.1 MiB/s | 33.2 KiB | 00m00s
- [ 9/21] libssh-devel-0:0.11.1-4.fc42.x8 100% | 5.1 MiB/s | 41.8 KiB | 00m00s
- [10/21] cmake-filesystem-0:3.31.6-2.fc4 100% | 2.1 MiB/s | 17.6 KiB | 00m00s
- [11/21] zlib-ng-compat-devel-0:2.2.4-3. 100% | 4.7 MiB/s | 38.4 KiB | 00m00s
- [12/21] keyutils-libs-devel-0:1.6.3-5.f 100% | 7.3 MiB/s | 59.9 KiB | 00m00s
- [13/21] publicsuffix-list-0:20250116-1. 100% | 2.8 MiB/s | 89.0 KiB | 00m00s
- [14/21] libcom_err-devel-0:1.47.2-3.fc4 100% | 2.0 MiB/s | 16.7 KiB | 00m00s
- [15/21] libselinux-devel-0:3.8-1.fc42.x 100% | 6.2 MiB/s | 151.7 KiB | 00m00s
- [16/21] libverto-devel-0:0.3.2-10.fc42. 100% | 1.8 MiB/s | 14.4 KiB | 00m00s
- [17/21] libsepol-devel-0:3.8-1.fc42.x86 100% | 1.3 MiB/s | 48.4 KiB | 00m00s
- [18/21] pcre2-utf16-0:10.45-1.fc42.x86_ 100% | 5.9 MiB/s | 241.9 KiB | 00m00s
- [19/21] pcre2-devel-0:10.45-1.fc42.x86_ 100% | 7.5 MiB/s | 543.4 KiB | 00m00s
- [20/21] pcre2-utf32-0:10.45-1.fc42.x86_ 100% | 5.4 MiB/s | 228.7 KiB | 00m00s
- [21/21] openssl-devel-1:3.2.4-3.fc42.x8 100% | 7.0 MiB/s | 2.8 MiB | 00m00s
- --------------------------------------------------------------------------------
- [21/21] Total 100% | 8.2 MiB/s | 5.5 MiB | 00m01s
- Running transaction
- [ 1/23] Verify package files 100% | 388.0 B/s | 21.0 B | 00m00s
- [ 2/23] Prepare transaction 100% | 153.0 B/s | 21.0 B | 00m00s
- [ 3/23] Installing cmake-filesystem-0:3 100% | 1.5 MiB/s | 7.6 KiB | 00m00s
- [ 4/23] Installing libssh-devel-0:0.11. 100% | 58.8 MiB/s | 180.5 KiB | 00m00s
- [ 5/23] Installing zlib-ng-compat-devel 100% | 53.0 MiB/s | 108.5 KiB | 00m00s
- [ 6/23] Installing pcre2-utf32-0:10.45- 100% | 117.0 MiB/s | 599.1 KiB | 00m00s
- [ 7/23] Installing pcre2-utf16-0:10.45- 100% | 102.1 MiB/s | 627.1 KiB | 00m00s
- [ 8/23] Installing pcre2-devel-0:10.45- 100% | 72.2 MiB/s | 2.1 MiB | 00m00s
- [ 9/23] Installing libverto-devel-0:0.3 100% | 12.9 MiB/s | 26.4 KiB | 00m00s
- [10/23] Installing libsepol-devel-0:3.8 100% | 20.9 MiB/s | 128.3 KiB | 00m00s
- [11/23] Installing libselinux-devel-0:3 100% | 31.6 MiB/s | 161.6 KiB | 00m00s
- [12/23] Installing libcom_err-devel-0:1 100% | 761.4 KiB/s | 18.3 KiB | 00m00s
- [13/23] Installing keyutils-libs-devel- 100% | 3.6 MiB/s | 55.2 KiB | 00m00s
- [14/23] Installing openssl-devel-1:3.2. 100% | 83.7 MiB/s | 5.2 MiB | 00m00s
- [15/23] Installing publicsuffix-list-0: 100% | 107.7 MiB/s | 330.8 KiB | 00m00s
- [16/23] Installing libpsl-devel-0:0.21. 100% | 55.5 MiB/s | 113.6 KiB | 00m00s
- [17/23] Installing libnghttp2-devel-0:1 100% | 96.5 MiB/s | 296.5 KiB | 00m00s
- [18/23] Installing libidn2-devel-0:2.3. 100% | 76.5 MiB/s | 156.7 KiB | 00m00s
- [19/23] Installing libkadm5-0:1.21.3-5. 100% | 52.7 MiB/s | 215.9 KiB | 00m00s
- [20/23] Installing krb5-devel-0:1.21.3- 100% | 22.5 MiB/s | 715.2 KiB | 00m00s
- [21/23] Installing brotli-0:1.1.0-6.fc4 100% | 1.4 MiB/s | 32.3 KiB | 00m00s
- [22/23] Installing brotli-devel-0:1.1.0 100% | 13.3 MiB/s | 68.0 KiB | 00m00s
- [23/23] Installing libcurl-devel-0:8.11 100% | 13.1 MiB/s | 1.4 MiB | 00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "libcurl-devel"
- libcurl-devel-8.11.1-4.fc42.x86_64
2025-05-22 20:37.04 ---> saved as "0087e9af81d9bcd00b81ef235a27ea333be8620c88b9e25c2d24cf170a03f722"
/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.19.0
- install dune-configurator 3.19.0
- install lwt 5.9.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.5.9.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.0
-> installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-22 20:38.37 ---> saved as "2aa9d18b11eba29affcb4e8e935f3a76729edaf3c25655961a72bfeec754086d"
/src: (copy (src .) (dst /src))
2025-05-22 20:38.37 ---> saved as "dd02a1ae797c1a6f6ed4d664390ea8e58418cb9521bf7e30939cc3d46fddc9bf"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "examples/dune", line 32, characters 18-25:
32 | (preprocess (pps lwt_ppx))
^^^^^^^
Error: Library "lwt_ppx" not found.
-> required by
_build/default/examples/.merlin-conf/exe-test_lwt-0dcf2dfa4ae9573d2c95196fdb3fad76
-> 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 && /usr/sbin/gcc -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wno-deprecated-declarations -DWITH_GZFILEOP -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:3334:51: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
3334 | 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:4868:72: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
4868 | extra_fds[i].events = caml_convert_flag_list(Field(v_extra_fd, 1), curlWait_table);
| ^~~~~~~~~~~~~~
/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 8257536 -> 13443072 OK
RSS 13443072 -> 14032896 OK
RSS 14032896 -> 15212544 OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-22 20:38.45: Job failed: Failed: Build failed