Organisationsygrekocurld9dd5b ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-01-26 20:21.27: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (d9dd5bedfadbcbee12811f7f199534ecbbc818be) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard d9dd5bed
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
# debian-12-4.03_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 1e56c57bfb4ba17807a231c7a4f9ef818851e905 || git fetch origin master) && git reset -q --hard 1e56c57bfb4ba17807a231c7a4f9ef818851e905 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocurl.opam curl_lwt.opam curl.opam ./
RUN opam pin add -yn ocurl.dev './' && \
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-threads.base base-unix.base camlp4.4.03+1 conf-libcurl.1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-which.1 dune.2.8.0 lwt.2.4.5 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev 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-01-26 20:21.27: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806-debian-12-4.03_opam-2.3-3c6473bae66c0fd2d0d34a31e4dacfb0"
2025-01-26 20:21.27: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806)
(comment debian-12-4.03_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 1e56c57bfb4ba17807a231c7a4f9ef818851e905 || git fetch origin master) && git reset -q --hard 1e56c57bfb4ba17807a231c7a4f9ef818851e905 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ocurl.dev './' && \
\nopam 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-threads.base base-unix.base camlp4.4.03+1 conf-libcurl.1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-which.1 dune.2.8.0 lwt.2.4.5 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1")
(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 ocurl.dev 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-01-26 20:21.27: Waiting for resource in pool OCluster
2025-01-26 20:21.27: Waiting for worker…
2025-01-26 20:21.28: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at d9dd5be Implement CURLOPT_CLOSESOCKETFUNCTION


(from ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806)
2025-01-26 20:21.29 ---> using "1a689143ea134c88ba740cf6c4224b335a7ad49d5eed0cadfda0a4734062da5c" from cache


/: (comment debian-12-4.03_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-01-26 20:21.29 ---> using "244257d51b21c22015df2b8c08522ed5721d4bd167a931d64056e9bb69ccdcef" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-26 20:21.29 ---> using "26e94915a71056f9e5be76b0a495ac37f1196ee2cfc52de02eb8a8480851882c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.03.0
2.3.0
2025-01-26 20:21.29 ---> using "2295af233e6f34663bf3970d0072ec36a300b321367d34af7e4a7208b655bfb9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-26 20:21.29 ---> using "84cc0cadecff1b9cbb5019958f736bc4cb93425c78fe9af2cfb6e48a94a6e846" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1e56c57bfb4ba17807a231c7a4f9ef818851e905 || git fetch origin master) && git reset -q --hard 1e56c57bfb4ba17807a231c7a4f9ef818851e905 && git log --no-decorate -n1 --oneline && opam update -u"))
1e56c57bfb Merge pull request #26815 from mtelvers/ncurses


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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-01-26 20:21.29 ---> using "590a0de43491641fa6a76e0e4ba9de0e15555490f184ebb8c0c0591c0eeb8104" from cache


/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-01-26 20:21.29 ---> using "633ead716bc6cf4c8388f54e96e1b0acc000abee47da97ad3aa6bb09172b5904" from cache


/src: (run (network host)
(shell  "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
[ocurl.dev] synchronised (file:///src)
ocurl is now pinned to file:///src (version dev)
Package curl_lwt does not exist, create as a NEW package? [y/n] y
[curl_lwt.dev] synchronised (file:///src)
curl_lwt is now pinned to file:///src (version dev)
Package curl does not exist, create as a NEW package? [y/n] y
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2025-01-26 20:21.29 ---> using "4bc83e896b15a48a7c9bf3eb825fd58689349733224d122d6adb916f040bc9d0" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-26 20:21.29 ---> using "ca7e13d1e81f519eb8c4425184b2d280c97c15a467c1c8efb469349b6b973cc0" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base camlp4.4.03+1 conf-libcurl.1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-which.1 dune.2.8.0 lwt.2.4.5 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1")


/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 ocurl.dev 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 [242 kB]
- Fetched 345 kB in 0s (992 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (file:///src)
[curl_lwt.dev] synchronised (file:///src)
[ocurl.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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 ncurses-dev pkg-config


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev" "m4" "ncurses-dev" "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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../0-libcurl4-gnutls-dev_7.88.1-10+deb12u8_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u8) ...
- Selecting previously unselected package libncurses6:amd64.
- Preparing to unpack .../1-libncurses6_6.4-4_amd64.deb ...
- Unpacking libncurses6:amd64 (6.4-4) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../2-libncurses-dev_6.4-4_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.4-4) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../4-m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-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+deb12u8) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libncurses6:amd64 (6.4-4) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libncurses-dev:amd64 (6.4-4) ...
- 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+deb12u9) ...
2025-01-26 20:21.29 ---> using "6e08c743569213609dda81d101267fcefbd7cded1d534b12abe43fd5557ee75e" from cache


/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 11 packages
- install   camlp4                   4.03+1
- install   conf-libcurl             1
- install   conf-m4                  1
- install   conf-ncurses             1
- install   conf-pkg-config          1.0
- install   conf-which               1
- install   dune                     2.8.0
- install   lwt                      2.4.5
- install   ocamlbuild               0.9.1
- install   ocamlfind                1.8.1
- install   ocamlfind-secondary      1.8.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.0
-> installed conf-m4.1
-> retrieved lwt.2.4.5  (cached)
-> retrieved camlp4.4.03+1  (cached)
-> installed conf-which.1
-> installed conf-libcurl.1
-> installed conf-ncurses.1
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved dune.2.8.0  (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1  (cached)
-> installed ocamlbuild.0.9.1
-> installed ocamlfind.1.8.1
-> installed camlp4.4.03+1
-> installed lwt.2.4.5
-> removed   ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-26 20:21.29 ---> using "2746244320ab8d9281a8854b0dc8cf105f7e9764de0290d70eb67dbfbdeaabec" from cache


/src: (copy (src .) (dst /src))
2025-01-26 20:21.29 ---> saved as "6436b371e9772b02319eb962030362906be6c99ffcf36203e9cc4af763d8daee"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 1, characters 11-14:
1 | (lang dune 3.0)
^^^
Error: Version 3.0 of the dune language is not supported.
Supported versions of this extension in version 3.0 of the dune language:
- 1.0 to 1.12
- 2.0 to 2.8
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-01-26 20:21.29: Job failed: Failed: Build failed