2024-12-19 05:47.41: New job: test art-w/sherlodoc https://github.com/art-w/sherlodoc.git#refs/pull/45/head (c5fcfa9935c1ba95647ac56cc3531abdd999ab38) (windows-amd64:windows-server-2022-amd64-5.2_opam-2.3)
Base: windows-server-2022-amd64-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/art-w/sherlodoc.git" && cd "sherlodoc" && git fetch origin "refs/pull/45/head" && git reset --hard c5fcfa99
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.2
# windows-server-2022-amd64-5.2_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sherlodoc.opam /Users/opam/src/./
RUN opam pin add -yn sherlodoc.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="alcotest.1.8.0 arch-x86_64.1 astring.0.8.5 b0.0.0.5 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 brr.0.0.7 camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.3.3.1 csexp.1.5.2 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 flexdll.0.43 fmt.0.9.0 fpath.0.7.3 gen.1.1 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-toplevel.5.9.1 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 odig.0.0.9 odoc.2.4.4 odoc-parser.2.4.4 optint.0.3.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y sherlodoc.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-12-19 05:47.41: Using cache hint "art-w/sherlodoc-windows-server-2022-amd64-ocaml-5.2-windows-server-2022-amd64-5.2_opam-2.3-af8fdc6877b12d5123e2d42f7ee6a193"
2024-12-19 05:47.41: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.2)
(comment windows-server-2022-amd64-5.2_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "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"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sherlodoc.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn sherlodoc.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "alcotest.1.8.0 arch-x86_64.1 astring.0.8.5 b0.0.0.5 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 brr.0.0.7 camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.3.3.1 csexp.1.5.2 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 flexdll.0.43 fmt.0.9.0 fpath.0.7.3 gen.1.1 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-toplevel.5.9.1 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 odig.0.0.9 odoc.2.4.4 odoc-parser.2.4.4 optint.0.3.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y sherlodoc.dev $DEPS"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-12-19 05:47.41: Waiting for resource in pool OCluster
2024-12-19 05:47.41: Waiting for worker…
2024-12-19 06:30.25: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at c5fcfa9 Add unit tests to suffix tree and discutable bugfixes
(from windows-server-2022-amd64-ocaml-5.2)
2024-12-19 06:30.25 ---> using "112de547835816fcbe31275d69498e33d422e32a95556906be9d3491487c8b0d" from cache
/: (comment windows-server-2022-amd64-5.2_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-19 06:30.25 ---> using "d5b02c30bb5bc0365300c9f5d7519fd402265ed836a1fc5699dc93e82bc79e21" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>
opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.
How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation
[1/2/3/4/5] 1
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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2024-12-19 06:30.25 ---> using "6feb3975d1a017451ea5d1ec642e42853dba876445528c56610ee0dac1de21f9" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 5.2.1
2.3.0
2024-12-19 06:30.25 ---> using "48235bc8d7038bef92de7d5349850096860ed1611a41d2324d3b2eec8dba2137" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..5c7ffb23c8 master -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/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)
2024-12-19 06:30.25 ---> using "8a1e852dbd93842b54dc4c92adf08dd19cc3153d6541e67fa2a0a46244be0986" from cache
/: (copy (src sherlodoc.opam) (dst /Users/opam/src/./))
2024-12-19 06:30.25 ---> using "c19fabbb90d7e7e8e3f6f3c47c45e2282cfb2f97d7858f07d30a7952557adc2e" from cache
/: (run (network host)
(shell "opam pin add -yn sherlodoc.dev '/Users/opam/src/./'"))
[sherlodoc.dev] synchronised (file://C:/Users/opam/src/.)
sherlodoc is now pinned to file://C:/Users/opam/src/. (version dev)
2024-12-19 06:30.25 ---> using "cb4bb6ac69d178e4ef6e6530ac0208eab32da6a977539f10fc35e93bcc3f0038" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2024-12-19 06:30.25 ---> using "a80d8bb8effbc576ed76ae9c6eb01d770db194621175847e05be195d577fe89d" from cache
/: (env DEPS "alcotest.1.8.0 arch-x86_64.1 astring.0.8.5 b0.0.0.5 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 brr.0.0.7 camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.3.3.1 csexp.1.5.2 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.1 flexdll.0.43 fmt.0.9.0 fpath.0.7.3 gen.1.1 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-toplevel.5.9.1 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 odig.0.0.9 odoc.2.4.4 odoc-parser.2.4.4 optint.0.3.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3 yojson.2.2.2")
/: (env CI true)
/: (env OCAMLCI true)
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y sherlodoc.dev $DEPS"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sherlodoc.dev] synchronised (file://C:/Users/opam/src/.)
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2024-12-19 06:30.25 ---> using "0eec4a5da4d3b66a979016cce1cca487c11d3cff76cea7274ccf306e7fa71a26" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== install 52 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install b0 0.0.5
- install base v0.16.3
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install brr 0.0.7
- install camlp-streams 5.0.1
- install checkseum 0.5.2
- install cmdliner 1.3.0
- install conf-bash 1
- install cppo 1.8.0
- install crunch 3.3.1
- install csexp 1.5.2
- install decompress 1.5.3
- install dune 3.17.1
- install dune-configurator 3.17.1
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 1.1
- install js_of_ocaml 5.9.1
- install js_of_ocaml-compiler 5.9.1
- install js_of_ocaml-toplevel 5.9.1
- install lwt 5.9.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.5
- install ocplib-endian 1.2
- install odig 0.0.9
- install odoc 2.4.4
- install odoc-parser 2.4.4
- install optint 0.3.0
- install ppx_blob 0.9.0
- install ppx_derivers 1.2.1
- install ppxlib 0.33.0
- install ptime 1.2.0
- install re 1.12.0
- install result 1.5
- install sedlex 3.3
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install tyxml 4.6.0
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved b0.0.0.5 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved brr.0.0.7 (cached)
-> retrieved checkseum.0.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved crunch.3.3.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-bash.1
-> retrieved cppo.1.8.0 (https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz)
-> retrieved decompress.1.5.3 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved lwt.5.9.0 (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.0.tar.gz)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved js_of_ocaml.5.9.1, js_of_ocaml-compiler.5.9.1, js_of_ocaml-toplevel.5.9.1 (https://github.com/ocsigen/js_of_ocaml/releases/download/5.9.1/js_of_ocaml-5.9.1.tbz)
-> retrieved dune.3.17.1, dune-configurator.3.17.1 (https://github.com/ocaml/dune/releases/download/3.17.1/dune-3.17.1.tbz)
-> retrieved ocamlfind.1.9.5 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved odig.0.0.9 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ppx_blob.0.9.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (https://github.com/ocaml/odoc/releases/download/2.4.4/odoc-2.4.4.tbz)
-> retrieved seq.base (cached)
-> retrieved result.1.5 (cached)
-> retrieved sedlex.3.3 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.2.1\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.2.1\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.2.1\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed fpath.0.7.3
-> installed dune.3.17.1
-> installed camlp-streams.5.0.1
-> installed crunch.3.3.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed gen.1.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed re.1.12.0
-> installed result.1.5
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.17.1
-> installed yojson.2.2.2
-> installed odoc-parser.2.4.4
-> installed tyxml.4.6.0
-> installed alcotest.1.8.0
-> installed bigstringaf.0.10.0
-> installed checkseum.0.5.2
-> installed decompress.1.5.3
-> installed base.v0.16.3
-> installed odoc.2.4.4
-> installed lwt.5.9.0
-> installed ppxlib.0.33.0
-> installed ppx_blob.0.9.0
-> installed b0.0.0.5
-> installed sedlex.3.3
-> installed menhir.20240715
-> installed odig.0.0.9
-> installed js_of_ocaml-compiler.5.9.1
-> installed js_of_ocaml-toplevel.5.9.1
-> installed js_of_ocaml.5.9.1
-> installed brr.0.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-19 06:30.25 ---> using "1693b586777f55087ef0fd0503c82360a0dd63aa8044353a75ab7fe023e874bc" from cache
/: (copy (src .) (dst /Users/opam/src))
2024-12-19 06:31.25 ---> saved as "c3c9690246224c077aa83f2ac15af76a55230ac5766bcdc3f5684f9017a6d7c4"
/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/query/test && .\test.exe)
Testing `Query'.
This run has ID `8ID55PN2'.
[OK] Succ 0 Succ.to_seq extra.
[OK] Succ 1 Succ.to_seq size 0.
[OK] Succ 2 Succ.to_seq size 7.
[OK] Succ 3 Succ.to_seq size 14.
[OK] Succ 4 Succ.to_seq size 21.
[OK] Succ 5 Succ.to_seq size 28.
[OK] Succ 6 Succ.to_seq size 35.
[OK] Succ 7 Succ.to_seq size 42.
[OK] Succ 8 Succ.to_seq size 49.
[OK] Succ 9 Succ.to_seq size 56.
[OK] Succ 10 Succ.to_seq size 63.
[OK] Succ 11 Succ.to_seq size 70.
[OK] Succ 12 Succ.to_seq size 77.
[OK] Succ 13 Succ.to_seq size 84.
[OK] Succ 14 Succ.to_seq size 91.
[OK] Succ 15 Succ.to_seq size 98.
[OK] Succ 16 Succ.to_seq size 105.
[OK] Succ 17 Succ.to_seq size 112.
[OK] Succ 18 Succ.to_seq size 119.
[OK] Succ 19 Succ.to_seq size 126.
[OK] Succ 20 Succ.to_seq size 133.
[OK] Succ 21 Succ.to_seq size 140.
[OK] Succ 22 Succ.to_seq size 147.
[OK] Succ 23 Succ.to_seq size 154.
[OK] Succ 24 Succ.to_seq size 161.
[OK] Succ 25 Succ.to_seq size 168.
[OK] Succ 26 Succ.to_seq size 175.
[OK] Succ 27 Succ.to_seq size 182.
[OK] Succ 28 Succ.to_seq size 189.
[OK] Succ 29 Succ.to_seq size 196.
[OK] Succ 30 Succ.to_seq size 203.
[OK] Succ 31 Succ.to_seq size 210.
[OK] Succ 32 Succ.to_seq size 217.
[OK] Succ 33 Succ.to_seq size 224.
[OK] Succ 34 Succ.to_seq size 231.
[OK] Succ 35 Succ.to_seq size 238.
[OK] Succ 36 Succ.to_seq size 245.
[OK] Succ 37 Succ.to_seq size 252.
[OK] Succ 38 Succ.to_seq size 259.
[OK] Succ 39 Succ.to_seq size 266.
[OK] Succ 40 Succ.to_seq size 273.
[OK] Succ 41 Succ.to_seq size 280.
[OK] Succ 42 Succ.to_seq size 287.
[OK] Succ 43 Succ.to_seq size 294.
[OK] Succ 44 Succ.to_seq size 301.
[OK] Succ 45 Succ.to_seq size 308.
[OK] Succ 46 Succ.to_seq size 315.
[OK] Succ 47 Succ.to_seq size 322.
[OK] Succ 48 Succ.to_seq size 329.
[OK] Succ 49 Succ.to_seq size 336.
[OK] Succ 50 Succ.to_seq size 343.
[OK] Type_parser 0 Type_parser size 0.
[OK] Type_parser 1 Type_parser size 5.
[OK] Type_parser 2 Type_parser size 10.
[OK] Type_parser 3 Type_parser size 15.
[OK] Type_parser 4 Type_parser size 20.
[OK] Type_parser 5 Type_parser size 25.
[OK] Type_parser 6 Type_parser size 30.
[OK] Type_parser 7 Type_parser size 35.
[OK] Type_parser 8 Type_parser size 40.
[OK] Type_parser 9 Type_parser size 45.
[OK] Type_parser 10 Type_parser size 50.
[OK] Type_parser 11 Type_parser size 55.
[OK] Type_parser 12 Type_parser size 60.
[OK] Type_parser 13 Type_parser size 65.
[OK] Type_parser 14 Type_parser size 70.
[OK] Type_parser 15 Type_parser size 75.
[OK] Type_parser 16 Type_parser size 80.
[OK] Type_parser 17 Type_parser size 85.
[OK] Type_parser 18 Type_parser size 90.
[OK] Type_parser 19 Type_parser size 95.
[OK] Type_parser 20 Type_parser size 100.
[OK] Type_parser 21 Type_parser size 105.
[OK] Type_parser 22 Type_parser size 110.
[OK] Type_parser 23 Type_parser size 115.
[OK] Type_parser 24 Type_parser size 120.
[OK] Type_parser 25 Type_parser size 125.
[OK] Type_parser 26 Type_parser size 130.
[OK] Type_parser 27 Type_parser size 135.
[OK] Type_parser 28 Type_parser size 140.
[OK] Type_parser 29 Type_parser size 145.
[OK] Type_parser 30 Type_parser size 150.
[OK] Type_parser 31 Type_parser size 155.
[OK] Type_parser 32 Type_parser size 160.
[OK] Type_parser 33 Type_parser size 165.
[OK] Type_parser 34 Type_parser size 170.
[OK] Type_parser 35 Type_parser size 175.
[OK] Type_parser 36 Type_parser size 180.
[OK] Type_parser 37 Type_parser size 185.
[OK] Type_parser 38 Type_parser size 190.
[OK] Type_parser 39 Type_parser size 195.
[OK] Type_parser 40 Type_parser size 200.
[OK] Type_parser 41 Type_parser size 205.
[OK] Type_parser 42 Type_parser size 210.
[OK] Type_parser 43 Type_parser size 215.
[OK] Type_parser 44 Type_parser size 220.
[OK] Type_parser 45 Type_parser size 225.
[OK] Type_parser 46 Type_parser size 230.
[OK] Type_parser 47 Type_parser size 235.
[OK] Type_parser 48 Type_parser size 240.
[OK] Type_parser 49 Type_parser size 245.
[OK] Suffix_tree 0 Suffix_tree size 0.
[OK] Suffix_tree 1 Suffix_tree size 1.
[OK] Suffix_tree 2 Suffix_tree size 2.
[OK] Suffix_tree 3 Suffix_tree size 3.
[OK] Suffix_tree 4 Suffix_tree size 4.
[OK] Suffix_tree 5 Suffix_tree size 5.
[OK] Suffix_tree 6 Suffix_tree size 6.
[OK] Suffix_tree 7 Suffix_tree size 7.
[OK] Suffix_tree 8 Suffix_tree size 8.
[OK] Suffix_tree 9 Suffix_tree size 9.
[OK] Suffix_tree 10 Suffix_tree size 10.
[OK] Suffix_tree 11 Suffix_tree size 11.
[OK] Suffix_tree 12 Suffix_tree size 12.
[OK] Suffix_tree 13 Suffix_tree size 13.
[OK] Suffix_tree 14 Suffix_tree size 14.
[OK] Suffix_tree 15 Suffix_tree size 15.
[OK] Suffix_tree 16 Suffix_tree size 16.
[OK] Suffix_tree 17 Suffix_tree size 17.
[OK] Suffix_tree 18 Suffix_tree size 18.
[OK] Suffix_tree 19 Suffix_tree size 19.
[OK] Suffix_tree 20 Suffix_tree size 20.
[OK] Suffix_tree 21 Suffix_tree size 21.
[OK] Suffix_tree 22 Suffix_tree size 22.
[OK] Suffix_tree 23 Suffix_tree size 23.
[OK] Suffix_tree 24 Suffix_tree size 24.
[OK] Suffix_tree 25 Suffix_tree size 25.
[OK] Suffix_tree 26 Suffix_tree size 26.
[OK] Suffix_tree 27 Suffix_tree size 27.
[OK] Suffix_tree 28 Suffix_tree size 28.
[OK] Suffix_tree 29 Suffix_tree size 29.
[OK] Suffix_tree 30 Suffix_tree size 30.
[OK] Suffix_tree 31 Suffix_tree size 31.
[OK] Suffix_tree 32 Suffix_tree size 32.
[OK] Suffix_tree 33 Suffix_tree size 33.
[OK] Suffix_tree 34 Suffix_tree size 34.
[OK] Suffix_tree 35 Suffix_tree size 35.
[OK] Suffix_tree 36 Suffix_tree size 36.
[OK] Suffix_tree 37 Suffix_tree size 37.
[OK] Suffix_tree 38 Suffix_tree size 38.
[OK] Suffix_tree 39 Suffix_tree size 39.
[OK] Suffix_tree 40 Suffix_tree size 40.
[OK] Suffix_tree 41 Suffix_tree size 41.
[OK] Suffix_tree 42 Suffix_tree size 42.
[OK] Suffix_tree 43 Suffix_tree size 43.
[OK] Suffix_tree 44 Suffix_tree size 44.
[OK] Suffix_tree 45 Suffix_tree size 45.
[OK] Suffix_tree 46 Suffix_tree size 46.
[OK] Suffix_tree 47 Suffix_tree size 47.
[OK] Suffix_tree 48 Suffix_tree size 48.
[OK] Suffix_tree 49 Suffix_tree size 49.
[OK] Suffix_tree 50 Suffix_tree size 50.
[OK] Suffix_tree 51 Suffix_tree size 51.
[OK] Suffix_tree 52 Suffix_tree size 52.
[OK] Suffix_tree 53 Suffix_tree size 53.
[OK] Suffix_tree 54 Suffix_tree size 54.
[OK] Suffix_tree 55 Suffix_tree size 55.
[OK] Suffix_tree 56 Suffix_tree size 56.
[OK] Suffix_tree 57 Suffix_tree size 57.
[OK] Suffix_tree 58 Suffix_tree size 58.
[OK] Suffix_tree 59 Suffix_tree size 59.
[OK] Suffix_tree 60 Suffix_tree size 60.
[OK] Suffix_tree 61 Suffix_tree size 61.
[OK] Suffix_tree 62 Suffix_tree size 62.
[OK] Suffix_tree 63 Suffix_tree size 63.
[OK] Suffix_tree 64 Suffix_tree size 64.
[OK] Suffix_tree 65 Suffix_tree size 65.
[OK] Suffix_tree 66 Suffix_tree size 66.
[OK] Suffix_tree 67 Suffix_tree size 67.
[OK] Suffix_tree 68 Suffix_tree size 68.
[OK] Suffix_tree 69 Suffix_tree size 69.
[OK] Suffix_tree 70 Suffix_tree size 70.
[OK] Suffix_tree 71 Suffix_tree size 71.
[OK] Suffix_tree 72 Suffix_tree size 72.
[OK] Suffix_tree 73 Suffix_tree size 73.
[OK] Suffix_tree 74 Suffix_tree size 74.
[OK] Suffix_tree 75 Suffix_tree size 75.
[OK] Suffix_tree 76 Suffix_tree size 76.
[OK] Suffix_tree 77 Suffix_tree size 77.
[OK] Suffix_tree 78 Suffix_tree size 78.
[OK] Suffix_tree 79 Suffix_tree size 79.
[OK] Suffix_tree 80 Suffix_tree size 80.
[OK] Suffix_tree 81 Suffix_tree size 81.
[OK] Suffix_tree 82 Suffix_tree size 82.
[OK] Suffix_tree 83 Suffix_tree size 83.
[OK] Suffix_tree 84 Suffix_tree size 84.
[OK] Suffix_tree 85 Suffix_tree size 85.
[OK] Suffix_tree 86 Suffix_tree size 86.
[OK] Suffix_tree 87 Suffix_tree size 87.
[OK] Suffix_tree 88 Suffix_tree size 88.
[OK] Suffix_tree 89 Suffix_tree size 89.
[OK] Suffix_tree 90 Suffix_tree size 90.
[OK] Suffix_tree 91 Suffix_tree size 91.
[OK] Suffix_tree 92 Suffix_tree size 92.
[OK] Suffix_tree 93 Suffix_tree size 93.
[OK] Suffix_tree 94 Suffix_tree size 94.
[OK] Suffix_tree 95 Suffix_tree size 95.
[OK] Suffix_tree 96 Suffix_tree size 96.
[OK] Suffix_tree 97 Suffix_tree size 97.
[OK] Suffix_tree 98 Suffix_tree size 98.
[OK] Suffix_tree 99 Suffix_tree size 99.
Full test results in `~\src\_build\default\query\test\_build\_tests\8ID55PN2'.
Test Successful in 1.095s. 201 tests run.
(cd _build/default/test && C:\Users\opam\AppData\Local\opam\5.2.1\bin\odig.exe odoc --cache-dir=docs --no-pkg-deps --quiet base)
The system cannot find the file specified.
File "test/cram/cli_small.t/run.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/d156e79933824d2030cacc390f0169fb/default/test/cram/cli_small.t/run.t _build/.sandbox/d156e79933824d2030cacc390f0169fb/default/test/cram/cli_small.t/run.t.corrected
diff --git a/_build/.sandbox/d156e79933824d2030cacc390f0169fb/default/test/cram/cli_small.t/run.t b/_build/.sandbox/d156e79933824d2030cacc390f0169fb/default/test/cram/cli_small.t/run.t.corrected
index 7b0b4aa..03e8433 100644
--- a/_build/.sandbox/d156e79933824d2030cacc390f0169fb/default/test/cram/cli_small.t/run.t
+++ b/_build/.sandbox/d156e79933824d2030cacc390f0169fb/default/test/cram/cli_small.t/run.t.corrected
@@ -4,11 +4,17 @@
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index $(find . -name '*.odocl')
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 139 type 'a Main.list
- 151 type 'a Main.List.t = 'a list
- 154 mod Main.List
- 259 val Main.List.empty : 'a t * 'b t
- 272 val Main.List.map : ('a -> 'b) -> 'a t -> 'b t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": (int, 'a) result"
- val Main.ok_zero : (int, 'a) result
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
File "test/cram/base_cli.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/31e01ec267ce721432e0978e2c1791c5/default/test/cram/base_cli.t _build/.sandbox/31e01ec267ce721432e0978e2c1791c5/default/test/cram/base_cli.t.corrected
diff --git a/_build/.sandbox/31e01ec267ce721432e0978e2c1791c5/default/test/cram/base_cli.t b/_build/.sandbox/31e01ec267ce721432e0978e2c1791c5/default/test/cram/base_cli.t.corrected
index f7cea65..b32811f 100644
--- a/_build/.sandbox/31e01ec267ce721432e0978e2c1791c5/default/test/cram/base_cli.t
+++ b/_build/.sandbox/31e01ec267ce721432e0978e2c1791c5/default/test/cram/base_cli.t.corrected
@@ -2,295 +2,67 @@
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index --index-docstring=false $ODOCLS
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost --limit 100 "S_poly"
- 200 sig Base.Map.S_poly
- 200 sig Base.Set.S_poly
- 204 sig Base.Hashtbl.S_poly
- 248 type 'a Base.Hashtbl.S_poly.key = 'a
- 257 type ('a, 'b) Base.Map.S_poly.t
- 257 type 'elt Base.Set.S_poly.t
- 259 type ('a, 'cmp) Base.Set.S_poly.set
- 260 val Base.Set.S_poly.mem : 'a t -> 'a -> bool
- 260 type ('a, 'b) Base.Map.S_poly.tree
- 260 type 'elt Base.Set.S_poly.tree
- 261 type ('a, 'b) Base.Hashtbl.S_poly.t
- 261 mod Base.Set.S_poly.Named
- 267 val Base.Hashtbl.S_poly.data : (_, 'b) t -> 'b list
- 271 val Base.Hashtbl.S_poly.keys : ('a, _) t -> 'a key list
- 274 type Base.Map.S_poly.comparator_witness
- 274 type Base.Set.S_poly.comparator_witness
- 277 val Base.Set.S_poly.map : ('a, _) set -> f:('a -> 'b) -> 'b t
- 277 val Base.Hashtbl.S_poly.find_exn : ('a, 'b) t -> 'a key -> 'b
- 278 val Base.Hashtbl.S_poly.choose_exn : ('a, 'b) t -> 'a key * 'b
- 280 val Base.Hashtbl.S_poly.find : ('a, 'b) t -> 'a key -> 'b option
- 283 val Base.Hashtbl.S_poly.choose : ('a, 'b) t -> ('a key * 'b) option
- 283 val Base.Hashtbl.S_poly.to_alist : ('a, 'b) t -> ('a key * 'b) list
- 283 mod Base.Map.S_poly.Make_applicative_traversals
- 286 val Base.Hashtbl.S_poly.map : ('a, 'b) t -> f:('b -> 'c) -> ('a, 'c) t
- 287 val Base.Hashtbl.S_poly.map_inplace : (_, 'b) t -> f:('b -> 'b) -> unit
- 287 val Base.Hashtbl.S_poly.remove_multi : ('a, _ list) t -> 'a key -> unit
- 289 val Base.Hashtbl.S_poly.set : ('a, 'b) t -> key:'a key -> data:'b -> unit
- 289 val Base.Hashtbl.S_poly.find_multi : ('a, 'b list) t -> 'a key -> 'b list
- 291 val Base.Hashtbl.S_poly.find_and_remove : ('a, 'b) t -> 'a key -> 'b option
- 300 val Base.Hashtbl.S_poly.update : ('a, 'b) t -> 'a key -> f:('b option -> 'b) -> unit
- 300 val Base.Hashtbl.S_poly.add_multi : ('a, 'b list) t -> key:'a key -> data:'b -> unit
- 300 val Base.Hashtbl.S_poly.filter_map : ('a, 'b) t -> f:('b -> 'c option) -> ('a, 'c) t
- 301 val Base.Hashtbl.S_poly.filter_map_inplace : (_, 'b) t -> f:('b -> 'b option) -> unit
- 301 val Base.Hashtbl.S_poly.filter_keys_inplace : ('a, _) t -> f:('a key -> bool) -> unit
- 302 val Base.Hashtbl.S_poly.equal : ('b -> 'b -> bool) -> ('a, 'b) t -> ('a, 'b) t -> bool
- 303 val Base.Hashtbl.S_poly.iteri : ('a, 'b) t -> f:(key:'a key -> data:'b -> unit) -> unit
- 304 val Base.Hashtbl.S_poly.find_or_add : ('a, 'b) t -> 'a key -> default:(unit -> 'b) -> 'b
- 305 val Base.Hashtbl.S_poly.add : ('a, 'b) t -> key:'a key -> data:'b -> [ `Ok | `Duplicate ]
- 306 val Base.Hashtbl.S_poly.mapi : ('a, 'b) t -> f:(key:'a key -> data:'b -> 'c) -> ('a, 'c) t
- 307 val Base.Hashtbl.S_poly.change : ('a, 'b) t -> 'a key -> f:('b option -> 'b option) -> unit
- 307 val Base.Hashtbl.S_poly.findi_or_add : ('a, 'b) t -> 'a key -> default:('a key -> 'b) -> 'b
- 309 val Base.Hashtbl.S_poly.update_and_return : ('a, 'b) t -> 'a key -> f:('b option -> 'b) -> 'b
- 310 val Base.Hashtbl.S_poly.partition_tf : ('a, 'b) t -> f:('b -> bool) -> ('a, 'b) t * ('a, 'b) t
- 311 val Base.Hashtbl.S_poly.incr : ?by:int -> ?remove_if_zero:bool -> ('a, int) t -> 'a key -> unit
- 319 val Base.Hashtbl.S_poly.choose_randomly_exn : ?random_state:Random.State.t -> ('a, 'b) t -> 'a key * 'b
- 320 val Base.Hashtbl.S_poly.filter_mapi : ('a, 'b) t -> f:(key:'a key -> data:'b -> 'c option) -> ('a, 'c) t
- 323 val Base.Hashtbl.S_poly.fold : ('a, 'b) t -> init:'acc -> f:(key:'a key -> data:'b -> 'acc -> 'acc) -> 'acc
- 324 val Base.Hashtbl.S_poly.partition_map : ('a, 'b) t -> f:('b -> ('c, 'd) Either.t) -> ('a, 'c) t * ('a, 'd) t
- 324 val Base.Hashtbl.S_poly.choose_randomly : ?random_state:Random.State.t -> ('a, 'b) t -> ('a key * 'b) option
- 330 val Base.Hashtbl.S_poly.partitioni_tf : ('a, 'b) t -> f:(key:'a key -> data:'b -> bool) -> ('a, 'b) t * ('a, 'b) t
- 344 val Base.Hashtbl.S_poly.find_and_call : ('a, 'b) t ->
- 'a key ->
- if_found:('b -> 'c) ->
- if_not_found:('a key -> 'c) ->
- 'c
- 348 val Base.Set.S_poly.empty : 'a t
- 348 val Base.Hashtbl.S_poly.partition_mapi : ('a, 'b) t ->
- f:(key:'a key -> data:'b -> ('c, 'd) Either.t) ->
- ('a, 'c) t * ('a, 'd) t
- 353 val Base.Map.S_poly.empty : ('k, _) t
- 355 val Base.Set.S_poly.length : _ t -> int
- 358 val Base.Set.S_poly.is_empty : _ t -> bool
- 358 val Base.Set.S_poly.singleton : 'a -> 'a t
- 359 val Base.Set.S_poly.choose_exn : 'a t -> 'a
- 360 val Base.Set.S_poly.add : 'a t -> 'a -> 'a t
- 360 val Base.Map.S_poly.length : (_, _) t -> int
- 360 val Base.Set.S_poly.max_elt_exn : 'a t -> 'a
- 360 val Base.Set.S_poly.min_elt_exn : 'a t -> 'a
- 361 val Base.Set.S_poly.of_list : 'a list -> 'a t
- 361 val Base.Set.S_poly.of_tree : 'a tree -> 'a t
- 361 val Base.Set.S_poly.to_list : 'a t -> 'a list
- 361 val Base.Set.S_poly.to_tree : 'a t -> 'a tree
- 361 val Base.Set.S_poly.invariants : 'a t -> bool
- 362 val Base.Set.S_poly.choose : 'a t -> 'a option
- 362 val Base.Set.S_poly.elements : 'a t -> 'a list
- 362 val Base.Hashtbl.S_poly.merge_into : src:('k, 'a) t ->
- dst:('k, 'b) t ->
- f:(key:'k key -> 'a -> 'b option -> 'b Merge_into_action.t) ->
- unit
- 363 val Base.Map.S_poly.data : (_, 'v) t -> 'v list
- 363 val Base.Map.S_poly.keys : ('k, _) t -> 'k list
- 363 val Base.Set.S_poly.diff : 'a t -> 'a t -> 'a t
- 363 val Base.Set.S_poly.remove : 'a t -> 'a -> 'a t
- 363 val Base.Set.S_poly.max_elt : 'a t -> 'a option
- 363 val Base.Set.S_poly.min_elt : 'a t -> 'a option
- 363 val Base.Map.S_poly.is_empty : (_, _) t -> bool
- 363 val Base.Set.S_poly.of_array : 'a array -> 'a t
- 363 val Base.Set.S_poly.to_array : 'a t -> 'a array
- 364 val Base.Set.S_poly.equal : 'a t -> 'a t -> bool
- 364 val Base.Set.S_poly.inter : 'a t -> 'a t -> 'a t
- 364 val Base.Set.S_poly.union : 'a t -> 'a t -> 'a t
- 364 val Base.Hashtbl.S_poly.clear : (_, _) t -> unit
- 364 val Base.Hashtbl.S_poly.length : (_, _) t -> int
- 364 val Base.Hashtbl.S_poly.hashable : 'a Hashable.t
- 365 val Base.Map.S_poly.mem : ('k, _) t -> 'k -> bool
- 366 val Base.Set.S_poly.nth : 'a t -> int -> 'a option
- 366 val Base.Set.S_poly.union_list : 'a t list -> 'a t
- 367 val Base.Map.S_poly.invariants : ('k, 'v) t -> bool
- 367 val Base.Hashtbl.S_poly.is_empty : (_, _) t -> bool
- 367 val Base.Hashtbl.S_poly.find_and_call1 : ('a, 'b) t ->
- 'a key ->
- a:'d ->
- if_found:('b -> 'd -> 'c) ->
- if_not_found:('a key -> 'd -> 'c) ->
- 'c
- 369 val Base.Map.S_poly.find_exn : ('k, 'v) t -> 'k -> 'v
- 370 val Base.Map.S_poly.singleton : 'k -> 'v -> ('k, 'v) t
- 370 val Base.Set.S_poly.remove_index : 'a t -> int -> 'a t
- 371 val Base.Hashtbl.S_poly.copy : ('a, 'b) t -> ('a, 'b) t
- 371 val Base.Map.S_poly.max_elt_exn : ('k, 'v) t -> 'k * 'v
- 371 val Base.Map.S_poly.min_elt_exn : ('k, 'v) t -> 'k * 'v
- 371 val Base.Set.S_poly.of_sequence : 'a Sequence.t -> 'a t
- 371 val Base.Set.S_poly.are_disjoint : 'a t -> 'a t -> bool
- 372 val Base.Set.S_poly.compare_direct : 'a t -> 'a t -> int
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost --no-rhs "group b"
- 231 val Base.Set.group_by
- 255 val Base.List.group
- 262 val Base.Sequence.group
- 275 val Base.List.sort_and_group
- 278 val Base.List.groupi
- 285 val Base.List.Assoc.group
- 305 val Base.List.Assoc.sort_and_group
- 325 val Base.Set.Poly.group_by
- 353 val Base.Set.Using_comparator.group_by
- 363 val Base.Set.Using_comparator.Tree.group_by
- 373 val Base.Hashtbl.group
- 427 val Base.Set.S_poly.group_by
- 462 val Base.Set.Accessors_generic.group_by
- 473 val Base.Hashtbl.Poly.group
- 475 val Base.Set.Creators_and_accessors_generic.group_by
- 480 val Base.Hashtbl.Creators.group
- 487 val Base.Hashtbl.Creators.group
- 499 val Base.Hashtbl.S_without_submodules.group
- 575 val Base.Hashtbl.S_poly.group
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --no-rhs "group by"
- val Base.Set.group_by
- val Base.Set.Poly.group_by
- val Base.Set.Using_comparator.group_by
- val Base.Set.Using_comparator.Tree.group_by
- val Base.Set.S_poly.group_by
- val Base.Set.Accessors_generic.group_by
- val Base.Set.Creators_and_accessors_generic.group_by
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "map2"
- 177 mod Base.Applicative.Make_using_map2
- 178 mod Base.Applicative.Make2_using_map2
- 178 mod Base.Applicative.Make3_using_map2
- 188 mod Base.Applicative.Make_using_map2_local
- 189 mod Base.Applicative.Make2_using_map2_local
- 189 mod Base.Applicative.Make3_using_map2_local
- 192 val Base.Uniform_array.map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 197 val Base.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 200 mod Base.Applicative.Make_using_map2.Applicative_infix
- 201 mod Base.Applicative.Make2_using_map2.Applicative_infix
- 201 mod Base.Applicative.Make3_using_map2.Applicative_infix
- 205 val Base.Applicative.Make_using_map2.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 211 mod Base.Applicative.Make_using_map2_local.Applicative_infix
- 212 mod Base.Applicative.Make2_using_map2_local.Applicative_infix
- 212 mod Base.Applicative.Make3_using_map2_local.Applicative_infix
- 216 val Base.Applicative.Make_using_map2_local.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 228 sig Base.Applicative.Basic_using_map2
- 228 val Base.Applicative.Make_using_map2.Applicative_infix.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 229 sig Base.Applicative.Basic2_using_map2
- 229 sig Base.Applicative.Basic3_using_map2
- 239 sig Base.Applicative.Basic_using_map2_local
- 239 val Base.Applicative.Make_using_map2_local.Applicative_infix.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 240 sig Base.Applicative.Basic2_using_map2_local
- 240 sig Base.Applicative.Basic3_using_map2_local
- 276 val Base.Option.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost --static-sort "List map2"
- 177 val Base.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 273 val Base.List.map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 290 val Base.List.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
- 292 val Base.List.Cartesian_product.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 294 val Base.List.rev_map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "List map2"
- 202 val Base.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 288 val Base.List.map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 300 val Base.List.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
- 302 val Base.List.Cartesian_product.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 314 val Base.List.rev_map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --no-rhs "Base.Hashtbl.S_without_submodules.group"
- val Base.Hashtbl.S_without_submodules.group
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 131 type 'a Base.list = 'a List.t
- 143 type 'a Base.Export.list = 'a List.t
- 151 type 'a Base.List.t = 'a list
- 154 mod Base.List
- 154 mod Caml.List
- 158 val Base.List.rev : 'a t -> 'a t
- 159 val Base.List.hd_exn : 'a t -> 'a
- 159 val Base.List.return : 'a -> 'a t
- 160 val Base.Bytes.to_list : t -> char list
- 161 val Base.List.join : 'a t t -> 'a t
- 161 val Base.List.tl_exn : 'a t -> 'a t
- 161 val Base.Queue.of_list : 'a list -> 'a t
- 161 val Base.Stack.of_list : 'a list -> 'a t
- 163 val Base.List.concat : 'a t t -> 'a t
- 163 mod Shadow_stdlib.List
- 164 val Base.List.last : 'a t -> 'a option
- 164 val Base.Set.to_list : ('a, _) t -> 'a list
- 165 mod Base.List.Assoc
- 165 mod Base.List.Infix
- 165 cons Base.Sexp.t.List : t list -> t
- 165 val Base.List.ignore_m : 'a t -> unit t
- 165 val Base.Bytes.of_char_list : char list -> t
- 166 val Base.List.drop : 'a t -> int -> 'a t
- 166 val Base.List.take : 'a t -> int -> 'a t
- 167 val Base.List.nth_exn : 'a t -> int -> 'a
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost ": list"
- 168 val Base.List.rev : 'a t -> 'a t
- 169 val Base.List.return : 'a -> 'a t
- 170 val Base.Bytes.to_list : t -> char list
- 171 val Base.List.join : 'a t t -> 'a t
- 171 val Base.List.tl_exn : 'a t -> 'a t
- 172 val Base.String.split_lines : t -> t list
- 173 val Base.List.concat : 'a t t -> 'a t
- 175 val Base.List.ignore_m : 'a t -> unit t
- 175 val Base.String.to_list_rev : t -> char list
- 178 val Base.Sequence.to_list_rev : 'a t -> 'a list
- 180 val Base.Pretty_printer.all : unit -> string list
- 182 val Base.List.all_unit : unit t list -> unit t
- 182 val Base.List.filter_opt : 'a option t -> 'a t
- 182 val Base.List.transpose_exn : 'a t t -> 'a t t
- 182 val Base.List.concat_no_order : 'a t t -> 'a t
- 199 val Base.Set.to_list : ('a, _) t -> 'a list
- 200 val Base.Hashtbl.data : (_, 'b) t -> 'b list
- 200 val Base.Set.elements : ('a, _) t -> 'a list
- 201 val Base.List.drop : 'a t -> int -> 'a t
- 201 val Base.List.take : 'a t -> int -> 'a t
- 202 val Base.String.split : t -> on:char -> t list
- 204 val Base.List.append : 'a t -> 'a t -> 'a t
- 204 val Base.Hashtbl.keys : ('a, _) t -> 'a key list
- 208 val Base.List.rev_append : 'a t -> 'a t -> 'a t
- 211 val Base.List.intersperse : 'a t -> sep:'a -> 'a t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
Partial name search:
$ sherlodoc search --print-cost "strin"
- 147 type Base.string = String.t
- 159 type Base.Export.string = String.t
- 166 val Base.Sexp.of_string : unit
- 167 type Base.String.t = string
- 167 type Base.String.elt = char
- 169 val Base.String.rev : t -> t
- 171 mod Base.String
- 171 mod Caml.String
- 172 val Base.String.hash : t -> int
- 172 val Base.Exn.to_string : t -> string
- 172 val Base.Sys.max_string_length : int
- 173 val Base.String.escaped : t -> t
- 173 val Base.String.max_length : int
- 174 val Base.String.(^) : t -> t -> t
- 174 val Base.Float.to_string : t -> string
- 175 mod Base.Stringable
- 175 val Base.String.uppercase : t -> t
- 176 type Base.String.Caseless.t = t
- 176 val Base.String.capitalize : t -> t
- 177 mod Base.StringLabels
- 177 mod Caml.StringLabels
- 177 val Base.String.append : t -> t -> t
- 177 val Base.Exn.to_string_mach : t -> string
- 177 val Base.Info.to_string_hum : t -> string
- 177 val Base.Sign.to_string_hum : t -> string
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "tring"
- 177 type Base.string = String.t
- 182 type Base.String.t = string
- 182 type Base.String.elt = char
- 184 val Base.String.rev : t -> t
- 186 mod Base.String
- 186 mod Caml.String
- 186 val Base.Sexp.of_string : unit
- 187 val Base.String.hash : t -> int
- 188 val Base.String.escaped : t -> t
- 188 val Base.String.max_length : int
- 189 val Base.String.(^) : t -> t -> t
- 189 type Base.Export.string = String.t
- 190 val Base.String.uppercase : t -> t
- 191 type Base.String.Caseless.t = t
- 191 val Base.String.capitalize : t -> t
- 192 val Base.Exn.to_string : t -> string
- 192 val Base.String.append : t -> t -> t
- 194 val Base.String.equal : t -> t -> bool
- 194 val Base.String.prefix : t -> int -> t
- 194 val Base.String.suffix : t -> int -> t
- 194 val Base.Float.to_string : t -> string
- 195 val Base.String.compare : t -> t -> int
- 195 mod Shadow_stdlib.String
- 197 val Base.String.ascending : t -> t -> int
- 197 val Base.String.split_lines : t -> t list
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
File "test/cram/multi_package.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/3622b4ca5e3386c509725dd3ff391095/default/test/cram/multi_package.t _build/.sandbox/3622b4ca5e3386c509725dd3ff391095/default/test/cram/multi_package.t.corrected
diff --git a/_build/.sandbox/3622b4ca5e3386c509725dd3ff391095/default/test/cram/multi_package.t b/_build/.sandbox/3622b4ca5e3386c509725dd3ff391095/default/test/cram/multi_package.t.corrected
index e0dd47c..705fb48 100644
--- a/_build/.sandbox/3622b4ca5e3386c509725dd3ff391095/default/test/cram/multi_package.t
+++ b/_build/.sandbox/3622b4ca5e3386c509725dd3ff391095/default/test/cram/multi_package.t.corrected
@@ -4,349 +4,79 @@
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index --index-docstring=false $ODOCLS
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost --limit 100 "S_poly"
- 200 sig Base.Map.S_poly
- 200 sig Base.Set.S_poly
- 204 sig Base.Hashtbl.S_poly
- 248 type 'a Base.Hashtbl.S_poly.key = 'a
- 257 type ('a, 'b) Base.Map.S_poly.t
- 257 type 'elt Base.Set.S_poly.t
- 259 type ('a, 'cmp) Base.Set.S_poly.set
- 260 val Base.Set.S_poly.mem : 'a t -> 'a -> bool
- 260 type ('a, 'b) Base.Map.S_poly.tree
- 260 type 'elt Base.Set.S_poly.tree
- 261 type ('a, 'b) Base.Hashtbl.S_poly.t
- 261 mod Base.Set.S_poly.Named
- 267 val Base.Hashtbl.S_poly.data : (_, 'b) t -> 'b list
- 271 val Base.Hashtbl.S_poly.keys : ('a, _) t -> 'a key list
- 274 type Base.Map.S_poly.comparator_witness
- 274 type Base.Set.S_poly.comparator_witness
- 277 val Base.Set.S_poly.map : ('a, _) set -> f:('a -> 'b) -> 'b t
- 277 val Base.Hashtbl.S_poly.find_exn : ('a, 'b) t -> 'a key -> 'b
- 278 val Base.Hashtbl.S_poly.choose_exn : ('a, 'b) t -> 'a key * 'b
- 280 val Base.Hashtbl.S_poly.find : ('a, 'b) t -> 'a key -> 'b option
- 283 val Base.Hashtbl.S_poly.choose : ('a, 'b) t -> ('a key * 'b) option
- 283 val Base.Hashtbl.S_poly.to_alist : ('a, 'b) t -> ('a key * 'b) list
- 283 mod Base.Map.S_poly.Make_applicative_traversals
- 286 val Base.Hashtbl.S_poly.map : ('a, 'b) t -> f:('b -> 'c) -> ('a, 'c) t
- 287 val Base.Hashtbl.S_poly.map_inplace : (_, 'b) t -> f:('b -> 'b) -> unit
- 287 val Base.Hashtbl.S_poly.remove_multi : ('a, _ list) t -> 'a key -> unit
- 289 val Base.Hashtbl.S_poly.set : ('a, 'b) t -> key:'a key -> data:'b -> unit
- 289 val Base.Hashtbl.S_poly.find_multi : ('a, 'b list) t -> 'a key -> 'b list
- 291 val Base.Hashtbl.S_poly.find_and_remove : ('a, 'b) t -> 'a key -> 'b option
- 300 val Base.Hashtbl.S_poly.update : ('a, 'b) t -> 'a key -> f:('b option -> 'b) -> unit
- 300 val Base.Hashtbl.S_poly.add_multi : ('a, 'b list) t -> key:'a key -> data:'b -> unit
- 300 val Base.Hashtbl.S_poly.filter_map : ('a, 'b) t -> f:('b -> 'c option) -> ('a, 'c) t
- 301 val Base.Hashtbl.S_poly.filter_map_inplace : (_, 'b) t -> f:('b -> 'b option) -> unit
- 301 val Base.Hashtbl.S_poly.filter_keys_inplace : ('a, _) t -> f:('a key -> bool) -> unit
- 302 val Base.Hashtbl.S_poly.equal : ('b -> 'b -> bool) -> ('a, 'b) t -> ('a, 'b) t -> bool
- 303 val Base.Hashtbl.S_poly.iteri : ('a, 'b) t -> f:(key:'a key -> data:'b -> unit) -> unit
- 304 val Base.Hashtbl.S_poly.find_or_add : ('a, 'b) t -> 'a key -> default:(unit -> 'b) -> 'b
- 305 val Base.Hashtbl.S_poly.add : ('a, 'b) t -> key:'a key -> data:'b -> [ `Ok | `Duplicate ]
- 306 val Base.Hashtbl.S_poly.mapi : ('a, 'b) t -> f:(key:'a key -> data:'b -> 'c) -> ('a, 'c) t
- 307 val Base.Hashtbl.S_poly.change : ('a, 'b) t -> 'a key -> f:('b option -> 'b option) -> unit
- 307 val Base.Hashtbl.S_poly.findi_or_add : ('a, 'b) t -> 'a key -> default:('a key -> 'b) -> 'b
- 309 val Base.Hashtbl.S_poly.update_and_return : ('a, 'b) t -> 'a key -> f:('b option -> 'b) -> 'b
- 310 val Base.Hashtbl.S_poly.partition_tf : ('a, 'b) t -> f:('b -> bool) -> ('a, 'b) t * ('a, 'b) t
- 311 val Base.Hashtbl.S_poly.incr : ?by:int -> ?remove_if_zero:bool -> ('a, int) t -> 'a key -> unit
- 319 val Base.Hashtbl.S_poly.choose_randomly_exn : ?random_state:Random.State.t -> ('a, 'b) t -> 'a key * 'b
- 320 val Base.Hashtbl.S_poly.filter_mapi : ('a, 'b) t -> f:(key:'a key -> data:'b -> 'c option) -> ('a, 'c) t
- 323 val Base.Hashtbl.S_poly.fold : ('a, 'b) t -> init:'acc -> f:(key:'a key -> data:'b -> 'acc -> 'acc) -> 'acc
- 324 val Base.Hashtbl.S_poly.partition_map : ('a, 'b) t -> f:('b -> ('c, 'd) Either.t) -> ('a, 'c) t * ('a, 'd) t
- 324 val Base.Hashtbl.S_poly.choose_randomly : ?random_state:Random.State.t -> ('a, 'b) t -> ('a key * 'b) option
- 330 val Base.Hashtbl.S_poly.partitioni_tf : ('a, 'b) t -> f:(key:'a key -> data:'b -> bool) -> ('a, 'b) t * ('a, 'b) t
- 344 val Base.Hashtbl.S_poly.find_and_call : ('a, 'b) t ->
- 'a key ->
- if_found:('b -> 'c) ->
- if_not_found:('a key -> 'c) ->
- 'c
- 348 val Base.Set.S_poly.empty : 'a t
- 348 val Base.Hashtbl.S_poly.partition_mapi : ('a, 'b) t ->
- f:(key:'a key -> data:'b -> ('c, 'd) Either.t) ->
- ('a, 'c) t * ('a, 'd) t
- 353 val Base.Map.S_poly.empty : ('k, _) t
- 355 val Base.Set.S_poly.length : _ t -> int
- 358 val Base.Set.S_poly.is_empty : _ t -> bool
- 358 val Base.Set.S_poly.singleton : 'a -> 'a t
- 359 val Base.Set.S_poly.choose_exn : 'a t -> 'a
- 360 val Base.Set.S_poly.add : 'a t -> 'a -> 'a t
- 360 val Base.Map.S_poly.length : (_, _) t -> int
- 360 val Base.Set.S_poly.max_elt_exn : 'a t -> 'a
- 360 val Base.Set.S_poly.min_elt_exn : 'a t -> 'a
- 361 val Base.Set.S_poly.of_list : 'a list -> 'a t
- 361 val Base.Set.S_poly.of_tree : 'a tree -> 'a t
- 361 val Base.Set.S_poly.to_list : 'a t -> 'a list
- 361 val Base.Set.S_poly.to_tree : 'a t -> 'a tree
- 361 val Base.Set.S_poly.invariants : 'a t -> bool
- 362 val Base.Set.S_poly.choose : 'a t -> 'a option
- 362 val Base.Set.S_poly.elements : 'a t -> 'a list
- 362 val Base.Hashtbl.S_poly.merge_into : src:('k, 'a) t ->
- dst:('k, 'b) t ->
- f:(key:'k key -> 'a -> 'b option -> 'b Merge_into_action.t) ->
- unit
- 363 val Base.Map.S_poly.data : (_, 'v) t -> 'v list
- 363 val Base.Map.S_poly.keys : ('k, _) t -> 'k list
- 363 val Base.Set.S_poly.diff : 'a t -> 'a t -> 'a t
- 363 val Base.Set.S_poly.remove : 'a t -> 'a -> 'a t
- 363 val Base.Set.S_poly.max_elt : 'a t -> 'a option
- 363 val Base.Set.S_poly.min_elt : 'a t -> 'a option
- 363 val Base.Map.S_poly.is_empty : (_, _) t -> bool
- 363 val Base.Set.S_poly.of_array : 'a array -> 'a t
- 363 val Base.Set.S_poly.to_array : 'a t -> 'a array
- 364 val Base.Set.S_poly.equal : 'a t -> 'a t -> bool
- 364 val Base.Set.S_poly.inter : 'a t -> 'a t -> 'a t
- 364 val Base.Set.S_poly.union : 'a t -> 'a t -> 'a t
- 364 val Base.Hashtbl.S_poly.clear : (_, _) t -> unit
- 364 val Base.Hashtbl.S_poly.length : (_, _) t -> int
- 364 val Base.Hashtbl.S_poly.hashable : 'a Hashable.t
- 365 val Base.Map.S_poly.mem : ('k, _) t -> 'k -> bool
- 366 val Base.Set.S_poly.nth : 'a t -> int -> 'a option
- 366 val Base.Set.S_poly.union_list : 'a t list -> 'a t
- 367 val Base.Map.S_poly.invariants : ('k, 'v) t -> bool
- 367 val Base.Hashtbl.S_poly.is_empty : (_, _) t -> bool
- 367 val Base.Hashtbl.S_poly.find_and_call1 : ('a, 'b) t ->
- 'a key ->
- a:'d ->
- if_found:('b -> 'd -> 'c) ->
- if_not_found:('a key -> 'd -> 'c) ->
- 'c
- 369 val Base.Map.S_poly.find_exn : ('k, 'v) t -> 'k -> 'v
- 370 val Base.Map.S_poly.singleton : 'k -> 'v -> ('k, 'v) t
- 370 val Base.Set.S_poly.remove_index : 'a t -> int -> 'a t
- 371 val Base.Hashtbl.S_poly.copy : ('a, 'b) t -> ('a, 'b) t
- 371 val Base.Map.S_poly.max_elt_exn : ('k, 'v) t -> 'k * 'v
- 371 val Base.Map.S_poly.min_elt_exn : ('k, 'v) t -> 'k * 'v
- 371 val Base.Set.S_poly.of_sequence : 'a Sequence.t -> 'a t
- 371 val Base.Set.S_poly.are_disjoint : 'a t -> 'a t -> bool
- 372 val Base.Set.S_poly.compare_direct : 'a t -> 'a t -> int
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost --no-rhs "group b"
- 231 val Base.Set.group_by
- 255 val Base.List.group
- 262 val Base.Sequence.group
- 275 val Base.List.sort_and_group
- 278 val Base.List.groupi
- 285 val Base.List.Assoc.group
- 305 val Base.List.Assoc.sort_and_group
- 325 val Base.Set.Poly.group_by
- 353 val Base.Set.Using_comparator.group_by
- 363 val Base.Set.Using_comparator.Tree.group_by
- 373 val Base.Hashtbl.group
- 427 val Base.Set.S_poly.group_by
- 462 val Base.Set.Accessors_generic.group_by
- 473 val Base.Hashtbl.Poly.group
- 475 val Base.Set.Creators_and_accessors_generic.group_by
- 480 val Base.Hashtbl.Creators.group
- 487 val Base.Hashtbl.Creators.group
- 499 val Base.Hashtbl.S_without_submodules.group
- 575 val Base.Hashtbl.S_poly.group
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --no-rhs "group by"
- val Base.Set.group_by
- val Base.Set.Poly.group_by
- val Base.Set.Using_comparator.group_by
- val Base.Set.Using_comparator.Tree.group_by
- val Base.Set.S_poly.group_by
- val Base.Set.Accessors_generic.group_by
- val Base.Set.Creators_and_accessors_generic.group_by
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "map2"
- 177 mod Base.Applicative.Make_using_map2
- 178 mod Base.Applicative.Make2_using_map2
- 178 mod Base.Applicative.Make3_using_map2
- 188 mod Base.Applicative.Make_using_map2_local
- 189 mod Base.Applicative.Make2_using_map2_local
- 189 mod Base.Applicative.Make3_using_map2_local
- 192 val Base.Uniform_array.map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 197 val Base.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 200 mod Base.Applicative.Make_using_map2.Applicative_infix
- 201 mod Base.Applicative.Make2_using_map2.Applicative_infix
- 201 mod Base.Applicative.Make3_using_map2.Applicative_infix
- 205 val Base.Applicative.Make_using_map2.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 211 mod Base.Applicative.Make_using_map2_local.Applicative_infix
- 212 mod Base.Applicative.Make2_using_map2_local.Applicative_infix
- 212 mod Base.Applicative.Make3_using_map2_local.Applicative_infix
- 216 val Base.Applicative.Make_using_map2_local.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 228 sig Base.Applicative.Basic_using_map2
- 228 val Base.Applicative.Make_using_map2.Applicative_infix.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 229 sig Base.Applicative.Basic2_using_map2
- 229 sig Base.Applicative.Basic3_using_map2
- 239 sig Base.Applicative.Basic_using_map2_local
- 239 val Base.Applicative.Make_using_map2_local.Applicative_infix.(<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
- 240 sig Base.Applicative.Basic2_using_map2_local
- 240 sig Base.Applicative.Basic3_using_map2_local
- 276 val Base.Option.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost --static-sort "List map2"
- 177 val Base.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 273 val Base.List.map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 290 val Base.List.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
- 292 val Base.List.Cartesian_product.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 294 val Base.List.rev_map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "List map2"
- 202 val Base.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 288 val Base.List.map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 300 val Base.List.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
- 302 val Base.List.Cartesian_product.map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- 314 val Base.List.rev_map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t Or_unequal_lengths.t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --no-rhs "Base.Hashtbl.S_without_submodules.group"
- val Base.Hashtbl.S_without_submodules.group
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 131 type 'a Base.list = 'a List.t
- 143 type 'a Base.Export.list = 'a List.t
- 151 type 'a Base.List.t = 'a list
- 154 mod Base.List
- 154 mod Caml.List
- 158 val Base.List.rev : 'a t -> 'a t
- 159 val Base.List.hd_exn : 'a t -> 'a
- 159 val Base.List.return : 'a -> 'a t
- 160 val Base.Bytes.to_list : t -> char list
- 161 val Base.List.join : 'a t t -> 'a t
- 161 val Base.List.tl_exn : 'a t -> 'a t
- 161 val Base.Queue.of_list : 'a list -> 'a t
- 161 val Base.Stack.of_list : 'a list -> 'a t
- 163 val Base.List.concat : 'a t t -> 'a t
- 163 mod Shadow_stdlib.List
- 164 val Base.List.last : 'a t -> 'a option
- 164 val Base.Set.to_list : ('a, _) t -> 'a list
- 165 mod Base.List.Assoc
- 165 mod Base.List.Infix
- 165 cons Base.Sexp.t.List : t list -> t
- 165 val Base.List.ignore_m : 'a t -> unit t
- 165 val Base.Bytes.of_char_list : char list -> t
- 166 val Base.List.drop : 'a t -> int -> 'a t
- 166 val Base.List.take : 'a t -> int -> 'a t
- 167 val Base.List.nth_exn : 'a t -> int -> 'a
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost ": list"
- 168 val Base.List.rev : 'a t -> 'a t
- 169 val Base.List.return : 'a -> 'a t
- 170 val Base.Bytes.to_list : t -> char list
- 171 val Base.List.join : 'a t t -> 'a t
- 171 val Base.List.tl_exn : 'a t -> 'a t
- 172 val Base.String.split_lines : t -> t list
- 173 val Base.List.concat : 'a t t -> 'a t
- 175 val Base.List.ignore_m : 'a t -> unit t
- 175 val Base.String.to_list_rev : t -> char list
- 178 val Base.Sequence.to_list_rev : 'a t -> 'a list
- 180 val Base.Pretty_printer.all : unit -> string list
- 182 val Base.List.all_unit : unit t list -> unit t
- 182 val Base.List.filter_opt : 'a option t -> 'a t
- 182 val Base.List.transpose_exn : 'a t t -> 'a t t
- 182 val Base.List.concat_no_order : 'a t t -> 'a t
- 199 val Base.Set.to_list : ('a, _) t -> 'a list
- 200 val Base.Hashtbl.data : (_, 'b) t -> 'b list
- 200 val Base.Set.elements : ('a, _) t -> 'a list
- 201 val Base.List.drop : 'a t -> int -> 'a t
- 201 val Base.List.take : 'a t -> int -> 'a t
- 202 val Base.String.split : t -> on:char -> t list
- 204 val Base.List.append : 'a t -> 'a t -> 'a t
- 204 val Base.Hashtbl.keys : ('a, _) t -> 'a key list
- 208 val Base.List.rev_append : 'a t -> 'a t -> 'a t
- 211 val Base.List.intersperse : 'a t -> sep:'a -> 'a t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
Partial name search:
$ sherlodoc search --print-cost "strin"
- 147 type Base.string = String.t
- 159 type Base.Export.string = String.t
- 166 val Base.Sexp.of_string : unit
- 167 type Base.String.t = string
- 167 type Base.String.elt = char
- 169 val Base.String.rev : t -> t
- 171 mod Base.String
- 171 mod Caml.String
- 172 val Base.String.hash : t -> int
- 172 val Base.Exn.to_string : t -> string
- 172 val Base.Sys.max_string_length : int
- 173 val Base.String.escaped : t -> t
- 173 val Base.String.max_length : int
- 174 val Base.String.(^) : t -> t -> t
- 174 val Base.Float.to_string : t -> string
- 175 mod Base.Stringable
- 175 val Base.String.uppercase : t -> t
- 176 type Base.String.Caseless.t = t
- 176 val Base.String.capitalize : t -> t
- 177 mod Base.StringLabels
- 177 mod Caml.StringLabels
- 177 val Base.String.append : t -> t -> t
- 177 val Base.Exn.to_string_mach : t -> string
- 177 val Base.Info.to_string_hum : t -> string
- 177 val Base.Sign.to_string_hum : t -> string
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "base strin"
- 162 type Base.string = String.t
- 174 type Base.Export.string = String.t
- 181 val Base.Sexp.of_string : unit
- 182 type Base.String.t = string
- 182 type Base.String.elt = char
- 184 val Base.String.rev : t -> t
- 186 mod Base.String
- 187 val Base.String.hash : t -> int
- 187 val Base.Exn.to_string : t -> string
- 187 val Base.Sys.max_string_length : int
- 188 val Base.String.escaped : t -> t
- 188 val Base.String.max_length : int
- 189 val Base.String.(^) : t -> t -> t
- 189 val Base.Float.to_string : t -> string
- 190 mod Base.Stringable
- 190 val Base.String.uppercase : t -> t
- 191 type Base.String.Caseless.t = t
- 191 val Base.String.capitalize : t -> t
- 192 mod Base.StringLabels
- 192 val Base.String.append : t -> t -> t
- 192 val Base.Exn.to_string_mach : t -> string
- 192 val Base.Info.to_string_hum : t -> string
- 192 val Base.Sign.to_string_hum : t -> string
- 193 val Base.Error.to_string_hum : t -> string
- 193 val Base.Info.to_string_mach : t -> string
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "tring"
- 177 type Base.string = String.t
- 182 type Base.String.t = string
- 182 type Base.String.elt = char
- 184 val Base.String.rev : t -> t
- 186 mod Base.String
- 186 mod Caml.String
- 186 val Base.Sexp.of_string : unit
- 187 val Base.String.hash : t -> int
- 188 val Base.String.escaped : t -> t
- 188 val Base.String.max_length : int
- 189 val Base.String.(^) : t -> t -> t
- 189 type Base.Export.string = String.t
- 190 val Base.String.uppercase : t -> t
- 191 type Base.String.Caseless.t = t
- 191 val Base.String.capitalize : t -> t
- 192 val Base.Exn.to_string : t -> string
- 192 val Base.String.append : t -> t -> t
- 194 val Base.String.equal : t -> t -> bool
- 194 val Base.String.prefix : t -> int -> t
- 194 val Base.String.suffix : t -> int -> t
- 194 val Base.Float.to_string : t -> string
- 195 val Base.String.compare : t -> t -> int
- 195 mod Shadow_stdlib.String
- 197 val Base.String.ascending : t -> t -> int
- 197 val Base.String.split_lines : t -> t list
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "base tring"
- 192 type Base.string = String.t
- 197 type Base.String.t = string
- 197 type Base.String.elt = char
- 199 val Base.String.rev : t -> t
- 201 mod Base.String
- 201 val Base.Sexp.of_string : unit
- 202 val Base.String.hash : t -> int
- 203 val Base.String.escaped : t -> t
- 203 val Base.String.max_length : int
- 204 val Base.String.(^) : t -> t -> t
- 204 type Base.Export.string = String.t
- 205 val Base.String.uppercase : t -> t
- 206 type Base.String.Caseless.t = t
- 206 val Base.String.capitalize : t -> t
- 207 val Base.Exn.to_string : t -> string
- 207 val Base.String.append : t -> t -> t
- 209 val Base.String.equal : t -> t -> bool
- 209 val Base.String.prefix : t -> int -> t
- 209 val Base.String.suffix : t -> int -> t
- 209 val Base.Float.to_string : t -> string
- 210 val Base.String.compare : t -> t -> int
- 212 val Base.String.ascending : t -> t -> int
- 212 val Base.String.split_lines : t -> t list
- 212 val Base.Sys.max_string_length : int
- 214 val Base.String.common_prefix : t list -> t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
File "test/cram/prefix_favouritism.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/d4fd01f0ddb4aad78e0c57f60aee1ed1/default/test/cram/prefix_favouritism.t _build/.sandbox/d4fd01f0ddb4aad78e0c57f60aee1ed1/default/test/cram/prefix_favouritism.t.corrected
diff --git a/_build/.sandbox/d4fd01f0ddb4aad78e0c57f60aee1ed1/default/test/cram/prefix_favouritism.t b/_build/.sandbox/d4fd01f0ddb4aad78e0c57f60aee1ed1/default/test/cram/prefix_favouritism.t.corrected
index f9db8ed..fcf065d 100644
--- a/_build/.sandbox/d4fd01f0ddb4aad78e0c57f60aee1ed1/default/test/cram/prefix_favouritism.t
+++ b/_build/.sandbox/d4fd01f0ddb4aad78e0c57f60aee1ed1/default/test/cram/prefix_favouritism.t.corrected
@@ -2,139 +2,54 @@
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index $ODOCLS > /dev/null
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 131 type 'a Base.list = 'a List.t
- 143 type 'a Base.Export.list = 'a List.t
- 151 type 'a Base.List.t = 'a list
- 154 mod Base.List
- 154 mod Caml.List
- 158 val Base.List.rev : 'a t -> 'a t
- 159 val Base.List.hd_exn : 'a t -> 'a
- 159 val Base.List.return : 'a -> 'a t
- 160 val Base.Bytes.to_list : t -> char list
- 161 val Base.List.join : 'a t t -> 'a t
- 161 val Base.List.tl_exn : 'a t -> 'a t
- 161 val Base.Queue.of_list : 'a list -> 'a t
- 161 val Base.Stack.of_list : 'a list -> 'a t
- 163 val Base.List.concat : 'a t t -> 'a t
- 163 mod Shadow_stdlib.List
- 164 val Base.List.last : 'a t -> 'a option
- 165 mod Base.List.Assoc
- 165 mod Base.List.Infix
- 165 cons Base.Sexp.t.List : t list -> t
- 165 val Base.List.ignore_m : 'a t -> unit t
- 166 val Base.List.drop : 'a t -> int -> 'a t
- 166 val Base.List.take : 'a t -> int -> 'a t
- 175 mod Base.ListLabels
- 175 mod Caml.ListLabels
- 394 mod Base
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc index --favoured-prefixes=Base $ODOCLS > /dev/null
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 81 type 'a Base.list = 'a List.t
- 93 type 'a Base.Export.list = 'a List.t
- 101 type 'a Base.List.t = 'a list
- 104 mod Base.List
- 108 val Base.List.rev : 'a t -> 'a t
- 109 val Base.List.hd_exn : 'a t -> 'a
- 109 val Base.List.return : 'a -> 'a t
- 110 val Base.Bytes.to_list : t -> char list
- 111 val Base.List.join : 'a t t -> 'a t
- 111 val Base.List.tl_exn : 'a t -> 'a t
- 111 val Base.Queue.of_list : 'a list -> 'a t
- 111 val Base.Stack.of_list : 'a list -> 'a t
- 113 val Base.List.concat : 'a t t -> 'a t
- 114 val Base.List.last : 'a t -> 'a option
- 115 mod Base.List.Assoc
- 115 mod Base.List.Infix
- 115 cons Base.Sexp.t.List : t list -> t
- 115 val Base.List.ignore_m : 'a t -> unit t
- 116 val Base.List.drop : 'a t -> int -> 'a t
- 116 val Base.List.take : 'a t -> int -> 'a t
- 125 mod Base.ListLabels
- 344 mod Base
- 347 type Base.Nothing.t =
- 362 val Base.String.append : t -> t -> t
- 364 val Base.Int.ascending : t -> t -> int
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc index --favoured-prefixes=Caml $ODOCLS > /dev/null
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 104 mod Caml.List
- 125 mod Caml.ListLabels
- 131 type 'a Base.list = 'a List.t
- 143 type 'a Base.Export.list = 'a List.t
- 151 type 'a Base.List.t = 'a list
- 154 mod Base.List
- 158 val Base.List.rev : 'a t -> 'a t
- 159 val Base.List.hd_exn : 'a t -> 'a
- 159 val Base.List.return : 'a -> 'a t
- 160 val Base.Bytes.to_list : t -> char list
- 161 val Base.List.join : 'a t t -> 'a t
- 161 val Base.List.tl_exn : 'a t -> 'a t
- 161 val Base.Queue.of_list : 'a list -> 'a t
- 161 val Base.Stack.of_list : 'a list -> 'a t
- 163 val Base.List.concat : 'a t t -> 'a t
- 163 mod Shadow_stdlib.List
- 164 val Base.List.last : 'a t -> 'a option
- 165 mod Base.List.Assoc
- 165 mod Base.List.Infix
- 165 cons Base.Sexp.t.List : t list -> t
- 165 val Base.List.ignore_m : 'a t -> unit t
- 166 val Base.List.drop : 'a t -> int -> 'a t
- 166 val Base.List.take : 'a t -> int -> 'a t
- 175 mod Base.ListLabels
- 394 mod Base
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc index --favoured-prefixes=Base,Caml $ODOCLS > /dev/null
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 81 type 'a Base.list = 'a List.t
- 93 type 'a Base.Export.list = 'a List.t
- 101 type 'a Base.List.t = 'a list
- 104 mod Base.List
- 104 mod Caml.List
- 108 val Base.List.rev : 'a t -> 'a t
- 109 val Base.List.hd_exn : 'a t -> 'a
- 109 val Base.List.return : 'a -> 'a t
- 110 val Base.Bytes.to_list : t -> char list
- 111 val Base.List.join : 'a t t -> 'a t
- 111 val Base.List.tl_exn : 'a t -> 'a t
- 111 val Base.Queue.of_list : 'a list -> 'a t
- 111 val Base.Stack.of_list : 'a list -> 'a t
- 113 val Base.List.concat : 'a t t -> 'a t
- 114 val Base.List.last : 'a t -> 'a option
- 115 mod Base.List.Assoc
- 115 mod Base.List.Infix
- 115 cons Base.Sexp.t.List : t list -> t
- 115 val Base.List.ignore_m : 'a t -> unit t
- 116 val Base.List.drop : 'a t -> int -> 'a t
- 116 val Base.List.take : 'a t -> int -> 'a t
- 125 mod Base.ListLabels
- 125 mod Caml.ListLabels
- 344 mod Base
- 347 type Base.Nothing.t =
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc index $ODOCLS --favoured-prefixes "" > /dev/null
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "list"
- 131 type 'a Base.list = 'a List.t
- 143 type 'a Base.Export.list = 'a List.t
- 151 type 'a Base.List.t = 'a list
- 154 mod Base.List
- 154 mod Caml.List
- 158 val Base.List.rev : 'a t -> 'a t
- 159 val Base.List.hd_exn : 'a t -> 'a
- 159 val Base.List.return : 'a -> 'a t
- 160 val Base.Bytes.to_list : t -> char list
- 161 val Base.List.join : 'a t t -> 'a t
- 161 val Base.List.tl_exn : 'a t -> 'a t
- 161 val Base.Queue.of_list : 'a list -> 'a t
- 161 val Base.Stack.of_list : 'a list -> 'a t
- 163 val Base.List.concat : 'a t t -> 'a t
- 163 mod Shadow_stdlib.List
- 164 val Base.List.last : 'a t -> 'a option
- 165 mod Base.List.Assoc
- 165 mod Base.List.Infix
- 165 cons Base.Sexp.t.List : t list -> t
- 165 val Base.List.ignore_m : 'a t -> unit t
- 166 val Base.List.drop : 'a t -> int -> 'a t
- 166 val Base.List.take : 'a t -> int -> 'a t
- 175 mod Base.ListLabels
- 175 mod Caml.ListLabels
- 394 mod Base
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
Partial name search:
File "test/cram/query_syntax.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/3eaee9837b6979b98ae48f392d9469fc/default/test/cram/query_syntax.t _build/.sandbox/3eaee9837b6979b98ae48f392d9469fc/default/test/cram/query_syntax.t.corrected
diff --git a/_build/.sandbox/3eaee9837b6979b98ae48f392d9469fc/default/test/cram/query_syntax.t b/_build/.sandbox/3eaee9837b6979b98ae48f392d9469fc/default/test/cram/query_syntax.t.corrected
index 3eda2f4..ff2a2b8 100644
--- a/_build/.sandbox/3eaee9837b6979b98ae48f392d9469fc/default/test/cram/query_syntax.t
+++ b/_build/.sandbox/3eaee9837b6979b98ae48f392d9469fc/default/test/cram/query_syntax.t.corrected
@@ -6,60 +6,151 @@ We need a dummy file because sherlodoc requires an odocl.
$ export SHERLODOC_FORMAT=marshal
$ export SHERLODOC_DB=db.bin
$ sherlodoc index main.odocl
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --pretty-query ": int list option"
- : int list option
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ export OCAMLRUNPARAM=b
$ sherlodoc search --pretty-query ": _"
- : _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
Testing incomplete queries
$ sherlodoc search --pretty-query ": ->"
- : _ -> _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, ch
racters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": int ->"
- : int -> _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": int *"
- : int * _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": string -> ("
- : string -> _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": (int"
- : int
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": (int ->"
- : int -> _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": (int *"
- : int * _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": foo bar qux"
- : foo bar qux
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": ()"
- : _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": )"
- : _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": (int,"
- : int * _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": (int,string"
- : int * string
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": 'a, 'b) result -"
- : ('a, 'b) result -> _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": 'a * 'b) list"
- : ('a * 'b) list
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --pretty-query ": - ,'a * 'b, 'c) result -) - ( -"
- : ((_ -> _, 'a * 'b, 'c) result -> _) -> _ -> _
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
Testing syntax errors
$ sherlodoc search --pretty-query ": )("
- : <parsing error>
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
File "test/cram/cli_poly.t/run.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/9b88215cba40ee6922b330dcd9004ad1/default/test/cram/cli_poly.t/run.t _build/.sandbox/9b88215cba40ee6922b330dcd9004ad1/default/test/cram/cli_poly.t/run.t.corrected
diff --git a/_build/.sandbox/9b88215cba40ee6922b330dcd9004ad1/default/test/cram/cli_poly.t/run.t b/_build/.sandbox/9b88215cba40ee6922b330dcd9004ad1/default/test/cram/cli_poly.t/run.t.corrected
index 266a771..d56ec78 100644
--- a/_build/.sandbox/9b88215cba40ee6922b330dcd9004ad1/default/test/cram/cli_poly.t/run.t
+++ b/_build/.sandbox/9b88215cba40ee6922b330dcd9004ad1/default/test/cram/cli_poly.t/run.t.corrected
@@ -9,9 +9,19 @@ $ du -sh megaodocl
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index $(find . -name '*.odocl')
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
TODO : get a result for the query bellow
$ sherlodoc search ":'a"
- val Main.poly_1 : 'a -> 'b -> 'c
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": 'a -> 'b -> 'c "
- val Main.poly_1 : 'a -> 'b -> 'c
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
TODO : get a result for the query bellow
File "test/cram/cli.t/run.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/d704738a08fad0a13a1443bbf3004ae7/default/test/cram/cli.t/run.t _build/.sandbox/d704738a08fad0a13a1443bbf3004ae7/default/test/cram/cli.t/run.t.corrected
diff --git a/_build/.sandbox/d704738a08fad0a13a1443bbf3004ae7/default/test/cram/cli.t/run.t b/_build/.sandbox/d704738a08fad0a13a1443bbf3004ae7/default/test/cram/cli.t/run.t.corrected
index 93d2faf..75abae8 100644
--- a/_build/.sandbox/d704738a08fad0a13a1443bbf3004ae7/default/test/cram/cli.t/run.t
+++ b/_build/.sandbox/d704738a08fad0a13a1443bbf3004ae7/default/test/cram/cli.t/run.t.corrected
@@ -6,119 +6,137 @@
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index $(find . -name '*.odocl')
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search "unique_name"
- val Main.unique_name : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "multiple_hit"
- val Main.multiple_hit_1 : foo
- val Main.multiple_hit_2 : foo
- val Main.multiple_hit_3 : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "name_conflict"
- 134 type Main.name_conflict = foo
- 234 val Main.name_conflict : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "nesting_priority"
- val Main.nesting_priority : foo
- val Main.Nest.nesting_priority : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "list"
- type 'a Main.list
- type 'a Main.List.t = 'a list
- mod Main.List
- val Main.Map.to_list : foo
- val Main.List.map : ('a -> 'b) -> 'a t -> 'b t
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- val Main.foo : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "map"
- mod Main.Map
- val Main.Map.to_list : foo
- val Main.List.map : ('a -> 'b) -> 'a t -> 'b t
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- val Main.foo : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "list map"
- val Main.List.map : ('a -> 'b) -> 'a t -> 'b t
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.Map.to_list : foo
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
- val Main.foo : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "map2"
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ":moo"
- val Main.value : moo
- val Main.produce : unit -> moo
- val Main.produce_2' : unit -> unit -> moo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ":_ -> moo"
- val Main.produce : unit -> moo
- val Main.produce_2' : unit -> unit -> moo
- val Main.value : moo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ":moo -> _"
- cons Main.MyExtension : moo -> extensible_type
- val Main.consume : moo -> unit
- val Main.consume_2 : moo -> moo -> unit
- val Main.consume_2_other : moo -> t -> unit
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "modtype"
- sig Main.Modtype
- val Main.Modtype.v_modtype : foo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "S"
- mod Main.S_to_S1
- sig Main.S
- type Main.extensible_type = ..
- type 'a Main.List.t = 'a list
- mod Main.List
- mod Main.Nest
- type 'a Main.list
- type Main.MyExtension
- cons Main.MyExtension : moo -> extensible_type
- val Main.consume : moo -> unit
- val Main.Map.to_list : foo
- val Main.nesting_priority : foo
- val Main.consume_2 : moo -> moo -> unit
- val Main.Nest.nesting_priority : foo
- val Main.consume_2_other : moo -> t -> unit
- val Main.List.map : ('a -> 'b) -> 'a t -> 'b t
- val Main.foo : foo
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "qwertyuiopasdfghjklzxcvbnm"
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "hidden"
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ":mo"
- val Main.value : moo
- val Main.produce : unit -> moo
- val Main.produce_2' : unit -> unit -> moo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ":'a"
- val Main.poly_param : 'a boo
- val Main.poly_1 : 'a -> 'b -> 'c
- val Main.List.map : ('a -> 'b) -> 'a t -> 'b t
- val Main.poly_2 : 'a -> 'b -> 'c -> 'a -> 'b -> 'c
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": 'a -> 'b -> 'c "
- val Main.poly_1 : 'a -> 'b -> 'c
- val Main.poly_2 : 'a -> 'b -> 'c -> 'a -> 'b -> 'c
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": ('a -> 'b) -> 'a t -> 'b t"
- val Main.List.map : ('a -> 'b) -> 'a t -> 'b t
- val Main.List.map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
- val Main.List.rev_map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": 'a bo"
- val Main.poly_param : 'a boo
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ":extensible_type"
- cons Main.MyExtension : moo -> extensible_type
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ":exn"
- exn Main.Explicit_exn : exn_payload -> exn
- exn Main.Implicit_exn : exn_payload -> exn
- cons Main.Very_explicit_exn : exn_payload -> exn
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": exn_payload -> _"
- exn Main.Explicit_exn : exn_payload -> exn
- exn Main.Implicit_exn : exn_payload -> exn
- cons Main.Very_explicit_exn : exn_payload -> exn
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": long_name_type"
- val Main.long_name_value : long_name_type
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search ": long_nam"
- val Main.long_name_value : long_name_type
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search "long_name"
- type Main.long_name_type
- val Main.long_name_value : long_name_type
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
File "test/cram/link_in_docstring.t/run.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/699256af00cb9785e9cf9374badd8697/default/test/cram/link_in_docstring.t/run.t _build/.sandbox/699256af00cb9785e9cf9374badd8697/default/test/cram/link_in_docstring.t/run.t.corrected
diff --git a/_build/.sandbox/699256af00cb9785e9cf9374badd8697/default/test/cram/link_in_docstring.t/run.t b/_build/.sandbox/699256af00cb9785e9cf9374badd8697/default/test/cram/link_in_docstring.t/run.t.corrected
index 365f686..a82644c 100644
--- a/_build/.sandbox/699256af00cb9785e9cf9374badd8697/default/test/cram/link_in_docstring.t/run.t
+++ b/_build/.sandbox/699256af00cb9785e9cf9374badd8697/default/test/cram/link_in_docstring.t/run.t.corrected
@@ -4,9 +4,17 @@
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index $(find . -name '*.odocl')
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-docstring "foo"
- val A.foo : int
- <div><p>This is a docstring with a <span>link</span></p></div>
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-docstring "bar"
- val A.bar : int
- <div><p>This is a docstring with a ref to <span><code>foo</code></span></p></div>
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
File "test/cram/odocl_favouritism.t/run.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/d3fde06c65e929e7bdd0a35a86c24cd7/default/test/cram/odocl_favouritism.t/run.t _build/.sandbox/d3fde06c65e929e7bdd0a35a86c24cd7/default/test/cram/odocl_favouritism.t/run.t.corrected
diff --git a/_build/.sandbox/d3fde06c65e929e7bdd0a35a86c24cd7/default/test/cram/odocl_favouritism.t/run.t b/_build/.sandbox/d3fde06c65e929e7bdd0a35a86c24cd7/default/test/cram/odocl_favouritism.t/run.t.corrected
index 50f766e..e82d091 100644
--- a/_build/.sandbox/d3fde06c65e929e7bdd0a35a86c24cd7/default/test/cram/odocl_favouritism.t/run.t
+++ b/_build/.sandbox/d3fde06c65e929e7bdd0a35a86c24cd7/default/test/cram/odocl_favouritism.t/run.t.corrected
@@ -8,18 +8,42 @@
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index a.odocl b.odocl
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "unique_name"
- 229 val A.unique_name : int
- 229 val B.unique_name : int
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc index --favoured a.odocl b.odocl
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "unique_name"
- 179 val A.unique_name : int
- 229 val B.unique_name : int
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc index a.odocl --favoured b.odocl
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "unique_name"
- 179 val B.unique_name : int
- 229 val A.unique_name : int
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
$ sherlodoc index --favoured a.odocl --favoured b.odocl
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
$ sherlodoc search --print-cost "unique_name"
- 179 val A.unique_name : int
- 179 val B.unique_name : int
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
File "test/cram/module_type_cost.t/run.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/01fe83b1fcf292dfd405943d6bf60d17/default/test/cram/module_type_cost.t/run.t _build/.sandbox/01fe83b1fcf292dfd405943d6bf60d17/default/test/cram/module_type_cost.t/run.t.corrected
diff --git a/_build/.sandbox/01fe83b1fcf292dfd405943d6bf60d17/default/test/cram/module_type_cost.t/run.t b/_build/.sandbox/01fe83b1fcf292dfd405943d6bf60d17/default/test/cram/module_type_cost.t/run.t.corrected
index ef7069c..cb93620 100644
--- a/_build/.sandbox/01fe83b1fcf292dfd405943d6bf60d17/default/test/cram/module_type_cost.t/run.t
+++ b/_build/.sandbox/01fe83b1fcf292dfd405943d6bf60d17/default/test/cram/module_type_cost.t/run.t.corrected
@@ -7,13 +7,20 @@ $ du -sh megaodocl
$ export SHERLODOC_DB=db.bin
$ export SHERLODOC_FORMAT=marshal
$ sherlodoc index $(find . -name '*.odocl')
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+
+ [125]
Here we expect to have the `my_function` from the module be above the one from
the module type.
$ sherlodoc search --print-cost --no-rhs "my_function"
- 246 val Main.M.my_function
- 249 val Main.Make.my_function
- 346 val Main.S.my_function
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
Here we expect both the module type and the module to be ranked the same
$ sherlodoc search --print-cost "module"
- 166 mod Main.Module_nype
- 216 sig Main.Module_type
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+
+ [125]
File "test/cram/empty.t/run.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/3ba5bfd8777f9dfce837870e7709b754/default/test/cram/empty.t/run.t _build/.sandbox/3ba5bfd8777f9dfce837870e7709b754/default/test/cram/empty.t/run.t.corrected
diff --git a/_build/.sandbox/3ba5bfd8777f9dfce837870e7709b754/default/test/cram/empty.t/run.t b/_build/.sandbox/3ba5bfd8777f9dfce837870e7709b754/default/test/cram/empty.t/run.t.corrected
index 3073cd3..a298ecf 100644
--- a/_build/.sandbox/3ba5bfd8777f9dfce837870e7709b754/default/test/cram/empty.t/run.t
+++ b/_build/.sandbox/3ba5bfd8777f9dfce837870e7709b754/default/test/cram/empty.t/run.t.corrected
@@ -4,6 +4,19 @@ crash sherlodoc.
$ export OCAMLRUNPARAM=b
$ dune build @doc
$ sherlodoc index ./_build/default/_doc/_odocls/foo/page-index.odocl --format=marshal --db=db.marshal
+ sherlodoc: internal error, uncaught exception:
+ Failure("output_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.save in file "store/storage_marshal.ml", line 5, characters 17-43
+ Called from Index.main in file "index/index.ml", line 76, characters 2-10
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
$ sherlodoc search --db=db.marshal lorem
- [No results]
+ sherlodoc: internal error, uncaught exception:
+ Failure("input_value: not a binary channel")
+ Raised by primitive operation at Storage_marshal.load in file "store/storage_marshal.ml", line 9, characters 10-35
+ Called from Dune__exe__Search.search in file "cli/search.ml", line 110, characters 11-35
+ Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
+ Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
+ [125]
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-12-19 06:33.32: Job failed: Failed: Build failed