Organisationsocaml-gospelgospel23bddd ()openbsd-76-amd64-4.14_opam-2.3

openbsd-76-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-02-21 09:51.07: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/441/head (23bdddc62796f2d6bea0ea13f96a1cc8cdf27c79) (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/441/head" && git reset --hard 23bdddc6
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 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-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.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.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.07: Using cache hint "ocaml-gospel/gospel-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-3d1525d6d3668b9afcee07d088677393"
2025-02-21 09:51.07: 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 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-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.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.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.07: Waiting for resource in pool OCluster
2025-02-21 09:51.07: Waiting for worker…
2025-02-21 10:02.04: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 23bdddc Add Hash Set/Hash Map example


(from openbsd-76-amd64-ocaml-4.14)
2025-02-21 10:02.04 ---> 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-02-21 10:02.04 ---> 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-02-21 10:02.04 ---> 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-02-21 10:02.04 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" 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
727427c1e7..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.04 ---> using "00cdd9bbf5c8c4a690bcf395a0d8d59a20f6bae77d299b19cc14b86a7d87d0b3" from cache


/: (copy (src gospel.opam) (dst /home/opam/src/./))
2025-02-21 10:02.46 ---> saved as "7f34e6b37246b59f07a1dda39fc1b83f90806e6dfab9d0a4f0a17bf4bc30dec4"


/: (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.30 ---> saved as "b6a92c7e6b43ff0c7fa08c5fe3733c585d5ba9d1830319244c2700ff619f8f3f"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-02-21 10:04.12 ---> saved as "f75eb92902fd1905682a51ecd584801eb3d32a36b91ade943a2a67cc2d4d5385"


/: (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.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.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.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 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 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-02-21 10:05.07 ---> saved as "2e3ff1f94153343c626b975442c6ebb93ab2f74d2d495b15eb0fc264bc9ce0ca"


/: (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 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              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.12.4
- 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 cmdliner.1.3.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved astring.0.8.5  (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.8  (cached)
-> retrieved pp_loc.2.1.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved dune.3.17.2, dune-build-info.3.17.2  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved result.1.5  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved topkg.1.0.7  (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.12.4
-> 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:19.41 ---> saved as "5f15fc357fd698d6e3a8a2fdfa639fc6bd604fe692f7857fffa67ab010acf89a"


/: (copy (src .) (dst /home/opam/src))
2025-02-21 10:20.28 ---> saved as "dc4a37c4e1d521c5bdd2e4261275003ed413fc4f913c163d61fe063eb6b87bec"


/: (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/427453db04bb723624a61f1382e6155a/default/test/typechecker/process_gospel_file.t _build/.sandbox/427453db04bb723624a61f1382e6155a/default/test/typechecker/process_gospel_file.t.corrected
diff --git a/_build/.sandbox/427453db04bb723624a61f1382e6155a/default/test/typechecker/process_gospel_file.t b/_build/.sandbox/427453db04bb723624a61f1382e6155a/default/test/typechecker/process_gospel_file.t.corrected
index eb5772c..b05da0b 100644
--- a/_build/.sandbox/427453db04bb723624a61f1382e6155a/default/test/typechecker/process_gospel_file.t
+++ b/_build/.sandbox/427453db04bb723624a61f1382e6155a/default/test/typechecker/process_gospel_file.t.corrected
@@ -17,5 +17,51 @@ 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,42
+  > 
+  > *******************************
+  > ********* Typed GOSPEL ********
+  > *******************************
+  > module Foo
+  > 
+  >   Namespace: Foo
+  >     Type symbols
+  >       ('a) t
+  >       
+  >     Lens Types
+  >       ('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
+  >          (*@ ephemeralmodel : function contents (_:'a t):'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:21.38: Job failed: Failed: Build failed