Organisationsocaml-gospelgospelc20125 (implementations_gospel)alpine-3.22-5.4_opam-2.4

alpine-3.22-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-10-18 16:35.15: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/heads/implementations_gospel (c20125aeb2154b3853e0e5411c4548f568541096) (linux-x86_64:alpine-3.22-5.4_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-gospel/gospel.git" -b "implementations_gospel" && cd "gospel" && git reset --hard c20125ae
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1
# alpine-3.22-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && 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="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 dune.3.20.2 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-10-18 16:35.15: Using cache hint "ocaml-gospel/gospel-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1-alpine-3.22-5.4_opam-2.4-626bd2da877cda25177e817e9bc2e06f"
2025-10-18 16:35.15: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1)
(comment alpine-3.22-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && 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 "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 dune.3.20.2 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0")
(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.4 --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-10-18 16:35.15: Waiting for resource in pool OCluster
2025-10-18 17:11.15: Waiting for worker…
2025-10-18 17:13.14: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at c20125a Experimenting with dinamically verified invariants


(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:27e2909a2a30c05b9fb5696467f60c5bf3c31b41ea2e3088cc8d9cabbdf2f1a1)
2025-10-18 17:13.15 ---> using "e5ab524290e505ed5240c7136106572c90f8627d7370b4a892c6d0542a73b860" from cache


/: (comment alpine-3.22-5.4_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-18 17:13.15 ---> using "842aabfb8075585c58dd3796ad7f10d9759a3a2fd2b99532aad6c3213b54374d" 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 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-10-18 17:13.15 ---> using "839d7f09fa9959b49dee54923b64533e1cf0fc0921fb751f1c302a1676d84f63" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 17:13.15 ---> using "c457e564a54f7ef45dc343abb0d249c5401278994a0a39530e666d61e6f08283" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-18 17:13.15 ---> using "29f1940b2be9f0ffecc71b1311abbbd03369d83e42a8c265638038c10eef5a91" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
1abfcdbf14..5bf570252b  master     -> origin/master
deb3de7fc5 Merge pull request #28686 from NathanReb/release-ppxlib-0.37.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:13.15 ---> using "5825300197205b9b1e237bd895c1f3c702fa216b5e226a1e983f504f2e1fb623" from cache


/src: (copy (src gospel.opam) (dst ./))
2025-10-18 17:13.15 ---> saved as "004c75b1626c650d5bae2e0a2e669c1b52cd694d04a2db44f62acbc57faa1b2f"


/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-10-18 17:13.17 ---> saved as "728d41a024b889ad84d396b4c7e1f25f0969ad1702f282d13b0444a6d9ab7c31"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 17:13.17 ---> saved as "d87a555fce3fa6f6ca9fb14b88c30b071acbedf4df58a35bf9778aa0476f9776"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 dune.3.20.2 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0")


/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.4 --depext-only -y gospel.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-46-gf44c8d388fc [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-49-g5ccb1eb14d7 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251016-156-ge9635f59514 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251016-157-g0ac184e43ae [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251016-155-geff968f25d3 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59604 distinct packages available


<><> 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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-10-18 17:13.26 ---> saved as "b47197ac7273966545f384776f61f9f532fbd7509b761135b0652355385b1aa0"


/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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 17 packages
- install cmdliner            2.0.0
- install cppo                1.8.0
- install dune                3.20.2
- install fmt                 0.11.0
- install menhir              20250912
- install menhirCST           20250912
- install menhirLib           20250912
- install menhirSdk           20250912
- install ocaml-compiler-libs v0.17.0
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install ppx_deriving        6.1.1
- install ppxlib              0.37.0
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install topkg               1.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed menhirCST.20250912
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20250912
-> installed sexplib0.v0.17.0
-> installed menhirLib.20250912
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed menhir.20250912
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:14.09 ---> saved as "18705a1731df29a0b2c823a4869466d19fafa6bba88d3dd1623f92ae9be4420d"


/src: (copy (src .) (dst /src))
2025-10-18 17:14.09 ---> saved as "ebba0ae89b544adf9d4419d65a65bd1d71ea83b39c4f27424b6d1300c2d6f960"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.4/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 -open Ocaml_shadow -w -9 -g -bin-annot -bin-annot-occurrences -I src/.gospel.objs/byte -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4/lib/ppx_derivers -I /home/opam/.opam/5.4/lib/ppx_deriving/runtime -I /home/opam/.opam/5.4/lib/ppxlib -I /home/opam/.opam/5.4/lib/ppxlib/ast -I /home/opam/.opam/5.4/lib/ppxlib/astlib -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/ppxlib/stdppx -I /home/opam/.opam/5.4/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -no-alias-deps -opaque -open Gospel -o src/.gospel.objs/byte/gospel__Opprintast.cmo -c -impl src/Opprintast.pp.ml)
File "src/Opprintast.ml", line 59, characters 46-52:
59 |           check_variable var_names t.ptyp_loc string;
^^^^^^
Error: The value string has type string loc
but an expression was expected of type string
(cd _build/default && /home/opam/.opam/5.4/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 -open Ocaml_shadow -w -9 -g -I src/.gospel.objs/byte -I src/.gospel.objs/native -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4/lib/ppx_derivers -I /home/opam/.opam/5.4/lib/ppx_deriving/runtime -I /home/opam/.opam/5.4/lib/ppxlib -I /home/opam/.opam/5.4/lib/ppxlib/ast -I /home/opam/.opam/5.4/lib/ppxlib/astlib -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/ppxlib/stdppx -I /home/opam/.opam/5.4/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -cmi-file src/.gospel.objs/byte/gospel__Uattr2spec.cmi -no-alias-deps -opaque -open Gospel -o src/.gospel.objs/native/gospel__Uattr2spec.cmx -c -impl src/uattr2spec.pp.ml)
File "src/uattr2spec.ml", line 339, characters 6-29:
339 |     | Pexp_function case_list -> Sexp_function (List.map case case_list)
^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pexp_function expects 3 argument(s),
but is applied here to 1 argument(s)
(cd _build/default && /home/opam/.opam/5.4/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 -open Ocaml_shadow -w -9 -g -bin-annot -bin-annot-occurrences -I src/.gospel.objs/byte -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4/lib/ppx_derivers -I /home/opam/.opam/5.4/lib/ppx_deriving/runtime -I /home/opam/.opam/5.4/lib/ppxlib -I /home/opam/.opam/5.4/lib/ppxlib/ast -I /home/opam/.opam/5.4/lib/ppxlib/astlib -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/ppxlib/stdppx -I /home/opam/.opam/5.4/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -cmi-file src/.gospel.objs/byte/gospel__Uattr2spec.cmi -no-alias-deps -opaque -open Gospel -o src/.gospel.objs/byte/gospel__Uattr2spec.cmo -c -impl src/uattr2spec.pp.ml)
File "src/uattr2spec.ml", line 339, characters 6-29:
339 |     | Pexp_function case_list -> Sexp_function (List.map case case_list)
^^^^^^^^^^^^^^^^^^^^^^^
Error: The constructor Pexp_function expects 3 argument(s),
but is applied here to 1 argument(s)
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-10-18 17:14.13: Job failed: Failed: Build failed