2025-01-06 15:50.29: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/436/head (9976ede59129548dd61c0f536409c5c872d53de3) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-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/436/head" && git reset --hard 9976ede5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && 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-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.3.3.1 dune.3.17.1 dune-build-info.3.17.1 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.33.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-01-06 15:50.29: Using cache hint "ocaml-gospel/gospel-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-35beb2ec42130a992fca591d25c482b1"
2025-01-06 15:50.29: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && 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-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.3.3.1 dune.3.17.1 dune-build-info.3.17.1 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.33.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-01-06 15:50.29: Waiting for resource in pool OCluster
2025-01-06 15:50.29: Waiting for worker…
2025-01-06 15:50.29: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 9976ede test
(from openbsd-76-amd64-ocaml-4.14)
2025-01-06 15:50.30 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_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-01-06 15:50.30 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" 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-01-06 15:50.30 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-06 15:50.30 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..5c7ffb23c8 master -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1
<><> 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-01-06 15:50.30 ---> using "cb023556dce7f9713645e8a116b976711078168515df967fe83f3f673bac72b6" from cache
/: (copy (src gospel.opam) (dst /home/opam/src/./))
2025-01-06 15:50.30 ---> using "7b611b34b1689dfffcff377df73d4768037db99fb0c4a6912a1eea3848040aac" from cache
/: (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-01-06 15:50.30 ---> using "63450a8b302094789401f610695a58258d4f5328c9cab1bad4776e198453b647" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-01-06 15:50.30 ---> using "129ac2535aa93597e85bc7ecdff1dd73e53e952aea6774189f72927865152b59" from cache
/: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.3.3.1 dune.3.17.1 dune-build-info.3.17.1 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.33.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 2).
[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-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).
2025-01-06 15:50.30 ---> using "8cb6125666a22a91d655701a33556a73daae6c193e916a19c5952f7a29680e03" from cache
/: (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 2).
[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-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).
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 3.3.1
- install dune 3.17.1
- install dune-build-info 3.17.1
- 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.12.4
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- 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.33.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.3.3.1 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved pp_loc.2.1.0 (cached)
-> retrieved dune.3.17.1, dune-build-info.3.17.1 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> retrieved result.1.5 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.17.1
-> installed ocamlbuild.0.15.0
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed dune-build-info.3.17.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed menhir.20240715
-> installed ocamlfind.1.9.6
-> 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.33.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.3.3.1
-> installed tyxml.4.6.0
-> installed odoc.2.4.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-06 15:50.30 ---> using "d34c7598993ef9a64c09d06aee57dcad6a6cd158c65237037700382788872e4b" from cache
/: (copy (src .) (dst /home/opam/src))
2025-01-06 15:51.15 ---> saved as "9d3fc3d35716c71123a71cf9b5ef144c274e9a93937bb2edf6663b64c9886151"
/: (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/c858c4f75c274ff2fcfc818e055c7e5e/default/test/typechecker/process_gospel_file.t _build/.sandbox/c858c4f75c274ff2fcfc818e055c7e5e/default/test/typechecker/process_gospel_file.t.corrected
diff --git a/_build/.sandbox/c858c4f75c274ff2fcfc818e055c7e5e/default/test/typechecker/process_gospel_file.t b/_build/.sandbox/c858c4f75c274ff2fcfc818e055c7e5e/default/test/typechecker/process_gospel_file.t.corrected
index 3e57eba..19f761a 100644
--- a/_build/.sandbox/c858c4f75c274ff2fcfc818e055c7e5e/default/test/typechecker/process_gospel_file.t
+++ b/_build/.sandbox/c858c4f75c274ff2fcfc818e055c7e5e/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-01-06 15:52.27: Job failed: Failed: Build failed