2025-07-04 15:14.23: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/449/head (d97881e731e3fd7aa460fd79690b7dcf872170f6) (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/ocaml-gospel/gospel.git" && cd "gospel" && git fetch origin "refs/pull/449/head" && git reset --hard d97881e7 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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 gospel.opam /Users/opam/src/./ RUN opam pin add -yn gospel.dev '/Users/opam/src/./' RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project' ENV DEPS="arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.4.0.0 dune.3.19.1 dune-build-info.3.19.1 flexdll.0.44 fmt.0.10.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 inferno.20220603 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.3 --depext-only -y gospel.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 2025-07-04 15:14.23: Using cache hint "ocaml-gospel/gospel-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-f3fd41c3f5c19d2cb1af46484de3d0f5" 2025-07-04 15:14.23: 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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src gospel.opam) (dst /Users/opam/src/./)) (run (network host) (shell "opam pin add -yn gospel.dev '/Users/opam/src/./'")) (run (network host) (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'")) (env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.4.0.0 dune.3.19.1 dune-build-info.3.19.1 flexdll.0.44 fmt.0.10.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 inferno.20220603 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0") (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 gospel.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")) ) 2025-07-04 15:14.23: Waiting for resource in pool OCluster 2025-07-04 21:22.52: Waiting for worker… 2025-07-05 00:56.23: Got resource from pool OCluster Building on thyme All commits already cached HEAD is now at d97881e Update change log (from windows-server-2022-amd64-ocaml-4.14) 2025-07-05 00:56.24 ---> 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")) 2025-07-05 00:56.24 ---> 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 2025-07-05 00:56.24 ---> 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 2025-07-05 00:56.24 ---> 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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 11bdbee611..ee56c84f60 master -> origin/master 382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file://C:/Users/opam/opam-repository The following actions will be performed: === recompile 3 packages - recompile ocaml 4.14.2 [uses ocaml-base-compiler] - recompile ocaml-base-compiler 4.14.2 (pinned) [uses flexdll] - recompile ocaml-config 3 [uses ocaml-base-compiler] === upgrade 1 package - upgrade flexdll 0.43 to 0.44 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> retrieved flexdll.0.44 (cached) -> removed ocaml.4.14.2 -> removed ocaml-config.3 -> retrieved ocaml-base-compiler.4.14.2 (cached) -> removed ocaml-base-compiler.4.14.2 -> removed flexdll.0.43 -> installed flexdll.0.44 -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.3 -> installed ocaml.4.14.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-07-05 00:56.24 ---> using "9648acc6366e571b62111178267a7ced65ec372ce471660d686779925250de3f" from cache /: (copy (src gospel.opam) (dst /Users/opam/src/./)) 2025-07-05 00:57.36 ---> saved as "97d66c3db940886c0795a087c238e860a204ed921b4dc197ff6dde9478fe130f" /: (run (network host) (shell "opam pin add -yn gospel.dev '/Users/opam/src/./'")) [gospel.dev] synchronised (file://C:/Users/opam/src/.) gospel is now pinned to file://C:/Users/opam/src/. (version dev) 2025-07-05 00:58.40 ---> saved as "c04cc761348e5b0e505ca995c38c06823d2dec1191440ca986b33fd33c48e6aa" /: (run (network host) (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'")) 2025-07-05 00:59.04 ---> saved as "96d7995ab63c05dc9b8b1390ad21342e62fd619eb5f56510ec297fc2ed381296" /: (env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crunch.4.0.0 dune.3.19.1 dune-build-info.3.19.1 flexdll.0.44 fmt.0.10.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 inferno.20220603 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0") /: (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 gospel.dev $DEPS")) <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [gospel.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.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-bigarray is already installed (current version is base). [NOTE] Package arch-x86_64 is already installed (current version is 1). 2025-07-05 01:01.33 ---> saved as "80dd9118c93aebfbf93ed1212c6f8a859838cabbda42dd0af7d7be011cd44207" /: (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.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-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 1.3.0 - install cppo 1.8.0 - install crunch 4.0.0 - install dune 3.19.1 - install dune-build-info 3.19.1 - install fmt 0.10.0 - install fpath 0.7.3 - install inferno 20220603 - install menhir 20240715 - install menhirCST 20240715 - install menhirLib 20240715 - install menhirSdk 20240715 - install ocaml-compiler-libs v0.12.4 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install odoc 3.0.0 - install odoc-parser 3.0.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.0 - install ppxlib 0.36.0 - install ptime 1.2.0 - install re 1.13.2 - install result 1.5 - install seq base - install sexplib0 v0.17.0 - install stdlib-shims 0.3.0 - install topkg 1.0.8 - install tyxml 4.6.0 - install unionFind 20220122 - install uutf 1.0.4 - install yojson 3.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved crunch.4.0.0 (cached) -> retrieved fmt.0.10.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved inferno.20220603 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (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.0 (cached) -> retrieved odoc.3.0.0, odoc-parser.3.0.0 (cached) -> retrieved dune.3.19.1, dune-build-info.3.19.1 (https://github.com/ocaml/dune/releases/download/3.19.1/dune-3.19.1.tbz) -> retrieved ppxlib.0.36.0 (cached) -> retrieved ptime.1.2.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved result.1.5 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved re.1.13.2 (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.13.2.tar.gz) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved topkg.1.0.8 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved unionFind.20220122 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved yojson.3.0.0 (https://github.com/ocaml-community/yojson/releases/download/3.0.0/yojson-3.0.0.tbz) -> installed cmdliner.1.3.0 -> installed ocamlbuild.0.16.1 [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.8\src\findlib\ocamlfind.exe [WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\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.8 -> installed topkg.1.0.8 -> installed uutf.1.0.4 -> installed astring.0.8.5 -> installed fmt.0.10.0 -> installed ptime.1.2.0 -> installed fpath.0.7.3 -> installed dune.3.19.1 -> installed camlp-streams.5.0.1 -> installed cppo.1.8.0 -> installed crunch.4.0.0 -> installed menhirCST.20240715 -> installed pp_loc.2.1.0 -> installed menhirLib.20240715 -> installed menhirSdk.20240715 -> installed pprint.20230830 -> installed dune-build-info.3.19.1 -> installed ppx_derivers.1.2.1 -> installed ocaml-compiler-libs.v0.12.4 -> installed result.1.5 -> installed re.1.13.2 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed unionFind.20220122 -> installed odoc-parser.3.0.0 -> installed yojson.3.0.0 -> installed inferno.20220603 -> installed tyxml.4.6.0 -> installed ppxlib.0.36.0 -> installed ppx_blob.0.9.0 -> installed odoc.3.0.0 -> installed ppx_deriving.6.1.0 -> installed menhir.20240715 Done. # To update the current shell environment, run: eval $(opam env) 2025-07-05 01:16.39 ---> saved as "c5e88c2d28ff726cb99b1b59243ea0895dc16fad8364da467896e4646c3c9f23" /: (copy (src .) (dst /Users/opam/src)) 2025-07-05 01:17.54 ---> saved as "3eb88c2813c40bea092cb8cc3bedf5d65d144f19ad3ec9688ea9e7f4c3126506" /: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build")) File "test/ppx/dune", lines 9-16, characters 0-196: 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:\Users\opam\AppData\Local\Temp\build_93c265_dune\ocamlpp60baff" 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/.sandbox/31cc745619ca2fb564117116a5dd5593/default/test/ppx/odoc_output.t _build/.sandbox/31cc745619ca2fb564117116a5dd5593/default/test/ppx/odoc_output.t.corrected diff --git a/_build/.sandbox/31cc745619ca2fb564117116a5dd5593/default/test/ppx/odoc_output.t b/_build/.sandbox/31cc745619ca2fb564117116a5dd5593/default/test/ppx/odoc_output.t.corrected index fb400b3..16228f4 100644 --- a/_build/.sandbox/31cc745619ca2fb564117116a5dd5593/default/test/ppx/odoc_output.t +++ b/_build/.sandbox/31cc745619ca2fb564117116a5dd5593/default/test/ppx/odoc_output.t.corrected @@ -3,23 +3,37 @@ 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:\Users\opam\AppData\Local\Temp\build_93c265_dune\camlppxb4e586" "C:\Users\opam\AppData\Local\Temp\build_93c265_dune\camlppx96d2c9" + + [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 + odoc: FILE.odocl argument: no 'odoc_of_gospel.odoc' file or directory + Usage: odoc html-generate [OPTION]… FILE.odocl + Try 'odoc html-generate --help' or 'odoc --help' for more information. + [2] $ odoc latex-generate odoc_of_gospel.odoc -o tmp + odoc: FILE.odocl argument: no 'odoc_of_gospel.odoc' file or directory + Usage: odoc latex-generate [OPTION]… FILE.odocl + Try 'odoc latex-generate --help' or 'odoc --help' for more information. + [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,51 +41,10 @@ columns: $ export COLUMNS=80 $ odoc man-generate odoc_of_gospel.odoc -o tmp + odoc: FILE.odocl argument: no 'odoc_of_gospel.odoc' file or directory + Usage: odoc man-generate [--extra-suffix=SUFFIX] [--sidebar=FILE.odoc-sidebar] [--syntax=SYNTAX] [OPTION]… FILE.odocl + Try 'odoc man-generate --help' or 'odoc --help' for more information. + [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] "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-07-05 01:19.24: Job failed: Failed: Build failed