2025-05-02 11:30.26: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/545/head (737d51785a53d6454d165f1681edf42ef8702c3a) (linux-s390x:debian-12-5.3_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/545/head" && git reset --hard 737d5178
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c
# debian-12-5.3_s390x_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-05-02 11:30.26: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-5.3@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c-debian-12-5.3_s390x_opam-2.3-3c965630631cd47442dbfd9233049ef4"
2025-05-02 11:30.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c)
(comment debian-12-5.3_s390x_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2")
(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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-05-02 11:30.26: Waiting for resource in pool OCluster
2025-05-02 11:30.26: Waiting for worker…
2025-05-02 11:58.39: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
Updating files: 9% (40/418)
Updating files: 10% (42/418)
Updating files: 11% (46/418)
Updating files: 12% (51/418)
Updating files: 13% (55/418)
Updating files: 14% (59/418)
Updating files: 15% (63/418)
Updating files: 16% (67/418)
Updating files: 17% (72/418)
Updating files: 18% (76/418)
Updating files: 19% (80/418)
Updating files: 20% (84/418)
Updating files: 21% (88/418)
Updating files: 22% (92/418)
Updating files: 23% (97/418)
Updating files: 24% (101/418)
Updating files: 25% (105/418)
Updating files: 26% (109/418)
Updating files: 27% (113/418)
Updating files: 28% (118/418)
Updating files: 29% (122/418)
Updating files: 30% (126/418)
Updating files: 31% (130/418)
Updating files: 32% (134/418)
Updating files: 33% (138/418)
Updating files: 34% (143/418)
Updating files: 35% (147/418)
Updating files: 36% (151/418)
Updating files: 37% (155/418)
Updating files: 38% (159/418)
Updating files: 39% (164/418)
Updating files: 40% (168/418)
Updating files: 41% (172/418)
Updating files: 42% (176/418)
Updating files: 43% (180/418)
Updating files: 44% (184/418)
Updating files: 45% (189/418)
Updating files: 46% (193/418)
Updating files: 47% (197/418)
Updating files: 48% (201/418)
Updating files: 49% (205/418)
Updating files: 50% (209/418)
Updating files: 51% (214/418)
Updating files: 52% (218/418)
Updating files: 53% (222/418)
Updating files: 54% (226/418)
Updating files: 55% (230/418)
Updating files: 56% (235/418)
Updating files: 57% (239/418)
Updating files: 58% (243/418)
Updating files: 59% (247/418)
Updating files: 60% (251/418)
Updating files: 61% (255/418)
Updating files: 62% (260/418)
Updating files: 63% (264/418)
Updating files: 64% (268/418)
Updating files: 65% (272/418)
Updating files: 66% (276/418)
Updating files: 67% (281/418)
Updating files: 68% (285/418)
Updating files: 69% (289/418)
Updating files: 70% (293/418)
Updating files: 71% (297/418)
Updating files: 72% (301/418)
Updating files: 73% (306/418)
Updating files: 74% (310/418)
Updating files: 75% (314/418)
Updating files: 76% (318/418)
Updating files: 77% (322/418)
Updating files: 78% (327/418)
Updating files: 79% (331/418)
Updating files: 80% (335/418)
Updating files: 81% (339/418)
Updating files: 82% (343/418)
Updating files: 83% (347/418)
Updating files: 84% (352/418)
Updating files: 85% (356/418)
Updating files: 86% (360/418)
Updating files: 87% (364/418)
Updating files: 88% (368/418)
Updating files: 89% (373/418)
Updating files: 90% (377/418)
Updating files: 91% (381/418)
Updating files: 92% (385/418)
Updating files: 93% (389/418)
Updating files: 94% (393/418)
Updating files: 95% (398/418)
Updating files: 96% (402/418)
Updating files: 97% (406/418)
Updating files: 98% (410/418)
Updating files: 99% (414/418)
Updating files: 100% (418/418)
Updating files: 100% (418/418), done.
HEAD is now at 0ecdc575 Add printer config to pp_ast
HEAD is now at 737d5178 Improve Makefile
(from ocaml/opam:debian-12-ocaml-5.3@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c' locally
docker.io/ocaml/opam@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c: Pulling from ocaml/opam
ea48981a9fc9: Already exists
f8c8b07a8c2f: Already exists
e41fd045809c: Already exists
fe9d9ba199a8: Already exists
61b9dde9c264: Already exists
d65e1971fde7: Already exists
8adb42792b2d: Already exists
c1b7118882b6: Already exists
d6ebd4711bf0: Already exists
084cd2a0dbb9: Already exists
fecbafc1ca56: Already exists
f35e98a3eea0: Already exists
dc7483d70c4c: Already exists
dd0a1e41238f: Already exists
a7de97e7acea: Already exists
a7de97e7acea: Already exists
017f9061cc77: Already exists
52dd4b5f1254: Already exists
8b6c00582859: Already exists
ee685aa0fb43: Already exists
4f4fb700ef54: Already exists
bceba8292e84: Already exists
22b23778e0c9: Already exists
4c85ef9af49b: Already exists
13ee87119d2e: Already exists
aabe51459fe0: Already exists
749c2388e5ba: Already exists
b1400128163d: Already exists
5872043319f0: Already exists
7436ed480497: Already exists
2ed34696ea0c: Already exists
ea097d46d9dc: Already exists
7fdac3609e18: Already exists
ad027dad53ff: Already exists
d1e35c1835c2: Already exists
047a8bfe449d: Already exists
f528d99bbcdf: Already exists
0709c52266cc: Already exists
12b078d21ba7: Pulling fs layer
9f4bb3228e3b: Pulling fs layer
0a5d68dacd45: Pulling fs layer
e1d353a86593: Pulling fs layer
39f3cfc77f60: Pulling fs layer
e1d353a86593: Waiting
e22735463896: Pulling fs layer
fd3028effc03: Pulling fs layer
e22735463896: Waiting
12b078d21ba7: Download complete
9f4bb3228e3b: Download complete
0a5d68dacd45: Download complete
e22735463896: Verifying Checksum
e22735463896: Download complete
39f3cfc77f60: Verifying Checksum
39f3cfc77f60: Download complete
12b078d21ba7: Pull complete
fd3028effc03: Download complete
9f4bb3228e3b: Pull complete
0a5d68dacd45: Pull complete
e1d353a86593: Verifying Checksum
e1d353a86593: Download complete
e1d353a86593: Pull complete
39f3cfc77f60: Pull complete
e22735463896: Pull complete
fd3028effc03: Pull complete
Digest: sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c
Status: Downloaded newer image for ocaml/opam@sha256:a951d12ddc5552c16f5e8df25bd910b3c6691f189c3260cdcf3be0d53bc7550c
2025-05-02 11:58.45 ---> using "4a2892a24cbb2a8076cb7c58f3f902e86963a156305e5ff34f28bf8b28ba30ec" from cache
/: (comment debian-12-5.3_s390x_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-05-02 11:58.45 ---> using "b863af6359b8ac5ca08925e64084b5c538756fb55fffdd903269a504b1061615" 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-05-02 11:58.45 ---> using "c8de9338b7beccc41c026b65042604ff542e3434e9ce1f4c804eb9b1957eb864" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-02 11:58.45 ---> using "5ed3fd8ee149b0283685835f6287f01a7bf0d644682c7fbd050fcf490e6e114e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-02 11:58.45 ---> using "cf5dddf973ba6f0c6cddbe9a99cb99be233eb04e09bcc8c9a5058da7caafefaf" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
da74d7829f..999bff3ed8 master -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1
<><> 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-05-02 11:58.45 ---> using "6d27db0ac3162281a35ee0a757020309e2461414f19174355abb01040a2c30f1" from cache
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-05-02 11:58.45 ---> using "e62e9121733e13d91b4921f7c388be334b1d69dd8cbf814d9ef01a9c0debebaf" from cache
/src: (run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-05-02 11:58.45 ---> using "88273f3c6eaffc30a38cd60ce73ecd5fa46e84ea779aa3451e054eb9913be6a6" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-02 11:58.45 ---> using "24704906f45b39e84d62e4199cbdc842b394aa3ef471f0a9f3b8f1f63055d473" from cache
/src: (env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2")
/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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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 s390x Packages [227 kB]
- Fetched 331 kB in 1s (462 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-05-02 11:58.46 ---> using "f5b3bbe03f0dee0c254f6ca9f77f6404cf5a44fa6fa2af69b9d5b41ade7f02be" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 15 packages
- install base v0.17.1
- install cinaps v0.15.1
- install cmdliner 1.3.0
- install csexp 1.5.2
- install dune 3.18.1
- install dune-configurator 3.18.1
- install ocaml-compiler-libs v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install re 1.12.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved base.v0.17.1 (cached)
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.18.1
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.18.1
-> installed re.1.12.0
-> installed cinaps.v0.15.1
-> installed yojson.2.2.2
-> installed base.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-02 11:58.46 ---> using "230a193c740b3ed33ee064e4fd895fa94806f4c6eed4f31af49ac497321dbb1f" from cache
/src: (copy (src .) (dst /src))
2025-05-02 11:59.26 ---> saved as "4eca07209e0facd291a48c5cf0c9f8b89e0657846f2b25ad4e72f6b339fa0654"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I 'examples/1-AST/a - Building AST/.building_ast.eobjs/byte' -I ast/.ppxlib_ast.objs/byte -I astlib/.astlib.objs/byte -I src/.ppxlib.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o 'examples/1-AST/a - Building AST/.building_ast.eobjs/byte/dune__exe__Building_ast.cmo' -c -impl 'examples/1-AST/a - Building AST/building_ast.pp.ml')
File "examples/1-AST/a - Building AST/building_ast.ml", line 7, characters 30-58:
7 | pexp_desc = Pexp_constant (Pconst_integer ("0", None));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression should not be a constructor, the expected type is
constant
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I 'examples/1-AST/a - Building AST/.building_ast.eobjs/byte' -I 'examples/1-AST/a - Building AST/.building_ast.eobjs/native' -I ast/.ppxlib_ast.objs/byte -I ast/.ppxlib_ast.objs/native -I astlib/.astlib.objs/byte -I astlib/.astlib.objs/native -I src/.ppxlib.objs/byte -I src/.ppxlib.objs/native -intf-suffix .ml -no-alias-deps -opaque -o 'examples/1-AST/a - Building AST/.building_ast.eobjs/native/dune__exe__Building_ast.cmx' -c -impl 'examples/1-AST/a - Building AST/building_ast.pp.ml')
File "examples/1-AST/a - Building AST/building_ast.ml", line 7, characters 30-58:
7 | pexp_desc = Pexp_constant (Pconst_integer ("0", None));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression should not be a constructor, the expected type is
constant
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I 'examples/1-AST/b - Destructing AST/.destructuring_ast.eobjs/byte' -I ast/.ppxlib_ast.objs/byte -I astlib/.astlib.objs/byte -I src/.ppxlib.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o 'examples/1-AST/b - Destructing AST/.destructuring_ast.eobjs/byte/dune__exe__Destructuring_ast.cmo' -c -impl 'examples/1-AST/b - Destructing AST/destructuring_ast.pp.ml')
File "examples/1-AST/b - Destructing AST/destructuring_ast.ml", line 17, characters 44-74:
17 | ( { pexp_desc = Pexp_constant (Pconst_integer (value, None)); _ },
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This pattern should not be a constructor, the expected type is
constant
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I 'examples/1-AST/b - Destructing AST/.destructuring_ast.eobjs/byte' -I 'examples/1-AST/b - Destructing AST/.destructuring_ast.eobjs/native' -I ast/.ppxlib_ast.objs/byte -I ast/.ppxlib_ast.objs/native -I astlib/.astlib.objs/byte -I astlib/.astlib.objs/native -I src/.ppxlib.objs/byte -I src/.ppxlib.objs/native -intf-suffix .ml -no-alias-deps -opaque -o 'examples/1-AST/b - Destructing AST/.destructuring_ast.eobjs/native/dune__exe__Destructuring_ast.cmx' -c -impl 'examples/1-AST/b - Destructing AST/destructuring_ast.pp.ml')
File "examples/1-AST/b - Destructing AST/destructuring_ast.ml", line 17, characters 44-74:
17 | ( { pexp_desc = Pexp_constant (Pconst_integer (value, None)); _ },
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This pattern should not be a constructor, the expected type is
constant
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-02 12:01.06: Job failed: Failed: Build failed