2025-02-21 09:51.09: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/heads/main (c87cff3aad0faf25ffac3108bb4c7e811c535831) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3) Base: openbsd-76-amd64-ocaml-5.3 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocaml-gospel/gospel.git" -b "main" && cd "gospel" && git reset --hard c87cff3a cat > Dockerfile <<'END-OF-DOCKERFILE' FROM openbsd-76-amd64-ocaml-5.3 # openbsd-76-amd64-5.3_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN doas 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 4022a684b64be8161a05cf897f492f8680792469 || git fetch origin master) && git reset -q --hard 4022a684b64be8161a05cf897f492f8680792469 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 gospel.opam /home/opam/src/./ RUN opam pin add -yn gospel.dev '/home/opam/src/./' RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project' ENV DEPS="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.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.17.2 dune-build-info.3.17.2 fmt.0.9.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 odoc.2.4.4 odoc-parser.2.4.4 pp_loc.2.1.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3" 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 . /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 2025-02-21 09:51.09: Using cache hint "ocaml-gospel/gospel-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-da01654ee3a9ce6fc4f30eb4dbb6d96a" 2025-02-21 09:51.09: Using OBuilder spec: ((from openbsd-76-amd64-ocaml-5.3) (comment openbsd-76-amd64-5.3_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "doas 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 /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 4022a684b64be8161a05cf897f492f8680792469 || git fetch origin master) && git reset -q --hard 4022a684b64be8161a05cf897f492f8680792469 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src gospel.opam) (dst /home/opam/src/./)) (run (network host) (shell "opam pin add -yn gospel.dev '/home/opam/src/./'")) (run (network host) (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'")) (env DEPS "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.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.17.2 dune-build-info.3.17.2 fmt.0.9.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 odoc.2.4.4 odoc-parser.2.4.4 pp_loc.2.1.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.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 /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /home/opam/src)) (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2025-02-21 09:51.09: Waiting for resource in pool OCluster 2025-02-21 09:51.09: Waiting for worker… 2025-02-21 10:02.17: Got resource from pool OCluster Building on bremusa All commits already cached HEAD is now at c87cff3 Merge pull request #447 from n-osborne/typing-refactoring (from openbsd-76-amd64-ocaml-5.3) 2025-02-21 10:02.18 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache /: (comment openbsd-76-amd64-5.3_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-02-21 10:02.18 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" from cache /: (run (shell "opam init --reinit -ni")) No configuration file found, using built-in defaults. 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] synchronised from file:///home/opam/opam-repository 2025-02-21 10:02.18 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) OpenBSD 7.6 The OCaml toplevel, version 5.3.0 2.3.0 2025-02-21 10:02.18 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 4022a684b64be8161a05cf897f492f8680792469 || git fetch origin master) && git reset -q --hard 4022a684b64be8161a05cf897f492f8680792469 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD f93eb7cb02..4022a684b6 master -> origin/master 4022a684b6 Merge pull request #27464 from hannesm/release-crunch-v4.0.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/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) 2025-02-21 10:02.18 ---> using "06667b993e85da8e9b7122bf0d032b548882074784b846516768d5591e7f1d1a" from cache /: (copy (src gospel.opam) (dst /home/opam/src/./)) 2025-02-21 10:02.46 ---> saved as "341fd5e0aaebeb4fb8a32e05e2b687855587903709d74a8f53b8e6aca9926ae5" /: (run (network host) (shell "opam pin add -yn gospel.dev '/home/opam/src/./'")) [gospel.dev] synchronised (file:///home/opam/src) gospel is now pinned to file:///home/opam/src (version dev) 2025-02-21 10:03.31 ---> saved as "9796cea16e1cda8364fc1427a08d020038843d916ccf77d43632dd2256b39579" /: (run (network host) (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'")) 2025-02-21 10:04.13 ---> saved as "37a7a33dc36db61a268d9a3f47ed5f09ac7083363d54d16e5d76ec47de6ae243" /: (env DEPS "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.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.17.2 dune-build-info.3.17.2 fmt.0.9.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 odoc.2.4.4 odoc-parser.2.4.4 pp_loc.2.1.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3") /: (env CI true) /: (env OCAMLCI true) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y gospel.dev $DEPS")) [WARNING] Unknown update command for bsd, skipping system update <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [gospel.dev] synchronised (file:///home/opam/src) [NOTE] Package ocaml-options-vanilla 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.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.0). [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). 2025-02-21 10:05.08 ---> saved as "e0dc744aad1598154042f776523a025e9936de08bb4e59fbf189420aa5c6700f" /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla 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.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.0). [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). The following actions will be performed: === install 31 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.17.2 - install dune-build-info 3.17.2 - install fmt 0.9.0 - install fpath 0.7.3 - install menhir 20240715 - install menhirCST 20240715 - install menhirLib 20240715 - install menhirSdk 20240715 - install ocaml-compiler-libs v0.17.0 - install ocamlbuild 0.15.0 - install ocamlfind 1.9.8 - install odoc 2.4.4 - install odoc-parser 2.4.4 - install pp_loc 2.1.0 - install ppx_derivers 1.2.1 - install ppx_deriving 6.0.3 - install ppxlib 0.35.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.7 - install tyxml 4.6.0 - install uutf 1.0.3 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved camlp-streams.5.0.1 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved crunch.4.0.0 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved ocaml-compiler-libs.v0.17.0 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved dune.3.17.2, dune-build-info.3.17.2 (cached) -> retrieved pp_loc.2.1.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached) -> retrieved ppxlib.0.35.0 (cached) -> retrieved ptime.1.2.0 (cached) -> retrieved ppx_deriving.6.0.3 (cached) -> retrieved seq.base (cached) -> retrieved result.1.5 (cached) -> retrieved re.1.12.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> installed cmdliner.1.3.0 -> installed dune.3.17.2 -> installed ocamlbuild.0.15.0 -> installed camlp-streams.5.0.1 -> installed cppo.1.8.0 -> installed dune-build-info.3.17.2 -> installed menhirCST.20240715 -> installed menhirLib.20240715 -> installed menhirSdk.20240715 -> installed ocaml-compiler-libs.v0.17.0 -> installed menhir.20240715 -> installed ocamlfind.1.9.8 -> installed pp_loc.2.1.0 -> installed ppx_derivers.1.2.1 -> installed result.1.5 -> installed seq.base -> installed sexplib0.v0.17.0 -> installed re.1.12.0 -> installed stdlib-shims.0.3.0 -> installed topkg.1.0.7 -> installed ppxlib.0.35.0 -> installed astring.0.8.5 -> installed fmt.0.9.0 -> installed fpath.0.7.3 -> installed odoc-parser.2.4.4 -> installed ppx_deriving.6.0.3 -> installed ptime.1.2.0 -> installed uutf.1.0.3 -> installed crunch.4.0.0 -> installed tyxml.4.6.0 -> installed odoc.2.4.4 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-21 10:21.41 ---> saved as "f4abc0ca72e05ccf608d1b00984fcf7005af88fca612365c7b0546c68ef9c221" /: (copy (src .) (dst /home/opam/src)) 2025-02-21 10:22.26 ---> saved as "e184e78274df03a04d2026e077e1bf14237845035bb9d3d3192cd654ded7a6d9" /: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build")) File "test/typechecker/process_gospel_file.t", line 1, characters 0-0: /usr/local/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/a087067979fca784c7cd7d726338fbe5/default/test/typechecker/process_gospel_file.t _build/.sandbox/a087067979fca784c7cd7d726338fbe5/default/test/typechecker/process_gospel_file.t.corrected diff --git a/_build/.sandbox/a087067979fca784c7cd7d726338fbe5/default/test/typechecker/process_gospel_file.t b/_build/.sandbox/a087067979fca784c7cd7d726338fbe5/default/test/typechecker/process_gospel_file.t.corrected index 3e57eba..19f761a 100644 --- a/_build/.sandbox/a087067979fca784c7cd7d726338fbe5/default/test/typechecker/process_gospel_file.t +++ b/_build/.sandbox/a087067979fca784c7cd7d726338fbe5/default/test/typechecker/process_gospel_file.t.corrected @@ -17,5 +17,48 @@ the `.gospel` file. $ gospel check --verbose foo.mli > foo $ gospel check --verbose foo.gospel > bar $ tail -q -n $(wc -l < bar) foo > baz + tail: unknown option -- q + usage: tail [-f | -r] [-b number | -c number | -n number | -number] [file ...] + [1] $ diff -s baz bar - Files baz and bar are identical + 0a1,39 + > + > ******************************* + > ********* Typed GOSPEL ******** + > ******************************* + > module Foo + > + > Namespace: Foo + > Type symbols + > ('a) t + > + > Logic Symbols + > + > Field Symbols + > function contents (_:'a t):'a sequence + > + > Exception Symbols + > + > Namespaces + > + > Type Namespaces + > + > Signatures + > (*@ open Stdlib *) + > + > (*@ open Gospelstdlib *) + > + > type 'a t + > (*@ ephemeral + > mutable model contents : 'a sequencewith x:'a t + > + > invariant ((length (x:'a t).contents):integer > 0:integer):bool *) + > + > val create : int -> 'a -> 'a t + > (*@ t_1:'a t = create n:int a_1:'a + > checks ((integer_of_int n:int):integer > 0:integer):bool + > ensures ((t_1:'a t).contents = (init + > (integer_of_int n:int):integer fun _ -> a_1:'a):'a sequence): + > bool*) + > + [1] "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-02-21 10:23.41: Job failed: Failed: Build failed