Organisationsygrekocurle93e38 ()debian-12-4.04_opam-2.3

debian-12-4.04_opam-2.3

Logs

Show full logs
2025-02-01 20:42.32: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/pull/88/head (e93e384c741ef09148749bbb8dea5473baa1612a) (linux-x86_64:debian-12-4.04_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:5619bfa8ca2dc5c154b613a8dbcdfd6ed5294a335bdac88ca1a99994c7ae13f1
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/ocurl.git" && cd "ocurl" && git fetch origin "refs/pull/88/head" && git reset --hard e93e384c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:5619bfa8ca2dc5c154b613a8dbcdfd6ed5294a335bdac88ca1a99994c7ae13f1
# debian-12-4.04_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.5.0 mmap.1.2.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.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-02-01 20:42.32: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-4.04@sha256:5619bfa8ca2dc5c154b613a8dbcdfd6ed5294a335bdac88ca1a99994c7ae13f1-debian-12-4.04_opam-2.3-53dee59a122f19898b2f5396b9f15ef7"
2025-02-01 20:42.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:5619bfa8ca2dc5c154b613a8dbcdfd6ed5294a335bdac88ca1a99994c7ae13f1)
 (comment debian-12-4.04_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.5.0 mmap.1.2.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.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-02-01 20:42.32: Waiting for resource in pool OCluster
2025-02-01 20:42.33: Waiting for worker…
2025-02-01 20:42.52: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at e93e384 Write callback with buffer access

(from ocaml/opam:debian-12-ocaml-4.04@sha256:5619bfa8ca2dc5c154b613a8dbcdfd6ed5294a335bdac88ca1a99994c7ae13f1)
2025-02-01 20:42.52 ---> using "a1bff08116db92e76229cdc01c4a0f53b69cc9d64d29a765f6226eb21b5736ec" from cache

/: (comment debian-12-4.04_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-02-01 20:42.52 ---> using "f4f60e9de32d9217a3732793e841ac5e75bdeebc14998f40089e92a1c3f917da" 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-02-01 20:42.52 ---> using "ebb6969d2a2ec3ad80b2011e6b89a795320045601691d46349e22b4b762cf569" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.04.2
2.3.0
2025-02-01 20:42.52 ---> using "0cc3f743abee68033d873fea99db02e80821b829e4ff725478f1474b56d26d58" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-01 20:42.52 ---> using "9dcbeaa183aff934b177eceaed1f4d1c9ce4f2a9edfc8d66af58dc9a2778e0db" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   3e681a81f6..e25af452e6  master     -> origin/master
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-02-01 20:44.03: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled