(for PR #28222)

2025-08-21 14:13.38: New job: test ocurl.0.8.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              on debian-12-ocaml-4.09/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28222/head" && git reset --hard a14b2680
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.09@sha256:d647920f5e7aa9427bb317eb133d4249d84b8bc5e8778060af9dad502d1ee6c5
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn ocurl.0.8.1 0.8.1
RUN opam reinstall ocurl.0.8.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocurl.0.8.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test ocurl.0.8.1) || true
RUN opam reinstall --with-test --verbose ocurl.0.8.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocurl.0.8.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-08-21 14:13.38: Using cache hint "ocaml/opam:debian-12-ocaml-4.09@sha256:d647920f5e7aa9427bb317eb133d4249d84b8bc5e8778060af9dad502d1ee6c5-ocurl.0.8.1-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:13.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:d647920f5e7aa9427bb317eb133d4249d84b8bc5e8778060af9dad502d1ee6c5)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn ocurl.0.8.1 0.8.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocurl.0.8.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocurl.0.8.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test ocurl.0.8.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose ocurl.0.8.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocurl.0.8.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-08-21 14:13.38: Waiting for resource in pool OCluster
2025-08-21 14:13.41: Waiting for worker…
2025-08-21 14:13.41: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Merge made by the 'ort' strategy.
 packages/curl_lwt/curl_lwt.0.10.0/opam            |  2 +-
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_glib/lwt_glib.1.0.1/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.0/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.1/opam             |  2 +-
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 packages/ocurl/ocurl.0.7.6/opam                   |  1 +
 packages/ocurl/ocurl.0.7.7/opam                   |  1 +
 packages/ocurl/ocurl.0.7.8/opam                   |  1 +
 packages/ocurl/ocurl.0.7.9/opam                   |  1 +
 packages/ocurl/ocurl.0.8.1/opam                   |  1 +
 packages/ocurl/ocurl.0.8.2/opam                   |  1 +
 packages/ocurl/ocurl.0.9.0/opam                   |  1 +
 packages/ocurl/ocurl.0.9.1/opam                   |  1 +
 packages/ocurl/ocurl.0.9.2/opam                   |  1 +
 18 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:debian-12-ocaml-4.09@sha256:d647920f5e7aa9427bb317eb133d4249d84b8bc5e8778060af9dad502d1ee6c5)
2025-08-21 14:14.36 ---> saved as "1436408a05f1858da5ca99133feab639b2b2b3ac900a4234ddb1903d201cb8db"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-21 14:14.36 ---> saved as "04f8a777f2491d6853e769161794e22de0e2081bc7d0584bab6e0ff620d1c0de"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-21 14:14.59 ---> saved as "09914aad1cdf3ce5194d6629002e53e8b8b9c7d10c6865934dcd376c1ff8607b"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.09
# invariant            ["ocaml-base-compiler" {= "4.09.1"}]
# compiler-packages    ocaml-base-compiler.4.09.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.09/lib/ocaml/stublibs:/home/opam/.opam/4.09/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.09.1
2025-08-21 14:14.59 ---> saved as "6c4542e0b6bfcc985cb46eaaf738d48a1e29c1942cbd63c6f31acc2f830d8a99"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-08-21 14:15.09 ---> saved as "6d83ace880055205accacea98c24f9054635d2c53ce26c94aa73e4a9d00f52b8"

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-21 14:15.18 ---> saved as "aabdc5a16e0d7fb0c5c4c47a24f96ad48f4795813d8f5ff8004e100cc445a899"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 14:15.34 ---> saved as "0ca120febf09ae2327b0a1d052d510dabe8f44b496477e3f5b60229dddb2ffe7"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
- Fetched 378 kB in 0s (1401 kB/s)
- Reading package lists...
2025-08-21 14:15.35 ---> saved as "67b4994e9c8b99835c7aeb1556c1d584039aeb9dde14d398db20a59ae4c8376a"

/home/opam: (run (shell "opam pin add -k version -yn ocurl.0.8.1 0.8.1"))
ocurl is now pinned to version 0.8.1
2025-08-21 14:15.36 ---> saved as "ed20819d51542df17856ec99c9a9c564dfe8c506460b2a52d1926f15cee7b627"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocurl.0.8.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocurl.0.8.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocurl.0.8.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
  - install conf-libcurl 2              [required by ocurl]
  - install ocamlfind    1.9.8          [required by ocurl]
  - install ocurl        0.8.1 (pinned)

The following system packages will first need to be installed:
    libcurl4-gnutls-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-dev:amd64.
- (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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u12_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.8  (cached)
-> installed conf-libcurl.2
-> retrieved ocurl.0.8.1  (https://opam.ocaml.org/cache)
-> installed ocamlfind.1.9.8
-> installed ocurl.0.8.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:15.58 ---> saved as "4d852cb38d516f4b25cf3966c0e68964970b75f0be23038a979ba1e2093e02e6"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ocurl.0.8.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ocurl 0.8.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocurl.0.8.1  (https://opam.ocaml.org/cache)
-> removed   ocurl.0.8.1
-> installed ocurl.0.8.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:16.20 ---> saved as "d108b0b84b203096490ceab9c03f790fc762f7338cd76ac4b9869c4e497781d9"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ocurl.0.8.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocurl.0.8.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile ocurl 0.8.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [ocurl.0.8.1: extract]
-> retrieved ocurl.0.8.1  (cached)
Processing  2/4: [ocurl: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1)
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables... 
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking for libcurl cflags... ./configure: line 2845: pkg-config: command not found
- 
- checking for libcurl libs... ./configure: line 2856: pkg-config: command not found
- -lcurl
- checking for libcurl version >= 7.28.0... ./configure: line 2867: pkg-config: command not found
- ./configure: line 2868: pkg-config: command not found
- libcurl 7.88.1
- checking for a BSD-compatible install... /usr/bin/install -c
- checking for ocamlc... ocamlc
- OCaml version is 4.09.1
- OCaml library path is /home/opam/.opam/4.09/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamlbuild... no
- checking for ocamlfind... ocamlfind
- checking for OCaml findlib package bytes... found
- checking for OCaml findlib package lwt.unix... not found
- checking for OCaml findlib package lwt_ppx... not found
- checking for prefix by checking for ocamlc... /home/opam/.opam/4.09/bin/ocamlc
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.09/lib/ocaml, /home/opam/.opam/4.09/lib/ocaml/compiler-libs
- checking for bin-annot support... yes
- checking for ext_dll... .so
- checking for ext_lib... .a
- checking for ext_obj... .o
- checking how to run the C preprocessor... gcc -E
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... 
- yes
- checking for unistd.h... yes
- checking curl/curl.h usability... yes
- checking curl/curl.h presence... yes
- checking for curl/curl.h... yes
- checking whether CURLMOPT_TIMERFUNCTION is declared... yes
- checking whether CURLMOPT_TIMERDATA is declared... yes
- checking whether CURLMOPT_SOCKETFUNCTION is declared... yes
- checking whether CURLMOPT_SOCKETDATA is declared... yes
- checking whether CURLOPT_FILE is declared... yes
- checking whether CURLOPT_URL is declared... yes
- checking whether CURLOPT_PORT is declared... yes
- checking whether CURLOPT_PROXY is declared... yes
- checking whether CURLOPT_USERPWD is declared... yes
- checking whether CURLOPT_PROXYUSERPWD is declared... yes
- checking whether CURLOPT_RANGE is declared... yes
- checking whether CURLOPT_INFILE is declared... yes
- checking whether CURLOPT_ERRORBUFFER is declared... yes
- checking whether CURLOPT_WRITEFUNCTION is declared... yes
- checking whether CURLOPT_READFUNCTION is declared... yes
- checking whether CURLOPT_TIMEOUT is declared... yes
- checking whether CURLOPT_INFILESIZE is declared... yes
- checking whether CURLOPT_POSTFIELDS is declared... yes
- checking whether CURLOPT_REFERER is declared... 
- yes
- checking whether CURLOPT_FTPPORT is declared... yes
- checking whether CURLOPT_USERAGENT is declared... yes
- checking whether CURLOPT_LOW_SPEED_LIMIT is declared... yes
- checking whether CURLOPT_LOW_SPEED_TIME is declared... yes
- checking whether CURLOPT_RESUME_FROM is declared... yes
- checking whether CURLOPT_COOKIE is declared... yes
- checking whether CURLOPT_HTTPHEADER is declared... yes
- checking whether CURLOPT_HTTPPOST is declared... yes
- checking whether CURLOPT_SSLCERT is declared... yes
- checking whether CURLOPT_SSLCERTPASSWD is declared... yes
- checking whether CURLOPT_SSLKEYPASSWD is declared... yes
- checking whether CURLOPT_CRLF is declared... yes
- checking whether CURLOPT_QUOTE is declared... yes
- checking whether CURLOPT_WRITEHEADER is declared... yes
- checking whether CURLOPT_COOKIEFILE is declared... yes
- checking whether CURLOPT_SSLVERSION is declared... yes
- checking whether CURLOPT_TIMECONDITION is declared... yes
- checking whether CURLOPT_TIMEVALUE is declared... yes
- checking whether CURLOPT_CUSTOMREQUEST is declared... yes
- checking whether CURLOPT_POSTQUOTE is declared... yes
- checking whether CURLOPT_WRITEINFO is declared... yes
- checking whether CURLOPT_VERBOSE is declared... yes
- checking whether CURLOPT_HEADER is declared... yes
- checking whether CURLOPT_NOPROGRESS is declared... yes
- checking whether CURLOPT_NOBODY is declared... yes
- checking whether CURLOPT_FAILONERROR is declared... yes
- checking whether CURLOPT_UPLOAD is declared... yes
- checking whether CURLOPT_POST is declared... yes
- checking whether CURLOPT_FTPLISTONLY is declared... yes
- checking whether CURLOPT_FTPAPPEND is declared... yes
- checking whether CURLOPT_NETRC is declared... yes
- checking whether CURLOPT_FOLLOWLOCATION is declared... yes
- checking whether CURLOPT_TRANSFERTEXT is declared... yes
- checking whether CURLOPT_PUT is declared... yes
- checking whether CURLOPT_PROGRESSFUNCTION is declared... yes
- checking whether CURLOPT_PROGRESSDATA is declared... yes
- checking whether CURLOPT_AUTOREFERER is declared... yes
- checking whether CURLOPT_PROXYPORT is declared... yes
- checking whether CURLOPT_POSTFIELDSIZE is declared... yes
- checking whether CURLOPT_HTTPPROXYTUNNEL is declared... yes
- checking whether CURLOPT_INTERFACE is declared... yes
- checking whether CURLOPT_KRB4LEVEL is declared... yes
- checking whether CURLOPT_SSL_VERIFYPEER is declared... yes
- checking whether CURLOPT_CAINFO is declared... yes
- checking whether CURLOPT_MAXREDIRS is declared... yes
- checking whether CURLOPT_FILETIME is declared... yes
- checking whether CURLOPT_TELNETOPTIONS is declared... yes
- checking whether CURLOPT_MAXCONNECTS is declared... yes
- checking whether CURLOPT_CLOSEPOLICY is declared... yes
- checking whether CURLOPT_FRESH_CONNECT is declared... yes
- checking whether CURLOPT_FORBID_REUSE is declared... yes
- checking whether CURLOPT_RANDOM_FILE is declared... yes
- checking whether CURLOPT_EGDSOCKET is declared... yes
- checking whether CURLOPT_CONNECTTIMEOUT is declared... yes
- checking whether CURLOPT_HEADERFUNCTION is declared... yes
- checking whether CURLOPT_HTTPGET is declared... yes
- checking whether CURLOPT_SSL_VERIFYHOST is declared... yes
- checking whether CURLOPT_COOKIEJAR is declared... yes
- checking whether CURLOPT_SSL_CIPHER_LIST is declared... yes
- checking whether CURLOPT_HTTP_VERSION is declared... yes
- checking whether CURLOPT_FTP_USE_EPSV is declared... yes
- checking whether CURLOPT_SSLCERTTYPE is declared... yes
- checking whether CURLOPT_SSLKEY is declared... yes
- checking whether CURLOPT_SSLKEYTYPE is declared... 
- yes
- checking whether CURLOPT_SSLENGINE is declared... yes
- checking whether CURLOPT_SSLENGINE_DEFAULT is declared... yes
- checking whether CURLOPT_DNS_USE_GLOBAL_CACHE is declared... yes
- checking whether CURLOPT_DNS_CACHE_TIMEOUT is declared... yes
- checking whether CURLOPT_PREQUOTE is declared... yes
- checking whether CURLOPT_DEBUGFUNCTION is declared... yes
- checking whether CURLOPT_DEBUGDATA is declared... yes
- checking whether CURLOPT_COOKIESESSION is declared... yes
- checking whether CURLOPT_CAPATH is declared... yes
- checking whether CURLOPT_BUFFERSIZE is declared... yes
- checking whether CURLOPT_NOSIGNAL is declared... yes
- checking whether CURLOPT_SHARE is declared... yes
- checking whether CURLOPT_PROXYTYPE is declared... yes
- checking whether CURLOPT_ENCODING is declared... yes
- checking whether CURLOPT_HTTP200ALIASES is declared... yes
- checking whether CURLOPT_UNRESTRICTED_AUTH is declared... yes
- checking whether CURLOPT_FTP_USE_EPRT is declared... yes
- checking whether CURLOPT_HTTPAUTH is declared... yes
- checking whether CURLOPT_FTP_CREATE_MISSING_DIRS is declared... yes
- checking whether CURLOPT_PROXYAUTH is declared... yes
- checking whether CURLOPT_FTP_RESPONSE_TIMEOUT is declared... yes
- checking whether CURLOPT_IPRESOLVE is declared... 
- yes
- checking whether CURLOPT_MAXFILESIZE is declared... yes
- checking whether CURLOPT_INFILESIZE_LARGE is declared... yes
- checking whether CURLOPT_RESUME_FROM_LARGE is declared... yes
- checking whether CURLOPT_MAXFILESIZE_LARGE is declared... yes
- checking whether CURLOPT_NETRC_FILE is declared... yes
- checking whether CURLOPT_FTP_SSL is declared... yes
- checking whether CURLOPT_POSTFIELDSIZE_LARGE is declared... yes
- checking whether CURLOPT_TCP_NODELAY is declared... yes
- checking whether CURLOPT_FTPSSLAUTH is declared... yes
- checking whether CURLOPT_IOCTLFUNCTION is declared... yes
- checking whether CURLOPT_FTP_ACCOUNT is declared... yes
- checking whether CURLOPT_COOKIELIST is declared... yes
- checking whether CURLOPT_IGNORE_CONTENT_LENGTH is declared... yes
- checking whether CURLOPT_FTP_SKIP_PASV_IP is declared... yes
- checking whether CURLOPT_FTP_FILEMETHOD is declared... yes
- checking whether CURLOPT_LOCALPORT is declared... yes
- checking whether CURLOPT_LOCALPORTRANGE is declared... yes
- checking whether CURLOPT_CONNECT_ONLY is declared... yes
- checking whether CURLOPT_MAX_SEND_SPEED_LARGE is declared... yes
- checking whether CURLOPT_MAX_RECV_SPEED_LARGE is declared... yes
- checking whether CURLOPT_FTP_ALTERNATIVE_TO_USER is declared... 
- yes
- checking whether CURLOPT_SSL_SESSIONID_CACHE is declared... yes
- checking whether CURLOPT_SSH_AUTH_TYPES is declared... yes
- checking whether CURLOPT_SSH_PUBLIC_KEYFILE is declared... yes
- checking whether CURLOPT_SSH_PRIVATE_KEYFILE is declared... yes
- checking whether CURLOPT_FTP_SSL_CCC is declared... yes
- checking whether CURLOPT_TIMEOUT_MS is declared... yes
- checking whether CURLOPT_CONNECTTIMEOUT_MS is declared... yes
- checking whether CURLOPT_HTTP_TRANSFER_DECODING is declared... yes
- checking whether CURLOPT_HTTP_CONTENT_DECODING is declared... yes
- checking whether CURLOPT_NEW_FILE_PERMS is declared... yes
- checking whether CURLOPT_NEW_DIRECTORY_PERMS is declared... yes
- checking whether CURLOPT_POST301 is declared... yes
- checking whether CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 is declared... yes
- checking whether CURLOPT_COPYPOSTFIELDS is declared... yes
- checking whether CURLOPT_PROXY_TRANSFER_MODE is declared... yes
- checking whether CURLOPT_SEEKFUNCTION is declared... yes
- checking whether CURLOPT_OPENSOCKETFUNCTION is declared... yes
- checking whether CURLOPT_PROTOCOLS is declared... yes
- checking whether CURLOPT_REDIR_PROTOCOLS is declared... yes
- checking whether CURLOPT_RESOLVE is declared... yes
- checking whether CURLOPT_DNS_SERVERS is declared... 
- yes
- checking whether CURLOPT_MAIL_FROM is declared... yes
- checking whether CURLOPT_MAIL_RCPT is declared... yes
- checking whether CURLOPT_PIPEWAIT is declared... yes
- checking whether CURLOPT_CERTINFO is declared... yes
- checking whether CURLOPT_USERNAME is declared... yes
- checking whether CURLOPT_PASSWORD is declared... yes
- checking whether CURLOPT_LOGIN_OPTIONS is declared... yes
- checking whether CURLOPT_CONNECT_TO is declared... yes
- checking whether CURLOPT_POSTREDIR is declared... yes
- checking whether CURLINFO_EFFECTIVE_URL is declared... yes
- checking whether CURLINFO_RESPONSE_CODE is declared... yes
- checking whether CURLINFO_TOTAL_TIME is declared... yes
- checking whether CURLINFO_NAMELOOKUP_TIME is declared... yes
- checking whether CURLINFO_CONNECT_TIME is declared... yes
- checking whether CURLINFO_PRETRANSFER_TIME is declared... yes
- checking whether CURLINFO_SIZE_UPLOAD is declared... yes
- checking whether CURLINFO_SIZE_DOWNLOAD is declared... yes
- checking whether CURLINFO_SPEED_DOWNLOAD is declared... yes
- checking whether CURLINFO_SPEED_UPLOAD is declared... yes
- checking whether CURLINFO_HEADER_SIZE is declared... yes
- checking whether CURLINFO_REQUEST_SIZE is declared... 
- yes
- checking whether CURLINFO_SSL_VERIFYRESULT is declared... yes
- checking whether CURLINFO_FILETIME is declared... yes
- checking whether CURLINFO_CONTENT_LENGTH_DOWNLOAD is declared... yes
- checking whether CURLINFO_CONTENT_LENGTH_UPLOAD is declared... yes
- checking whether CURLINFO_STARTTRANSFER_TIME is declared... yes
- checking whether CURLINFO_CONTENT_TYPE is declared... yes
- checking whether CURLINFO_REDIRECT_TIME is declared... yes
- checking whether CURLINFO_REDIRECT_COUNT is declared... yes
- checking whether CURLINFO_HTTP_CONNECTCODE is declared... yes
- checking whether CURLINFO_HTTPAUTH_AVAIL is declared... yes
- checking whether CURLINFO_PROXYAUTH_AVAIL is declared... yes
- checking whether CURLINFO_OS_ERRNO is declared... yes
- checking whether CURLINFO_NUM_CONNECTS is declared... yes
- checking whether CURLINFO_SSL_ENGINES is declared... yes
- checking whether CURLINFO_COOKIELIST is declared... yes
- checking whether CURLINFO_LASTSOCKET is declared... yes
- checking whether CURLINFO_FTP_ENTRY_PATH is declared... yes
- checking whether CURLINFO_REDIRECT_URL is declared... yes
- checking whether CURLINFO_PRIMARY_IP is declared... yes
- checking whether CURLINFO_LOCAL_IP is declared... yes
- checking whether CURLINFO_LOCAL_PORT is declared... 
- yes
- checking whether CURLINFO_CONDITION_UNMET is declared... yes
- checking whether CURLINFO_CERTINFO is declared... yes
- checking whether CURLE_UNSUPPORTED_PROTOCOL is declared... yes
- checking whether CURLE_FAILED_INIT is declared... yes
- checking whether CURLE_URL_MALFORMAT is declared... yes
- checking whether CURLE_URL_MALFORMAT_USER is declared... yes
- checking whether CURLE_COULDNT_RESOLVE_PROXY is declared... yes
- checking whether CURLE_COULDNT_RESOLVE_HOST is declared... yes
- checking whether CURLE_COULDNT_CONNECT is declared... yes
- checking whether CURLE_FTP_WEIRD_SERVER_REPLY is declared... yes
- checking whether CURLE_FTP_ACCESS_DENIED is declared... yes
- checking whether CURLE_FTP_USER_PASSWORD_INCORRECT is declared... yes
- checking whether CURLE_FTP_WEIRD_PASS_REPLY is declared... yes
- checking whether CURLE_FTP_WEIRD_USER_REPLY is declared... yes
- checking whether CURLE_FTP_WEIRD_PASV_REPLY is declared... yes
- checking whether CURLE_FTP_WEIRD_227_FORMAT is declared... yes
- checking whether CURLE_FTP_CANT_GET_HOST is declared... yes
- checking whether CURLE_FTP_CANT_RECONNECT is declared... yes
- checking whether CURLE_FTP_COULDNT_SET_BINARY is declared... yes
- checking whether CURLE_PARTIAL_FILE is declared... yes
- checking whether CURLE_FTP_COULDNT_RETR_FILE is declared... 
- yes
- checking whether CURLE_FTP_WRITE_ERROR is declared... yes
- checking whether CURLE_FTP_QUOTE_ERROR is declared... yes
- checking whether CURLE_HTTP_RETURNED_ERROR is declared... yes
- checking whether CURLE_WRITE_ERROR is declared... yes
- checking whether CURLE_MALFORMAT_USER is declared... yes
- checking whether CURLE_FTP_COULDNT_STOR_FILE is declared... yes
- checking whether CURLE_READ_ERROR is declared... yes
- checking whether CURLE_OUT_OF_MEMORY is declared... yes
- checking whether CURLE_OPERATION_TIMEOUTED is declared... yes
- checking whether CURLE_FTP_COULDNT_SET_ASCII is declared... yes
- checking whether CURLE_FTP_PORT_FAILED is declared... yes
- checking whether CURLE_FTP_COULDNT_USE_REST is declared... yes
- checking whether CURLE_FTP_COULDNT_GET_SIZE is declared... yes
- checking whether CURLE_HTTP_RANGE_ERROR is declared... yes
- checking whether CURLE_HTTP_POST_ERROR is declared... yes
- checking whether CURLE_SSL_CONNECT_ERROR is declared... yes
- checking whether CURLE_BAD_DOWNLOAD_RESUME is declared... yes
- checking whether CURLE_FILE_COULDNT_READ_FILE is declared... yes
- checking whether CURLE_LDAP_CANNOT_BIND is declared... yes
- checking whether CURLE_LDAP_SEARCH_FAILED is declared... yes
- checking whether CURLE_LIBRARY_NOT_FOUND is declared... yes
- checking whether CURLE_FUNCTION_NOT_FOUND is declared... yes
- checking whether CURLE_ABORTED_BY_CALLBACK is declared... yes
- checking whether CURLE_BAD_FUNCTION_ARGUMENT is declared... yes
- checking whether CURLE_BAD_CALLING_ORDER is declared... yes
- checking whether CURLE_INTERFACE_FAILED is declared... yes
- checking whether CURLE_BAD_PASSWORD_ENTERED is declared... yes
- checking whether CURLE_TOO_MANY_REDIRECTS is declared... yes
- checking whether CURLE_UNKNOWN_TELNET_OPTION is declared... yes
- checking whether CURLE_TELNET_OPTION_SYNTAX is declared... yes
- checking whether CURLE_SSL_PEER_CERTIFICATE is declared... yes
- checking whether CURLE_GOT_NOTHING is declared... yes
- checking whether CURLE_SSL_ENGINE_NOTFOUND is declared... yes
- checking whether CURLE_SSL_ENGINE_SETFAILED is declared... yes
- checking whether CURLE_SEND_ERROR is declared... yes
- checking whether CURLE_RECV_ERROR is declared... yes
- checking whether CURLE_SHARE_IN_USE is declared... yes
- checking whether CURLE_SSL_CERTPROBLEM is declared... yes
- checking whether CURLE_SSL_CIPHER is declared... yes
- checking whether CURLE_SSL_CACERT is declared... yes
- checking whether CURLE_BAD_CONTENT_ENCODING is declared... yes
- checking whether CURLE_LDAP_INVALID_URL is declared... yes
- checking whether CURLE_FILESIZE_EXCEEDED is declared... 
- yes
- checking whether CURLE_FTP_SSL_FAILED is declared... yes
- checking whether CURLE_SEND_FAIL_REWIND is declared... yes
- checking whether CURLE_SSL_ENGINE_INITFAILED is declared... yes
- checking whether CURLE_LOGIN_DENIED is declared... yes
- checking whether CURLE_TFTP_NOTFOUND is declared... yes
- checking whether CURLE_TFTP_PERM is declared... yes
- checking whether CURLE_REMOTE_DISK_FULL is declared... yes
- checking whether CURLE_TFTP_ILLEGAL is declared... yes
- checking whether CURLE_TFTP_UNKNOWNID is declared... yes
- checking whether CURLE_REMOTE_FILE_EXISTS is declared... yes
- checking whether CURLE_TFTP_NOSUCHUSER is declared... yes
- checking whether CURLE_CONV_FAILED is declared... yes
- checking whether CURLE_CONV_REQD is declared... yes
- checking whether CURLE_SSL_CACERT_BADFILE is declared... yes
- checking whether CURLE_REMOTE_FILE_NOT_FOUND is declared... yes
- checking whether CURLE_SSH is declared... yes
- checking whether CURLE_SSL_SHUTDOWN_FAILED is declared... yes
- checking whether CURLE_AGAIN is declared... yes
- checking whether CURLMOPT_MAXCONNECTS is declared... yes
- checking whether CURLMOPT_PIPELINING is declared... yes
- checking whether CURLMOPT_MAX_PIPELINE_LENGTH is declared... 
- yes
- checking whether CURLMOPT_MAX_HOST_CONNECTIONS is declared... yes
- checking whether CURL_VERSION_TLSAUTH_SRP is declared... yes
- checking whether CURL_VERSION_NTLM_WB is declared... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating examples/Makefile
- config.status: creating config.h
Processing  2/4: [ocurl: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1)
- make[1]: Entering directory '/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1'
- make[1]: Leaving directory '/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1'
- make[1]: Entering directory '/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1'
- ocamlc.opt -c -g -bin-annot curl.mli -o curl.cmi
- ocamlc.opt -c -g -bin-annot curl.ml -o curl.cmo
- ocamlc.opt -c -ccopt "-g -O2  -DHAVE_CONFIG_H -Wall -Wundef" curl-helper.c
- curl-helper.c: In function 'raiseError':
- curl-helper.c:650:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   650 |     exception = caml_named_value("CurlException");
-       |               ^
- curl-helper.c: In function 'removeConnection':
- curl-helper.c:745:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
-   745 |         curl_formfree(connection->httpPostFirst);
-       |         ^~~~~~~~~~~~~
- In file included from curl-helper.c:18:
- /usr/include/x86_64-linux-gnu/curl/curl.h:2611:1: note: declared here
-  2611 | curl_formfree(struct curl_httppost *form);
-       | ^~~~~~~~~~~~~
- In file included from curl-helper.c:24:
- curl-helper.c: In function 'handle_PROGRESSFUNCTION':
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:334:10: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations]
-   334 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:289:3: note: in expansion of macro 'CAMLxparam1'
-   289 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1180:5: note: in expansion of macro 'CAMLparam1'
-  1180 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1193:1: note: in expansion of macro 'SETOPT_FUNCTION'
-  1193 | SETOPT_FUNCTION( PROGRESS)
-       | ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1295:3: note: declared here
-  1295 |   CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_IOCTLFUNCTION':
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:334:10: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations]
-   334 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:289:3: note: in expansion of macro 'CAMLxparam1'
-   289 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1180:5: note: in expansion of macro 'CAMLparam1'
-  1180 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1201:1: note: in expansion of macro 'SETOPT_FUNCTION'
-  1201 | SETOPT_FUNCTION( IOCTL)
-       | ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1580:3: note: declared here
-  1580 |   CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130,
-       |   ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:334:10: warning: 'CURLOPT_IOCTLDATA' is deprecated: since 7.18.0. Use CURLOPT_SEEKDATA [-Wdeprecated-declarations]
-   334 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:289:3: note: in expansion of macro 'CAMLxparam1'
-   289 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1180:5: note: in expansion of macro 'CAMLparam1'
-  1180 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1201:1: note: in expansion of macro 'SETOPT_FUNCTION'
-  1201 | SETOPT_FUNCTION( IOCTL)
-       | ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1582:3: note: declared here
-  1582 |   CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_PUT':
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:334:10: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations]
-   334 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:289:3: note: in expansion of macro 'CAMLxparam1'
-   289 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1272:5: note: in expansion of macro 'CAMLparam1'
-  1272 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1283:32: note: in expansion of macro 'SETOPT_VAL_'
-  1283 | #define SETOPT_VAL(name, conv) SETOPT_VAL_(handle_##name, CURLOPT_##name, conv)
-       |                                ^~~~~~~~~~~
- curl-helper.c:1284:27: note: in expansion of macro 'SETOPT_VAL'
-  1284 | #define SETOPT_BOOL(name) SETOPT_VAL(name, Bool_val)
-       |                           ^~~~~~~~~~
- curl-helper.c:1397:1: note: in expansion of macro 'SETOPT_BOOL'
-  1397 | SETOPT_BOOL( PUT)
-       | ^~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1286:3: note: declared here
-  1286 |   CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_HTTPPOST':
- curl-helper.c:1471:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
-  1471 |         curl_formfree(conn->httpPostFirst);
-       |         ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2611:1: note: declared here
-  2611 | curl_formfree(struct curl_httppost *form);
-       | ^~~~~~~~~~~~~
- curl-helper.c:1492:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1492 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1494:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1494 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1496:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1496 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1498:30: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1498 |                              CURLFORM_COPYCONTENTS,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2503:3: note: declared here
-  2503 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1500:30: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1500 |                              CURLFORM_CONTENTSLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2505:3: note: declared here
-  2505 |   CURLFORM_CONTENTSLENGTH  CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1508:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1508 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1510:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1510 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1512:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1512 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1514:30: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1514 |                              CURLFORM_COPYCONTENTS,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2503:3: note: declared here
-  2503 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1516:30: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1516 |                              CURLFORM_CONTENTSLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2505:3: note: declared here
-  2505 |   CURLFORM_CONTENTSLENGTH  CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1518:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  1518 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1537:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1537 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1539:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1539 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1541:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1541 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1543:30: warning: 'CURLFORM_FILECONTENT' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations]
-  1543 |                              CURLFORM_FILECONTENT,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2506:3: note: declared here
-  2506 |   CURLFORM_FILECONTENT     CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1551:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1551 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1553:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1553 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1555:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1555 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1557:30: warning: 'CURLFORM_FILECONTENT' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations]
-  1557 |                              CURLFORM_FILECONTENT,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2506:3: note: declared here
-  2506 |   CURLFORM_FILECONTENT     CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1559:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  1559 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1578:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1578 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1580:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1580 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1582:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1582 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1584:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
-  1584 |                              CURLFORM_FILE,
-       |                              ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2509:3: note: declared here
-  2509 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
-       |   ^~~~~~~~~~~~~
- curl-helper.c:1592:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1592 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1594:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1594 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1596:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1596 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1598:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
-  1598 |                              CURLFORM_FILE,
-       |                              ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2509:3: note: declared here
-  2509 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
-       |   ^~~~~~~~~~~~~
- curl-helper.c:1600:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  1600 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1621:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1621 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1623:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1623 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1625:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1625 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1627:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations]
-  1627 |                              CURLFORM_BUFFER,
-       |                              ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2511:3: note: declared here
-  2511 |   CURLFORM_BUFFER          CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
-       |   ^~~~~~~~~~~~~~~
- curl-helper.c:1629:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1629 |                              CURLFORM_BUFFERPTR,
-       |                              ^~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2512:3: note: declared here
-  2512 |   CURLFORM_BUFFERPTR       CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~
- curl-helper.c:1631:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1631 |                              CURLFORM_BUFFERLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2513:3: note: declared here
-  2513 |   CURLFORM_BUFFERLENGTH    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1641:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
-  1641 |                 curl_formadd(&conn->httpPostFirst,
-       |                 ^~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
-  2575 | curl_formadd(struct curl_httppost **httppost,
-       | ^~~~~~~~~~~~
- curl-helper.c:1643:30: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
-  1643 |                              CURLFORM_COPYNAME,
-       |                              ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
-  2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c:1645:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0.  [-Wdeprecated-declarations]
-  1645 |                              CURLFORM_NAMELENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here
-  2502 |   CURLFORM_NAMELENGTH      CURL_DEPRECATED(7.56.0, ""),
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c:1647:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations]
-  1647 |                              CURLFORM_BUFFER,
-       |                              ^~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2511:3: note: declared here
-  2511 |   CURLFORM_BUFFER          CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
-       |   ^~~~~~~~~~~~~~~
- curl-helper.c:1649:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1649 |                              CURLFORM_BUFFERPTR,
-       |                              ^~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2512:3: note: declared here
-  2512 |   CURLFORM_BUFFERPTR       CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~
- curl-helper.c:1651:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
-  1651 |                              CURLFORM_BUFFERLENGTH,
-       |                              ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2513:3: note: declared here
-  2513 |   CURLFORM_BUFFERLENGTH    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1653:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
-  1653 |                              CURLFORM_CONTENTTYPE,
-       |                              ^~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
-  2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:1667:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
-  1667 |     result = curl_easy_setopt(conn->handle,
-       |     ^~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1195:3: note: declared here
-  1195 |   CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_RANDOM_FILE':
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:334:10: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations]
-   334 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:289:3: note: in expansion of macro 'CAMLxparam1'
-   289 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1256:5: note: in expansion of macro 'CAMLparam1'
-  1256 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1856:1: note: in expansion of macro 'SETOPT_STRING'
-  1856 | SETOPT_STRING( RANDOM_FILE)
-       | ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1364:3: note: declared here
-  1364 |   CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_EGDSOCKET':
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:334:10: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations]
-   334 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:289:3: note: in expansion of macro 'CAMLxparam1'
-   289 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1256:5: note: in expansion of macro 'CAMLparam1'
-  1256 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1857:1: note: in expansion of macro 'SETOPT_STRING'
-  1857 | SETOPT_STRING( EGDSOCKET)
-       | ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1368:3: note: declared here
-  1368 |   CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_DNS_USE_GLOBAL_CACHE':
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:334:10: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations]
-   334 |   struct caml__roots_block caml__roots_##x; \
-       |          ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.09/lib/ocaml/caml/memory.h:289:3: note: in expansion of macro 'CAMLxparam1'
-   289 |   CAMLxparam1 (x)
-       |   ^~~~~~~~~~~
- curl-helper.c:1272:5: note: in expansion of macro 'CAMLparam1'
-  1272 |     CAMLparam1(option); \
-       |     ^~~~~~~~~~
- curl-helper.c:1283:32: note: in expansion of macro 'SETOPT_VAL_'
-  1283 | #define SETOPT_VAL(name, conv) SETOPT_VAL_(handle_##name, CURLOPT_##name, conv)
-       |                                ^~~~~~~~~~~
- curl-helper.c:1284:27: note: in expansion of macro 'SETOPT_VAL'
-  1284 | #define SETOPT_BOOL(name) SETOPT_VAL(name, Bool_val)
-       |                           ^~~~~~~~~~
- curl-helper.c:1930:1: note: in expansion of macro 'SETOPT_BOOL'
-  1930 | SETOPT_BOOL( DNS_USE_GLOBAL_CACHE)
-       | ^~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1424:3: note: declared here
-  1424 |   CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_PROTOCOLS':
- curl-helper.c:2580:3: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations]
-  2580 |   handle_PROTOCOLSOPTION(CURLOPT_PROTOCOLS, conn, option);
-       |   ^~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1749:3: note: declared here
-  1749 |   CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'handle_REDIR_PROTOCOLS':
- curl-helper.c:2587:3: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations]
-  2587 |   handle_PROTOCOLSOPTION(CURLOPT_REDIR_PROTOCOLS, conn, option);
-       |   ^~~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1755:3: note: declared here
-  1755 |   CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182,
-       |   ^~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'caml_curl_easy_setopt':
- curl-helper.c:3120:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  3120 |           exception = caml_named_value("Curl.NotImplemented");
-       |                     ^
- curl-helper.c: In function 'caml_curl_easy_getinfo':
- curl-helper.c:3326:9: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations]
-  3326 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2838:3: note: declared here
-  2838 |   CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T")
-       |   ^~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3336:9: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations]
-  3336 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2841:3: note: declared here
-  2841 |   CURLINFO_SIZE_DOWNLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3346:9: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations]
-  3346 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2845:3: note: declared here
-  2845 |   CURLINFO_SPEED_DOWNLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3356:9: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations]
-  3356 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2849:3: note: declared here
-  2849 |   CURLINFO_SPEED_UPLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3409:9: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations]
-  3409 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2858:3: note: declared here
-  2858 |   CURLINFO_CONTENT_LENGTH_DOWNLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3419:9: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations]
-  3419 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2863:3: note: declared here
-  2863 |   CURLINFO_CONTENT_LENGTH_UPLOAD
-       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- curl-helper.c:3546:9: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations]
-  3546 |         curlResult = curl_easy_getinfo(connection->handle,
-       |         ^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2880:3: note: declared here
-  2880 |   CURLINFO_LASTSOCKET  CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET")
-       |   ^~~~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'raise_multi_error':
- curl-helper.c:4103:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  4103 |     exception = caml_named_value("Curl.Multi.Error");
-       |               ^
- curl-helper.c: In function 'caml_curl_multi_socket_all':
- curl-helper.c:4179:5: warning: 'curl_multi_socket_all' is deprecated: since 7.19.5. Use curl_multi_socket_action() [-Wdeprecated-declarations]
-  4179 |     rc = curl_multi_socket_all(h, &still_running);
-       |     ^~
- In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3191:
- /usr/include/x86_64-linux-gnu/curl/multi.h:330:1: note: declared here
-   330 | curl_multi_socket_all(CURLM *multi_handle, int *running_handles);
-       | ^~~~~~~~~~~~~~~~~~~~~
- curl-helper.c: In function 'caml_curl_multi_setopt':
- curl-helper.c:4373:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  4373 |           exception = caml_named_value("Curl.NotImplemented");
-       |                     ^
- ocamlmklib -oc curl-helper curl-helper.o -lcurl
- ocamlmklib -o curl curl.cmo -oc curl-helper -lcurl
- make[1]: 'libcurl-helper.a' is up to date.
- make[1]: 'dllcurl-helper.so' is up to date.
- ocamlopt.opt -c -g -bin-annot curl.ml -o curl.cmx
- ocamlmklib -o curl curl.cmx -oc curl-helper -lcurl
- make[1]: 'curl.cmx' is up to date.
- ocamlopt.opt -shared -linkall -I . curl.cmxa -o curl.cmxs
- make[1]: Leaving directory '/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1'
Processing  2/4: [ocurl: make test]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "test" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1)
- (cd examples; make)
- make[1]: Entering directory '/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1/examples'
- ocamlc.opt -thread -c -g -I .. ocurl.ml -o ocurl.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ocurl.cmo -o ocurl
- ocamlc.opt -thread -c -g -I .. ominimal.ml -o ominimal.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ominimal.cmo -o ominimal
- ocamlc.opt -thread -c -g -I .. ossl.ml -o ossl.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ossl.cmo -o ossl
- ocamlc.opt -thread -c -g -I .. ocurl_test_threads.ml -o ocurl_test_threads.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma ocurl_test_threads.cmo -o ocurl_test_threads
- ocamlc.opt -thread -c -g -I .. opar.ml -o opar.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma opar.cmo -o opar
- ocamlc.opt -thread -c -g -I .. test_cb_exn.ml -o test_cb_exn.cmo
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma test_cb_exn.cmo -o test_cb_exn
- ocamlc.opt -thread -c -g -I .. test_memory_leaks.ml -o test_memory_leaks.cmo
- File "test_memory_leaks.ml", line 19, characters 12-24:
- 19 |     let n = Scanf.fscanf ch "%_d %d" (fun x -> 4*1024*x) in close_in_noerr ch; n
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Scanf.fscanf
- Use Scanning.from_channel then Scanf.bscanf.
- ocamlc.opt -thread -custom -g -I .. -ccopt -L.. curl.cma unix.cma threads.cma test_memory_leaks.cmo -o test_memory_leaks
- ocamlfind c -custom -package bytes,unix -linkpkg -g -I .. -ccopt -L.. ../curl.cma oput.ml -o oput
- ocamlopt.opt -thread -c -g -I .. ocurl.ml -o ocurl.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ocurl.cmx -o ocurl.opt
- ocamlopt.opt -thread -c -g -I .. ominimal.ml -o ominimal.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ominimal.cmx -o ominimal.opt
- ocamlopt.opt -thread -c -g -I .. ossl.ml -o ossl.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ossl.cmx -o ossl.opt
- ocamlopt.opt -thread -c -g -I .. ocurl_test_threads.ml -o ocurl_test_threads.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa ocurl_test_threads.cmx -o ocurl_test_threads.opt
- ocamlopt.opt -thread -c -g -I .. opar.ml -o opar.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa opar.cmx -o opar.opt
- ocamlopt.opt -thread -c -g -I .. test_cb_exn.ml -o test_cb_exn.cmx
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa test_cb_exn.cmx -o test_cb_exn.opt
- ocamlopt.opt -thread -c -g -I .. test_memory_leaks.ml -o test_memory_leaks.cmx
- File "test_memory_leaks.ml", line 19, characters 12-24:
- 19 |     let n = Scanf.fscanf ch "%_d %d" (fun x -> 4*1024*x) in close_in_noerr ch; n
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Scanf.fscanf
- Use Scanning.from_channel then Scanf.bscanf.
- ocamlopt.opt -thread -g -I .. -ccopt -L.. curl.cmxa unix.cmxa threads.cmxa test_memory_leaks.cmx -o test_memory_leaks.opt
- ocamlfind opt -package bytes,unix -linkpkg -g -I .. -ccopt -L.. ../curl.cmxa oput.ml -o oput.opt
- make[1]: Leaving directory '/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1/examples'
- examples/test_cb_exn
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- examples/test_memory_leaks
- RSS 6291456 -> 12582912 OK
- examples/test_cb_exn.opt
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- E: wrong error: CURLE_COULDNT_RESOLVE_HOST Couldn't resolve host name : Could not resolve host: google.com
- examples/test_memory_leaks.opt
- RSS 6291456 -> 12558336 OK
-> compiled  ocurl.0.8.1
Processing  3/4: [ocurl: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "curl"
- Removed /home/opam/.opam/4.09/lib/curl/META
- Removed /home/opam/.opam/4.09/lib/stublibs/dllcurl-helper.so
- Removed /home/opam/.opam/4.09/lib/stublibs/dllcurl-helper.so.owner
- Removed /home/opam/.opam/4.09/lib/curl
-> removed   ocurl.0.8.1
Processing  4/4: [ocurl: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ocurl.0.8.1)
- ocamlfind install -patch-version 0.8.1 -ldconf ignore curl META curl.a curl.cmi curl.mli curl.cma libcurl-helper.a dllcurl-helper.so curl.cmxa curl.cmx curl.cmxs curl.cmt curl.cmti
- Installed /home/opam/.opam/4.09/lib/curl/curl.cmti
- Installed /home/opam/.opam/4.09/lib/curl/curl.cmt
- Installed /home/opam/.opam/4.09/lib/curl/curl.cmxs
- Installed /home/opam/.opam/4.09/lib/curl/curl.cmx
- Installed /home/opam/.opam/4.09/lib/curl/curl.cmxa
- Installed /home/opam/.opam/4.09/lib/curl/libcurl-helper.a
- Installed /home/opam/.opam/4.09/lib/curl/curl.cma
- Installed /home/opam/.opam/4.09/lib/curl/curl.mli
- Installed /home/opam/.opam/4.09/lib/curl/curl.cmi
- Installed /home/opam/.opam/4.09/lib/curl/curl.a
- Installed /home/opam/.opam/4.09/lib/stublibs/dllcurl-helper.so
- Installed /home/opam/.opam/4.09/lib/stublibs/dllcurl-helper.so.owner
- Installed /home/opam/.opam/4.09/lib/curl/META
-> installed ocurl.0.8.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:16.43 ---> saved as "7a504d12b6f7f772e2416e8dbee880137dd185fd475d71b39ea049b1466bdf0b"
Job succeeded
2025-08-21 14:16.47: Job succeeded