2025-06-17 07:24.11: New job: test mbarbin/crs https://github.com/mbarbin/crs.git#refs/heads/main (c3d07b369d59b3a59a34208f6473b62813c8d0d2) (linux-x86_64:opensuse-15.6-5.3_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe87e7b78be5c8e97c48a0be0c3ee3d1ee82e306326f94f27b243b67b5f4df65
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mbarbin/crs.git" -b "main" && cd "crs" && git reset --hard c3d07b36
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe87e7b78be5c8e97c48a0be0c3ee3d1ee82e306326f94f27b243b67b5f4df65
# opensuse-15.6-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 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 || git fetch origin master) && git reset -q --hard 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 crs.opam crs-tests.opam crs-dev.opam ./
RUN opam pin add -yn crs.dev './' && \
opam pin add -yn crs-tests.dev './' && \
opam pin add -yn crs-dev.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base_bigstring.v0.17.0 base_quickcheck.v0.17.1 bin_prot.v0.17.0-1 camlp-streams.5.0.1 capitalization.v0.17.0 cmdlang.0.0.9 cmdlang-to-cmdliner.0.0.9 cmdliner.1.3.0 conf-g++.1.0 core.v0.17.1 core_kernel.v0.17.0 core_unix.v0.17.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dyn.3.19.1 expect_test_helpers_core.v0.17.0 fieldslib.v0.17.0 file-rewriter.0.0.3 fmt.0.10.0 fpath.0.7.3 fpath-base.0.3.1 fpath-sexp0.0.3.1 gel.v0.17.0 int_repr.v0.17.0 jane-street-headers.v0.17.0 jane_rope.v0.17.0 jst-config.v0.17.0 loc.0.2.2 logs.0.8.0 mdx.2.5.0 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.19.1 parsexp.v0.17.0 patdiff.v0.17.0 patience_diff.v0.17.0 posixat.v0.17.0 pp.2.0.0 pplumbing.0.0.14 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_bench.v0.17.1 ppx_bin_prot.v0.17.1 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_custom_printf.v0.17.0 ppx_derivers.1.2.1 ppx_diff.v0.17.1 ppx_disable_unused_warnings.v0.17.0 ppx_enumerate.v0.17.0 ppx_expect.v0.17.3 ppx_fields_conv.v0.17.0 ppx_fixed_literal.v0.17.0 ppx_globalize.v0.17.2 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_ignore_instrumentation.v0.17.0 ppx_inline_test.v0.17.1 ppx_jane.v0.17.0 ppx_let.v0.17.1 ppx_log.v0.17.0 ppx_module_timer.v0.17.0 ppx_optcomp.v0.17.1 ppx_optional.v0.17.0 ppx_pipebang.v0.17.0 ppx_sexp_conv.v0.17.1 ppx_sexp_message.v0.17.0 ppx_sexp_value.v0.17.0 ppx_stable.v0.17.1 ppx_stable_witness.v0.17.0 ppx_string.v0.17.0 ppx_string_conv.v0.17.0 ppx_tydi.v0.17.1 ppx_typerep_conv.v0.17.1 ppx_variants_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.3 re.1.12.0 re2.v0.17.0 regex_parser_intf.v0.17.0 result.1.5 seq.base sexp_pretty.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 shexp.v0.17.0 spawn.v0.17.0 splittable_random.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 stdune.3.19.1 textutils.v0.17.0 time_now.v0.17.0 timezone.v0.17.0 topkg.1.0.8 typerep.v0.17.1 uopt.v0.17.0 uutf.1.0.4 variantslib.v0.17.0 volgo.0.0.18 volgo-base.0.0.18 volgo-git-backend.0.0.18 volgo-git-unix.0.0.18 volgo-hg-backend.0.0.18 volgo-hg-unix.0.0.18 volgo-vcs.0.0.18"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y crs.dev crs-tests.dev crs-dev.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-06-17 07:24.11: Using cache hint "mbarbin/crs-ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe87e7b78be5c8e97c48a0be0c3ee3d1ee82e306326f94f27b243b67b5f4df65-opensuse-15.6-5.3_opam-2.3-b146c713b94d85b1e47ae64a44c17add"
2025-06-17 07:24.11: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe87e7b78be5c8e97c48a0be0c3ee3d1ee82e306326f94f27b243b67b5f4df65)
(comment opensuse-15.6-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 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 || git fetch origin master) && git reset -q --hard 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src crs.opam crs-tests.opam crs-dev.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn crs.dev './' && \
\nopam pin add -yn crs-tests.dev './' && \
\nopam pin add -yn crs-dev.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base_bigstring.v0.17.0 base_quickcheck.v0.17.1 bin_prot.v0.17.0-1 camlp-streams.5.0.1 capitalization.v0.17.0 cmdlang.0.0.9 cmdlang-to-cmdliner.0.0.9 cmdliner.1.3.0 conf-g++.1.0 core.v0.17.1 core_kernel.v0.17.0 core_unix.v0.17.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dyn.3.19.1 expect_test_helpers_core.v0.17.0 fieldslib.v0.17.0 file-rewriter.0.0.3 fmt.0.10.0 fpath.0.7.3 fpath-base.0.3.1 fpath-sexp0.0.3.1 gel.v0.17.0 int_repr.v0.17.0 jane-street-headers.v0.17.0 jane_rope.v0.17.0 jst-config.v0.17.0 loc.0.2.2 logs.0.8.0 mdx.2.5.0 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.19.1 parsexp.v0.17.0 patdiff.v0.17.0 patience_diff.v0.17.0 posixat.v0.17.0 pp.2.0.0 pplumbing.0.0.14 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_bench.v0.17.1 ppx_bin_prot.v0.17.1 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_custom_printf.v0.17.0 ppx_derivers.1.2.1 ppx_diff.v0.17.1 ppx_disable_unused_warnings.v0.17.0 ppx_enumerate.v0.17.0 ppx_expect.v0.17.3 ppx_fields_conv.v0.17.0 ppx_fixed_literal.v0.17.0 ppx_globalize.v0.17.2 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_ignore_instrumentation.v0.17.0 ppx_inline_test.v0.17.1 ppx_jane.v0.17.0 ppx_let.v0.17.1 ppx_log.v0.17.0 ppx_module_timer.v0.17.0 ppx_optcomp.v0.17.1 ppx_optional.v0.17.0 ppx_pipebang.v0.17.0 ppx_sexp_conv.v0.17.1 ppx_sexp_message.v0.17.0 ppx_sexp_value.v0.17.0 ppx_stable.v0.17.1 ppx_stable_witness.v0.17.0 ppx_string.v0.17.0 ppx_string_conv.v0.17.0 ppx_tydi.v0.17.1 ppx_typerep_conv.v0.17.1 ppx_variants_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.3 re.1.12.0 re2.v0.17.0 regex_parser_intf.v0.17.0 result.1.5 seq.base sexp_pretty.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 shexp.v0.17.0 spawn.v0.17.0 splittable_random.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 stdune.3.19.1 textutils.v0.17.0 time_now.v0.17.0 timezone.v0.17.0 topkg.1.0.8 typerep.v0.17.1 uopt.v0.17.0 uutf.1.0.4 variantslib.v0.17.0 volgo.0.0.18 volgo-base.0.0.18 volgo-git-backend.0.0.18 volgo-git-unix.0.0.18 volgo-hg-backend.0.0.18 volgo-hg-unix.0.0.18 volgo-vcs.0.0.18")
(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 crs.dev crs-tests.dev crs-dev.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-06-17 07:24.11: Waiting for resource in pool OCluster
2025-06-17 07:24.11: Waiting for worker…
2025-06-17 07:25.21: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at c3d07b3 Bump volgo deps bound
(from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe87e7b78be5c8e97c48a0be0c3ee3d1ee82e306326f94f27b243b67b5f4df65)
2025-06-17 07:25.21 ---> using "b3dfaa0594143e837fba1348b2517eca512741ffcf31ce9f6e228188eb65abf1" from cache
/: (comment opensuse-15.6-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-06-17 07:25.21 ---> using "d4c2327987b183fc31f02b10d1d8864609c3f6cdb4a0d925eaf13c14e6503c5f" 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-06-17 07:25.21 ---> using "5dbce14f50cafb6886eea9e4609ad491a4b2925d110486c5ecde6cc11ae41b52" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-17 07:25.21 ---> using "821badb3ec4aac8d37773aedde6b8c113709a0e55ce5cc9a732831822fd43deb" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 07:25.21 ---> using "e3368b08ba63060888aa8db457050d52709e053d9d180971ac21b5bd6a862609" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 || git fetch origin master) && git reset -q --hard 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..c7269f729a master -> origin/master
59e7a58f9d Merge pull request #28012 from dkalinichenko-js/opam-publish-base.v0.17.3
<><> 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-06-17 07:25.21 ---> using "a7551d2bba86184c691eeb8b13e9e0024acf5c03dbe788d972a00b298821e71e" from cache
/src: (copy (src crs.opam crs-tests.opam crs-dev.opam) (dst ./))
2025-06-17 07:25.22 ---> saved as "360058656773b7564e8b482a6a0e56aac4f3a89ffa1070613c162476bf503843"
/src: (run (network host)
(shell "opam pin add -yn crs.dev './' && \
\nopam pin add -yn crs-tests.dev './' && \
\nopam pin add -yn crs-dev.dev './'"))
Package crs does not exist, create as a NEW package? [y/n] y
[crs.dev] synchronised (file:///src)
crs is now pinned to file:///src (version dev)
Package crs-tests does not exist, create as a NEW package? [y/n] y
[crs-tests.dev] synchronised (file:///src)
crs-tests is now pinned to file:///src (version dev)
Package crs-dev does not exist, create as a NEW package? [y/n] y
[crs-dev.dev] synchronised (file:///src)
crs-dev is now pinned to file:///src (version dev)
2025-06-17 07:25.44 ---> saved as "3182daa3d9f5b31f573ad2ff613ffe3031c37c47b91ecbdbdd177d2f63c407c4"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 07:25.44 ---> saved as "6228b74275056e351420190277476976250a6da1d1feeff4b41800f479abe640"
/src: (env DEPS "astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base_bigstring.v0.17.0 base_quickcheck.v0.17.1 bin_prot.v0.17.0-1 camlp-streams.5.0.1 capitalization.v0.17.0 cmdlang.0.0.9 cmdlang-to-cmdliner.0.0.9 cmdliner.1.3.0 conf-g++.1.0 core.v0.17.1 core_kernel.v0.17.0 core_unix.v0.17.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dyn.3.19.1 expect_test_helpers_core.v0.17.0 fieldslib.v0.17.0 file-rewriter.0.0.3 fmt.0.10.0 fpath.0.7.3 fpath-base.0.3.1 fpath-sexp0.0.3.1 gel.v0.17.0 int_repr.v0.17.0 jane-street-headers.v0.17.0 jane_rope.v0.17.0 jst-config.v0.17.0 loc.0.2.2 logs.0.8.0 mdx.2.5.0 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.19.1 parsexp.v0.17.0 patdiff.v0.17.0 patience_diff.v0.17.0 posixat.v0.17.0 pp.2.0.0 pplumbing.0.0.14 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_bench.v0.17.1 ppx_bin_prot.v0.17.1 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_custom_printf.v0.17.0 ppx_derivers.1.2.1 ppx_diff.v0.17.1 ppx_disable_unused_warnings.v0.17.0 ppx_enumerate.v0.17.0 ppx_expect.v0.17.3 ppx_fields_conv.v0.17.0 ppx_fixed_literal.v0.17.0 ppx_globalize.v0.17.2 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_ignore_instrumentation.v0.17.0 ppx_inline_test.v0.17.1 ppx_jane.v0.17.0 ppx_let.v0.17.1 ppx_log.v0.17.0 ppx_module_timer.v0.17.0 ppx_optcomp.v0.17.1 ppx_optional.v0.17.0 ppx_pipebang.v0.17.0 ppx_sexp_conv.v0.17.1 ppx_sexp_message.v0.17.0 ppx_sexp_value.v0.17.0 ppx_stable.v0.17.1 ppx_stable_witness.v0.17.0 ppx_string.v0.17.0 ppx_string_conv.v0.17.0 ppx_tydi.v0.17.1 ppx_typerep_conv.v0.17.1 ppx_variants_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.3 re.1.12.0 re2.v0.17.0 regex_parser_intf.v0.17.0 result.1.5 seq.base sexp_pretty.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 shexp.v0.17.0 spawn.v0.17.0 splittable_random.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 stdune.3.19.1 textutils.v0.17.0 time_now.v0.17.0 timezone.v0.17.0 topkg.1.0.8 typerep.v0.17.1 uopt.v0.17.0 uutf.1.0.4 variantslib.v0.17.0 volgo.0.0.18 volgo-base.0.0.18 volgo-git-backend.0.0.18 volgo-git-unix.0.0.18 volgo-hg-backend.0.0.18 volgo-hg-unix.0.0.18 volgo-vcs.0.0.18")
/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 crs.dev crs-tests.dev crs-dev.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [......
- ..done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [...........
- ..........
- ......
- .done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[crs.dev] synchronised (file:///src)
[crs-dev.dev] synchronised (file:///src)
[crs-tests.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).
2025-06-17 07:26.34 ---> saved as "46a5d44f9e03ed1a31ec134f11ca8adc7b46691f6d28144e89ed96713c0231f5"
/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 114 packages
- install astring 0.8.5
- install base v0.17.3
- install base_bigstring v0.17.0
- install base_quickcheck v0.17.1
- install bin_prot v0.17.0-1
- install camlp-streams 5.0.1
- install capitalization v0.17.0
- install cmdlang 0.0.9
- install cmdlang-to-cmdliner 0.0.9
- install cmdliner 1.3.0
- install conf-g++ 1.0
- install core v0.17.1
- install core_kernel v0.17.0
- install core_unix v0.17.1
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install dyn 3.19.1
- install expect_test_helpers_core v0.17.0
- install fieldslib v0.17.0
- install file-rewriter 0.0.3
- install fmt 0.10.0
- install fpath 0.7.3
- install fpath-base 0.3.1
- install fpath-sexp0 0.3.1
- install gel v0.17.0
- install int_repr v0.17.0
- install jane-street-headers v0.17.0
- install jane_rope v0.17.0
- install jst-config v0.17.0
- install loc 0.2.2
- install logs 0.8.0
- install mdx 2.5.0
- install num 1.5-1
- install ocaml-compiler-libs v0.17.0
- install ocaml-version 4.0.1
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ordering 3.19.1
- install parsexp v0.17.0
- install patdiff v0.17.0
- install patience_diff v0.17.0
- install posixat v0.17.0
- install pp 2.0.0
- install pplumbing 0.0.14
- install ppx_assert v0.17.0
- install ppx_base v0.17.0
- install ppx_bench v0.17.1
- install ppx_bin_prot v0.17.1
- install ppx_cold v0.17.0
- install ppx_compare v0.17.0
- install ppx_custom_printf v0.17.0
- install ppx_derivers 1.2.1
- install ppx_diff v0.17.1
- install ppx_disable_unused_warnings v0.17.0
- install ppx_enumerate v0.17.0
- install ppx_expect v0.17.3
- install ppx_fields_conv v0.17.0
- install ppx_fixed_literal v0.17.0
- install ppx_globalize v0.17.2
- install ppx_hash v0.17.0
- install ppx_here v0.17.0
- install ppx_ignore_instrumentation v0.17.0
- install ppx_inline_test v0.17.1
- install ppx_jane v0.17.0
- install ppx_let v0.17.1
- install ppx_log v0.17.0
- install ppx_module_timer v0.17.0
- install ppx_optcomp v0.17.1
- install ppx_optional v0.17.0
- install ppx_pipebang v0.17.0
- install ppx_sexp_conv v0.17.1
- install ppx_sexp_message v0.17.0
- install ppx_sexp_value v0.17.0
- install ppx_stable v0.17.1
- install ppx_stable_witness v0.17.0
- install ppx_string v0.17.0
- install ppx_string_conv v0.17.0
- install ppx_tydi v0.17.1
- install ppx_typerep_conv v0.17.1
- install ppx_variants_conv v0.17.1
- install ppxlib 0.36.0
- install ppxlib_jane v0.17.3
- install re 1.12.0
- install re2 v0.17.0
- install regex_parser_intf v0.17.0
- install result 1.5
- install seq base
- install sexp_pretty v0.17.0
- install sexplib v0.17.0
- install sexplib0 v0.17.0
- install shexp v0.17.0
- install spawn v0.17.0
- install splittable_random v0.17.0
- install stdio v0.17.0
- install stdlib-shims 0.3.0
- install stdune 3.19.1
- install textutils v0.17.0
- install time_now v0.17.0
- install timezone v0.17.0
- install topkg 1.0.8
- install typerep v0.17.1
- install uopt v0.17.0
- install uutf 1.0.4
- install variantslib v0.17.0
- install volgo 0.0.18
- install volgo-base 0.0.18
- install volgo-git-backend 0.0.18
- install volgo-git-unix 0.0.18
- install volgo-hg-backend 0.0.18
- install volgo-hg-unix 0.0.18
- install volgo-vcs 0.0.18
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base_bigstring.v0.17.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base_quickcheck.v0.17.1 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved bin_prot.v0.17.0-1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved capitalization.v0.17.0 (cached)
-> retrieved cmdlang.0.0.9, cmdlang-to-cmdliner.0.0.9 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved core.v0.17.1 (cached)
-> installed conf-g++.1.0
-> retrieved core_kernel.v0.17.0 (cached)
-> retrieved core_unix.v0.17.1 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved expect_test_helpers_core.v0.17.0 (cached)
-> retrieved fieldslib.v0.17.0 (cached)
-> retrieved file-rewriter.0.0.3 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved fpath-base.0.3.1, fpath-sexp0.0.3.1 (cached)
-> retrieved gel.v0.17.0 (cached)
-> retrieved int_repr.v0.17.0 (cached)
-> retrieved jane-street-headers.v0.17.0 (cached)
-> retrieved jane_rope.v0.17.0 (cached)
-> retrieved jst-config.v0.17.0 (cached)
-> retrieved loc.0.2.2 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved mdx.2.5.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved patdiff.v0.17.0 (cached)
-> retrieved patience_diff.v0.17.0 (cached)
-> retrieved posixat.v0.17.0 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved pplumbing.0.0.14 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_bench.v0.17.1 (cached)
-> retrieved ppx_bin_prot.v0.17.1 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_custom_printf.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_disable_unused_warnings.v0.17.0 (cached)
-> retrieved ppx_diff.v0.17.1 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_fields_conv.v0.17.0 (cached)
-> retrieved ppx_expect.v0.17.3 (cached)
-> retrieved ppx_fixed_literal.v0.17.0 (cached)
-> retrieved ppx_globalize.v0.17.2 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> retrieved ppx_ignore_instrumentation.v0.17.0 (cached)
-> retrieved ppx_inline_test.v0.17.1 (cached)
-> retrieved ppx_let.v0.17.1 (cached)
-> retrieved ppx_jane.v0.17.0 (cached)
-> retrieved ppx_log.v0.17.0 (cached)
-> retrieved ppx_module_timer.v0.17.0 (cached)
-> retrieved ppx_optcomp.v0.17.1 (cached)
-> retrieved ppx_optional.v0.17.0 (cached)
-> retrieved ppx_pipebang.v0.17.0 (cached)
-> retrieved ppx_sexp_message.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppx_sexp_value.v0.17.0 (cached)
-> retrieved ppx_stable.v0.17.1 (cached)
-> retrieved ppx_stable_witness.v0.17.0 (cached)
-> retrieved ppx_string.v0.17.0 (cached)
-> retrieved ppx_string_conv.v0.17.0 (cached)
-> retrieved ppx_tydi.v0.17.1 (cached)
-> retrieved ppx_typerep_conv.v0.17.1 (cached)
-> retrieved ppx_variants_conv.v0.17.1 (cached)
-> retrieved ppxlib_jane.v0.17.3 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved re2.v0.17.0 (cached)
-> retrieved regex_parser_intf.v0.17.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexp_pretty.v0.17.0 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved shexp.v0.17.0 (cached)
-> retrieved spawn.v0.17.0 (cached)
-> retrieved splittable_random.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1, dyn.3.19.1, ordering.3.19.1, stdune.3.19.1 (cached)
-> retrieved textutils.v0.17.0 (cached)
-> retrieved time_now.v0.17.0 (cached)
-> retrieved timezone.v0.17.0 (cached)
-> retrieved typerep.v0.17.1 (cached)
-> retrieved uopt.v0.17.0 (cached)
-> retrieved variantslib.v0.17.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed cmdliner.1.3.0
-> installed num.1.5-1
-> installed ocamlbuild.0.16.1
-> retrieved volgo.0.0.18, volgo-base.0.0.18, volgo-git-backend.0.0.18, volgo-git-unix.0.0.18, volgo-hg-backend.0.0.18, volgo-hg-unix.0.0.18, volgo-vcs.0.0.18 (cached)
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.8.0
-> installed dune.3.19.1
-> installed camlp-streams.5.0.1
-> installed cmdlang.0.0.9
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed jane-street-headers.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-version.4.0.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed pp.2.0.0
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed sexplib0.v0.17.0
-> installed spawn.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed cmdlang-to-cmdliner.0.0.9
-> installed fpath-sexp0.0.3.1
-> installed re.1.12.0
-> installed ordering.3.19.1
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.19.1
-> installed dyn.3.19.1
-> installed sexplib.v0.17.0
-> installed mdx.2.5.0
-> installed stdune.3.19.1
-> installed loc.0.2.2
-> installed file-rewriter.0.0.3
-> installed pplumbing.0.0.14
-> installed base.v0.17.3
-> installed fieldslib.v0.17.0
-> installed variantslib.v0.17.0
-> installed regex_parser_intf.v0.17.0
-> installed fpath-base.0.3.1
-> installed stdio.v0.17.0
-> installed typerep.v0.17.1
-> installed ppxlib.0.36.0
-> installed ppxlib_jane.v0.17.3
-> installed ppx_optcomp.v0.17.1
-> installed ppx_disable_unused_warnings.v0.17.0
-> installed ppx_cold.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_tydi.v0.17.1
-> installed ppx_typerep_conv.v0.17.1
-> installed ppx_stable_witness.v0.17.0
-> installed ppx_variants_conv.v0.17.1
-> installed ppx_fields_conv.v0.17.0
-> installed ppx_stable.v0.17.1
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_enumerate.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_let.v0.17.1
-> installed posixat.v0.17.0
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_sexp_value.v0.17.0
-> installed ppx_sexp_message.v0.17.0
-> installed ppx_custom_printf.v0.17.0
-> installed shexp.v0.17.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed capitalization.v0.17.0
-> installed volgo.0.0.18
-> installed sexp_pretty.v0.17.0
-> installed bin_prot.v0.17.0-1
-> installed time_now.v0.17.0
-> installed ppx_string.v0.17.0
-> installed volgo-hg-backend.0.0.18
-> installed volgo-git-backend.0.0.18
-> installed volgo-base.0.0.18
-> installed ppx_bin_prot.v0.17.1
-> installed ppx_module_timer.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed ppx_string_conv.v0.17.0
-> installed volgo-git-unix.0.0.18
-> installed volgo-hg-unix.0.0.18
-> installed ppx_bench.v0.17.1
-> installed ppx_expect.v0.17.3
-> installed volgo-vcs.0.0.18
-> installed splittable_random.v0.17.0
-> installed ppx_log.v0.17.0
-> installed base_quickcheck.v0.17.1
-> installed ppx_jane.v0.17.0
-> installed uopt.v0.17.0
-> installed gel.v0.17.0
-> installed jane_rope.v0.17.0
-> installed int_repr.v0.17.0
-> installed base_bigstring.v0.17.0
-> installed ppx_diff.v0.17.1
-> installed core.v0.17.1
-> installed timezone.v0.17.0
-> installed expect_test_helpers_core.v0.17.0
-> installed patience_diff.v0.17.0
-> installed core_kernel.v0.17.0
-> installed core_unix.v0.17.1
-> installed textutils.v0.17.0
-> installed patdiff.v0.17.0
-> installed re2.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 07:33.00 ---> saved as "fa81f753d9a8d4ff3ed76daae0ffdbd4c3bbda7c405f8c0e8ca656cac85b166a"
/src: (copy (src .) (dst /src))
2025-06-17 07:33.00 ---> saved as "0919c3474b492c5a75ca351ff4b04c6b0219168fd57d3542de040b1cb6ffa840"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/cram/hg.t", line 1, characters 0-0:
(cd _build/.sandbox/238ab21442f2b43519ed2fd76504428e/default && /home/opam/.opam/5.3/bin/patdiff -keep-whitespace -location-style omake test/cram/hg.t test/cram/hg.t.corrected)
------ test/cram/hg.t
++++++ test/cram/hg.t.corrected
File "test/cram/hg.t", line 5, characters 0-1:
|First we need to setup a repo in a way that satisfies the test environment. This
|includes specifics required by the GitHub Actions environment.
|
| $ hg init
+| hg: command not found
+| [127]
|
|To make sure the CRs are not mistaken for actual cr comments in this
|file, we make use of some trick.
|
| $ export CR="CR"
| $ export XCR="XCR"
|
|Let's add some files to the tree.
|
| $ cat > hello << EOF
| > Hello World
| > EOF
|
| $ volgo-vcs add hello
!| Context:
!| (Vcs.add (repo_root /src/_build/.sandbox)
!| (path 238ab21442f2b43519ed2fd76504428e/default/test/cram/hello))
!| ((prog git)
!| (args (add 238ab21442f2b43519ed2fd76504428e/default/test/cram/hello))
!| (exit_status (Exited 128)) (cwd /src/_build/.sandbox) (stdout "")
!| (stderr "fatal: invalid gitfile format: /src/_build/.sandbox/.git"))
!| Error: Expected exit code 0.
!| [123]
!| $ rev0=$(volgo-vcs commit -m "Initial commit")
!| Context: (Vcs.commit (repo_root /src/_build/.sandbox))
!| ((prog git) (args (commit -m "Initial commit")) (exit_status (Exited 128))
!| (cwd /src/_build/.sandbox) (stdout "")
!| (stderr "fatal: invalid gitfile format: /src/_build/.sandbox/.git"))
!| Error: Expected exit code 0.
!| [123]
|
|If we grep from there, there is no CR in the tree.
|
| $ crs grep --sexp
+| Context: (Vcs.ls_files (repo_root /src/_build/.sandbox) (below ./))
+| ((prog git) (args (ls-files --full-name)) (exit_status (Exited 128))
+| (cwd /src/_build/.sandbox/) (stdout "")
+| (stderr "fatal: invalid gitfile format: /src/_build/.sandbox/.git"))
+| Error: Expected exit code 0.
+| [123]
+|
!| $ crs grep --summary
!| Context: (Vcs.ls_files (repo_root /src/_build/.sandbox) (below ./))
!| ((prog git) (args (ls-files --full-name)) (exit_status (Exited 128))
!| (cwd /src/_build/.sandbox/) (stdout "")
!| (stderr "fatal: invalid gitfile format: /src/_build/.sandbox/.git"))
!| Error: Expected exit code 0.
!| [123]
|
|Now let's add some CRs.
|
| $ echo -e "(* $CR user1 for user2: Hey, this is a code review comment *)" >> hello
|
| $ volgo-vcs add hello
!| Context:
!| (Vcs.add (repo_root /src/_build/.sandbox)
!| (path 238ab21442f2b43519ed2fd76504428e/default/test/cram/hello))
!| ((prog git)
!| (args (add 238ab21442f2b43519ed2fd76504428e/default/test/cram/hello))
!| (exit_status (Exited 128)) (cwd /src/_build/.sandbox) (stdout "")
!| (stderr "fatal: invalid gitfile format: /src/_build/.sandbox/.git"))
!| Error: Expected exit code 0.
!| [123]
!| $ rev1=$(volgo-vcs commit -m "CRs")
!| Context: (Vcs.commit (repo_root /src/_build/.sandbox))
!| ((prog git) (args (commit -m CRs)) (exit_status (Exited 128))
!| (cwd /src/_build/.sandbox) (stdout "")
!| (stderr "fatal: invalid gitfile format: /src/_build/.sandbox/.git"))
!| Error: Expected exit code 0.
!| [123]
|
|Now let's grep for the CRs.
|
| $ crs grep
-| File "hello", line 2, characters 3-63:
-| CR user1 for user2: Hey, this is a code review comment
+| Context: (Vcs.ls_files (repo_root /src/_build/.sandbox) (below ./))
+| ((prog git) (args (ls-files --full-name)) (exit_status (Exited 128))
+| (cwd /src/_build/.sandbox/) (stdout "")
+| (stderr "fatal: invalid gitfile format: /src/_build/.sandbox/.git"))
+| Error: Expected exit code 0.
+| [123]
File "test/cram/grep.t", line 1, characters 0-0:
(cd _build/.sandbox/7e361cb00962606afe82463ff8465149/default && /home/opam/.opam/5.3/bin/patdiff -keep-whitespace -location-style omake test/cram/grep.t test/cram/grep.t.corrected)
------ test/cram/grep.t
++++++ test/cram/grep.t.corrected
File "test/cram/grep.t", line 112, characters 0-1:
| ("Invalid CR comment"
| "CR : Hey, this comment look like a CR but it's not quite one.")))
| (digest_of_condensed_content d8a25b0acac6d3a23ff4f4c1e4c990a3)
| (content "CR : Hey, this comment look like a CR but it's not quite one."))
| ((path foo/foo.c) (whole_loc _)
| (header (Ok ((kind CR) (due Now) (reported_by user1) (for_ (user3)))))
| (digest_of_condensed_content 4721a5c5f8a37bdcb9e065268bbd0153)
| (content "CR user1 for user3: Hey, this is a code review comment"))
| ((path hello) (whole_loc _)
| (header (Ok ((kind CR) (due Now) (reported_by user1) (for_ (user2)))))
| (digest_of_condensed_content 970aabfe0c3d4ec5707918edd3f01a8a)
| (content "CR user1 for user2: Hey, this is a code review comment"))
|
|The default is to print them, visually separated.
|
| $ crs grep
-| File "foo/a.txt", line 2, characters 3-41:
+| File "foo/a.txt", line 2, characters 0-38:
| XCR user1: Fix this. Edit: Done.
|
-| File "foo/b.txt", line 1, characters 3-74:
+| File "foo/b.txt", line 1, characters 0-71:
| CR-someday user1: Reconsider if/when updating to the new version.
|
-| File "foo/bar/b.txt", line 2, characters 3-58:
+| File "foo/bar/b.txt", line 2, characters 0-55:
| CR-soon user1: Hey, this is a code review comment
|
-| File "foo/bar/c.txt", line 1, characters 3-55:
+| File "foo/bar/c.txt", line 1, characters 0-52:
| CR-user: Hey, I'm trying to use CR, it's cool!
|
-| File "foo/bar/d.txt", line 1, characters 3-70:
+| File "foo/bar/d.txt", line 1, characters 0-67:
| CR : Hey, this comment look like a CR but it's not quite one.
|
-| File "foo/foo.c", line 1, characters 3-63:
+| File "foo/foo.c", line 1, characters 0-60:
| CR user1 for user3: Hey, this is a code review comment
|
-| File "hello", line 2, characters 3-63:
+| File "hello", line 2, characters 0-60:
| CR user1 for user2: Hey, this is a code review comment
|
|You may restrict the search to a subdirectory only.
|
| $ crs grep --below ./foo/bar
-| File "foo/bar/b.txt", line 2, characters 3-58:
+| File "foo/bar/b.txt", line 2, characters 0-55:
| CR-soon user1: Hey, this is a code review comment
|
-| File "foo/bar/c.txt", line 1, characters 3-55:
+| File "foo/bar/c.txt", line 1, characters 0-52:
| CR-user: Hey, I'm trying to use CR, it's cool!
|
-| File "foo/bar/d.txt", line 1, characters 3-70:
+| File "foo/bar/d.txt", line 1, characters 0-67:
| CR : Hey, this comment look like a CR but it's not quite one.
|
| $ crs grep --below /tmp
| Error: Path "/tmp" is not in repo.
| [123]
|
|There's also an option to display the results as summary tables.
|
| $ crs grep --summary
| ┌─────────┬───────┐
| │ type │ count │
| ├─────────┼───────┤
| │ Invalid │ 2 │
| │ CR │ 2 │
| │ XCR │ 1 │
| │ Soon │ 1 │
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-17 07:33.07: Job failed: Failed: Build failed