2025-07-31 07:25.39: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/remove-ocurl (f31cdb042a734e243a68cf4cb994a020a3119fb1) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ygrek/ocurl.git" -b "remove-ocurl" && cd "ocurl" && git reset --hard f31cdb04
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b
# debian-12-4.11_opam-2.4
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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 curl_lwt.opam curl.opam ./
RUN 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 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 lwt.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y 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-07-31 07:25.39: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-4.11@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b-debian-12-4.11_opam-2.4-e3155d2bba0faedbd26206c39d55b3eb"
2025-07-31 07:25.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b)
(comment debian-12-4.11_opam-2.4)
(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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src curl_lwt.opam curl.opam) (dst ./))
(run (network host)
(shell "opam 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 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 lwt.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlfind.1.9.8 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.2 --depext-only -y 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-07-31 07:25.39: Waiting for resource in pool OCluster
2025-07-31 11:28.54: Waiting for worker…
2025-07-31 11:35.57: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at f31cdb0 Remove the ocurl package definition
(from ocaml/opam:debian-12-ocaml-4.11@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.11@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b' locally
docker.io/ocaml/opam@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b: Pulling from ocaml/opam
e9fdab26b66e: Pulling fs layer
e9fdab26b66e: Download complete
e9fdab26b66e: Pull complete
Digest: sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b
Status: Downloaded newer image for ocaml/opam@sha256:7bb5f36a74438b59f7e0086b5c9466b27dc193f68ce4a0dbe4e96f0f0b265c4b
2025-07-31 11:35.58 ---> using "98d88d7e14f4979706ca1b2d70fc5724fe967604d934d8ed367515fa8fd1d0b2" from cache
/: (comment debian-12-4.11_opam-2.4)
/: (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-07-31 11:35.58 ---> saved as "f7e86ef4de2ff39be76fb1cd5eb0a05099261d9f590d419c680640121c69e5d1"
/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.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-31 11:36.33 ---> saved as "ba0661ae781df6121b83c573a38e97bf34fe3a2d16ae8441a55f203ad7eebdb4"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.11.2
2.2.1
2025-07-31 11:36.33 ---> saved as "7ca47550574d0d4b6160b1a2c0aa963f0861b029270f10211771febb780b0d74"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 11:36.33 ---> saved as "6184ad55e1915269f073a974807a931b65004ec3488aa23a536323e3a79ab82b"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-07-31 11:36.59 ---> saved as "5f531433f1649412d9258edd34be07c0496e0e403cfa5e768e9d1177aad7ddd2"
/src: (copy (src curl_lwt.opam curl.opam) (dst ./))
2025-07-31 11:36.59 ---> saved as "e7d09cad4f3bce489c7b82c78dfaa7bb3d24c461e219d6faad886e8900843e15"
/src: (run (network host)
(shell "opam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
[curl_lwt.dev] synchronised (file:///src)
curl_lwt is now pinned to file:///src (version dev)
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2025-07-31 11:37.04 ---> saved as "35d75046f962548c518324a82f5b7a655d3f0c4765d4f388cfcde3aa2f3c0406"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 11:37.04 ---> saved as "b9c40cb3ead4a2dd2c039be40e7a5b9e13a49e8baabf6132a09d6563da904646"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 lwt.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlfind.1.9.8 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.2 --depext-only -y 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 [19.6 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 402 kB in 0s (924 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (file:///src)
[curl_lwt.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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[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 ... 18747 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-07-31 11:37.23 ---> saved as "d4324e28c50df4a94029a6622cfe6acf9aec06498be347b85e1ff2d7e53cdecb"
/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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[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 9 packages
- install base-bytes base
- install conf-libcurl 2
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install lwt 5.9.1
- install ocamlfind 1.9.8
- 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.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-07-31 11:38.56 ---> saved as "20c8945fdc38e0e2894a4837e95e2366be9a8c4d39ac375f769b49c015f6f2c6"
/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.19.1).
The following actions will be performed:
=== install 15 packages
- install astring 0.8.5 [required by odoc]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cmdliner 1.3.0 [required by odoc]
- install crunch 4.0.0 [required by odoc]
- install fmt 0.10.0 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install ocamlbuild 0.16.1 [required by fmt, astring, fpath]
- install odoc 3.1.0
- install odoc-parser 3.1.0 [required by odoc]
- install ptime 1.2.0 [required by crunch]
- install re 1.11.0 [required by tyxml]
- install seq base [required by tyxml]
- install topkg 1.1.0 [required by fmt, astring, fpath]
- install tyxml 4.6.0 [required by odoc]
- install uutf 1.0.4 [required by tyxml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved crunch.4.0.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.1.0, odoc-parser.3.1.0 (cached)
-> installed re.1.11.0
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.1.0
-> installed tyxml.4.6.0
-> installed odoc.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-07-31 11:40.21 ---> saved as "2060e6b38a9d33d2c22c16a288ffbf73d9cc08fedaff39959574f1f9222634db"
/src: (copy (src .) (dst /src/))
2025-07-31 11:40.22 ---> saved as "16b2610862b90a838a3f55f14c7dfe989810357f7f5978cee228711f3b06d811"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-07-31 11:40.24 ---> saved as "0d449c7f6a50cc694978292f142143eca6541d43de649d7df0ccd167543ec77f"
Job succeeded
2025-07-31 11:40.24: Job succeeded