Organisationsocaml-gospelwhy3gospelaa4513 (main)ubuntu-22.04-5.4_opam-2.4

ubuntu-22.04-5.4_opam-2.4

Logs

Show full logs
2025-10-18 16:35.18: New job: test ocaml-gospel/why3gospel https://github.com/ocaml-gospel/why3gospel.git#refs/heads/main (aa4513e8a5c8a1ec8d2ecd747dcfa1517dac3bf4) (linux-x86_64:ubuntu-22.04-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-gospel/why3gospel.git" -b "main" && cd "why3gospel" && git reset --hard aa4513e8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06
# ubuntu-22.04-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 why3gospel.opam ./
RUN opam pin add -yn why3gospel.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 conf-gmp.5 conf-pkg-config.4 dune.3.20.2 fmt.0.11.0 gospel.dev 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 ppxlib.0.37.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 why3.1.8.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y why3gospel.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.18: Using cache hint "ocaml-gospel/why3gospel-ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06-ubuntu-22.04-5.4_opam-2.4-39a1a30aff05723ce12f550a76d28232"
2025-10-18 16:35.18: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06)
 (comment ubuntu-22.04-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 why3gospel.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn why3gospel.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 conf-gmp.5 conf-pkg-config.4 dune.3.20.2 fmt.0.11.0 gospel.dev 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 ppxlib.0.37.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 why3.1.8.2 zarith.1.14")
 (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 why3gospel.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.18: Waiting for resource in pool OCluster
2025-10-18 17:11.21: Waiting for worker…
2025-10-18 17:13.31: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/why3gospel.git-7936447ecb3de63036a491bf3c5559f06d939252/.git/
HEAD is now at aa4513e update to current gospel (locations in patterns)

(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06)
2025-10-18 17:13.33 ---> using "375f7ea603b3a165957a286115e0ff93cc1b4b2b25160efeed90a01ee65cdc60" from cache

/: (comment ubuntu-22.04-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.33 ---> using "ea97c2a0fb232af302182b803f58e26f48ac3bed2d39105664bd3b7048eea6f6" 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.33 ---> using "733761f0461ddddd36484d772896e4743caba423d1992f7c57256b627f5ca729" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 17:13.33 ---> using "54f907621342151627fc36ab9ba6f1563e6a61cbbdde4baff5ef5406a73bd577" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-18 17:13.33 ---> using "8778e6eee76774959ee29badf06d7a137a05001eb132b558ca8edbf37fa8fd2a" 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.33 ---> using "3245ce0607ea02812b2743c501a5c8df390742d485c5bba5f8b2aa97ea4e5c68" from cache

/src: (copy (src why3gospel.opam) (dst ./))
2025-10-18 17:13.33 ---> saved as "05439285f4f5b5e56ee6978928c3ed6ef0070e6c9a279ec1d0c10c2572e47423"

/src: (run (network host)
           (shell "opam pin add -yn why3gospel.dev './'"))
[NOTE] Package why3gospel does not exist in opam repositories registered in the current switch.
[why3gospel.dev] synchronised (file:///src)
The following additional pinnings are required by why3gospel.dev:
  - gospel.dev at git+https://github.com/ocaml-gospel/gospel#65587404d2167840bd5f09bbb9da29c49ee3fb83
Pin and install them? [Y/n] y
[gospel.dev] synchronised (no changes)
gospel is now pinned to git+https://github.com/ocaml-gospel/gospel#65587404d2167840bd5f09bbb9da29c49ee3fb83 (version dev)
why3gospel is now pinned to file:///src (version dev)
2025-10-18 17:13.40 ---> saved as "bc24f5ac6834609ee6d63cbf402157f83005e1e4acb34919d8473adb1641c9fa"

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

/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 conf-gmp.5 conf-pkg-config.4 dune.3.20.2 fmt.0.11.0 gospel.dev 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 ppxlib.0.37.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 why3.1.8.2 zarith.1.14")

/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 why3gospel.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.2 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3778 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1594 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5988 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5742 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1287 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3429 kB]
- Fetched 22.3 MB in 3s (6555 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[why3gospel.dev] synchronised (file:///src)
[gospel.dev] synchronised (no changes)

[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 system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15669 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.6_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.6_all.deb ...
- Unpacking libglib2.0-data (2.72.4-0ubuntu2.6) ...
- Selecting previously unselected package libicu70:amd64.
- Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ...
- Unpacking libicu70:amd64 (70.1-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.9_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ...
- Unpacking shared-mime-info (2.1-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../6-libgmpxx4ldbl_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../7-libgmp-dev_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../8-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
- Unpacking pkg-config (0.29.2-1ubuntu3) ...
- Setting up xdg-user-dirs (0.17-2ubuntu4) ...
- Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.72.4-0ubuntu2.6) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Setting up pkg-config (0.29.2-1ubuntu3) ...
- Setting up libicu70:amd64 (70.1-2) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ...
- Setting up shared-mime-info (2.1-2) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.11) ...
2025-10-18 17:14.18 ---> saved as "aa362e8acddc13b16c375dc57398ad0244dd7f478092f23a481b9ffa05fee8f8"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gospel.dev] synchronised (no changes)

[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 20 packages
  - install cmdliner            2.0.0
  - install conf-gmp            5
  - install conf-pkg-config     4
  - install dune                3.20.2
  - install fmt                 0.11.0
  - install gospel              dev (pinned)
  - 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 ppxlib              0.37.0
  - install sexplib0            v0.17.0
  - install stdlib-shims        0.3.0
  - install topkg               1.1.0
  - install why3                1.8.2
  - install zarith              1.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> 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 sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved gospel.dev  (no changes)
-> retrieved topkg.1.1.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved why3.1.8.2  (https://opam.ocaml.org/cache)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> 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 ocaml-compiler-libs.v0.17.0
-> installed menhir.20250912
-> installed ppxlib.0.37.0
[ERROR] The compilation of gospel.dev failed at "dune build -p gospel -j 71".
-> installed why3.1.8.2

#=== ERROR while compiling gospel.dev =========================================#
# context     2.4.1 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned(git+https://github.com/ocaml-gospel/gospel#65587404d2167840bd5f09bbb9da29c49ee3fb83#65587404d2167840bd5f09bbb9da29c49ee3fb83)
# path        ~/.opam/5.4/.opam-switch/build/gospel.dev
# command     ~/.opam/5.4/bin/dune build -p gospel -j 71
# exit-code   1
# env-file    ~/.opam/log/gospel-1-39c298.env
# output-file ~/.opam/log/gospel-1-39c298.out
### output ###
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -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/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 -open Gospel -o src/.gospel.objs/byte/gospel__Opprintast.cmo -c -impl src/Opprintast.ml)
# File "src/Opprintast.ml", line 304, characters 60-61:
# 304 |         pp f "@[<2>%a@;as@;%a@]" (core_type1 ctxt) ct tyvar s
#                                                                   ^
# Error: The value s has type
#          string Ppxlib_ast__Versions.OCaml_502.Ast.Asttypes.loc =
#            string Location.loc
#        but an expression was expected of type string
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -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/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 -open Gospel -o src/.gospel.objs/byte/gospel__Uattr2spec.cmo -c -impl src/uattr2spec.ml)
# File "src/uattr2spec.ml", lines 170-174, characters 2-49:
# 170 | ..match c with
# 171 |   | Pwith_type (l, t) -> Wtype (l, no_spec_type_decl t)
# 172 |   | Pwith_module (l1, l2) -> Wmodule (l1, l2)
# 173 |   | Pwith_typesubst (l, t) -> Wtypesubst (l, no_spec_type_decl t)
# 174 |   | Pwith_modsubst (l1, l2) -> Wmodsubst (l1, l2)
# Warning 8 [partial-match]: this pattern-matching is not exhaustive.
#   Here is an example of a case that is not matched:
#     (Pwith_modtype (_, _)|Pwith_modtypesubst (_, _))
# 
# File "src/uattr2spec.ml", lines 176-192, characters 40-54:
# 176 | ........................................function
# 177 |   | Psig_value v -> Sig_val (val_description ~filename v)
# 178 |   | Psig_type (r, tl) -> Sig_type (r, List.map (type_declaration ~filename) tl)
# 179 |   | Psig_attribute a ->
# 180 |       if not (is_spec a) then Sig_attribute a else floating_spec ~filename a
# ...
# 189 |   | Psig_class c -> Sig_class c
# 190 |   | Psig_class_type c -> Sig_class_type c
# 191 |   | Psig_extension (e, a) -> Sig_extension (e, a)
# 192 |   | Psig_typesubst _ | Psig_modsubst _ -> assert false
# Warning 8 [partial-match]: this pattern-matching is not exhaustive.
#   Here is an example of a case that is not matched: Psig_modtypesubst _
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -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/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 -open Gospel -o src/.gospel.objs/native/gospel__Uattr2spec.cmx -c -impl src/uattr2spec.ml)
# File "src/uattr2spec.ml", lines 170-174, characters 2-49:
# 170 | ..match c with
# 171 |   | Pwith_type (l, t) -> Wtype (l, no_spec_type_decl t)
# 172 |   | Pwith_module (l1, l2) -> Wmodule (l1, l2)
# 173 |   | Pwith_typesubst (l, t) -> Wtypesubst (l, no_spec_type_decl t)
# 174 |   | Pwith_modsubst (l1, l2) -> Wmodsubst (l1, l2)
# Warning 8 [partial-match]: this pattern-matching is not exhaustive.
#   Here is an example of a case that is not matched:
#     (Pwith_modtype (_, _)|Pwith_modtypesubst (_, _))
# 
# File "src/uattr2spec.ml", lines 176-192, characters 40-54:
# 176 | ........................................function
# 177 |   | Psig_value v -> Sig_val (val_description ~filename v)
# 178 |   | Psig_type (r, tl) -> Sig_type (r, List.map (type_declaration ~filename) tl)
# 179 |   | Psig_attribute a ->
# 180 |       if not (is_spec a) then Sig_attribute a else floating_spec ~filename a
# ...
# 189 |   | Psig_class c -> Sig_class c
# 190 |   | Psig_class_type c -> Sig_class_type c
# 191 |   | Psig_extension (e, a) -> Sig_extension (e, a)
# 192 |   | Psig_typesubst _ | Psig_modsubst _ -> assert false
# Warning 8 [partial-match]: this pattern-matching is not exhaustive.
#   Here is an example of a case that is not matched: Psig_modtypesubst _



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build gospel dev
+- 
+- The following changes have been performed
| - install cmdliner            2.0.0
| - install conf-gmp            5
| - install conf-pkg-config     4
| - 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 ppxlib              0.37.0
| - install sexplib0            v0.17.0
| - install stdlib-shims        0.3.0
| - install topkg               1.1.0
| - install why3                1.8.2
| - install zarith              1.14
+- 

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20251018171419.export"
# To update the current shell environment, run: eval $(opam env)
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2025-10-18 17:17.58: Job failed: Failed: Build failed