Organisationsocaml-gospelgospelfd7281 ()openbsd-76-amd64-5.2_opam-2.3

openbsd-76-amd64-5.2_opam-2.3

Logs

Show full logs
2025-01-06 15:48.09: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/436/head (fd72815a347b1409a81c1f7fc1407318e6965ddd) (openbsd-amd64:openbsd-76-amd64-5.2_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.2
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 fd72815a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.2
# openbsd-76-amd64-5.2_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-domains.base base-nnp.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.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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:48.09: Using cache hint "ocaml-gospel/gospel-openbsd-76-amd64-ocaml-5.2-openbsd-76-amd64-5.2_opam-2.3-cbe25aca43437409a5e189bf18b628dd"
2025-01-06 15:48.09: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.2)
 (comment openbsd-76-amd64-5.2_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-domains.base base-nnp.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.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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:48.09: Waiting for resource in pool OCluster
2025-01-06 15:48.10: Waiting for worker…
2025-01-06 15:48.10: Got resource from pool OCluster
Building on bremusa
HEAD is now at e539e4b test
HEAD is now at fd72815 test

(from openbsd-76-amd64-ocaml-5.2)
2025-01-06 15:48.11 ---> using "4320665f99976787f90a9e18174d2737909e8978c44b8f3d46fb0aff097b06a4" from cache

/: (comment openbsd-76-amd64-5.2_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:48.11 ---> using "22e2929b9a366c809ec816349aa6cb9a45b4649cad05d8c280efed2bc66c5069" 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:48.11 ---> using "8ee85108de9d3aac6d892ef0faaf024ea14d13d761a327e4e4cd8f43a209bafa" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.2.1
2.3.0
2025-01-06 15:48.11 ---> using "52e1b1eb38389daf27ec5bb41e48ee2005bdbd80371e88d39094e253864006cb" 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:48.11 ---> using "8b3671012cb6cc8eb535a62ac8dc46c4171c01ad48778ef2aa4c206e9fff1154" from cache

/: (copy (src gospel.opam) (dst /home/opam/src/./))
2025-01-06 15:48.11 ---> using "75e2eddab7b75e9613fa46e940f3f9275826c81d9620f66c4bbbe1d77584c939" 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:48.11 ---> using "fe6e3e6e317f29288591ca3ea253f37238a1ac246167f1f86fba3aca10992ed1" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-01-06 15:48.11 ---> using "704263be682d355dcea6f0a9a260d95de7aa7f36d755ad8c2dc85f66449f39ef" from cache

/: (env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[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-nnp 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-01-06 15:48.11 ---> using "49dd6a8a7ffcdeacd0f76a383fa2475d056d4a5796f5286f915888c19aad0add" 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[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-nnp 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              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.17.0
  - 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.17.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.17.1, dune-build-info.3.17.1  (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.33.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.17.0
-> 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:48.11 ---> using "4fad11d9b76a815c5d2311ad172ec207c951e2729d1e35a967345c443c5d4997" from cache

/: (copy (src .) (dst /home/opam/src))
2025-01-06 15:48.55 ---> saved as "fb16b2aac140d448193306fc5d7b2a378474e4cf2ff1579720e10641021dc610"

/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.2.1/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/.gospel.objs/byte -I src/.gospel.objs/native -I /home/opam/.opam/5.2.1/lib/findlib -I /home/opam/.opam/5.2.1/lib/fmt -I /home/opam/.opam/5.2.1/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2.1/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.2.1/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2.1/lib/pp_loc -I /home/opam/.opam/5.2.1/lib/ppx_derivers -I /home/opam/.opam/5.2.1/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2.1/lib/ppxlib -I /home/opam/.opam/5.2.1/lib/ppxlib/ast -I /home/opam/.opam/5.2.1/lib/ppxlib/astlib -I /home/opam/.opam/5.2.1/lib/ppxlib/print_diff -I /home/opam/.opam/5.2.1/lib/ppxlib/stdppx -I /home/opam/.opam/5.2.1/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.2.1/lib/sexplib0 -I /home/opam/.opam/5.2.1/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Gospel -o src/.gospel.objs/native/gospel__Typing.cmx -c -impl src/typing.pp.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque
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/38a437d1c24202f9d9f7a0783427d379/default/test/typechecker/process_gospel_file.t _build/.sandbox/38a437d1c24202f9d9f7a0783427d379/default/test/typechecker/process_gospel_file.t.corrected
diff --git a/_build/.sandbox/38a437d1c24202f9d9f7a0783427d379/default/test/typechecker/process_gospel_file.t b/_build/.sandbox/38a437d1c24202f9d9f7a0783427d379/default/test/typechecker/process_gospel_file.t.corrected
index 3e57eba..19f761a 100644
--- a/_build/.sandbox/38a437d1c24202f9d9f7a0783427d379/default/test/typechecker/process_gospel_file.t
+++ b/_build/.sandbox/38a437d1c24202f9d9f7a0783427d379/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]
2025-01-06 15:50.08: Cancelling: Auto-cancelling job because it is no longer needed
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1