2025-04-18 18:24.42: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/pull/90/head (04b40e3b0140990ea0503a0d6d1dda1c54c826d0) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ygrek/ocurl.git" && cd "ocurl" && git fetch origin "refs/pull/90/head" && git reset --hard 04b40e3b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0
# 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.2 /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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.2.9.3 lwt.5.5.0 mmap.1.2.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 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.2 --depext-only -y ocurl.dev curl_lwt.dev curl.dev $DEPS
RUN opam install $DEPS
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-04-18 18:24.42: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-4.03@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0-debian-12-4.03_opam-2.3-cf0fe797663632ea6dbc29bf89955f96"
2025-04-18 18:24.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0)
(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.2 /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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.2.9.3 lwt.5.5.0 mmap.1.2.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 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.2 --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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
(copy (src .) (dst /src/))
(run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)
2025-04-18 18:24.42: Waiting for resource in pool OCluster
2025-04-18 19:43.17: Waiting for worker…
2025-04-18 19:46.32: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 04b40e3 Release lock on cleanup because it might call callbacks
(from ocaml/opam:debian-12-ocaml-4.03@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.03@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0' locally
docker.io/ocaml/opam@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0: Pulling from ocaml/opam
5acc410011ee: Pulling fs layer
5acc410011ee: Verifying Checksum
5acc410011ee: Download complete
5acc410011ee: Pull complete
Digest: sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0
Status: Downloaded newer image for ocaml/opam@sha256:6c4e85baeb3cd872bf5012ec8d4e20cc04359e4f3afe63e0942f0a3f4d959ea0
2025-04-18 19:48.05 ---> saved as "d2a64e8bd3a3d2a9a8c0f84450df5c9f873b02e14a442b1d17b125002e4e1cde"
/: (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.2 /usr/bin/opam"))
2025-04-18 19:48.05 ---> saved as "009d856b85a29796799a18730f69fd0670d79f131786ae56a2109cf6c3533ec9"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-18 19:50.05 ---> saved as "f59a495dca76049b5c702fb1e24a817642424a6ce9bb3247756a989edbc91fc0"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.03.0
2.2.1
2025-04-18 19:50.05 ---> saved as "c3c1246d6f0c65396bc3c4fc1b490e78429e72602bfd164608f7659a679e720d"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-18 19:50.05 ---> saved as "9d598133f787b78414640ad4b39f7badf5b13f5048c1958f11e363e5b3352fff"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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.
# Run eval $(opam env) to update the current shell environment
2025-04-18 19:51.11 ---> saved as "f1741c5e40201d9f73634d83a0cfcec65c20e577c58bb9e599ebe27c6ec84938"
/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-04-18 19:51.11 ---> saved as "68875596e508e9eae50579f5aff6d0ce072547854a75ab9895b0c3cc2c80a780"
/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-04-18 19:51.17 ---> saved as "86f570714a808db5ed2904047d51a06eafdb9db54253dfb03f01f106ad286f92"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-18 19:51.17 ---> saved as "10f8129b9a5a0e6b8ed04e0a3c0980c6fabed6abf196d3d764cef0d0e6e19c94"
/src: (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.2.9.3 lwt.5.5.0 mmap.1.2.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 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")
/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.2 --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 bookworm-updates/main amd64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [255 kB]
- Fetched 375 kB in 0s (1432 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-secondary-compiler is already installed (current version is 4.14.2).
[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
<><> 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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u12_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
2025-04-18 19:51.41 ---> saved as "63bd8fbe2dbfa30169a594cbc8fd3d3ea130b66586c230e4f1e97c4a3708dd74"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[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:
=== install 15 packages
- install base-bytes base
- install bigarray-compat 1.1.0
- install conf-libcurl 2
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.17.2
- install dune-configurator 2.9.3
- install lwt 5.5.0
- install mmap 1.2.0
- install ocaml-syntax-shims 1.0.0
- install ocamlfind 1.9.6
- install ocamlfind-secondary 1.9.6
- install ocplib-endian 1.2
- install result 1.5
- install seq 0.3.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-libcurl.2
-> retrieved lwt.5.5.0 (cached)
-> retrieved mmap.1.2.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6 (cached)
-> retrieved dune-configurator.2.9.3 (cached)
-> retrieved dune.3.17.2 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3.1 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.17.2
-> installed seq.0.3.1
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed ocaml-syntax-shims.1.0.0
-> installed mmap.1.2.0
-> installed cppo.1.8.0
-> installed dune-configurator.2.9.3
-> installed ocplib-endian.1.2
-> installed lwt.5.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-18 19:52.46 ---> saved as "aa7c7544a3ea0150fd8f3b0ef89f02b0a1a8a9949bcaa4eb1fc9e09ce2209659"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package dune is already installed (current version is 3.17.2).
The following actions will be performed:
=== install 14 packages
- install astring 0.8.3 [required by odoc]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cmdliner 1.0.4 [required by odoc]
- install crunch 1.4.1 [required by odoc]
- install fmt 0.8.6 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install ocamlbuild 0.14.3 [required by fmt, astring, crunch, fpath]
- install odoc 2.4.1
- install odoc-parser 2.4.1 [required by odoc]
- install re 1.11.0 [required by tyxml]
- install stdlib-shims 0.3.0 [required by fmt]
- install topkg 1.0.4 [required by fmt, astring, fpath]
- install tyxml 4.5.0 [required by odoc]
- install uutf 1.0.3 [required by tyxml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved crunch.1.4.1 (cached)
-> retrieved astring.0.8.3 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved fmt.0.8.6 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved re.1.11.0 (cached)
-> installed camlp-streams.5.0.1
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.4 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved tyxml.4.5.0 (cached)
-> retrieved odoc.2.4.1, odoc-parser.2.4.1 (cached)
-> installed re.1.11.0
-> installed stdlib-shims.0.3.0
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.4
-> installed crunch.1.4.1
-> installed astring.0.8.3
-> installed fmt.0.8.6
-> installed uutf.1.0.3
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.1
-> installed tyxml.4.5.0
-> installed odoc.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-18 19:53.29 ---> saved as "4eff25f450eb34f7759bc9b67379017db6464730215c37c47e06f25c7ba947c2"
/src: (copy (src .) (dst /src/))
2025-04-18 19:53.30 ---> saved as "c0ea30e323d7a5e5645b43b9c8237e740856926ef1cd253428096010259ff75c"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-04-18 19:53.30 ---> saved as "d5a1a7ffc91147f5f63e8e20e6dc98e0558790e8fe7de810af61536aaccf205c"
Job succeeded
2025-04-18 19:53.31: Job succeeded