2025-03-10 09:51.40: New job: test robur-coop/git-kv https://github.com/robur-coop/git-kv.git#refs/heads/main (4fa5a541bdbb52cd0cfb1c9b257a878fe5276b66) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/git-kv.git" -b "main" && cd "git-kv" && git reset --hard 4fa5a541
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
# alpine-3.21-4.14_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 8707d628f2beb80e7f60b89d60c33bdf2ffd9026 || git fetch origin master) && git reset -q --hard 8707d628f2beb80e7f60b89d60c33bdf2ffd9026 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 git-kv.opam ./
RUN opam pin add -yn git-kv.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.0 awa-mirage.0.5.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs-nss.3.108-1 carton.0.7.2 carton-git.0.7.2 carton-lwt.0.7.2 checkseum.0.5.2 cmdliner.1.3.0 conf-git.1.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.10.0.0 dns-client.10.0.0 dns-client-mirage.10.0.0 domain-name.0.4.1 duff.0.5 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.9.0 fpath.0.7.3 git.3.18.0 git-mirage.3.18.0 git-paf.3.18.0 git-unix.3.18.0 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.0 happy-eyeballs-lwt.2.0.0 happy-eyeballs-mirage.2.0.0 hpack.0.13.0 httpun-types.0.2.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.7.0 lru.0.3.1 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-ptime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.8.0 pecu.0.7 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.9.0.0 tls.2.0.0 tls-mirage.2.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3 x509.1.0.5 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y git-kv.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-03-10 09:51.40: Using cache hint "robur-coop/git-kv-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394-alpine-3.21-4.14_opam-2.3-cd619bce32186a4176d6793044dea3ad"
2025-03-10 09:51.40: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
(comment alpine-3.21-4.14_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 8707d628f2beb80e7f60b89d60c33bdf2ffd9026 || git fetch origin master) && git reset -q --hard 8707d628f2beb80e7f60b89d60c33bdf2ffd9026 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src git-kv.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn git-kv.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.0 awa-mirage.0.5.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs-nss.3.108-1 carton.0.7.2 carton-git.0.7.2 carton-lwt.0.7.2 checkseum.0.5.2 cmdliner.1.3.0 conf-git.1.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.10.0.0 dns-client.10.0.0 dns-client-mirage.10.0.0 domain-name.0.4.1 duff.0.5 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.9.0 fpath.0.7.3 git.3.18.0 git-mirage.3.18.0 git-paf.3.18.0 git-unix.3.18.0 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.0 happy-eyeballs-lwt.2.0.0 happy-eyeballs-mirage.2.0.0 hpack.0.13.0 httpun-types.0.2.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.7.0 lru.0.3.1 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-ptime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.8.0 pecu.0.7 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.9.0.0 tls.2.0.0 tls-mirage.2.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3 x509.1.0.5 zarith.1.14")
(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 git-kv.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-03-10 09:51.40: Waiting for resource in pool OCluster
2025-03-10 09:51.40: Waiting for worker…
2025-03-10 09:51.40: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 4fa5a54 changes for release 0.1.3
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394' locally
docker.io/ocaml/opam@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394: Pulling from ocaml/opam
4c6b0d8fe12d: Pulling fs layer
4c6b0d8fe12d: Verifying Checksum
4c6b0d8fe12d: Download complete
4c6b0d8fe12d: Pull complete
Digest: sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
Status: Downloaded newer image for ocaml/opam@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
2025-03-10 09:51.41 ---> using "4e39c0c3d776eff1edded1b34ce7287522f5313250cb83728b85104013b8e410" from cache
/: (comment alpine-3.21-4.14_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-03-10 09:51.41 ---> using "e2f9eff1492f739c344a4b1afc76b21188003a5f8b0f9cb89d487f4acf60af85" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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-03-10 09:51.41 ---> using "2e9fe7f0f3184a46fd5197520a4c3e8deb0e7de935d79a066a80b16dcabe8368" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-03-10 09:51.41 ---> using "d04d262bff471af35fa45839e38d3c5d2877f8b244fe7a64723806d422cd7cd1" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-10 09:51.41 ---> using "924d69016b8144d2bfcd936fb5270ac8ca7e33ab6ee15d55c003d0b19e1b97b3" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8707d628f2beb80e7f60b89d60c33bdf2ffd9026 || git fetch origin master) && git reset -q --hard 8707d628f2beb80e7f60b89d60c33bdf2ffd9026 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d8f6e9a505..da95151acd master -> origin/master
8707d628f2 Merge pull request #27552 from hannesm/cstruct-maint
<><> 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-03-10 09:52.54 ---> saved as "475180f26f844baee0cfa93578950f0447f3c339e9114cf1e036b1d21eff7ffe"
/src: (copy (src git-kv.opam) (dst ./))
2025-03-10 09:52.54 ---> saved as "94234f09365433d90ae63ff2f890c9d4fa9fc99d7743c50737f3aec5c9f80d33"
/src: (run (network host)
(shell "opam pin add -yn git-kv.dev './'"))
[git-kv.dev] synchronised (file:///src)
git-kv is now pinned to file:///src (version dev)
2025-03-10 09:52.57 ---> saved as "e955502f406856d76a382350b4f56d1da4ae93b6e8151bb8b6c46b842061e1cd"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-10 09:52.57 ---> saved as "41c63b7f3c6a16de4a145a0ab9f48557595ed01ed796f66dc15c49ea47c61273"
/src: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.0 awa-mirage.0.5.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs-nss.3.108-1 carton.0.7.2 carton-git.0.7.2 carton-lwt.0.7.2 checkseum.0.5.2 cmdliner.1.3.0 conf-git.1.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.10.0.0 dns-client.10.0.0 dns-client-mirage.10.0.0 domain-name.0.4.1 duff.0.5 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.9.0 fpath.0.7.3 git.3.18.0 git-mirage.3.18.0 git-paf.3.18.0 git-unix.3.18.0 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.0 happy-eyeballs-lwt.2.0.0 happy-eyeballs-mirage.2.0.0 hpack.0.13.0 httpun-types.0.2.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.7.0 lru.0.3.1 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-ptime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.8.0 pecu.0.7 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.9.0.0 tls.2.0.0 tls-mirage.2.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3 x509.1.0.5 zarith.1.14")
/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 git-kv.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.3-128-g4ec3cebbd5e [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-131-gaafa5e74922 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-3554-g933c1f2b503 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-3396-gb05d8a3e3f6 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-3391-gd7e3f99242e [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56877 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[git-kv.dev] synchronised (file:///src)
2025-03-10 09:53.03: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled