2025-06-27 12:28.35: New job: test mirage/repr https://github.com/mirage/repr.git#refs/heads/main (ffb05ffb1f03300fcd973ceb07643aff616495f3) (linux-x86_64:fedora-42-5.3_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/repr.git" -b "main" && cd "repr" && git reset --hard ffb05ffb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c
# fedora-42-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 7210227672addfb4db789560e45923f54c0aeab1 || git fetch origin master) && git reset -q --hard 7210227672addfb4db789560e45923f54c0aeab1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 repr.opam repr-fuzz.opam repr-bench.opam ppx_repr.opam ./
RUN opam pin add -yn repr.dev './' && \
opam pin add -yn repr-fuzz.dev './' && \
opam pin add -yn repr-bench.dev './' && \
opam pin add -yn ppx_repr.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bechamel.0.5.0 cmdliner.1.0.4 cppo.1.8.0 crowbar.0.2 cstruct.6.2.0 dune.3.19.1 either.1.0.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 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-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.3 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y repr.dev repr-fuzz.dev repr-bench.dev ppx_repr.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-27 12:28.35: Using cache hint "mirage/repr-ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c-fedora-42-5.3_opam-2.3-8babe76892a19c0bab7149253f396543"
2025-06-27 12:28.35: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c)
(comment fedora-42-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 7210227672addfb4db789560e45923f54c0aeab1 || git fetch origin master) && git reset -q --hard 7210227672addfb4db789560e45923f54c0aeab1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src repr.opam repr-fuzz.opam repr-bench.opam ppx_repr.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn repr.dev './' && \
\nopam pin add -yn repr-fuzz.dev './' && \
\nopam pin add -yn repr-bench.dev './' && \
\nopam pin add -yn ppx_repr.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "afl-persistent.1.4 alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bechamel.0.5.0 cmdliner.1.0.4 cppo.1.8.0 crowbar.0.2 cstruct.6.2.0 dune.3.19.1 either.1.0.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 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-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.3 yojson.3.0.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.3 --depext-only -y repr.dev repr-fuzz.dev repr-bench.dev ppx_repr.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-27 12:28.35: Waiting for resource in pool OCluster
2025-06-27 12:55.02: Waiting for worker…
2025-06-27 12:57.27: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at ffb05ff Merge pull request #105 from metanivek/release-0.7.0
(from ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c)
2025-06-27 12:57.28 ---> using "6219cec5618da56ab7f2d1a249180f4afe319ecdd103db509824f628c646fc56" from cache
/: (comment fedora-42-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 - x86_64 - Updates 100% | 81.7 KiB/s | 10.5 KiB | 00m00s
Fedora 42 openh264 (From Cisco) - x86_ 100% | 8.7 KiB/s | 986.0 B | 00m00s
Fedora 42 - x86_64 100% | 157.2 KiB/s | 26.9 KiB | 00m00s
Fedora 42 - x86_64 - Updates 100% | 3.3 MiB/s | 4.1 MiB | 00m01s
Fedora 42 openh264 (From Cisco) - x86_ 100% | 16.1 KiB/s | 5.8 KiB | 00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.
Nothing to do.
2025-06-27 12:57.28 ---> using "b1f0db1fada5631e0e8a089e4b21d3aba9fcebb8766eb6c5a9e6a096ca963ec7" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-27 12:57.28 ---> using "36f20adfdb7a1fd3920d73b330c5ff2e9a27026c342876b307bcafc268e4eecd" 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-27 12:57.28 ---> using "183296d1720211aca3f522267709abbd22789de72e87a55022fd39b32feff80b" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-27 12:57.28 ---> using "626b7abede693a100c736148e8f886bf78f49cecf8d70aa67da157cd49d141e7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-27 12:57.28 ---> using "4994b2b063705049a578a29c9bf8c120bb196e13f645e32fb92443c24d9db643" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7210227672addfb4db789560e45923f54c0aeab1 || git fetch origin master) && git reset -q --hard 7210227672addfb4db789560e45923f54c0aeab1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..2ca36230be master -> origin/master
7210227672 Merge pull request #28100 from smuenzel/ppx-deriving-6.1.0-ocaml-5.4
<><> 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-27 12:57.28 ---> using "3a2c7f3d7f858cbf5495fa9633d9d7ab56096a2d0bdf3152c92a7cc6bef114ec" from cache
/src: (copy (src repr.opam repr-fuzz.opam repr-bench.opam ppx_repr.opam)
(dst ./))
2025-06-27 12:57.29 ---> saved as "1336f51648220032f0e73d754e4c279581f631e4fd6b1453a348e75a080fd0d5"
/src: (run (network host)
(shell "opam pin add -yn repr.dev './' && \
\nopam pin add -yn repr-fuzz.dev './' && \
\nopam pin add -yn repr-bench.dev './' && \
\nopam pin add -yn ppx_repr.dev './'"))
[repr.dev] synchronised (file:///src)
repr is now pinned to file:///src (version dev)
[repr-fuzz.dev] synchronised (file:///src)
repr-fuzz is now pinned to file:///src (version dev)
[repr-bench.dev] synchronised (file:///src)
repr-bench is now pinned to file:///src (version dev)
[ppx_repr.dev] synchronised (file:///src)
ppx_repr is now pinned to file:///src (version dev)
2025-06-27 12:57.35 ---> saved as "194756ce0cb24bbd7ba2448e8df7f67dc372514563180d11ff40d4c60f21ec03"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-27 12:57.36 ---> saved as "03f83cf3e7327bb460d59d70e19f2bd0ed2fe0bf59897157cab7b51e50735c7e"
/src: (env DEPS "afl-persistent.1.4 alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bechamel.0.5.0 cmdliner.1.0.4 cppo.1.8.0 crowbar.0.2 cstruct.6.2.0 dune.3.19.1 either.1.0.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 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-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.3 yojson.3.0.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.3 --depext-only -y repr.dev repr-fuzz.dev repr-bench.dev ppx_repr.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[repr.dev] synchronised (file:///src)
[ppx_repr.dev] synchronised (file:///src)
[repr-bench.dev] synchronised (file:///src)
[repr-fuzz.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-06-27 12:57.54 ---> saved as "2b840c1c64fa28afd3d18a8d0c9f6ed8c0cbf7aa4ff11746fa734bf7361e3b42"
/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 32 packages
- install afl-persistent 1.4
- install alcotest 1.5.0
- install astring 0.8.5
- install base-bytes base
- install base64 3.5.1
- install bechamel 0.5.0
- install cmdliner 1.0.4
- install cppo 1.8.0
- install crowbar 0.2
- install cstruct 6.2.0
- install dune 3.19.1
- install either 1.0.0
- install fmt 0.9.0
- install fpath 0.7.3
- install hex 1.5.0
- install jsonm 1.0.2
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install optint 0.3.0
- install ppx_derivers 1.2.1
- install ppx_deriving 6.1.0
- install ppxlib 0.36.0
- install re 1.12.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.3
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.5.0 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bechamel.0.5.0 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved crowbar.0.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved dune.3.19.1 (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed either.1.0.0
-> installed stdlib-shims.0.3.0
-> installed optint.0.3.0
-> installed afl-persistent.1.4
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed sexplib0.v0.17.0
-> installed bechamel.0.5.0
-> installed hex.1.5.0
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed re.1.12.0
-> installed ocplib-endian.1.2
-> installed yojson.3.0.0
-> installed crowbar.0.2
-> installed alcotest.1.5.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.0
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 5.3.0+afl ocaml-variants.5.3.0+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)
2025-06-27 13:00.21 ---> saved as "d0a7c66bfd0ba6a9e048e268797d47e342843171938df9c5c169a4ccd357d862"
/src: (copy (src .) (dst /src))
2025-06-27 13:00.22 ---> saved as "5c2d51c6c48621a42d43ae2795f2929dd68ae14d9edf0206f0e40e0d9943912d"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I fuzz/rewriter/.main.objs/byte -I fuzz/rewriter/.main.objs/native -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3/lib/ppx_derivers -I /home/opam/.opam/5.3/lib/ppxlib -I /home/opam/.opam/5.3/lib/ppxlib/ast -I /home/opam/.opam/5.3/lib/ppxlib/astlib -I /home/opam/.opam/5.3/lib/ppxlib/print_diff -I /home/opam/.opam/5.3/lib/ppxlib/stdppx -I /home/opam/.opam/5.3/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3/lib/sexplib0 -I /home/opam/.opam/5.3/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -o fuzz/rewriter/.main.objs/native/main.cmx -c -impl fuzz/rewriter/main.pp.ml)
File "fuzz/rewriter/main.ml", line 146, characters 68-78:
146 | T.variant variant_name [%e wrap_params (pexp_function destructor)]]]
^^^^^^^^^^
Error: The value destructor has type case list
but an expression was expected of type function_param list
Type case is not compatible with type function_param
(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-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I fuzz/rewriter/.main.objs/byte -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3/lib/ppx_derivers -I /home/opam/.opam/5.3/lib/ppxlib -I /home/opam/.opam/5.3/lib/ppxlib/ast -I /home/opam/.opam/5.3/lib/ppxlib/astlib -I /home/opam/.opam/5.3/lib/ppxlib/print_diff -I /home/opam/.opam/5.3/lib/ppxlib/stdppx -I /home/opam/.opam/5.3/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3/lib/sexplib0 -I /home/opam/.opam/5.3/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -o fuzz/rewriter/.main.objs/byte/main.cmo -c -impl fuzz/rewriter/main.pp.ml)
File "fuzz/rewriter/main.ml", line 146, characters 68-78:
146 | T.variant variant_name [%e wrap_params (pexp_function destructor)]]]
^^^^^^^^^^
Error: The value destructor has type case list
but an expression was expected of type function_param list
Type case is not compatible with type function_param
(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-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/ppx_repr/lib/.ppx_repr_lib.objs/byte -I src/ppx_repr/lib/.ppx_repr_lib.objs/native -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3/lib/ppx_derivers -I /home/opam/.opam/5.3/lib/ppxlib -I /home/opam/.opam/5.3/lib/ppxlib/ast -I /home/opam/.opam/5.3/lib/ppxlib/astlib -I /home/opam/.opam/5.3/lib/ppxlib/print_diff -I /home/opam/.opam/5.3/lib/ppxlib/stdppx -I /home/opam/.opam/5.3/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3/lib/sexplib0 -I /home/opam/.opam/5.3/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Ppx_repr_lib__ -o src/ppx_repr/lib/.ppx_repr_lib.objs/native/ppx_repr_lib__Algebraic.cmx -c -impl src/ppx_repr/lib/algebraic.pp.ml)
File "src/ppx_repr/lib/algebraic.ml", line 136, characters 4-27:
136 | cs >|= pattern_of_cdecl |> pexp_function |> lambda (cs >|= fparam_of_cdecl)
^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type case list
but an expression was expected of type function_param list
Type case is not compatible with type function_param
(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-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/ppx_repr/lib/.ppx_repr_lib.objs/byte -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3/lib/ppx_derivers -I /home/opam/.opam/5.3/lib/ppxlib -I /home/opam/.opam/5.3/lib/ppxlib/ast -I /home/opam/.opam/5.3/lib/ppxlib/astlib -I /home/opam/.opam/5.3/lib/ppxlib/print_diff -I /home/opam/.opam/5.3/lib/ppxlib/stdppx -I /home/opam/.opam/5.3/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3/lib/sexplib0 -I /home/opam/.opam/5.3/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Ppx_repr_lib__ -o src/ppx_repr/lib/.ppx_repr_lib.objs/byte/ppx_repr_lib__Algebraic.cmo -c -impl src/ppx_repr/lib/algebraic.pp.ml)
File "src/ppx_repr/lib/algebraic.ml", line 136, characters 4-27:
136 | cs >|= pattern_of_cdecl |> pexp_function |> lambda (cs >|= fparam_of_cdecl)
^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type case list
but an expression was expected of type function_param list
Type case is not compatible with type function_param
(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-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/ppx_repr/lib/.ppx_repr_lib.objs/byte -I src/ppx_repr/lib/.ppx_repr_lib.objs/native -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3/lib/ppx_derivers -I /home/opam/.opam/5.3/lib/ppxlib -I /home/opam/.opam/5.3/lib/ppxlib/ast -I /home/opam/.opam/5.3/lib/ppxlib/astlib -I /home/opam/.opam/5.3/lib/ppxlib/print_diff -I /home/opam/.opam/5.3/lib/ppxlib/stdppx -I /home/opam/.opam/5.3/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3/lib/sexplib0 -I /home/opam/.opam/5.3/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Ppx_repr_lib__ -o src/ppx_repr/lib/.ppx_repr_lib.objs/native/ppx_repr_lib__Engine.cmx -c -impl src/ppx_repr/lib/engine.pp.ml)
File "src/ppx_repr/lib/engine.ml", line 121, characters 25-28:
121 | if contains_tvar var c then (
^^^
Error: The value var has type string loc
but an expression was expected of type string
(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-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/ppx_repr/lib/.ppx_repr_lib.objs/byte -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3/lib/ppx_derivers -I /home/opam/.opam/5.3/lib/ppxlib -I /home/opam/.opam/5.3/lib/ppxlib/ast -I /home/opam/.opam/5.3/lib/ppxlib/astlib -I /home/opam/.opam/5.3/lib/ppxlib/print_diff -I /home/opam/.opam/5.3/lib/ppxlib/stdppx -I /home/opam/.opam/5.3/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3/lib/sexplib0 -I /home/opam/.opam/5.3/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Ppx_repr_lib__ -o src/ppx_repr/lib/.ppx_repr_lib.objs/byte/ppx_repr_lib__Engine.cmo -c -impl src/ppx_repr/lib/engine.pp.ml)
File "src/ppx_repr/lib/engine.ml", line 121, characters 25-28:
121 | if contains_tvar var c then (
^^^
Error: The value var has type string loc
but an expression was expected of type string
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-27 13:00.28: Job failed: Failed: Build failed