2025-02-17 23:22.31: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/pull/88/head (1a6c2240f0b931a5af36760e9e66ba0a44243f6d) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ygrek/ocurl.git" && cd "ocurl" && git fetch origin "refs/pull/88/head" && git reset --hard 1a6c2240
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42
# 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 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.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-02-17 23:22.31: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42-debian-12-4.03_opam-2.3-cf0fe797663632ea6dbc29bf89955f96"
2025-02-17 23:22.31: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
(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 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.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-02-17 23:22.31: Waiting for resource in pool OCluster
2025-02-17 23:50.34: Waiting for worker…
2025-02-17 23:56.53: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 1a6c224 Write callback with buffer access
(from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
2025-02-17 23:56.54 ---> using "50028533309a9b30b5e358b5046f0fe98e9d068fc76790dbf31ebe94498a6d14" from cache
/: (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-02-17 23:56.54 ---> using "797d14ece813ebb10f86706bb88ad51fb2f71112dbe7f3e0eccfd4be15d198bb" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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-02-17 23:58.02 ---> saved as "43bd7eea78bfbd7ec3513a675e526589c5d4e49b1817cba8a9f79afc9e897fa3"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.03.0
2.2.1
2025-02-17 23:58.02 ---> saved as "f712a24bb3d459ada128d3ff43471b2c09d964ba980611aff212babd271a6f45"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-17 23:58.02 ---> saved as "32415b5119abac7f31d1b6fab8f7823b3495aef84d79753c0e041ce1508bf6dc"
/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"))
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2
<><> 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-02-17 23:58.56 ---> saved as "5168efc70717a5dca27d79a159e4f3aee03ec05ac02bb4a919bef89ced66980d"
/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-02-17 23:58.57 ---> saved as "e692bd010a55b8ba3e4769e1a4efd9c8a679a6455c41a0928bd5dc9859f6dc33"
/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-02-17 23:59.03 ---> saved as "17ed398e8e16359be715e22e998d90f0746c5e5515b5193a81133a53fcd09145"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-17 23:59.03 ---> saved as "1688895b3570221fc246d9cd3b8fe3c7823eda50813d993c3024a5b8b5b897fa"
/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-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (1053 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+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-02-17 23:59.25 ---> saved as "0dee60fd007de40dab60c506c4cf026e3ee4bfc1c894740cbf16b0f648e9c7c7"
/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 result.1.5
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed seq.0.3.1
-> 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-02-18 00:01.11 ---> saved as "1de6b687574e9d6918b1e44f141d712890026b2c84f0050827e63dfec1ca5d40"
/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 astring.0.8.3 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved crunch.1.4.1 (cached)
-> retrieved fmt.0.8.6 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> installed camlp-streams.5.0.1
-> retrieved re.1.11.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.4 (cached)
-> retrieved tyxml.4.5.0 (cached)
-> retrieved uutf.1.0.3 (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-02-18 00:01.57 ---> saved as "07c610899ca4c2765459fb343489d0014a43acd6f0fc4f60e6cd5480c555c6fb"
/src: (copy (src .) (dst /src/))
2025-02-18 00:02.07 ---> saved as "ea763b90e55207162ace89769254ec98f6991aaaa4ed6b52b85a809f83d71e57"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-02-18 00:02.07 ---> saved as "e1b07abc0938d208dde97ad1eb0567095c9659c5c5f79eaf1998b1afbe662661"
Job succeeded
2025-02-18 00:02.10: Job succeeded