Organisationsygrekocurlfb8bbb ()debian-12-5.3_opam-2.3

debian-12-5.3_opam-2.3

Logs

Show full logs
2025-01-10 13:19.50: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (fb8bbb57667a16573446a17c2379ee8dbffb1b6d) (linux-x86_64:debian-12-5.3_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard fb8bbb57
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14
# debian-12-5.3_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 a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && 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 './'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 lwt.5.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2"
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-10 13:19.50: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14-debian-12-5.3_opam-2.3-fba195880e992fad4d205aee7a6dd11d"
2025-01-10 13:19.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14)
 (comment debian-12-5.3_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 a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && 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 './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 lwt.5.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y 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-10 13:19.50: Waiting for resource in pool OCluster
2025-01-10 13:58.59: Waiting for worker…
2025-01-10 14:05.03: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at fb8bbb5 undef more TCP_ symbols

(from ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14' locally
docker.io/ocaml/opam@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14: Pulling from ocaml/opam
cf97b94f459b: Pulling fs layer
cf97b94f459b: Waiting
cf97b94f459b: Verifying Checksum
cf97b94f459b: Download complete
cf97b94f459b: Pull complete
Digest: sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14
Status: Downloaded newer image for ocaml/opam@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14
2025-01-10 14:05.04 ---> using "76cb069d266c7e5611900f60c6d821d76d2aab80f5760e5b9cd16d837b1967b1" from cache

/: (comment debian-12-5.3_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-10 14:05.04 ---> using "a0c63afe763ab57935d11eafffd0f005428a3764385787c0d816a7bf0d8bd726" 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-10 14:05.04 ---> using "29ab64dac66fb19adbc40f25cc74847d2043d14827785a92c96c320a3109f12a" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-10 14:05.04 ---> using "4f95fcd40063d3092a53b65b867f5adfc8292ed09990629012a90e93f4ea025f" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-10 14:05.04 ---> using "344219f05a2804d1b16bb9c94cd6b79e1be2c5901a0eb04b8e384b20dd3c6c1e" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a78e724dc54989d1f496005039fd06298c63484a || git fetch origin master) && git reset -q --hard a78e724dc54989d1f496005039fd06298c63484a && git log --no-decorate -n1 --oneline && opam update -u"))
a78e724dc5 Merge pull request #27231 from Octachron/OCaml_5.3.0

<><> 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-10 14:05.04 ---> using "440dae6fe3e32cb6366fa1483a8fad60cdec093c97b825bf9ec62fdb451c5d8a" from cache

/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-01-10 14:05.04 ---> using "d89cb61210505c341d53485d0b2b4652660f43e3a6eea6984959bef0c2582b5a" 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-10 14:05.04 ---> using "998b77dffef084b75fea81b665ea53c74fecef42d8239a8ccef805fde4410aca" from cache

/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 lwt.5.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y 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]
- Fetched 103 kB in 0s (376 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (no changes)
[curl_lwt.dev] synchronised (no changes)
[ocurl.dev] synchronised (no changes)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

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

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

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18776 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u8_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u8) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u8) ...
2025-01-10 14:05.04 ---> using "589fd22578eb6ebc30f059631a8744e1a1a05a87a27144eb8e1109e47fee3e81" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 9 packages
  - install base-bytes        base
  - install conf-libcurl      2
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install dune              3.17.1
  - install dune-configurator 3.17.1
  - install lwt               5.9.0
  - install ocamlfind         1.9.6
  - install ocplib-endian     1.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> retrieved lwt.5.9.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.17.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.1
-> installed lwt.5.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-10 14:05.29 ---> saved as "8383342b2b6ae8b6669ff94b545d975475651abd9caee828900536826ad425f0"

/src: (copy (src .) (dst /src))
2025-01-10 14:05.29 ---> saved as "c38852560ed0fe9dcd1ef74203e4d9f04d0670423f10e0540a6c20aba28c1a39"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
Error: I cannot find the root of the current workspace/project.
If you would like to create a new dune project, you can type:

    dune init project NAME

Otherwise, please make sure to run dune inside an existing project or
workspace. For more information about how dune identifies the root of the
current workspace/project, please refer to
https://dune.readthedocs.io/en/stable/usage.html#finding-the-root
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-01-10 14:05.31: Job failed: Failed: Build failed