Organisationsrobur-coopgit-kvd4ac81 (fix-tests)alpine-3.21-5.3_opam-2.3

alpine-3.21-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-07-10 13:39.50: New job: test robur-coop/git-kv https://github.com/robur-coop/git-kv.git#refs/heads/fix-tests (d4ac819291638c99a6da6f107c5e51fbfc354c10) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/git-kv.git" -b "fix-tests" && cd "git-kv" && git reset --hard d4ac8192
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380
# alpine-3.21-5.3_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 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && 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.2 awa-mirage.0.5.2 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.2 ca-certs-nss.3.113.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.1 dune-configurator.3.19.1 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.4 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.9.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.5.0 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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.13.2 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-07-10 13:39.50: Using cache hint "robur-coop/git-kv-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380-alpine-3.21-5.3_opam-2.3-61d60bfe197d1723a476dbed9e1d9c57"
2025-07-10 13:39.50: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380)
(comment alpine-3.21-5.3_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 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && 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.2 awa-mirage.0.5.2 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.2 ca-certs-nss.3.113.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.1 dune-configurator.3.19.1 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.4 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.9.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.5.0 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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.13.2 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-07-10 13:39.50: Waiting for resource in pool OCluster
2025-07-10 13:43.19: Waiting for worker…
2025-07-10 13:44.52: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at d4ac819 Apply ocamlformat.0.27.0


(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380)
2025-07-10 13:44.53 ---> using "b1eb2a8af4058a254870e5cad61297a06793cbcf25fc0fa70ddab0692ceef147" from cache


/: (comment alpine-3.21-5.3_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-07-10 13:44.53 ---> using "72a43fed50ca4b22fad6057f4d18290b4cb956a1be690ef2ac7f62bd3176987a" 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 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-10 13:44.53 ---> using "dffd9938039301ebc6cca6d597e878cfb8a245c9dfa32f07900ab56da35e37dc" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-10 13:44.53 ---> using "8f9a1993785784c76c1507256d4c3a0742ea404a0d05aaa640ab910b812307e9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-10 13:44.53 ---> using "d0c65e3f07a69cbc2fcd3ad4787a51328d54858d7b412a5dcb90232d4889600b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
6dea2f9390..64169c3d1d  master     -> origin/master
64169c3d1d Merge pull request #28149 from dbuenzli/b0-publish-logs.0.9.0


<><> 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-07-10 13:44.53 ---> using "3f9aba96ac7a1654110ad5283d4982861b08bd9757244130aaa4d9e51eeeba9b" from cache


/src: (copy (src git-net.opam git-kv.opam) (dst ./))
2025-07-10 13:44.53 ---> saved as "c6f5c39f94b6a3a86fbc82423b2bdd638043157adeeb7f1121c32b4c49d7532d"


/src: (run (network host)
(shell  "opam pin add -yn git-net.dev './' && \
\nopam pin add -yn git-kv.dev './'"))
[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-07-10 13:45.05 ---> saved as "5a30f6f70b1e1f2a3f9c90be9f3f22f8d35d50d8bbcecc59111e5079e317ca05"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-10 13:45.05 ---> saved as "826faf9774ace21d512a6e12a939e767a1843e0bcf6cd29cf6e6980bf83d3029"


/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.2 awa-mirage.0.5.2 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.2 ca-certs-nss.3.113.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.1 dune-configurator.3.19.1 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.4 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.9.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.5.0 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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.13.2 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-637-ge247b0d362f [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-634-g4638c219547 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1959-g61cb8f51bb2 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1967-ga3bde6ff213 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1968-g963e3949498 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59032 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[carton-git-lwt.dev] synchronised (no changes)
[carton-lwt.dev] synchronised (no changes)
[carton.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 104 packages
2025-07-10 13:45.34 ---> saved as "6bf33c98d38d8973eb8cb91e8a8180b1ba9a63e87216f333bbcb8ed5ac9c5052"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[carton.dev] synchronised (no changes)
[carton-git-lwt.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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.2
- install awa-mirage            0.5.2
- install base-bytes            base
- install base64                3.5.1
- install bigstringaf           0.10.0
- install bos                   0.2.1
- install bstr                  0.0.2
- install ca-certs-nss          3.113.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.1
- install dune-configurator     3.19.1
- 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.4
- install ipaddr                5.6.0
- install ipaddr-cstruct        5.6.0
- install kdf                   1.0.0
- install ke                    0.6
- install logs                  0.9.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.5.0
- 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.13.2
- 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 alcotest.1.9.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved awa.0.5.2, awa-mirage.0.5.2  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved bstr.0.0.2  (cached)
-> retrieved cachet.0.0.2, cachet-lwt.0.0.2  (cached)
-> retrieved ca-certs-nss.3.113.1  (cached)
-> retrieved carton-git-lwt.dev  (no changes)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved carton.dev  (no changes)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> 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 carton-lwt.dev  (no changes)
-> retrieved dns.10.1.0, dns-client.10.1.0, dns-client-mirage.10.1.0  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duff.0.5  (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 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 httpun-types.0.2.0  (cached)
-> retrieved hxd.0.3.4  (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.9.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved metrics.0.5.0  (cached)
-> retrieved mimic.0.0.9, mimic-happy-eyeballs.0.0.9  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mirage-mtime.5.0.0  (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)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (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 optint.0.3.0  (cached)
-> retrieved paf.0.8.0  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved re.1.13.2  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved tcpip.9.0.1  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved tls.2.0.1, tls-mirage.2.0.1  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved zarith.1.14  (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 fmt.0.10.0
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed cachet.0.0.2
-> installed duff.0.5
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed asn1-combinators.0.3.2
-> installed bstr.0.0.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed ke.0.6
-> installed lwt-dllist.1.1.0
-> installed macaddr.5.6.0
-> installed metrics.0.5.0
-> installed mirage-mtime.5.0.0
-> installed mirage-ptime.5.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 stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed cstruct-unix.6.2.0
-> installed macaddr-cstruct.5.6.0
-> installed re.1.13.2
-> installed lru.0.3.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.8.0
-> installed ipaddr.5.6.0
-> installed ipaddr-cstruct.5.6.0
-> installed ocplib-endian.1.2
-> installed digestif.1.3.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed checkseum.0.5.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed encore.0.8.1
-> installed emile.1.1
-> installed hpack.0.13.0
-> installed decompress.1.5.3
-> installed mirage-crypto.2.0.1
-> installed h1.1.0.0
-> installed kdf.1.0.0
-> installed h2.0.13.0
-> installed uri.4.4.0
-> installed lwt.5.9.1
-> installed mirage-net.4.0.0
-> installed cstruct-lwt.6.2.0
-> installed mirage-flow.5.0.0
-> installed mirage-kv.6.1.1
-> installed cachet-lwt.0.0.2
-> installed mirage-sleep.4.0.0
-> installed hxd.0.3.4
-> installed logs.0.9.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 arp.4.0.0
-> installed carton.dev
-> 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 bos.0.2.1
-> installed dns-client.10.1.0
-> installed happy-eyeballs-lwt.2.0.1
-> installed happy-eyeballs-mirage.2.0.1
-> installed mirage-crypto-ec.2.0.1
-> installed x509.1.0.6
-> installed ca-certs-nss.3.113.1
-> installed tls.2.0.1
-> installed awa.0.5.2
-> installed tls-mirage.2.0.1
-> installed awa-mirage.0.5.2
-> 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-07-10 13:49.01 ---> saved as "fc74503d9cd79d829c418a92e1425b145d873e8380f236492595011d93ca680d"


/src: (copy (src .) (dst /src))
2025-07-10 13:49.01 ---> saved as "6dac6ccd59fe7b94d5879296b1295e5eadebd69fbbd154c82bcd8c177a052db8"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/fold2.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/0913592ee8ced3f3a0650c0ab8c3abf4/default/test/fold2.t _build/.sandbox/0913592ee8ced3f3a0650c0ab8c3abf4/default/test/fold2.t.corrected
diff --git a/_build/.sandbox/0913592ee8ced3f3a0650c0ab8c3abf4/default/test/fold2.t b/_build/.sandbox/0913592ee8ced3f3a0650c0ab8c3abf4/default/test/fold2.t.corrected
index 9305147..d51ce68 100644
--- a/_build/.sandbox/0913592ee8ced3f3a0650c0ab8c3abf4/default/test/fold2.t
+++ b/_build/.sandbox/0913592ee8ced3f3a0650c0ab8c3abf4/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]
$ touch git-daemon-export-ok
$ mgit git://localhost/simple#main << EOF
> fold
@@ -11,10 +13,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 322, characters 2-25
+  Called from Dune__exe__Mgit in file "app/mgit.ml", line 326, 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]
(cd _build/default/test && ./tests.exe)
Testing `Git-KV alcotest tests'.
This run has ID `3AL8AEHI'.


[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.082s. 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/3339d4c41a7ec235df61b71960779832/default/test/fold.t _build/.sandbox/3339d4c41a7ec235df61b71960779832/default/test/fold.t.corrected
diff --git a/_build/.sandbox/3339d4c41a7ec235df61b71960779832/default/test/fold.t b/_build/.sandbox/3339d4c41a7ec235df61b71960779832/default/test/fold.t.corrected
index 344f590..43d48cd 100644
--- a/_build/.sandbox/3339d4c41a7ec235df61b71960779832/default/test/fold.t
+++ b/_build/.sandbox/3339d4c41a7ec235df61b71960779832/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]
$ touch git-daemon-export-ok
$ mgit git://localhost/simple#main <<EOF
> fold
@@ -13,19 +15,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 322, characters 2-25
+  Called from Dune__exe__Mgit in file "app/mgit.ml", line 326, 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 322, characters 2-25
+  Called from Dune__exe__Mgit in file "app/mgit.ml", line 326, 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/12fbc90436250950929ebda47239dbc0/default/test/simple.t _build/.sandbox/12fbc90436250950929ebda47239dbc0/default/test/simple.t.corrected
diff --git a/_build/.sandbox/12fbc90436250950929ebda47239dbc0/default/test/simple.t b/_build/.sandbox/12fbc90436250950929ebda47239dbc0/default/test/simple.t.corrected
index 9c1549d..1f71555 100644
--- a/_build/.sandbox/12fbc90436250950929ebda47239dbc0/default/test/simple.t
+++ b/_build/.sandbox/12fbc90436250950929ebda47239dbc0/default/test/simple.t.corrected
@@ -13,21 +13,32 @@ 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]
$ touch git-daemon-export-ok
$ 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 322, characters 2-25
+  Called from Dune__exe__Mgit in file "app/mgit.ml", line 326, 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
@@ -39,8 +50,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-07-10 13:49.08: Job failed: Failed: Build failed