2025-05-27 07:05.16: New job: test robur-coop/git-kv https://github.com/robur-coop/git-kv.git#refs/heads/main (8245fd162884d8267cf85e91a4aed2b9ca50319f) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/git-kv.git" -b "main" && cd "git-kv" && git reset --hard 8245fd16
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
# 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.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 dace5e43b1aa5e4580841f3e0fc1dd94d8c0c5d3 || git fetch origin master) && git reset -q --hard dace5e43b1aa5e4580841f3e0fc1dd94d8c0c5d3 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 git-net.opam git-kv.opam ./
RUN opam pin add -yn git-net.dev './' && \
opam pin add -yn git-kv.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.1 awa-mirage.0.5.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.1 ca-certs-nss.3.108-1 cachet.0.0.2 cachet-lwt.0.0.2 carton.dev carton-git-lwt.dev carton-lwt.dev checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 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.3.0 dns.10.1.0 dns-client.10.1.0 dns-client-mirage.10.1.0 domain-name.0.4.1 duff.0.5 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 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.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 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.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 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 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.1 tls.2.0.1 tls-mirage.2.0.1 topkg.1.0.8 uri.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y git-net.dev git-kv.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-05-27 07:05.16: Using cache hint "robur-coop/git-kv-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c-alpine-3.21-4.14_opam-2.3-711e0c5961cbcd9950f268b3ea683077"
2025-05-27 07:05.16: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
(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.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 dace5e43b1aa5e4580841f3e0fc1dd94d8c0c5d3 || git fetch origin master) && git reset -q --hard dace5e43b1aa5e4580841f3e0fc1dd94d8c0c5d3 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src git-net.opam git-kv.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn git-net.dev './' && \
\nopam pin add -yn git-kv.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.1 awa-mirage.0.5.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.1 ca-certs-nss.3.108-1 cachet.0.0.2 cachet-lwt.0.0.2 carton.dev carton-git-lwt.dev carton-lwt.dev checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 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.3.0 dns.10.1.0 dns-client.10.1.0 dns-client-mirage.10.1.0 domain-name.0.4.1 duff.0.5 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 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.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 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.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 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 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.1 tls.2.0.1 tls-mirage.2.0.1 topkg.1.0.8 uri.4.4.0 uutf.1.0.4 x509.1.0.6 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.3 --depext-only -y git-net.dev git-kv.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-05-27 07:05.16: Waiting for resource in pool OCluster
2025-05-27 08:19.10: Waiting for worker…
2025-05-27 08:23.06: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 8245fd1 Merge pull request 'Without the old version of me (means, functors, HKT and record as first-class module)' (!13) from without-git into main
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
2025-05-27 08:23.07 ---> using "b31f8ea9b0da9063a13255c6536c5f85700cfe755ad07fbc6516da39211433c3" 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.3 /usr/bin/opam"))
2025-05-27 08:23.07 ---> using "19df58eb54ed30110ece635c4514ba385d140993ef5afc1d6ea8834ab1dff193" 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] Initialised
2025-05-27 08:23.07 ---> using "5d59f74e6dbc788d5564e4eb41af6de5cdafa28276e80e99123b7c2df2221c47" 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.3.0
2025-05-27 08:23.07 ---> using "f3ac1918087de3fd30b9d202f649badc87b770850bf1bccf4ef78510f7ee33ac" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-27 08:23.07 ---> using "0399f5b9278019e7dd66be1fc65fe4435ea8eeec9e9d0cc3290c1440795219b0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dace5e43b1aa5e4580841f3e0fc1dd94d8c0c5d3 || git fetch origin master) && git reset -q --hard dace5e43b1aa5e4580841f3e0fc1dd94d8c0c5d3 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
35eb2f107a..e9ce852513 master -> origin/master
dace5e43b1 Merge pull request #27571 from hannesm/cohttp-uri
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-05-27 08:23.07 ---> using "a0eb232f5eea1738417384b8248377edacdfcd468e6ed44289df239319182978" from cache
/src: (copy (src git-net.opam git-kv.opam) (dst ./))
2025-05-27 08:23.07 ---> saved as "e98b9afe638c575295543a7aeb566898753da6d47ff7fcd9ee4185bc117a7316"
/src: (run (network host)
(shell "opam pin add -yn git-net.dev './' && \
\nopam pin add -yn git-kv.dev './'"))
Package git-net does not exist, create as a NEW package? [y/n] y
[git-net.dev] synchronised (file:///src)
git-net is now pinned to file:///src (version dev)
[git-kv.dev] synchronised (file:///src)
The following additional pinnings are required by git-kv.dev:
- carton.dev at git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b
- carton-lwt.dev at git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b
- carton-git-lwt.dev at git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b
Pin and install them? [y/n] y
[carton.dev] synchronised (no changes)
carton is now pinned to git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b (version dev)
[carton-lwt.dev] synchronised (no changes)
carton-lwt is now pinned to git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b (version dev)
[carton-git-lwt.dev] synchronised (no changes)
carton-git-lwt is now pinned to git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b (version dev)
git-kv is now pinned to file:///src (version dev)
2025-05-27 08:23.13 ---> saved as "195b3a771b1d8facd33db4f16e318fad27bac879a01d294e2603367499470173"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-27 08:23.13 ---> saved as "9f01337c779b2806e95c080917b46a9dc65fd0055f301675e665c58d21a672bb"
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.1 awa-mirage.0.5.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.1 ca-certs-nss.3.108-1 cachet.0.0.2 cachet-lwt.0.0.2 carton.dev carton-git-lwt.dev carton-lwt.dev checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 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.3.0 dns.10.1.0 dns-client.10.1.0 dns-client-mirage.10.1.0 domain-name.0.4.1 duff.0.5 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 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.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 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.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 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 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.1 tls.2.0.1 tls-mirage.2.0.1 topkg.1.0.8 uri.4.4.0 uutf.1.0.4 x509.1.0.6 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.3 --depext-only -y git-net.dev 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-541-g50f17da2691 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-537-g5b3ef80648e [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-9050-ga67dc80ad7a [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-9050-ga67dc80ad7a [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-9045-gca68bf300f7 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58405 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[carton.dev] synchronised (no changes)
[carton-git-lwt.dev] synchronised (no changes)
[carton-lwt.dev] synchronised (no changes)
[git-kv.dev] synchronised (file:///src)
[git-net.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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:
gmp-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "gmp-dev"
- (1/2) Installing libgmpxx (6.3.0-r2)
- (2/2) Installing gmp-dev (6.3.0-r2)
- OK: 310 MiB in 103 packages
2025-05-27 08:23.29 ---> saved as "00990a7279895c23cb0d7a983c7f471f2b18b5b96bf9142042f509db6baaab4a"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[carton-git-lwt.dev] synchronised (no changes)
[carton.dev] synchronised (no changes)
[carton-lwt.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 102 packages
- install alcotest 1.9.0
- install angstrom 0.16.1
- install arp 4.0.0
- install asn1-combinators 0.3.2
- install astring 0.8.5
- install awa 0.5.1
- install awa-mirage 0.5.1
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bos 0.2.1
- install bstr 0.0.1
- install ca-certs-nss 3.108-1
- install cachet 0.0.2
- install cachet-lwt 0.0.2
- install carton dev (pinned)
- install carton-git-lwt dev (pinned)
- install carton-lwt dev (pinned)
- install checkseum 0.5.2
- install cmdliner 1.3.0
- install conf-gmp 5
- install conf-gmp-powm-sec 4
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install cstruct-lwt 6.2.0
- install cstruct-unix 6.2.0
- install decompress 1.5.3
- install digestif 1.3.0
- install dns 10.1.0
- install dns-client 10.1.0
- install dns-client-mirage 10.1.0
- install domain-name 0.4.1
- install duff 0.5
- install dune 3.19.0
- install dune-configurator 3.19.0
- install duration 0.2.1
- install emile 1.1
- install encore 0.8.1
- install eqaf 0.10
- install ethernet 3.2.0
- install faraday 0.8.2
- install fmt 0.10.0
- install fpath 0.7.3
- install gmap 0.3.0
- install h1 1.0.0
- install h2 0.13.0
- install happy-eyeballs 2.0.1
- install happy-eyeballs-lwt 2.0.1
- install happy-eyeballs-mirage 2.0.1
- install hpack 0.13.0
- install httpun-types 0.2.0
- install hxd 0.3.3
- install ipaddr 5.6.0
- install ipaddr-cstruct 5.6.0
- install kdf 1.0.0
- install ke 0.6
- install logs 0.8.0
- install lru 0.3.1
- install lwt 5.9.1
- install lwt-dllist 1.1.0
- install macaddr 5.6.0
- install macaddr-cstruct 5.6.0
- install metrics 0.4.1
- install mimic 0.0.9
- install mimic-happy-eyeballs 0.0.9
- install mirage-crypto 2.0.1
- install mirage-crypto-ec 2.0.1
- install mirage-crypto-pk 2.0.1
- install mirage-crypto-rng 2.0.1
- install mirage-flow 5.0.0
- install mirage-kv 6.1.1
- install mirage-mtime 5.0.0
- install mirage-net 4.0.0
- install mirage-ptime 5.0.0
- install mirage-sleep 4.0.0
- install mtime 2.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ohex 0.2.0
- install optint 0.3.0
- install paf 0.8.0
- install pecu 0.7
- install psq 0.2.1
- install ptime 1.2.0
- install randomconv 0.2.0
- install re 1.12.0
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install tcpip 9.0.1
- install tls 2.0.1
- install tls-mirage 2.0.1
- install topkg 1.0.8
- install uri 4.4.0
- install uutf 1.0.4
- install x509 1.0.6
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved arp.4.0.0 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved awa.0.5.1, awa-mirage.0.5.1 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved bstr.0.0.1 (cached)
-> retrieved cachet.0.0.2, cachet-lwt.0.0.2 (cached)
-> retrieved ca-certs-nss.3.108-1 (cached)
-> retrieved carton.dev (no changes)
-> retrieved carton-lwt.dev (no changes)
-> retrieved checkseum.0.5.2 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved carton-git-lwt.dev (no changes)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0, cstruct-unix.6.2.0 (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved decompress.1.5.3 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved duff.0.5 (cached)
-> retrieved dns.10.1.0, dns-client.10.1.0, dns-client-mirage.10.1.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved emile.1.1 (cached)
-> retrieved encore.0.8.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved ethernet.3.2.0 (cached)
-> retrieved faraday.0.8.2 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved h1.1.0.0 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved h2.0.13.0, hpack.0.13.0 (cached)
-> retrieved happy-eyeballs.2.0.1, happy-eyeballs-lwt.2.0.1, happy-eyeballs-mirage.2.0.1 (cached)
-> retrieved hxd.0.3.3 (cached)
-> retrieved httpun-types.0.2.0 (cached)
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved ke.0.6 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lru.0.3.1 (cached)
-> retrieved lwt-dllist.1.1.0 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved mimic.0.0.9, mimic-happy-eyeballs.0.0.9 (cached)
-> retrieved mirage-flow.5.0.0 (cached)
-> retrieved mirage-kv.6.1.1 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1 (cached)
-> retrieved mirage-net.4.0.0 (cached)
-> retrieved mirage-ptime.5.0.0 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> installed cmdliner.1.3.0
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved pecu.0.7 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved paf.0.8.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved randomconv.0.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved tcpip.9.0.1 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved tls.2.0.1, tls-mirage.2.0.1 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved x509.1.0.6 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed lwt-dllist.1.1.0
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed bstr.0.0.1
-> installed cachet.0.0.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed duff.0.5
-> installed eqaf.0.10
-> installed ke.0.6
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed mirage-mtime.5.0.0
-> installed mirage-ptime.5.0.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed optint.0.3.0
-> installed pecu.0.7
-> installed psq.0.2.1
-> installed randomconv.0.2.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed cstruct-unix.6.2.0
-> installed macaddr-cstruct.5.6.0
-> installed lru.0.3.1
-> installed ipaddr.5.6.0
-> installed ipaddr-cstruct.5.6.0
-> installed digestif.1.3.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.0
-> installed bigstringaf.0.10.0
-> installed checkseum.0.5.2
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed encore.0.8.1
-> installed emile.1.1
-> installed h1.1.0.0
-> installed hpack.0.13.0
-> installed decompress.1.5.3
-> installed mirage-crypto.2.0.1
-> installed kdf.1.0.0
-> installed h2.0.13.0
-> installed lwt.5.9.1
-> installed uri.4.4.0
-> installed cachet-lwt.0.0.2
-> installed cstruct-lwt.6.2.0
-> installed mirage-net.4.0.0
-> installed mirage-flow.5.0.0
-> installed mirage-kv.6.1.1
-> installed mirage-sleep.4.0.0
-> installed hxd.0.3.3
-> installed logs.0.8.0
-> installed ethernet.3.2.0
-> installed happy-eyeballs.2.0.1
-> installed mimic.0.0.9
-> installed mirage-crypto-rng.2.0.1
-> installed carton.dev
-> installed arp.4.0.0
-> installed mirage-crypto-pk.2.0.1
-> installed carton-lwt.dev
-> installed carton-git-lwt.dev
-> installed dns.10.1.0
-> installed tcpip.9.0.1
-> installed happy-eyeballs-mirage.2.0.1
-> installed happy-eyeballs-lwt.2.0.1
-> installed bos.0.2.1
-> installed dns-client.10.1.0
-> installed mirage-crypto-ec.2.0.1
-> installed x509.1.0.6
-> installed ca-certs-nss.3.108-1
-> installed tls.2.0.1
-> installed awa.0.5.1
-> installed tls-mirage.2.0.1
-> installed awa-mirage.0.5.1
-> installed dns-client-mirage.10.1.0
-> installed paf.0.8.0
-> installed mimic-happy-eyeballs.0.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-27 08:24.26 ---> saved as "5b55dd35aa681f808184491c72b458a14ad0a9dc63599a528c89a491faeb35f9"
/src: (copy (src .) (dst /src))
2025-05-27 08:24.26 ---> saved as "b72b3bf2530928df6f31393fd8215dac195f2968535f6413d9f4aac231f0b504"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./tests.exe)
Testing `Git-KV alcotest tests'.
This run has ID `OTNNB2OL'.
[OK] Basic tests 0 Read in change_and_push.
[OK] Basic tests 1 Set outside change_and_push.
[OK] Basic tests 2 Remove in change_and_push.
[OK] Basic tests 3 Last modified in change_and_push.
[OK] Basic tests 4 Digest in change_and_push.
[OK] Basic tests 5 Multiple change_and_push.
Full test results in `/src/_build/default/test/_build/_tests/Git-KV alcotest tests'.
Test Successful in 0.048s. 6 tests run.
File "test/fold.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/1d23647e35dd2e60c56ef27345160a15/default/test/fold.t _build/.sandbox/1d23647e35dd2e60c56ef27345160a15/default/test/fold.t.corrected
diff --git a/_build/.sandbox/1d23647e35dd2e60c56ef27345160a15/default/test/fold.t b/_build/.sandbox/1d23647e35dd2e60c56ef27345160a15/default/test/fold.t.corrected
index d6da500..09be15f 100644
--- a/_build/.sandbox/1d23647e35dd2e60c56ef27345160a15/default/test/fold.t
+++ b/_build/.sandbox/1d23647e35dd2e60c56ef27345160a15/default/test/fold.t.corrected
@@ -4,6 +4,8 @@ Batch operation
$ git init --bare -q 2> /dev/null
$ cd ..
$ git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --pid-file=pid --detach
+ git: 'daemon' is not a git command. See 'git --help'.
+ [1]
$ mgit git://localhost/simple#main <<EOF
> fold
> set /bar "Git rocks!"
@@ -12,19 +14,42 @@ Batch operation
> quit
> quit
> EOF
- /bar exists as a value
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ mgit git://localhost/simple#main <<EOF
> list /
> get /bar
> get /foo
> quit
> EOF
- - /bar
- - /foo
- 00000000: 4769 7420 726f 636b 7321 Git rocks!
- 00000000: 4865 6c6c 6f20 576f 726c 6421 Hello World!
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ cd simple
$ git log main --pretty=oneline | wc -l | tr -d ' '
- 1
+ fatal: ambiguous argument 'main': unknown revision or path not in the working tree.
+ Use '--' to separate paths from revisions, like this:
+ 'git <command> [<revision>...] -- [<file>...]'
+ 0
$ cd ..
$ kill $(cat pid)
+ cat: pid: No such file or directory
+ sh: you need to specify whom to kill
+ [1]
File "test/fold2.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/d91149ef1054603acd8971c7bfab4df1/default/test/fold2.t _build/.sandbox/d91149ef1054603acd8971c7bfab4df1/default/test/fold2.t.corrected
diff --git a/_build/.sandbox/d91149ef1054603acd8971c7bfab4df1/default/test/fold2.t b/_build/.sandbox/d91149ef1054603acd8971c7bfab4df1/default/test/fold2.t.corrected
index b96663a..6f0781a 100644
--- a/_build/.sandbox/d91149ef1054603acd8971c7bfab4df1/default/test/fold2.t
+++ b/_build/.sandbox/d91149ef1054603acd8971c7bfab4df1/default/test/fold2.t.corrected
@@ -2,6 +2,8 @@ Reading during batch operation
$ mkdir simple
$ git init --bare -q simple 2> /dev/null
$ git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --pid-file=pid --detach
+ git: 'daemon' is not a git command. See 'git --help'.
+ [1]
$ mgit git://localhost/simple#main << EOF
> fold
> set /bar "Git rocks!"
@@ -10,10 +12,25 @@ Reading during batch operation
> quit
> quit
> EOF
- - /bar
- 00000000: 4769 7420 726f 636b 7321 Git rocks!
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ cd simple
$ git log main --pretty=oneline | wc -l | tr -d ' '
- 1
+ fatal: ambiguous argument 'main': unknown revision or path not in the working tree.
+ Use '--' to separate paths from revisions, like this:
+ 'git <command> [<revision>...] -- [<file>...]'
+ 0
$ cd ..
$ kill $(cat pid)
+ cat: pid: No such file or directory
+ sh: you need to specify whom to kill
+ [1]
File "test/simple.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/f8dbd3c271ab0d55f43c5a19b5372bdb/default/test/simple.t _build/.sandbox/f8dbd3c271ab0d55f43c5a19b5372bdb/default/test/simple.t.corrected
diff --git a/_build/.sandbox/f8dbd3c271ab0d55f43c5a19b5372bdb/default/test/simple.t b/_build/.sandbox/f8dbd3c271ab0d55f43c5a19b5372bdb/default/test/simple.t.corrected
index 8cf6147..ebf2276 100644
--- a/_build/.sandbox/f8dbd3c271ab0d55f43c5a19b5372bdb/default/test/simple.t
+++ b/_build/.sandbox/f8dbd3c271ab0d55f43c5a19b5372bdb/default/test/simple.t.corrected
@@ -13,20 +13,31 @@ Simple test of our Git Key-Value store
$ git commit --date "$DATE" -q -m .
$ cd ..
$ git daemon --base-path=. --export-all --reuseaddr --pid-file=pid --detach
+ git: 'daemon' is not a git command. See 'git --help'.
+ [1]
$ mgit git://localhost/simple <<EOF
> get /foo
> save db.pack
> quit
> EOF
- 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ tail -c20 db.pack | hxd.xxd
- 00000000: e4b2 3437 2e7e 3d7e 8508 3912 3d87 11cd ..47.~=~..9.=...
- 00000010: 9942 7147 .BqG
+ tail: cannot open 'db.pack' for reading: No such file or directory
$ mgit git://localhost/simple db.pack <<EOF
> get /foo
> quit
> EOF
- 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
+ mgit <remote> [<filename>]
$ cd simple
$ echo "Git rocks!" > bar
$ git add bar
@@ -38,8 +49,8 @@ Simple test of our Git Key-Value store
> get /foo
> quit
> EOF
- + /bar
- * /
- 00000000: 4769 7420 726f 636b 7321 0a Git rocks!.
- 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
+ mgit <remote> [<filename>]
$ kill $(cat pid)
+ cat: pid: No such file or directory
+ sh: you need to specify whom to kill
+ [1]
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-27 08:24.29: Job failed: Failed: Build failed