2024-12-19 05:47.20: New job: test art-w/sherlodoc https://github.com/art-w/sherlodoc.git#refs/heads/master (77ecc829dea23a312a50a74852c3263365bbdeab) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.3) Base: windows-server-2022-amd64-ocaml-4.14 Opam project build To reproduce locally: git clone --recursive "https://github.com/art-w/sherlodoc.git" -b "master" && cd "sherlodoc" && git reset --hard 77ecc829 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM windows-server-2022-amd64-ocaml-4.14 # windows-server-2022-amd64-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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.20: Using cache hint "art-w/sherlodoc-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-afbbaa3400ff179b5e93383509affd5a" 2024-12-19 05:47.20: Using OBuilder spec: ((from windows-server-2022-amd64-ocaml-4.14) (comment windows-server-2022-amd64-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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.20: Waiting for resource in pool OCluster 2024-12-19 05:47.20: Waiting for worker… 2024-12-19 06:00.43: Got resource from pool OCluster Building on odawa All commits already cached HEAD is now at 77ecc82 Merge pull request #25 from art-w/remove_weird_warnings (from windows-server-2022-amd64-ocaml-4.14) 2024-12-19 06:00.43 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache /: (comment windows-server-2022-amd64-4.14_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:00.43 ---> using "fe3978d598c814685c6ee8922c3ae17147a3127f83af70ca6588d6b26847cd93" 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:00.43 ---> using "0caf41f56a7e1f8a9ba062ae44d7d1f50471f3874e543c30c0d1c2b229f1e062" 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 4.14.2 2.3.0 2024-12-19 06:00.43 ---> using "6a7802e4db8e302e8ba8d87ff4e9376ae777099db0cd03bdab21ff27a442740c" 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:00.43 ---> using "892af3cd8973cd44190f2abd5559c66930ad2135f60e46dc8acdcb269e9f6a2c" from cache /: (copy (src sherlodoc.opam) (dst /Users/opam/src/./)) 2024-12-19 06:01.15 ---> saved as "252dd350d4e075ab61b3c06404d30d1b6c12c2afd97dcc6e516d2cd9ce34d832" /: (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:01.48 ---> saved as "4541b21e4b950b33a3aeb2561117b1da2160994ec85d34d0c90225fdf38af935" /: (run (network host) (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'")) 2024-12-19 06:02.19 ---> saved as "4f7ac515083d0888cf60a6b3d718cf25a64a7322d948e40ec04593bd58832115" /: (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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [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-bigarray is already installed (current version is base). [NOTE] Package arch-x86_64 is already installed (current version is 1). 2024-12-19 06:03.08 ---> saved as "41c6570b8d64f1ba346b1095e9a22490f2a9af37eba777a0a01e382201e4ea29" /: (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 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [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-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.12.4 - 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.12.4 (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 ppxlib.0.33.0 (cached) -> retrieved ptime.1.2.0 (cached) -> retrieved re.1.12.0 (cached) -> retrieved result.1.5 (cached) -> retrieved seq.base (cached) -> retrieved sedlex.3.3 (cached) -> retrieved sexplib0.v0.16.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 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\4.14.2\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind.exe [WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind_opt.exe [WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\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.12.4 -> installed ocaml-syntax-shims.1.0.0 -> installed ocplib-endian.1.2 -> installed optint.0.3.0 -> 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 alcotest.1.8.0 -> installed tyxml.4.6.0 -> installed bigstringaf.0.10.0 -> installed checkseum.0.5.2 -> installed decompress.1.5.3 -> installed lwt.5.9.0 -> installed base.v0.16.3 -> installed odoc.2.4.4 -> installed ppxlib.0.33.0 -> installed b0.0.0.5 -> installed ppx_blob.0.9.0 -> 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:06.52 ---> saved as "30fd96b2de12bd3411de2aa39ba2c7eaa36a2f8108bfec1d495e84799702b676" /: (copy (src .) (dst /Users/opam/src)) 2024-12-19 06:07.23 ---> saved as "433ac7d68ac2f0cf6dc0e2a97fbf75d3752d098811ff7030e6484a696afd4727" /: (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 `XNX9E7X2'. [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. Full test results in `~\src\_build\default\query\test\_build\_tests\XNX9E7X2'. Test Successful in 0.047s. 101 tests run. (cd _build/default/test && C:\Users\opam\AppData\Local\opam\4.14.2\bin\odig.exe odoc --cache-dir=docs --no-pkg-deps --quiet base) The system cannot find the file specified. 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/c89332e33323ff00d25539c0663888c1/default/test/cram/multi_package.t _build/.sandbox/c89332e33323ff00d25539c0663888c1/default/test/cram/multi_package.t.corrected diff --git a/_build/.sandbox/c89332e33323ff00d25539c0663888c1/default/test/cram/multi_package.t b/_build/.sandbox/c89332e33323ff00d25539c0663888c1/default/test/cram/multi_package.t.corrected index e0dd47c..705fb48 100644 --- a/_build/.sandbox/c89332e33323ff00d25539c0663888c1/default/test/cram/multi_package.t +++ b/_build/.sandbox/c89332e33323ff00d25539c0663888c1/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/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/015876b25d70d61afb923ac1e09ae197/default/test/cram/base_cli.t _build/.sandbox/015876b25d70d61afb923ac1e09ae197/default/test/cram/base_cli.t.corrected diff --git a/_build/.sandbox/015876b25d70d61afb923ac1e09ae197/default/test/cram/base_cli.t b/_build/.sandbox/015876b25d70d61afb923ac1e09ae197/default/test/cram/base_cli.t.corrected index f7cea65..b32811f 100644 --- a/_build/.sandbox/015876b25d70d61afb923ac1e09ae197/default/test/cram/base_cli.t +++ b/_build/.sandbox/015876b25d70d61afb923ac1e09ae197/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/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/1fd967548a9a8e831bb2657d6f2debc1/default/test/cram/query_syntax.t _build/.sandbox/1fd967548a9a8e831bb2657d6f2debc1/default/test/cram/query_syntax.t.corrected diff --git a/_build/.sandbox/1fd967548a9a8e831bb2657d6f2debc1/default/test/cram/query_syntax.t b/_build/.sandbox/1fd967548a9a8e831bb2657d6f2debc1/default/test/cram/query_syntax.t.corrected index 3eda2f4..ff2a2b8 100644 --- a/_build/.sandbox/1fd967548a9a8e831bb2657d6f2debc1/default/test/cram/query_syntax.t +++ b/_build/.sandbox/1fd967548a9a8e831bb2657d6f2debc1/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, 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 ": 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.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/1f3db5c6616295e9d5e26affe7c238f6/default/test/cram/cli.t/run.t _build/.sandbox/1f3db5c6616295e9d5e26affe7c238f6/default/test/cram/cli.t/run.t.corrected diff --git a/_build/.sandbox/1f3db5c6616295e9d5e26affe7c238f6/default/test/cram/cli.t/run.t b/_build/.sandbox/1f3db5c6616295e9d5e26affe7c238f6/default/test/cram/cli.t/run.t.corrected index 93d2faf..75abae8 100644 --- a/_build/.sandbox/1f3db5c6616295e9d5e26affe7c238f6/default/test/cram/cli.t/run.t +++ b/_build/.sandbox/1f3db5c6616295e9d5e26affe7c238f6/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/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/c908ccc1e18eb623bb9d8b0085c35a33/default/test/cram/cli_poly.t/run.t _build/.sandbox/c908ccc1e18eb623bb9d8b0085c35a33/default/test/cram/cli_poly.t/run.t.corrected diff --git a/_build/.sandbox/c908ccc1e18eb623bb9d8b0085c35a33/default/test/cram/cli_poly.t/run.t b/_build/.sandbox/c908ccc1e18eb623bb9d8b0085c35a33/default/test/cram/cli_poly.t/run.t.corrected index 266a771..d56ec78 100644 --- a/_build/.sandbox/c908ccc1e18eb623bb9d8b0085c35a33/default/test/cram/cli_poly.t/run.t +++ b/_build/.sandbox/c908ccc1e18eb623bb9d8b0085c35a33/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/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/a11258103263f51c54ca9e3b5b0c986b/default/test/cram/prefix_favouritism.t _build/.sandbox/a11258103263f51c54ca9e3b5b0c986b/default/test/cram/prefix_favouritism.t.corrected diff --git a/_build/.sandbox/a11258103263f51c54ca9e3b5b0c986b/default/test/cram/prefix_favouritism.t b/_build/.sandbox/a11258103263f51c54ca9e3b5b0c986b/default/test/cram/prefix_favouritism.t.corrected index f9db8ed..fcf065d 100644 --- a/_build/.sandbox/a11258103263f51c54ca9e3b5b0c986b/default/test/cram/prefix_favouritism.t +++ b/_build/.sandbox/a11258103263f51c54ca9e3b5b0c986b/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/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/6023439ee6b43f045e1847d73f0a3c2e/default/test/cram/cli_small.t/run.t _build/.sandbox/6023439ee6b43f045e1847d73f0a3c2e/default/test/cram/cli_small.t/run.t.corrected diff --git a/_build/.sandbox/6023439ee6b43f045e1847d73f0a3c2e/default/test/cram/cli_small.t/run.t b/_build/.sandbox/6023439ee6b43f045e1847d73f0a3c2e/default/test/cram/cli_small.t/run.t.corrected index 7b0b4aa..03e8433 100644 --- a/_build/.sandbox/6023439ee6b43f045e1847d73f0a3c2e/default/test/cram/cli_small.t/run.t +++ b/_build/.sandbox/6023439ee6b43f045e1847d73f0a3c2e/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/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/ea8e2f0b504aef7d792ad8478f303511/default/test/cram/empty.t/run.t _build/.sandbox/ea8e2f0b504aef7d792ad8478f303511/default/test/cram/empty.t/run.t.corrected diff --git a/_build/.sandbox/ea8e2f0b504aef7d792ad8478f303511/default/test/cram/empty.t/run.t b/_build/.sandbox/ea8e2f0b504aef7d792ad8478f303511/default/test/cram/empty.t/run.t.corrected index 3073cd3..a298ecf 100644 --- a/_build/.sandbox/ea8e2f0b504aef7d792ad8478f303511/default/test/cram/empty.t/run.t +++ b/_build/.sandbox/ea8e2f0b504aef7d792ad8478f303511/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] 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/8a1d7223e8b6c7988225dcfc1fe7fba3/default/test/cram/module_type_cost.t/run.t _build/.sandbox/8a1d7223e8b6c7988225dcfc1fe7fba3/default/test/cram/module_type_cost.t/run.t.corrected diff --git a/_build/.sandbox/8a1d7223e8b6c7988225dcfc1fe7fba3/default/test/cram/module_type_cost.t/run.t b/_build/.sandbox/8a1d7223e8b6c7988225dcfc1fe7fba3/default/test/cram/module_type_cost.t/run.t.corrected index ef7069c..cb93620 100644 --- a/_build/.sandbox/8a1d7223e8b6c7988225dcfc1fe7fba3/default/test/cram/module_type_cost.t/run.t +++ b/_build/.sandbox/8a1d7223e8b6c7988225dcfc1fe7fba3/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/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/565d9d5fc04241c8adb37d93815d3147/default/test/cram/link_in_docstring.t/run.t _build/.sandbox/565d9d5fc04241c8adb37d93815d3147/default/test/cram/link_in_docstring.t/run.t.corrected diff --git a/_build/.sandbox/565d9d5fc04241c8adb37d93815d3147/default/test/cram/link_in_docstring.t/run.t b/_build/.sandbox/565d9d5fc04241c8adb37d93815d3147/default/test/cram/link_in_docstring.t/run.t.corrected index 365f686..a82644c 100644 --- a/_build/.sandbox/565d9d5fc04241c8adb37d93815d3147/default/test/cram/link_in_docstring.t/run.t +++ b/_build/.sandbox/565d9d5fc04241c8adb37d93815d3147/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/60138f64488e6cf24a9162c6cf5debe8/default/test/cram/odocl_favouritism.t/run.t _build/.sandbox/60138f64488e6cf24a9162c6cf5debe8/default/test/cram/odocl_favouritism.t/run.t.corrected diff --git a/_build/.sandbox/60138f64488e6cf24a9162c6cf5debe8/default/test/cram/odocl_favouritism.t/run.t b/_build/.sandbox/60138f64488e6cf24a9162c6cf5debe8/default/test/cram/odocl_favouritism.t/run.t.corrected index 50f766e..e82d091 100644 --- a/_build/.sandbox/60138f64488e6cf24a9162c6cf5debe8/default/test/cram/odocl_favouritism.t/run.t +++ b/_build/.sandbox/60138f64488e6cf24a9162c6cf5debe8/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] "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:08.41: Job failed: Failed: Build failed