2025-06-26 12:26.41: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/449/head (f499d75380a94358911a9f6151253dd0fe5d86e9) (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 f499d753
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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.12.0 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-06-26 12:26.41: Using cache hint "ocaml-gospel/gospel-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-7ecd1633eead410333ee07c0f69111ee"
2025-06-26 12:26.41: 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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.12.0 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-06-26 12:26.41: Waiting for resource in pool OCluster
2025-06-26 12:26.41: Waiting for worker…
2025-06-26 12:27.19: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at f499d75 tmp
(from windows-server-2022-amd64-ocaml-4.14)
2025-06-26 12:27.28 ---> 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-06-26 12:27.28 ---> 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-06-26 12:27.28 ---> 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-06-26 12:27.28 ---> 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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..2cd8e78594 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> 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-06-26 12:27.28 ---> using "159d37ab2ea069ac4dc27b3a5f9223e5ee9f2ff38c59f849c1872e418ce6c600" from cache
/: (copy (src gospel.opam) (dst /Users/opam/src/./))
2025-06-26 12:28.36 ---> saved as "3c3a860d9c0da55e93033132e2df161f454be579c534a8eef634c8f01ef34153"
/: (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-06-26 12:29.57 ---> saved as "40daae77264b8c8b5e65e5f74d9f7b9ce616000d35652f875a919525624672c7"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-06-26 12:30.57 ---> saved as "af41fbaf7deef032ecbe75d7836cb92d9730b2c948aef1815f59afa7418969e8"
/: (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.12.0 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-06-26 12:34.00 ---> saved as "3a1a2538ee93aa1c079df49fa7213ff5a10a6ffd3b057c2b92a5662e1b21de00"
/: (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.12.0
- 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 camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (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 re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> 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 menhirLib.20240715
-> installed menhirSdk.20240715
-> installed pp_loc.2.1.0
-> installed dune-build-info.3.19.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed pprint.20230830
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed re.1.12.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed odoc-parser.3.0.0
-> installed unionFind.20220122
-> installed yojson.3.0.0
-> installed tyxml.4.6.0
-> installed inferno.20220603
-> 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-06-26 13:00.34 ---> saved as "e643cf1280b7fab228793ca2f31e05e85afc3951b161b9a965592220cfefc37a"
/: (copy (src .) (dst /Users/opam/src))
2025-06-26 13:02.21 ---> saved as "a23bfc43e3465b62bc0a6e9557c0156700c20ff1f79c6795da61a24be4b6ea93"
/: (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_77ffc0_dune\ocamlppe975da"
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/eee2da3f1977c4331843b505533045f8/default/test/ppx/odoc_output.t _build/.sandbox/eee2da3f1977c4331843b505533045f8/default/test/ppx/odoc_output.t.corrected
diff --git a/_build/.sandbox/eee2da3f1977c4331843b505533045f8/default/test/ppx/odoc_output.t b/_build/.sandbox/eee2da3f1977c4331843b505533045f8/default/test/ppx/odoc_output.t.corrected
index fb400b3..185946e 100644
--- a/_build/.sandbox/eee2da3f1977c4331843b505533045f8/default/test/ppx/odoc_output.t
+++ b/_build/.sandbox/eee2da3f1977c4331843b505533045f8/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_77ffc0_dune\camlppxa9cda6" "C:\Users\opam\AppData\Local\Temp\build_77ffc0_dune\camlppxa18182"
+
+ [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-06-26 13:04.51: Job failed: Failed: Build failed