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

openbsd-76-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-01-14 14:45.54: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/heads/main (3b6ea1885c5c282c2a2d83f19815191fcca788fe) (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" -b "main" && cd "gospel" && git reset --hard 3b6ea188
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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && 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.34.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-14 14:45.54: Using cache hint "ocaml-gospel/gospel-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-024ff9e184ba74a184722bd817e60a3b"
2025-01-14 14:45.54: 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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && 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.34.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-14 14:45.54: Waiting for resource in pool OCluster
2025-01-14 14:45.54: Waiting for worker…
2025-01-14 14:45.54: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 3b6ea18 Merge pull request #440 from ocaml-gospel/revert-439-rerun-ocamlformat


(from openbsd-76-amd64-ocaml-4.14)
2025-01-14 14:45.55 ---> 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-14 14:45.55 ---> 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-14 14:45.55 ---> 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-14 14:45.55 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
727427c1e7..bc0f0a4035  master     -> origin/master
85e5d991b8 Merge pull request #27251 from NathanReb/ppxlib-maintenance-intent


<><> 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-14 14:45.55 ---> using "44967e766e3a04dd1f58f9a0188df344810e43e27d3502557b301b0f7a7de7f2" from cache


/: (copy (src gospel.opam) (dst /home/opam/src/./))
2025-01-14 14:45.55 ---> using "9de5a20bb00924e908a1744de76dc07476a9c97d1666081db6eef5289a06db30" 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-14 14:45.55 ---> using "94bf0a4795ea79bd688f7b87b41873f3dce3c3fff7f4aea7d66842b4d391a5b2" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-01-14 14:45.55 ---> using "ef61ce14b511817be1a425c77ff6eee10ec2dc6ba55a85820ef8315f1b041a95" 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.34.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-14 14:45.55 ---> using "e8297aa201dd48a8c78048f3a84fd3f58cf1dbe918bcf558fa5e314fdfb650bb" 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.34.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.3.3.1  (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.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.34.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 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.34.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-14 14:45.55 ---> using "c270f5ff223002f75f015de2403ffdf90403e662813f5b8311343a4916c5c60b" from cache


/: (copy (src .) (dst /home/opam/src))
2025-01-14 14:45.55 ---> using "7c665e1d1294e6c9920e82f41761386eef2344da7791c4e4cfb03eca9c701716" from cache


/: (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/5d62c08bfea5b5c79dad4df908918b51/default/test/typechecker/process_gospel_file.t _build/.sandbox/5d62c08bfea5b5c79dad4df908918b51/default/test/typechecker/process_gospel_file.t.corrected
diff --git a/_build/.sandbox/5d62c08bfea5b5c79dad4df908918b51/default/test/typechecker/process_gospel_file.t b/_build/.sandbox/5d62c08bfea5b5c79dad4df908918b51/default/test/typechecker/process_gospel_file.t.corrected
index 3e57eba..19f761a 100644
--- a/_build/.sandbox/5d62c08bfea5b5c79dad4df908918b51/default/test/typechecker/process_gospel_file.t
+++ b/_build/.sandbox/5d62c08bfea5b5c79dad4df908918b51/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-14 14:47.03: Job failed: Failed: Build failed