Organisationsocaml-gospelgospel80b381 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-06-26 13:12.15: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/449/head (80b381b1d037a128b473d15d69603b4796b47347) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-gospel/gospel.git" && cd "gospel" && git fetch origin "refs/pull/449/head" && git reset --hard 80b381b1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
# debian-12-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gospel.opam ./
RUN opam pin add -yn gospel.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.6.1 dune.3.5.0 dune-build-info.2.9.3 fmt.0.8.8 fpath.0.7.3 inferno.20220603 jbuilder.1.0+beta20.1 menhir.20181006 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 odoc.2.1.1 odoc-parser.0.9.0 pp_loc.2.1.0 pprint.20171003 ppx_blob.0.9.0 ppx_derivers.1.0 ppx_deriving.5.2.1 ppxlib.0.26.0 re.1.5.0 result.1.5 seq.0.3 sexplib0.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.8 tyxml.4.3.0 unionFind.20220109 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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-06-26 13:12.15: Using cache hint "ocaml-gospel/gospel-ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1-debian-12-4.14_opam-2.3-6bce73636400cabebebd13ba36383c5e"
2025-06-26 13:12.15: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
(comment debian-12-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo 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"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gospel.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gospel.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.6.1 dune.3.5.0 dune-build-info.2.9.3 fmt.0.8.8 fpath.0.7.3 inferno.20220603 jbuilder.1.0+beta20.1 menhir.20181006 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 odoc.2.1.1 odoc-parser.0.9.0 pp_loc.2.1.0 pprint.20171003 ppx_blob.0.9.0 ppx_derivers.1.0 ppx_deriving.5.2.1 ppxlib.0.26.0 re.1.5.0 result.1.5 seq.0.3 sexplib0.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.8 tyxml.4.3.0 unionFind.20220109 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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-06-26 13:12.15: Waiting for resource in pool OCluster
2025-06-26 13:12.15: Waiting for worker…
2025-06-26 13:12.15: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 80b381b1 Add pretty printer for typed AST


(from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
2025-06-26 13:12.17 ---> using "e0b6b42c8d38d9348dfef46f8898d95202a2f66c4a54682abc09332d121e9399" from cache


/: (comment debian-12-4.14_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-26 13:12.17 ---> using "087e08b165a4c96e5651843463842a95f76d0840a59aa7a384c29ebd289028aa" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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.


This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-26 13:12.17 ---> using "1fc90f758c2a9c5a702116c42b73f4d00ed4c97867bb8f33e39732c915533175" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-26 13:12.17 ---> using "907d9d16d8ee77c0c5555113122dd0c6e70daaa557fdf4c491949956707acf69" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-26 13:12.17 ---> using "2d576fc7dcae21eaff29797780d6d1b4d59f570977e957d814c1084a3ed8a1f4" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && git log --no-decorate -n1 --oneline && opam update -u"))
f5c1936fa5 Merge pull request #27987 from maroneze/master


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-06-26 13:12.17 ---> using "fdcf91ab9242a3a2930e57f62786aa9879f3ed252f598f4dd1dfbf0b8557e601" from cache


/src: (copy (src gospel.opam) (dst ./))
2025-06-26 13:12.17 ---> using "34bad7965200b72abf6cad89caf7e28efd401668d93ad2a754a79700f890ba50" from cache


/src: (run (network host)
(shell "opam pin add -yn gospel.dev './'"))
[gospel.dev] synchronised (file:///src)
gospel is now pinned to file:///src (version dev)
2025-06-26 13:12.17 ---> using "8988c08a768433f35f0b9453ac5e10c555d9bbac8b3313a81fb81340e5928255" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-26 13:12.17 ---> using "689626f6f6d20e7fa0e494a4f65dde48662feb7d24a969becda7721376caee8a" from cache


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.6.1 dune.3.5.0 dune-build-info.2.9.3 fmt.0.8.8 fpath.0.7.3 inferno.20220603 jbuilder.1.0+beta20.1 menhir.20181006 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 odoc.2.1.1 odoc-parser.0.9.0 pp_loc.2.1.0 pprint.20171003 ppx_blob.0.9.0 ppx_derivers.1.0 ppx_deriving.5.2.1 ppxlib.0.26.0 re.1.5.0 result.1.5 seq.0.3 sexplib0.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.8 tyxml.4.3.0 unionFind.20220109 uutf.1.0.3")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [269 kB]
- Fetched 372 kB in 1s (576 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gospel.dev] synchronised (file:///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-06-26 13:12.17 ---> using "94e05dbe13e46e56800afb83b1d92938048214cb7f68b0c07000a1c9b950f7e8" from cache


/src: (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 base-bytes          base
- install cmdliner            1.3.0
- install cppo                1.6.1
- install dune                3.5.0
- install dune-build-info     2.9.3
- install fmt                 0.8.8
- install fpath               0.7.3
- install inferno             20220603
- install jbuilder            1.0+beta20.1 (deprecated)
- install menhir              20181006
- install ocaml-compiler-libs v0.12.0
- install ocamlbuild          0.14.0
- install ocamlfind           1.9.1
- install odoc                2.1.1
- install odoc-parser         0.9.0
- install pp_loc              2.1.0
- install pprint              20171003
- install ppx_blob            0.9.0
- install ppx_derivers        1.0
- install ppx_deriving        5.2.1
- install ppxlib              0.26.0
- install re                  1.5.0
- install result              1.5
- install seq                 0.3
- install sexplib0            v0.12.0
- install stdlib-shims        0.1.0
- install topkg               1.0.8
- install tyxml               4.3.0
- install unionFind           20220109
- install uutf                1.0.3


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved fmt.0.8.8  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved inferno.20220603  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune-build-info.2.9.3  (cached)
-> retrieved dune.3.5.0  (cached)
-> retrieved menhir.20181006  (cached)
-> retrieved ocaml-compiler-libs.v0.12.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.9.1  (cached)
-> retrieved odoc-parser.0.9.0  (cached)
-> retrieved pp_loc.2.1.0  (cached)
-> retrieved pprint.20171003  (cached)
-> retrieved ppx_blob.0.9.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved odoc.2.1.1  (cached)
-> retrieved ppx_deriving.5.2.1  (cached)
-> retrieved ppxlib.0.26.0  (cached)
-> retrieved re.1.5.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved unionFind.20220109  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved tyxml.4.3.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed pprint.20171003
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed cppo.1.6.1
-> installed topkg.1.0.8
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed re.1.5.0
-> installed dune.3.5.0
-> installed fpath.0.7.3
-> installed seq.0.3
-> installed result.1.5
-> installed unionFind.20220109
-> installed pp_loc.2.1.0
-> installed stdlib-shims.0.1.0
-> installed dune-build-info.2.9.3
-> installed sexplib0.v0.12.0
-> installed odoc-parser.0.9.0
-> installed inferno.20220603
-> installed ocaml-compiler-libs.v0.12.0
-> installed fmt.0.8.8
-> installed tyxml.4.3.0
-> installed odoc.2.1.1
-> installed ppxlib.0.26.0
-> installed menhir.20181006
-> installed ppx_blob.0.9.0
-> installed ppx_deriving.5.2.1
Done.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-06-26 13:12.17 ---> using "c3ffb1de581eff520df90ea3cf146235d9a77027a448eac7309a93bb4cdcc473" from cache


/src: (copy (src .) (dst /src))
2025-06-26 13:12.17 ---> saved as "a7617d8613acc18c7863ea18c4fef4fc0b0708e92a1705f506641d02e32f5667"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.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 -bin-annot -I src/.gospel_checker.objs/byte -I /home/opam/.opam/4.14/lib/findlib -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/inferno -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/pp_loc -I /home/opam/.opam/4.14/lib/pprint -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/unionFind -no-alias-deps -opaque -open Gospel_checker -o src/.gospel_checker.objs/byte/gospel_checker__Uast_printer.cmo -c -impl src/uast_printer.pp.ml)
File "src/uast_printer.ml", line 176, characters 5-8:
176 |     (if' spec.sp_diverge string)
^^^
Error: Unbound value if'
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-26 13:12.24: Job failed: Failed: Build failed