Organisationsygrekocurlfb8bbb ()alpine-3.21-5.3_opam-2.3

alpine-3.21-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:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
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:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
# alpine-3.21-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:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43-alpine-3.21-5.3_opam-2.3-fba195880e992fad4d205aee7a6dd11d"
2025-01-10 13:19.50: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
 (comment alpine-3.21-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:59.03: Waiting for worker…
2025-01-10 14:05.04: 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:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
2025-01-10 14:05.04 ---> using "6a093706e05c0e53555e9244d46f7209a1fc612c26c390c11f484f242340b7cc" from cache

/: (comment alpine-3.21-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 "47e2cd9455944f816144a39e11a1b407a2c678674ac47b3a54baf41d5c87bbb6" from cache

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

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

Continue? [y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-10 14:05.04 ---> using "05823c35ec1905ed8e3c1eba252d0c71d26c74dfeaca45ec163adeb413086403" 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 "be40361a26aa90a3ae3280f9b87ab6ad1b9428a5e8cf8827e8aa63325b49635f" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-10 14:05.04 ---> using "15fd2c878f779a79d4269fac9181a0eab2a1cfd97f0dab23438ac7ce787314aa" 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 "5f4d1c1d6d6aac1416a58154094b2b85a1a61c3249edbfd72a53f1adb54a6745" from cache

/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-01-10 14:05.04 ---> using "758947f811554ad2f44cd69848e47fe3db4f0de644a5f3bf5fb8ba648cdea4cb" 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 "7481233c648c1cf0408d4af6e7a13ed25cd7d23d3931962ecac95cf8bf39689d" 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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.2-31-g863f85b0320 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-36-g02c01ec7bc6 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-103-g0f1ecbb8c97 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-130-g11e35588c91 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-130-g11e35588c91 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55044 distinct packages available

<><> 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:
    curl-dev

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

+ /usr/bin/sudo "apk" "add" "curl-dev"
- (1/11) Installing brotli (1.1.0-r2)
- (2/11) Installing brotli-dev (1.1.0-r2)
- (3/11) Installing c-ares-dev (1.34.3-r0)
- (4/11) Installing libidn2-dev (2.3.7-r0)
- (5/11) Installing libpsl-utils (0.21.5-r3)
- (6/11) Installing libpsl-dev (0.21.5-r3)
- (7/11) Installing nghttp2-dev (1.64.0-r0)
- (8/11) Installing openssl-dev (3.3.2-r4)
- (9/11) Installing zlib-dev (1.3.1-r2)
- (10/11) Installing zstd-dev (1.5.6-r2)
- (11/11) Installing curl-dev (8.11.1-r0)
- Executing busybox-1.37.0-r9.trigger
- OK: 311 MiB in 113 packages
2025-01-10 14:05.04 ---> using "d6d8658427fbd45531f2ce295adee8cfc1d82fe2841b5def25897a1fc6a83f9c" 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.40 ---> saved as "3ecfce8de64a0f653b7eadab19903f5cf7b8afa2ddf205368c247804c45f18b8"

/src: (copy (src .) (dst /src))
2025-01-10 14:05.40 ---> saved as "8a0da37e318c3885a1a76c36086726046055e0e115a285c632ce1c2371c804d7"

/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.41: Job failed: Failed: Build failed