Organisationsrobur-coopgit-kv462eb2 (main)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.47: New job: test robur-coop/git-kv https://github.com/robur-coop/git-kv.git#refs/heads/main (462eb2251e95ae1b6e647963504837920e9c24ed) (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 "main" && cd "git-kv" && git reset --hard 462eb225
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.1.1.0 carton-git-lwt.1.1.0 carton-lwt.1.1.0 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.47: 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-e22ffa91b6acaf02e7e1ca543057d80d"
2025-07-10 13:39.47: 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.1.1.0 carton-git-lwt.1.1.0 carton-lwt.1.1.0 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.47: Waiting for resource in pool OCluster
2025-07-10 13:41.49: Waiting for worker…
2025-07-10 13:43.26: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 462eb22 Merge pull request 'prepare-v0.2.0' (!15) from prepare-v0.2.0 into main


(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380)
2025-07-10 13:43.26 ---> 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:43.26 ---> 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
Format upgrade done.


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


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-10 13:43.26 ---> 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:43.26 ---> using "3f9aba96ac7a1654110ad5283d4982861b08bd9757244130aaa4d9e51eeeba9b" from cache


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


/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)
git-kv is now pinned to file:///src (version dev)
2025-07-10 13:43.30 ---> saved as "0c09121d05c3f7f8ad7bd37e645f1d9afad4d18a0ccac3c6c5ac957b6400ebc8"


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


/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.1.1.0 carton-git-lwt.1.1.0 carton-lwt.1.1.0 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 ><><><><><><><><><><><><><><><><><><><><><><>
[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:43.40 ---> saved as "4d2ac7a09749f5a4ec979f4acc7757580898250cfde630b4dfa758434ffff630"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[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                1.1.0
- install carton-git-lwt        1.1.0
- install carton-lwt            1.1.0
- 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 astring.0.8.5  (cached)
-> retrieved alcotest.1.9.0  (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 checkseum.0.5.2  (cached)
-> retrieved carton.1.1.0, carton-git-lwt.1.1.0, carton-lwt.1.1.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved ca-certs-nss.3.113.1  (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 dns.10.1.0, dns-client.10.1.0, dns-client-mirage.10.1.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved decompress.1.5.3  (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 digestif.1.3.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-dllist.1.1.0  (cached)
-> retrieved metrics.0.5.0  (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 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 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 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)
-> installed cmdliner.1.3.0
-> 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)
-> installed seq.base
-> retrieved re.1.13.2  (cached)
-> 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 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.1
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed bstr.0.0.2
-> 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 duration.0.2.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 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.13.2
-> 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.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 h1.1.0.0
-> installed hpack.0.13.0
-> installed mirage-crypto.2.0.1
-> installed decompress.1.5.3
-> 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 mirage-flow.5.0.0
-> installed cstruct-lwt.6.2.0
-> installed mirage-kv.6.1.1
-> installed mirage-net.4.0.0
-> 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 carton.1.1.0
-> installed arp.4.0.0
-> installed carton-lwt.1.1.0
-> installed mirage-crypto-pk.2.0.1
-> installed carton-git-lwt.1.1.0
-> 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 dns-client.10.1.0
-> installed bos.0.2.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:44.33 ---> saved as "50e32c3a8d0db206a5221cbe4a882eaa6f85604626bf505dfeb58831591c3307"


/src: (copy (src .) (dst /src))
2025-07-10 13:44.33 ---> saved as "05caddc680bd0df1a2a56076a8aed916d8fac6573882f78179fa5609d53ebe54"


/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 `Z2TOF1RR'.


[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.038s. 6 tests run.
File "test/fold2.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/2daf74ab6872a050112c86f3fed135c4/default/test/fold2.t _build/.sandbox/2daf74ab6872a050112c86f3fed135c4/default/test/fold2.t.corrected
diff --git a/_build/.sandbox/2daf74ab6872a050112c86f3fed135c4/default/test/fold2.t b/_build/.sandbox/2daf74ab6872a050112c86f3fed135c4/default/test/fold2.t.corrected
index 9305147..d51ce68 100644
--- a/_build/.sandbox/2daf74ab6872a050112c86f3fed135c4/default/test/fold2.t
+++ b/_build/.sandbox/2daf74ab6872a050112c86f3fed135c4/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]
File "test/simple.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/3f5ccee4053a4faa670ec582e3739df9/default/test/simple.t _build/.sandbox/3f5ccee4053a4faa670ec582e3739df9/default/test/simple.t.corrected
diff --git a/_build/.sandbox/3f5ccee4053a4faa670ec582e3739df9/default/test/simple.t b/_build/.sandbox/3f5ccee4053a4faa670ec582e3739df9/default/test/simple.t.corrected
index 9c1549d..1f71555 100644
--- a/_build/.sandbox/3f5ccee4053a4faa670ec582e3739df9/default/test/simple.t
+++ b/_build/.sandbox/3f5ccee4053a4faa670ec582e3739df9/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]
File "test/fold.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/76a450dcffec609f8adffe9c1dd306f5/default/test/fold.t _build/.sandbox/76a450dcffec609f8adffe9c1dd306f5/default/test/fold.t.corrected
diff --git a/_build/.sandbox/76a450dcffec609f8adffe9c1dd306f5/default/test/fold.t b/_build/.sandbox/76a450dcffec609f8adffe9c1dd306f5/default/test/fold.t.corrected
index 344f590..43d48cd 100644
--- a/_build/.sandbox/76a450dcffec609f8adffe9c1dd306f5/default/test/fold.t
+++ b/_build/.sandbox/76a450dcffec609f8adffe9c1dd306f5/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]
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-10 13:44.36: Job failed: Failed: Build failed