Organisationsocaml-gospelgospel32e05f (main)windows-server-mingw-ltsc2025-5.4_opam-2.5

windows-server-mingw-ltsc2025-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:37.27: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/heads/main (32e05f4cedca60e27067f5bf9c7aa104f123278b) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-gospel/gospel.git" -b "main" && cd "gospel" && git reset --hard 32e05f4c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
# windows-server-mingw-ltsc2025-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gospel.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn gospel.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.4.0.0 dune.3.22.1 dune-build-info.3.22.1 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 inferno.20220603 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.1.0 odoc-parser.3.1.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 ptime.1.2.0 re.1.14.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 store.0.1 system-mingw.1 topkg.1.1.1 tyxml.4.6.0 unionFind.20260226 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y gospel.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /cygwin64/home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-04-03 11:37.27: Using cache hint "ocaml-gospel/gospel-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1-windows-server-mingw-ltsc2025-5.4_opam-2.5-1a9580ceb0858d20e60097f974be7d7b"
2026-04-03 11:37.27: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
(comment windows-server-mingw-ltsc2025-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gospel.opam) (dst /cygwin64/home/opam/src/./))
(run (network host)
(shell "opam pin add -yn gospel.dev '/cygwin64/home/opam/src/./'"))
(run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.4.0.0 dune.3.22.1 dune-build-info.3.22.1 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 inferno.20220603 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.1.0 odoc-parser.3.1.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 ptime.1.2.0 re.1.14.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 store.0.1 system-mingw.1 topkg.1.1.1 tyxml.4.6.0 unionFind.20260226 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y gospel.dev $DEPS"))
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /cygwin64/home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-04-03 11:37.27: Waiting for resource in pool OCluster
2026-04-03 17:47.43: Waiting for worker…
2026-04-04 03:51.16: Got resource from pool OCluster
Building on ltsc2025-2
All commits already cached
HEAD is now at 32e05f4 Merge pull request #476 from mrjazzybread/set


(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
2026-04-04 03:51.33 ---> using "e6e8a2cf62a928430568e9b050d6cc986ddb11ca371f3b24e6b6f1ad80860153" from cache


C:/: (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)


C:/: (user (uid 1000) (gid 1000))


C:/: (env CLICOLOR_FORCE 1)


C:/: (env OPAMCOLOR always)


C:/: (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-04-04 03:51.33 ---> using "8371c7bbeda21231937607a48921d4490a1c9c23810f1d7416ef9e1aa874f8e3" from cache


C:/: (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] Initialised
2026-04-04 03:51.33 ---> using "8bf506c77ce4ea2b6efe0b049434ba77c8ea5f4c0beccb9cedbfead0127ea0b7" from cache


C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.7-1.x86_64
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-04 03:51.33 ---> using "017acac92f6c222a89f675ad77684e3ed5874f73aa36dd7947a6dd1cf4a5b5c7" from cache


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
65664dc5b2..d06cfb1853  master     -> origin/master
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file://C:/cygwin64/home/opam/opam-repository


Everything as up-to-date as possible
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-04 03:51.33 ---> using "336eb34db5e647012f2aaae2737f84ba9d7c97d66e4a73adcd8264b7c65b55f1" from cache


C:/: (copy (src gospel.opam) (dst /cygwin64/home/opam/src/./))
2026-04-04 03:55.45 ---> saved as "ed6436c000e80e49ef84cb076ffcd9262c05b7ef2ce459d08e73f2c94bce830c"


C:/: (run (network host)
(shell "opam pin add -yn gospel.dev '/cygwin64/home/opam/src/./'"))
[gospel.dev] synchronised (file://C:/cygwin64/home/opam/src)
gospel is now pinned to file://C:/cygwin64/home/opam/src (version dev)
2026-04-04 03:56.50 ---> saved as "362dc8aece466c523afec99f1e4f7f89df16f0ac1fac38682b1ebeca51a04e1b"


C:/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-04-04 03:58.40 ---> saved as "cab0683b77b14b148060e2f25c4c90215e3eaa69654905b62bc65f67e3fb7580"


C:/: (env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.4.0.0 dune.3.22.1 dune-build-info.3.22.1 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 inferno.20220603 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mingw-w64-shims.0.2.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.1.0 odoc-parser.3.1.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 ptime.1.2.0 re.1.14.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 store.0.1 system-mingw.1 topkg.1.1.1 tyxml.4.6.0 unionFind.20260226 uutf.1.0.4")


C:/: (env CI true)


C:/: (env OCAMLCI true)


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y gospel.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gospel.dev] synchronised (file://C:/cygwin64/home/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-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
# To update the current shell environment, run: eval $(opam env)
2026-04-04 03:59.56 ---> saved as "27986f75bf0aa7e76ef0e35a894525b9148784455c3ddc26a6d6b13fdcb40f9b"


C:/: (run (cache (opam-archives (target "c:\\opam\\.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-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== install 36 packages
- install astring             0.8.5
- install camlp-streams       5.0.1
- install cmdliner            2.1.0
- install cppo                1.8.0
- install crunch              4.0.0
- install dune                3.22.1
- install dune-build-info     3.22.1
- install fmt                 0.11.0
- install fpath               0.7.3
- install inferno             20220603
- install menhir              20260209
- install menhirCST           20260209
- install menhirGLR           20260209
- install menhirLib           20260209
- install menhirSdk           20260209
- install ocaml-compiler-libs v0.17.0
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install odoc                3.1.0
- install odoc-parser         3.1.0
- install pp_loc              2.1.0
- install pprint              20230830
- install ppx_blob            0.9.0
- install ppx_derivers        1.2.1
- install ppx_deriving        6.1.1
- install ppxlib              0.38.0
- install ptime               1.2.0
- install re                  1.14.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install store               0.1
- install topkg               1.1.1
- install tyxml               4.6.0
- install unionFind           20260226
- install uutf                1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved inferno.20220603  (https://gitlab.inria.fr/fpottier/inferno/-/archive/20220603/archive.tar.gz)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved dune.3.22.1, dune-build-info.3.22.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> retrieved pp_loc.2.1.0  (cached)
-> retrieved pprint.20230830  (cached)
-> retrieved ppx_blob.0.9.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved store.0.1  (https://gitlab.com/basile.clement/store/-/archive/v0.1/store-v0.1.tar.bz2)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved unionFind.20260226  (https://gitlab.inria.fr/fpottier/unionFind/-/archive/20260226/archive.tar.gz)
-> installed cmdliner.2.1.0
[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:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\opam\.opam\5.4\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed dune.3.22.1
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed dune-build-info.3.22.1
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed pprint.20230830
-> installed pp_loc.2.1.0
-> installed menhirSdk.20260209
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed store.0.1
-> installed topkg.1.1.1
-> installed re.1.14.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed unionFind.20260226
-> installed uutf.1.0.4
-> installed inferno.20220603
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed tyxml.4.6.0
-> installed ptime.1.2.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.1.0
-> installed crunch.4.0.0
-> installed menhir.20260209
-> installed ppxlib.0.38.0
-> installed odoc.3.1.0
-> installed ppx_blob.0.9.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-04 04:17.39 ---> saved as "33d8aef7f213fbd30d065f8a2225149676e0c73262033fb8bec5891f56c1c37d"


C:/: (copy (src .) (dst /cygwin64/home/opam/src))
2026-04-04 04:26.18 ---> saved as "6eaf91b1c2032ce8449249859df70bba345eac91df9172d8f9c0d044b5662021"


C:/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/duplicates/duplicate_exn4.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/duplicates/duplicate_exn4.mli _build/default/test/duplicates/duplicate_exn4.mli.output
diff --git a/_build/default/test/duplicates/duplicate_exn4.mli b/_build/default/test/duplicates/duplicate_exn4.mli.output
index 1af5cc9..69ebbc6 100755
--- a/_build/default/test/duplicates/duplicate_exn4.mli
+++ b/_build/default/test/duplicates/duplicate_exn4.mli.output
@@ -19,7 +19,7 @@ val f : unit -> unit
*)


(* {gospel_expected|
-[1] File "duplicate_exn4.mli", line 17, characters 4-27:
+[1] File "duplicate_exn4.mli", line 17, characters 4-28:

17 | ....raises E1
18 |     raises E2
Error: The exception E1 is listed twice in this specification
File "test/typechecking/val_specs/invalid_arg_number3.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_arg_number3.mli _build/default/test/typechecking/val_specs/invalid_arg_number3.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_arg_number3.mli b/_build/default/test/typechecking/val_specs/invalid_arg_number3.mli.output
index f349760..517fd75 100755
--- a/_build/default/test/typechecking/val_specs/invalid_arg_number3.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_arg_number3.mli.output
@@ -13,7 +13,7 @@ val f : int -> int -> unit
ensures True *)


(* {gospel_expected|
-[1] File "invalid_arg_number3.mli", line 11, characters 0-58:
+[1] File "invalid_arg_number3.mli", line 11, characters 0-60:

11 | val f : int -> int -> unit
12 | (*@ f x y z
13 |     ensures True *)
File "test/ppx/dune", lines 9-16, characters 0-203:
9 | (rule
10 |  (targets odoc_of_gospel.actual.mli)
11 |  (deps
12 |   (:pp pp.exe)
13 |   (:input odoc_of_gospel.mli)
14 |   (:gospel %{bin:gospel}))
15 |  (action
16 |   (run %{pp} --intf %{input} -pp "%{gospel} pps" -o %{targets})))
(cd _build/default/test/ppx && .\pp.exe --intf odoc_of_gospel.mli -pp "../../../install/default/bin/gospel.exe pps" -o odoc_of_gospel.actual.mli)
'..' is not recognized as an internal or external command,
operable program or batch file.
File "odoc_of_gospel.mli", line 1:
Error: Error while running external preprocessor
Command line: ../../../install/default/bin/gospel.exe pps "odoc_of_gospel.mli" > "C:\cygwin64\tmp\ocamlppdd4fbb"


File "test/typechecking/val_specs/invalid_arg_number4.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_arg_number4.mli _build/default/test/typechecking/val_specs/invalid_arg_number4.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_arg_number4.mli b/_build/default/test/typechecking/val_specs/invalid_arg_number4.mli.output
index 9a991ce..9125c57 100755
--- a/_build/default/test/typechecking/val_specs/invalid_arg_number4.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_arg_number4.mli.output
@@ -13,7 +13,7 @@ val f : int -> int -> unit
ensures True *)


(* {gospel_expected|
-[1] File "invalid_arg_number4.mli", line 11, characters 0-54:
+[1] File "invalid_arg_number4.mli", line 11, characters 0-56:

11 | val f : int -> int -> unit
12 | (*@ f x
13 |     ensures True *)
File "test/typechecking/val_specs/cant_return_unit1.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/cant_return_unit1.mli _build/default/test/typechecking/val_specs/cant_return_unit1.mli.output
diff --git a/_build/default/test/typechecking/val_specs/cant_return_unit1.mli b/_build/default/test/typechecking/val_specs/cant_return_unit1.mli.output
index 5032baf..5323eb9 100755
--- a/_build/default/test/typechecking/val_specs/cant_return_unit1.mli
+++ b/_build/default/test/typechecking/val_specs/cant_return_unit1.mli.output
@@ -13,7 +13,7 @@ val f : int -> unit
ensures True *)


(* {gospel_expected|
-[1] File "cant_return_unit1.mli", line 12, characters 3-25:
+[1] File "cant_return_unit1.mli", line 12, characters 3-26:

12 | ... f x
13 |     ensures True ..
Error: This function has no listed side effects, it cannot return unit
File "test/typechecking/val_specs/cant_return_unit2.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/cant_return_unit2.mli _build/default/test/typechecking/val_specs/cant_return_unit2.mli.output
diff --git a/_build/default/test/typechecking/val_specs/cant_return_unit2.mli b/_build/default/test/typechecking/val_specs/cant_return_unit2.mli.output
index 8299391..cd5713b 100755
--- a/_build/default/test/typechecking/val_specs/cant_return_unit2.mli
+++ b/_build/default/test/typechecking/val_specs/cant_return_unit2.mli.output
@@ -13,7 +13,7 @@ val f : int ref -> unit
preserves x *)


(* {gospel_expected|
-[1] File "cant_return_unit2.mli", line 12, characters 3-24:
+[1] File "cant_return_unit2.mli", line 12, characters 3-25:

12 | ... f x
13 |     preserves x ..
Error: This function has no listed side effects, it cannot return unit
File "test/typechecking/val_specs/cant_return_unit4.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/cant_return_unit4.mli _build/default/test/typechecking/val_specs/cant_return_unit4.mli.output
diff --git a/_build/default/test/typechecking/val_specs/cant_return_unit4.mli b/_build/default/test/typechecking/val_specs/cant_return_unit4.mli.output
index b1aba53..667cdb3 100755
--- a/_build/default/test/typechecking/val_specs/cant_return_unit4.mli
+++ b/_build/default/test/typechecking/val_specs/cant_return_unit4.mli.output
@@ -14,7 +14,7 @@ val f : int ref -> unit
preserves x *)


(* {gospel_expected|
-[1] File "cant_return_unit4.mli", line 12, characters 3-38:
+[1] File "cant_return_unit4.mli", line 12, characters 3-40:

12 | ... () = f x
13 |     pure
14 |     preserves x ..
File "test/typechecking/val_specs/invalid_ret_number1.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_ret_number1.mli _build/default/test/typechecking/val_specs/invalid_ret_number1.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_ret_number1.mli b/_build/default/test/typechecking/val_specs/invalid_ret_number1.mli.output
index 8123751..87d0ef7 100755
--- a/_build/default/test/typechecking/val_specs/invalid_ret_number1.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_ret_number1.mli.output
@@ -13,7 +13,7 @@ val f : unit -> int
ensures True *)


(* {gospel_expected|
-[1] File "invalid_ret_number1.mli", line 11, characters 0-55:
+[1] File "invalid_ret_number1.mli", line 11, characters 0-57:

11 | val f : unit -> int
12 | (*@ x, y = f ()
13 |     ensures True *)
File "test/typechecking/val_specs/invalid_arg_number5.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_arg_number5.mli _build/default/test/typechecking/val_specs/invalid_arg_number5.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_arg_number5.mli b/_build/default/test/typechecking/val_specs/invalid_arg_number5.mli.output
index 1db914f..b1922e6 100755
--- a/_build/default/test/typechecking/val_specs/invalid_arg_number5.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_arg_number5.mli.output
@@ -13,7 +13,7 @@ val f : int -> int -> unit
ensures True *)


(* {gospel_expected|
-[1] File "invalid_arg_number5.mli", line 11, characters 0-68:
+[1] File "invalid_arg_number5.mli", line 11, characters 0-70:

11 | val f : int -> int -> unit
12 | (*@ f x [y : integer]
13 |     ensures True *)
File "test/typechecking/val_specs/invalid_ret_number2.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_ret_number2.mli _build/default/test/typechecking/val_specs/invalid_ret_number2.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_ret_number2.mli b/_build/default/test/typechecking/val_specs/invalid_ret_number2.mli.output
index a4c22fe..d47fd75 100755
--- a/_build/default/test/typechecking/val_specs/invalid_ret_number2.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_ret_number2.mli.output
@@ -13,7 +13,7 @@ val f : unit -> int
ensures True *)


(* {gospel_expected|
-[1] File "invalid_ret_number2.mli", line 11, characters 0-58:
+[1] File "invalid_ret_number2.mli", line 11, characters 0-60:

11 | val f : unit -> int
12 | (*@ x, y, z = f ()
13 |     ensures True *)
File "test/typechecking/val_specs/invalid_ret_number3.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_ret_number3.mli _build/default/test/typechecking/val_specs/invalid_ret_number3.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_ret_number3.mli b/_build/default/test/typechecking/val_specs/invalid_ret_number3.mli.output
index f387012..4e78c8e 100755
--- a/_build/default/test/typechecking/val_specs/invalid_ret_number3.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_ret_number3.mli.output
@@ -13,7 +13,7 @@ val f : unit -> int * int
ensures True *)


(* {gospel_expected|
-[1] File "invalid_ret_number3.mli", line 11, characters 0-64:
+[1] File "invalid_ret_number3.mli", line 11, characters 0-66:

11 | val f : unit -> int * int
12 | (*@ x, y, z = f ()
13 |     ensures True *)
File "test/typechecking/val_specs/invalid_arg_number1.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_arg_number1.mli _build/default/test/typechecking/val_specs/invalid_arg_number1.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_arg_number1.mli b/_build/default/test/typechecking/val_specs/invalid_arg_number1.mli.output
index 321b397..c8995f9 100755
--- a/_build/default/test/typechecking/val_specs/invalid_arg_number1.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_arg_number1.mli.output
@@ -13,7 +13,7 @@ val f : int -> unit
ensures True *)


(* {gospel_expected|
-[1] File "invalid_arg_number1.mli", line 11, characters 0-49:
+[1] File "invalid_arg_number1.mli", line 11, characters 0-51:

11 | val f : int -> unit
12 | (*@ f x y
13 |     ensures True *)
File "test/typechecking/val_specs/pure_cant_diverge.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/pure_cant_diverge.mli _build/default/test/typechecking/val_specs/pure_cant_diverge.mli.output
diff --git a/_build/default/test/typechecking/val_specs/pure_cant_diverge.mli b/_build/default/test/typechecking/val_specs/pure_cant_diverge.mli.output
index a18ced4..9787699 100755
--- a/_build/default/test/typechecking/val_specs/pure_cant_diverge.mli
+++ b/_build/default/test/typechecking/val_specs/pure_cant_diverge.mli.output
@@ -13,7 +13,7 @@ val f : unit -> unit
diverges *)


(* {gospel_expected|
-[1] File "pure_cant_diverge.mli", line 11, characters 0-45:
+[1] File "pure_cant_diverge.mli", line 11, characters 0-47:

11 | val f : unit -> unit
12 | (*@ pure
13 |     diverges *)
File "test/typechecking/val_specs/pure_cant_raise.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/pure_cant_raise.mli _build/default/test/typechecking/val_specs/pure_cant_raise.mli.output
diff --git a/_build/default/test/typechecking/val_specs/pure_cant_raise.mli b/_build/default/test/typechecking/val_specs/pure_cant_raise.mli.output
index d10ca73..9946305 100755
--- a/_build/default/test/typechecking/val_specs/pure_cant_raise.mli
+++ b/_build/default/test/typechecking/val_specs/pure_cant_raise.mli.output
@@ -17,7 +17,7 @@ val f : unit -> unit
ensures True *)


(* {gospel_expected|
-[1] File "pure_cant_raise.mli", line 13, characters 0-73:
+[1] File "pure_cant_raise.mli", line 13, characters 0-77:

13 | val f : unit -> unit
14 | (*@ f ()
15 |     pure
File "test/typechecking/val_specs/invalid_arg_number2.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/invalid_arg_number2.mli _build/default/test/typechecking/val_specs/invalid_arg_number2.mli.output
diff --git a/_build/default/test/typechecking/val_specs/invalid_arg_number2.mli b/_build/default/test/typechecking/val_specs/invalid_arg_number2.mli.output
index 38c962f..db2aa23 100755
--- a/_build/default/test/typechecking/val_specs/invalid_arg_number2.mli
+++ b/_build/default/test/typechecking/val_specs/invalid_arg_number2.mli.output
@@ -13,7 +13,7 @@ val f : int -> unit
ensures True *)


(* {gospel_expected|
-[1] File "invalid_arg_number2.mli", line 11, characters 0-51:
+[1] File "invalid_arg_number2.mli", line 11, characters 0-53:

11 | val f : int -> unit
12 | (*@ f x y z
13 |     ensures True *)
File "test/typechecking/val_specs/pure_cant_consume.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/pure_cant_consume.mli _build/default/test/typechecking/val_specs/pure_cant_consume.mli.output
diff --git a/_build/default/test/typechecking/val_specs/pure_cant_consume.mli b/_build/default/test/typechecking/val_specs/pure_cant_consume.mli.output
index a252129..8b55ee4 100755
--- a/_build/default/test/typechecking/val_specs/pure_cant_consume.mli
+++ b/_build/default/test/typechecking/val_specs/pure_cant_consume.mli.output
@@ -14,7 +14,7 @@ val f : int ref -> unit
consumes x *)


(* {gospel_expected|
-[1] File "pure_cant_consume.mli", line 11, characters 0-58:
+[1] File "pure_cant_consume.mli", line 11, characters 0-61:

11 | val f : int ref -> unit
12 | (*@ f x
13 |     pure
File "test/typechecking/val_specs/pure_cant_modify.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/typechecking/val_specs/pure_cant_modify.mli _build/default/test/typechecking/val_specs/pure_cant_modify.mli.output
diff --git a/_build/default/test/typechecking/val_specs/pure_cant_modify.mli b/_build/default/test/typechecking/val_specs/pure_cant_modify.mli.output
index a78af29..040ceae 100755
--- a/_build/default/test/typechecking/val_specs/pure_cant_modify.mli
+++ b/_build/default/test/typechecking/val_specs/pure_cant_modify.mli.output
@@ -14,7 +14,7 @@ val f : int ref -> unit
modifies x *)


(* {gospel_expected|
-[1] File "pure_cant_modify.mli", line 11, characters 0-58:
+[1] File "pure_cant_modify.mli", line 11, characters 0-61:

11 | val f : int ref -> unit
12 | (*@ f x
13 |     pure
File "test/name_res/types/aliases/cyclic_alias10.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/name_res/types/aliases/cyclic_alias10.mli _build/default/test/name_res/types/aliases/cyclic_alias10.mli.output
diff --git a/_build/default/test/name_res/types/aliases/cyclic_alias10.mli b/_build/default/test/name_res/types/aliases/cyclic_alias10.mli.output
index 03ac809..f72e056 100755
--- a/_build/default/test/name_res/types/aliases/cyclic_alias10.mli
+++ b/_build/default/test/name_res/types/aliases/cyclic_alias10.mli.output
@@ -15,7 +15,7 @@
and t4 = (integer * integer) -> t3 sequence *)


(* {gospel_expected|
-[1] File "cyclic_alias10.mli", line 12, characters 4-52:
+[1] File "cyclic_alias10.mli", line 12, characters 4-53:

12 | ....and t1 = (integer * integer) -> t2 sequence
13 |     ...........................................
Error: The type abbreviation t1 contains a cycle
File "test/name_res/types/aliases/cyclic_alias6.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/name_res/types/aliases/cyclic_alias6.mli _build/default/test/name_res/types/aliases/cyclic_alias6.mli.output
diff --git a/_build/default/test/name_res/types/aliases/cyclic_alias6.mli b/_build/default/test/name_res/types/aliases/cyclic_alias6.mli.output
index 6859e85..d4cd15e 100755
--- a/_build/default/test/name_res/types/aliases/cyclic_alias6.mli
+++ b/_build/default/test/name_res/types/aliases/cyclic_alias6.mli.output
@@ -13,7 +13,7 @@
and t3 = (t1 * integer) -> integer *)


(* {gospel_expected|
-[1] File "cyclic_alias6.mli", line 11, characters 4-44:
+[1] File "cyclic_alias6.mli", line 11, characters 4-45:

11 | ....type t1 = (t2 * integer) -> integer
12 |     ..................................
Error: The type abbreviation t1 contains a cycle
File "test/name_res/types/aliases/cyclic_alias7.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/name_res/types/aliases/cyclic_alias7.mli _build/default/test/name_res/types/aliases/cyclic_alias7.mli.output
diff --git a/_build/default/test/name_res/types/aliases/cyclic_alias7.mli b/_build/default/test/name_res/types/aliases/cyclic_alias7.mli.output
index aeff740..8cece62 100755
--- a/_build/default/test/name_res/types/aliases/cyclic_alias7.mli
+++ b/_build/default/test/name_res/types/aliases/cyclic_alias7.mli.output
@@ -13,7 +13,7 @@
and t3 = (integer * t1) *)


(* {gospel_expected|
-[1] File "cyclic_alias7.mli", line 11, characters 4-33:
+[1] File "cyclic_alias7.mli", line 11, characters 4-34:

11 | ....type t1 = (integer * t2)
12 |     .......................
Error: The type abbreviation t1 contains a cycle
File "test/name_res/types/aliases/cyclic_alias11.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/name_res/types/aliases/cyclic_alias11.mli _build/default/test/name_res/types/aliases/cyclic_alias11.mli.output
diff --git a/_build/default/test/name_res/types/aliases/cyclic_alias11.mli b/_build/default/test/name_res/types/aliases/cyclic_alias11.mli.output
index c9fb8fd..d83a3c8 100755
--- a/_build/default/test/name_res/types/aliases/cyclic_alias11.mli
+++ b/_build/default/test/name_res/types/aliases/cyclic_alias11.mli.output
@@ -15,7 +15,7 @@
and t4 = (integer * t) -> t3 sequence *)


(* {gospel_expected|
-[1] File "cyclic_alias11.mli", line 12, characters 4-46:
+[1] File "cyclic_alias11.mli", line 12, characters 4-47:

12 | ....and t1 = (integer * t) -> t2 sequence
13 |     .....................................
Error: The type abbreviation t1 contains a cycle
File "test/name_res/types/aliases/cyclic_alias8.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/name_res/types/aliases/cyclic_alias8.mli _build/default/test/name_res/types/aliases/cyclic_alias8.mli.output
diff --git a/_build/default/test/name_res/types/aliases/cyclic_alias8.mli b/_build/default/test/name_res/types/aliases/cyclic_alias8.mli.output
index 6b4c888..05a4520 100755
--- a/_build/default/test/name_res/types/aliases/cyclic_alias8.mli
+++ b/_build/default/test/name_res/types/aliases/cyclic_alias8.mli.output
@@ -14,7 +14,7 @@
and t4 = (integer * integer) -> t1 sequence *)


(* {gospel_expected|
-[1] File "cyclic_alias8.mli", line 11, characters 4-53:
+[1] File "cyclic_alias8.mli", line 11, characters 4-54:

11 | ....type t1 = (integer * integer) -> t2 sequence
12 |     ...........................................
Error: The type abbreviation t1 contains a cycle
File "test/name_res/types/aliases/cyclic_alias9.mli", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/name_res/types/aliases/cyclic_alias9.mli _build/default/test/name_res/types/aliases/cyclic_alias9.mli.output
diff --git a/_build/default/test/name_res/types/aliases/cyclic_alias9.mli b/_build/default/test/name_res/types/aliases/cyclic_alias9.mli.output
index 31f983c..2f24ef5 100755
--- a/_build/default/test/name_res/types/aliases/cyclic_alias9.mli
+++ b/_build/default/test/name_res/types/aliases/cyclic_alias9.mli.output
@@ -14,7 +14,7 @@
and t4 = (integer * integer) -> t3 sequence *)


(* {gospel_expected|
-[1] File "cyclic_alias9.mli", line 11, characters 4-53:
+[1] File "cyclic_alias9.mli", line 11, characters 4-54:

11 | ....type t1 = (integer * integer) -> t2 sequence
12 |     ...........................................
Error: The type abbreviation t1 contains a cycle
File "test/ppx/odoc_output.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/ppx/odoc_output.t _build/default/test/ppx/odoc_output.t.corrected
diff --git a/_build/default/test/ppx/odoc_output.t b/_build/default/test/ppx/odoc_output.t.corrected
index 976d0e1..d42661e 100755
--- a/_build/default/test/ppx/odoc_output.t
+++ b/_build/default/test/ppx/odoc_output.t.corrected
@@ -3,23 +3,35 @@ In this file, we are testing output from Odoc after the ppx rewriting.
First, we compile the file, running the source preprocessor and the ppx:


$ ocamlc -bin-annot -pp "gospel pps" -ppx "./pp.exe -as-ppx" odoc_of_gospel.mli
+  '.' is not recognized as an internal or external command,

+  operable program or batch file.

+  File "odoc_of_gospel.mli", line 1:

+  Error: Error while running external preprocessor

+  Command line: ./pp.exe -as-ppx "C:\cygwin64\tmp\camlppx4aa2ed" "C:\cygwin64\tmp\camlppxbd0b82"

+  

+  [2]



Then run Odoc


$ odoc compile odoc_of_gospel.cmti 2> /dev/null
+  [2]



We test the html and the latex outputs


$ odoc html-generate odoc_of_gospel.odoc -o tmp
+  Usage: odoc html-generate [--help] [OPTION]… FILE.odocl

+  odoc: FILE.odocl argument: no odoc_of_gospel.odoc file or directory

+  [2]

$ odoc latex-generate odoc_of_gospel.odoc -o tmp
+  Usage: odoc latex-generate [--help] [OPTION]… FILE.odocl

+  odoc: FILE.odocl argument: no odoc_of_gospel.odoc file or directory

+  [2]



As the output is not stable through odoc versions, we just check that the files
are generated:


$ find tmp -name \*.tex
-  tmp/Odoc_of_gospel.tex
$ find tmp -name \*.html
-  tmp/Odoc_of_gospel/index.html


This is not the case for the man output, here we can test the output.
Though, to be sure the diff is meaningful, let's set terminal's number of
@@ -27,52 +39,11 @@ columns:


$ export COLUMNS=80
$ odoc man-generate odoc_of_gospel.odoc -o tmp
+  Usage: odoc man-generate [--help] [--extra-suffix=SUFFIX]

+         [--sidebar=FILE.odoc-sidebar] [--syntax=SYNTAX] [OPTION]… FILE.odocl

+  odoc: FILE.odocl argument: no odoc_of_gospel.odoc file or directory

+  [2]

$ grep -v '^\.' tmp/Odoc_of_gospel.3o
-  
-  Odoc_of_gospel
-  \fBModule Odoc_of_gospel\fR
-  Module informal documentation
-  An axiom declaration
-  Gospel declaration:
-      axiom a : True 
-  A logical function declaration without definition
-  Gospel declaration:
-      function f : integer -> integer 
-  A logical function definition
-  Gospel declaration:
-      function g (i : integer) : integer = i + 1 
-  A logical function declaration with assertions
-  Gospel declaration:
-      function h (i : integer) : integer = i - 1 
-      requires i > 0
-      ensures result >= 0 
-  A logical predicate definition
-  Gospel declaration:
-      predicate p (i : integer) = i = 42 
-  A ghost type declaration
-  Gospel declaration:
-      type casper 
-  \f[CB]type\fR 'a t
-  A program type declaration with specifications
-  Gospel specification:
-      model m : 'a sequence
-      with x
-      invariant True 
-  
-  \f[CB]val\fR prog_fun : int \f[CB]\->\fR int
-  A program function with specifications
-  Gospel specification:
-      y = prog_fun x
-      requires True
-      ensures True 
-  
-  \f[CB]val\fR multiple_gospel_attribute : int \f[CB]\->\fR int
-  Gospel specification:
-      y = multiple_gospel_attribute x 
-  Gospel specification:
-      requires True 
-  Gospel specification:
-      ensures True 
-  
-  
+  grep: tmp/Odoc_of_gospel.3o: No such file or directory

+  [2]



"C:\cygwin64\bin\bash.exe" "-lc" "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-04-04 04:28.25: Job failed: Failed: Build failed