Organisationsygrekocurlf31cdb (remove-ocurl)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-06-26 08:05.52: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/remove-ocurl (f31cdb042a734e243a68cf4cb994a020a3119fb1) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
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:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
# debian-12-4.11_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 eb1c31096c67d2f03b97ad71332ed5f2fc15f762 || git fetch origin master) && git reset -q --hard eb1c31096c67d2f03b97ad71332ed5f2fc15f762 && 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.1 conf-m4.1 conf-pkg-config.1.0 cppo.1.6.1 csexp.1.5.1 dune.3.12.1 dune-configurator.3.18.2 jbuilder.1.0+beta20.1 lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlfind.1.8.1 result.1.5 seq.0.3"
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-06-26 08:05.52: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4-debian-12-4.11_opam-2.3-f1bfb7c824977a9e07c2ad2f38c3d878"
2025-06-26 08:05.52: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4)
(comment debian-12-4.11_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 eb1c31096c67d2f03b97ad71332ed5f2fc15f762 || git fetch origin master) && git reset -q --hard eb1c31096c67d2f03b97ad71332ed5f2fc15f762 && 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.1 conf-m4.1 conf-pkg-config.1.0 cppo.1.6.1 csexp.1.5.1 dune.3.12.1 dune-configurator.3.18.2 jbuilder.1.0+beta20.1 lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlfind.1.8.1 result.1.5 seq.0.3")
(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-06-26 08:05.52: Waiting for resource in pool OCluster
2025-06-26 08:23.44: Waiting for worker…
2025-06-26 08:27.56: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at f31cdb0 Remove the ocurl package definition


(from ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4)
2025-06-26 08:28.50 ---> saved as "e6c058c747c2299c436bd88f68a27d5eb7648c2beb994ce56ec1e23a7fa3344f"


/: (comment debian-12-4.11_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-26 08:28.50 ---> saved as "f9e56d7c98fc281dfa36178e471c2c2fe7faa703b56b0c725fddfa7ffe2a90e3"


/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
[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-06-26 08:29.15 ---> saved as "db457c39dea794696525089a7e414c9d0f740c1cc332859594c0fbf073f6028a"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.11.2
2.3.0
2025-06-26 08:29.15 ---> saved as "82a727c63447dacebb33da98a89c439a755b0421b9c2e18520c1ade9fc4757bb"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-26 08:29.15 ---> saved as "22f54e858b19279035672d57e8e6438034ca4a55bb9ad8d10e46753f9c4229d4"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e eb1c31096c67d2f03b97ad71332ed5f2fc15f762 || git fetch origin master) && git reset -q --hard eb1c31096c67d2f03b97ad71332ed5f2fc15f762 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
c7269f729a..eb1c31096c  master     -> origin/master
eb1c31096c Merge pull request #28091 from ocaml/mseri-patch-2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, 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-06-26 08:29.49 ---> saved as "80169a13cca4311dfb92dae8b70fa5c6cf93a82e8c0693bcaa7369b9d6a725dc"


/src: (copy (src curl_lwt.opam curl.opam) (dst ./))
2025-06-26 08:29.49 ---> saved as "650d189d721fd2d4d06b9762945a20e5c7155c4be2387cb8ca7a98535b635391"


/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-06-26 08:29.52 ---> saved as "4b95a997b48241a8077c717b7628df5214bb35039d3c6889408bddb3bd1ca8c3"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-26 08:29.52 ---> saved as "056a96d852b44e5b19b8ef6666395cf69cb53f892879b8e209e455261d4436ba"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.1 conf-m4.1 conf-pkg-config.1.0 cppo.1.6.1 csexp.1.5.1 dune.3.12.1 dune-configurator.3.18.2 jbuilder.1.0+beta20.1 lwt.4.2.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlfind.1.8.1 result.1.5 seq.0.3")


/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/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 [269 kB]
- Fetched 372 kB in 0s (1139 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (file:///src)
[curl_lwt.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


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


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev" "m4" "pkg-config"
- 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 .../0-libcurl4-gnutls-dev_7.88.1-10+deb12u12_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../1-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../2-m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up m4 (1.4.19-3) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-06-26 08:30.01 ---> saved as "e005c0e9f1286438b2aa4b8702cf1679af42ddc60063954d8128b4543f97144a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 14 packages
- install base-bytes        base
- install conf-libcurl      1
- install conf-m4           1
- install conf-pkg-config   1.0
- install cppo              1.6.1
- install csexp             1.5.1
- install dune              3.12.1
- install dune-configurator 3.18.2
- install jbuilder          1.0+beta20.1 (deprecated)
- install lwt               4.2.0
- install mmap              1.0.2
- install ocamlfind         1.8.1
- install result            1.5
- install seq               0.3


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> retrieved csexp.1.5.1  (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> installed conf-libcurl.1
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved lwt.4.2.0  (cached)
-> retrieved mmap.1.0.2  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved dune.3.12.1  (cached)
-> retrieved dune-configurator.3.18.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3  (cached)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed dune.3.12.1
-> installed seq.0.3
-> installed csexp.1.5.1
-> installed mmap.1.0.2
-> installed result.1.5
-> installed dune-configurator.3.18.2
-> installed lwt.4.2.0
Done.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-06-26 08:30.30 ---> saved as "2cc8c41aeba31b288789634e6859ba138a53f3b30aabc7a3103d4a70bc9317e2"


/src: (copy (src .) (dst /src))
2025-06-26 08:30.30 ---> saved as "af35747f8129dbdaa5589639b4d0faa2de68333af0a1a2427b6de7bf95ce39a3"


/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.11/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 getContent.
(cd _build/default && /home/opam/.opam/4.11/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.11/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 show_progress.
(cd _build/default && /usr/bin/gcc -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -Wall -Wno-deprecated-declarations -I/usr/include/x86_64-linux-gnu -g -I /home/opam/.opam/4.11/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.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | 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.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/examples && ./test_memory_leaks.exe)
RSS 6291456 -> 11718656 OK
RSS 11718656 -> 13815808 OK
RSS 13815808 -> 13815808 OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-26 08:30.34: Job failed: Failed: Build failed