Build:
  1. 0
2024-02-11 20:23.56: New job: test ppx_rapper.2.0.0 with conf-pkg-config.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn conf-pkg-config.1.1 1.1
RUN opam reinstall conf-pkg-config.1.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-pkg-config.1.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam reinstall ppx_rapper.2.0.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ppx_rapper.2.0.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test ppx_rapper.2.0.0) || true
RUN opam reinstall --with-test --verbose ppx_rapper.2.0.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ppx_rapper.2.0.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2024-02-11 20:23.56: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.1-ppx_rapper.2.0.0-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.56: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.1.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ppx_rapper.2.0.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ppx_rapper.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam reinstall --with-test ppx_rapper.2.0.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ppx_rapper.2.0.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ppx_rapper.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-11 20:23.56: Waiting for resource in pool OCluster
2024-02-12 20:15.15: Waiting for worker…
2024-02-12 20:16.47: Got resource from pool OCluster
Building on x86-bm-c9.sw.ocaml.org
All commits already cached
Updating files:  48% (15814/32918)
Updating files:  49% (16130/32918)
Updating files:  50% (16459/32918)
Updating files:  51% (16789/32918)
Updating files:  52% (17118/32918)
Updating files:  53% (17447/32918)
Updating files:  54% (17776/32918)
Updating files:  55% (18105/32918)
Updating files:  56% (18435/32918)
Updating files:  57% (18764/32918)
Updating files:  58% (19093/32918)
Updating files:  59% (19422/32918)
Updating files:  60% (19751/32918)
Updating files:  61% (20080/32918)
Updating files:  62% (20410/32918)
Updating files:  63% (20739/32918)
Updating files:  64% (21068/32918)
Updating files:  65% (21397/32918)
Updating files:  66% (21726/32918)
Updating files:  67% (22056/32918)
Updating files:  68% (22385/32918)
Updating files:  69% (22714/32918)
Updating files:  70% (23043/32918)
Updating files:  71% (23372/32918)
Updating files:  72% (23701/32918)
Updating files:  73% (24031/32918)
Updating files:  74% (24360/32918)
Updating files:  75% (24689/32918)
Updating files:  76% (25018/32918)
Updating files:  77% (25347/32918)
Updating files:  78% (25677/32918)
Updating files:  79% (26006/32918)
Updating files:  80% (26335/32918)
Updating files:  81% (26664/32918)
Updating files:  82% (26993/32918)
Updating files:  83% (27322/32918)
Updating files:  84% (27652/32918)
Updating files:  85% (27981/32918)
Updating files:  86% (28310/32918)
Updating files:  87% (28639/32918)
Updating files:  88% (28968/32918)
Updating files:  89% (29298/32918)
Updating files:  90% (29627/32918)
Updating files:  91% (29956/32918)
Updating files:  92% (30285/32918)
Updating files:  93% (30614/32918)
Updating files:  94% (30943/32918)
Updating files:  95% (31273/32918)
Updating files:  96% (31602/32918)
Updating files:  97% (31931/32918)
Updating files:  98% (32260/32918)
Updating files:  99% (32589/32918)
Updating files: 100% (32918/32918)
Updating files: 100% (32918/32918), done.
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
2024-02-12 20:16.50 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-02-12 20:16.50 ---> using "2ee14a5dbb7aa54ab1dfa5adba4422c5a5483941525d4174e8eeed0c4c5e97aa" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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~alpha, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-02-12 20:16.50 ---> using "d58131e4d084860f74dbebecfc9a35ebb7fbb42cf58093b5ac6cf0adf11ed898" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2024-02-12 20:16.50 ---> using "e76676ee91f5598b65d18de047738848e5af056a75e3436903dc82ff5702c5a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 20:16.53 ---> using "00dcf922e87fec2f8ccdd0b44355d41faed143c596db4bfe8812d0e9c5f33f02" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 20:16.53 ---> using "d6c8604b98b9d01914259989eafdfad7780b6c9f761a469dfe3162a56ba73510" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 1s (6893 kB/s)
- Reading package lists...
- 
2024-02-12 20:16.53 ---> using "6245d7929b862e6b37f451133c05d21883283d0248743f67197f2e424fe52d69" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
conf-pkg-config is now pinned to version 1.1
2024-02-12 20:16.53 ---> using "efd69474de39398f08b803f28b1c0635d272139b0c33f4b0a322013c52989663" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-pkg-config.1.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-pkg-config.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-pkg-config 1.1 (pinned)

The following system packages will first need to be installed:
    pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3: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 ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:16.53 ---> using "0686843ae3c31f38ac5563a3bcd57d9eed648c8dbf66daffdc86057dfb09ccb3" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ppx_rapper.2.0.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ppx_rapper.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ppx_rapper.2.0.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 35 packages
  - install angstrom            0.16.0  [required by caqti]
  - install base                v0.16.3 [required by ppx_rapper]
  - install base-bytes          base    [required by ocplib-endian]
  - install bigarray-compat     1.1.0   [required by ctypes]
  - install bigstringaf         0.9.1   [required by caqti]
  - install caqti               1.9.0   [required by ppx_rapper]
  - install caqti-lwt           1.9.0   [required by ppx_rapper]
  - install cmdliner            1.2.0   [required by pg_query]
  - install conf-libffi         2.0.0   [required by ctypes-foreign]
  - install cppo                1.6.9   [required by caqti]
  - install csexp               1.5.2   [required by dune-configurator]
  - install ctypes              0.21.1  [required by pg_query]
  - install ctypes-foreign      0.21.1  [required by pg_query]
  - install dune                3.13.1  [required by ppx_rapper]
  - install dune-configurator   3.13.1  [required by base]
  - install integers            0.7.0   [required by ctypes]
  - install logs                0.7.0   [required by caqti, caqti-lwt]
  - install lwt                 5.7.0   [required by caqti-lwt]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install ocaml-syntax-shims  1.0.0   [required by angstrom]
  - install ocamlbuild          0.14.3  [required by logs, ptime]
  - install ocamlfind           1.9.6   [required by ptime, logs, ppx_deriving]
  - install ocplib-endian       1.2     [required by lwt]
  - install pg_query            0.9.7   [required by ppx_rapper]
  - install ppx_derivers        1.2.1   [required by ppx_deriving]
  - install ppx_deriving        5.2.1   [required by pg_query]
  - install ppx_rapper          2.0.0
  - install ppxlib              0.32.0  [required by ppx_rapper]
  - install ptime               1.1.0   [required by caqti]
  - install result              1.5     [required by ppx_deriving]
  - install sexplib0            v0.16.0 [required by base]
  - install stdlib-shims        0.3.0   [required by integers, ppxlib]
  - install stringext           1.6.0   [required by uri]
  - install topkg               1.0.7   [required by logs, ptime]
  - install uri                 4.4.0   [required by caqti]

The following system packages will first need to be installed:
    libffi-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libffi-dev: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 ... 18810 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0  (cached)
-> retrieved base.v0.16.3  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved caqti.1.9.0, caqti-lwt.1.9.0  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libffi.2.0.0
-> retrieved ctypes.0.21.1, ctypes-foreign.0.21.1  (cached)
-> retrieved dune.3.13.1, dune-configurator.3.13.1  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> installed cmdliner.1.2.0
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved pg_query.0.9.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.5.2.1  (cached)
-> retrieved ppx_rapper.2.0.0  (https://github.com/roddyyaga/ppx_rapper/archive/2.0.0.tar.gz)
-> retrieved ppxlib.0.32.0  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uri.4.4.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed ptime.1.1.0
-> installed dune.3.13.1
-> installed ppx_derivers.1.2.1
-> installed stringext.1.6.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed result.1.5
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.6.9
-> installed ocaml-syntax-shims.1.0.0
-> installed integers.0.7.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.13.1
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed uri.4.4.0
-> installed lwt.5.7.0
-> installed logs.0.7.0
-> installed ctypes.0.21.1
-> installed caqti.1.9.0
-> installed base.v0.16.3
-> installed caqti-lwt.1.9.0
-> installed ctypes-foreign.0.21.1
-> installed ppxlib.0.32.0
-> installed ppx_deriving.5.2.1
-> installed pg_query.0.9.7
-> installed ppx_rapper.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:19.42 ---> saved as "2582e9fa559cc29c4d178bb3e9cbdd38667c72aca24a1200ee8eceea38b6820c"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ppx_rapper.2.0.0) || true"))
The following actions will be performed:
=== downgrade 1 package
  - downgrade ppxlib              0.32.0 to 0.31.0 [required by ppx_rapper]
=== recompile 3 packages
  - recompile pg_query            0.9.7            [uses ppx_deriving]
  - recompile ppx_deriving        5.2.1            [uses ppxlib]
  - recompile ppx_rapper          2.0.0
=== install 4 packages
  - install   calendar            3.0.0            [required by caqti-type-calendar]
  - install   caqti-type-calendar 1.9.0            [required by ppx_rapper]
  - install   re                  1.11.0           [required by calendar]
  - install   seq                 base             [required by re]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved calendar.3.0.0  (https://github.com/ocaml-community/calendar/archive/refs/tags/v3.0.0.tar.gz)
-> retrieved caqti-type-calendar.1.9.0  (https://github.com/paurkedal/ocaml-caqti/releases/download/v1.9.0/caqti-v1.9.0.tbz)
-> retrieved pg_query.0.9.7  (https://github.com/roddyyaga/pg_query-ocaml/archive/0.9.7.tar.gz)
-> retrieved ppx_deriving.5.2.1  (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v5.2.1/ppx_deriving-v5.2.1.tbz)
-> retrieved ppx_rapper.2.0.0  (https://github.com/roddyyaga/ppx_rapper/archive/2.0.0.tar.gz)
-> retrieved ppxlib.0.31.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.31.0/ppxlib-0.31.0.tbz)
-> retrieved re.1.11.0  (https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz)
-> installed seq.base
-> installed re.1.11.0
-> installed calendar.3.0.0
-> installed caqti-type-calendar.1.9.0
-> removed   ppx_rapper.2.0.0
-> removed   pg_query.0.9.7
-> removed   ppx_deriving.5.2.1
-> removed   ppxlib.0.32.0
-> installed ppxlib.0.31.0
-> installed ppx_deriving.5.2.1
-> installed pg_query.0.9.7
[ERROR] The compilation of ppx_rapper.2.0.0 failed at "dune build -p ppx_rapper -j 31 @install @runtest".

#=== ERROR while compiling ppx_rapper.2.0.0 ===================================#
# context              2.2.0~beta2~dev | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.opam-switch/build/ppx_rapper.2.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_rapper -j 31 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ppx_rapper-7-4514b0.env
# output-file          ~/.opam/log/ppx_rapper-7-4514b0.out
### output ###
# File "dune-project", line 1, characters 11-16:
# 1 | (lang dune 2.0.1)
#                ^^^^^
# Warning: The ".1" part is ignored here.
# This version is parsed as just 2.0.
# File "test/ppx/test.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/ppx/test.expected.ml _build/default/test/ppx/test.actual.ml
# diff --git a/_build/default/test/ppx/test.expected.ml b/_build/default/test/ppx/test.actual.ml
# index 2709aa0..b87aa01 100644
# --- a/_build/default/test/ppx/test.expected.ml
# +++ b/_build/default/test/ppx/test.actual.ml
# @@ -220,7 +220,8 @@ let list =
#                       [@ocaml.warning "-33"]) item pack) Dynparam.empty elems in
#            let query =
#              (let open Caqti_request in find_opt) ~oneshot:true
# -              (let open Caqti_type in tup2 bool packed_list_type)
# +              ((let open Caqti_type in tup2 bool packed_list_type)
# +              [@ocaml.warning "-33"])
#                ((let open Caqti_type in
#                    tup2 int (tup2 string (tup2 bool (option string))))
#                [@ocaml.warning "-33"]) sql in
# @@ -257,8 +258,8 @@ let collect_list =
#                       [@ocaml.warning "-33"]) item pack) Dynparam.empty elems in
#            let query =
#              (let open Caqti_request in collect) ~oneshot:true
# -              packed_list_type ((let open Caqti_type in string)
# -              [@ocaml.warning "-33"]) sql in
# +              ((packed_list_type)[@ocaml.warning "-33"])
# +              ((let open Caqti_type in string)[@ocaml.warning "-33"]) sql in
#            Db.collect_list query versions in
#    wrapped
#  module Suit : Ppx_rapper_runtime.CUSTOM =
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/runtime/.test_compiles.eobjs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/byte/dune__exe__Test_compiles.cmo -c -impl test/runtime/test_compiles.pp.ml)
# File "test/runtime/test_compiles.ml", lines 7-13, characters 2-12:
#  7 | ..[%rapper
#  8 |     execute
#  9 |       {sql|
# 10 |       UPDATE users
# 11 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 12 |       WHERE id = %int{id}
# 13 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 16-23, characters 2-17:
# 16 | ..[%rapper
# 17 |     get_one
# 18 |       {sql|
# 19 |       SELECT @string{username}
# 20 |       FROM users
# 21 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 22 |       |sql}
# 23 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 26-32, characters 2-12:
# 26 | ..[%rapper
# 27 |     get_opt
# 28 |       {sql|
# 29 |       SELECT @int{id}, @string{username}
# 30 |       FROM users
# 31 |       WHERE username = %string{username} AND id > %int{min_id}
# 32 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 38-45, characters 2-16:
# 38 | ..[%rapper
# 39 |     get_many
# 40 |       {sql|
# 41 |       SELECT @string{id}
# 42 |       FROM schema_migrations
# 43 |       WHERE version in (%list{%int{versions}})
# 44 |       |sql}
# 45 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 69-71, characters 2-84:
# 69 | ..[%rapper
# 70 |     get_many
# 71 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 90-99, characters 2-17:
# 90 | ..[%rapper
# 91 |     get_many
# 92 |       {sql|
# 93 |       SELECT @string{id}, @octets{payload}, @int{version},
# 94 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
# 95 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
# 96 |                 @cdate{cd}, @ctime{ct}
# 97 |       FROM some_table
# 98 |       |sql}
# 99 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 102-109, characters 2-12:
# 102 | ..[%rapper
# 103 |     get_many
# 104 |       {sql|
# 105 |       SELECT @int{id}
# 106 |       FROM users
# 107 |       WHERE id <> %int{id}
# 108 |         AND blah IN (%list{%Suit{blahs}})
# 109 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 112-121, characters 2-12:
# 112 | ..[%rapper
# 113 |     get_many
# 114 |       {sql|
# 115 |       SELECT @int{id}
# 116 |       FROM users
# 117 |       WHERE id <> %int{id}
# 118 |         AND %int{seriousness} = 5
# 119 |         AND blah IN (%list{%int{blahs}})
# 120 |         AND %string{x} = 'x'
# 121 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 124-130, characters 2-12:
# 124 | ..[%rapper
# 125 |     get_many
# 126 |       {sql|
# 127 |       SELECT @int{id}
# 128 |       FROM users
# 129 |       WHERE blah in (%list{%int{blahs}})
# 130 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 133-141, characters 2-12:
# 133 | ..[%rapper
# 134 |     get_many
# 135 |       {sql|
# 136 |       SELECT @int{id}
# 137 |       FROM users
# 138 |       WHERE blah in (%list{%int{blahs}})
# 139 |         AND %int{x} = x
# 140 |         AND %int{y} = y
# 141 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 150-157, characters 2-12:
# 150 | ..[%rapper
# 151 |     get_many
# 152 |       {sql|
# 153 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 154 |       FROM cards
# 155 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 156 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 157 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 166-172, characters 2-17:
# 166 | ..[%rapper
# 167 |     get_many
# 168 |       {sql|
# 169 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 170 |       FROM some_table
# 171 |       |sql}
# 172 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 175-176, characters 2-78:
# 175 | ..[%rapper
# 176 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 193-202, characters 2-19:
# 193 | ..[%rapper
# 194 |     get_many
# 195 |       {sql|
# 196 |       SELECT @int{users.id}, @string{users.name},
# 197 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 198 |       FROM users
# 199 |       JOIN twoots ON twoots.id = users.id
# 200 |       ORDER BY users.id
# 201 |       |sql}
# 202 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/runtime/.test_compiles.eobjs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/byte/dune__exe__Test_compiles_base.cmo -c -impl test/runtime/test_compiles_base.pp.ml)
# File "test/runtime/test_compiles_base.ml", lines 9-15, characters 2-12:
#  9 | ..[%rapper
# 10 |     execute
# 11 |       {sql|
# 12 |       UPDATE users
# 13 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 14 |       WHERE id = %int{id}
# 15 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 18-25, characters 2-17:
# 18 | ..[%rapper
# 19 |     get_one
# 20 |       {sql|
# 21 |       SELECT @string{username}
# 22 |       FROM users
# 23 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 24 |       |sql}
# 25 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 28-34, characters 2-12:
# 28 | ..[%rapper
# 29 |     get_opt
# 30 |       {sql|
# 31 |       SELECT @int{id}, @string{username}
# 32 |       FROM users
# 33 |       WHERE username = %string{username} AND id > %int{min_id}
# 34 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 40-47, characters 2-16:
# 40 | ..[%rapper
# 41 |     get_many
# 42 |       {sql|
# 43 |       SELECT @string{id}
# 44 |       FROM schema_migrations
# 45 |       WHERE version in (%list{%int{versions}})
# 46 |       |sql}
# 47 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 71-73, characters 2-84:
# 71 | ..[%rapper
# 72 |     get_many
# 73 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 92-101, characters 2-17:
#  92 | ..[%rapper
#  93 |     get_many
#  94 |       {sql|
#  95 |       SELECT @string{id}, @octets{payload}, @int{version},
#  96 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
#  97 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
#  98 |                 @cdate{cd}, @ctime{ct}
#  99 |       FROM some_table
# 100 |       |sql}
# 101 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 104-111, characters 2-12:
# 104 | ..[%rapper
# 105 |     get_many
# 106 |       {sql|
# 107 |       SELECT @int{id}
# 108 |       FROM users
# 109 |       WHERE id <> %int{id}
# 110 |         AND blah IN (%list{%Suit{blahs}})
# 111 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 114-123, characters 2-12:
# 114 | ..[%rapper
# 115 |     get_many
# 116 |       {sql|
# 117 |       SELECT @int{id}
# 118 |       FROM users
# 119 |       WHERE id <> %int{id}
# 120 |         AND %int{seriousness} = 5
# 121 |         AND blah IN (%list{%int{blahs}})
# 122 |         AND %string{x} = 'x'
# 123 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 126-132, characters 2-12:
# 126 | ..[%rapper
# 127 |     get_many
# 128 |       {sql|
# 129 |       SELECT @int{id}
# 130 |       FROM users
# 131 |       WHERE blah in (%list{%int{blahs}})
# 132 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 135-143, characters 2-12:
# 135 | ..[%rapper
# 136 |     get_many
# 137 |       {sql|
# 138 |       SELECT @int{id}
# 139 |       FROM users
# 140 |       WHERE blah in (%list{%int{blahs}})
# 141 |         AND %int{x} = x
# 142 |         AND %int{y} = y
# 143 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 152-159, characters 2-12:
# 152 | ..[%rapper
# 153 |     get_many
# 154 |       {sql|
# 155 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 156 |       FROM cards
# 157 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 158 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 159 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 168-174, characters 2-17:
# 168 | ..[%rapper
# 169 |     get_many
# 170 |       {sql|
# 171 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 172 |       FROM some_table
# 173 |       |sql}
# 174 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 177-178, characters 2-78:
# 177 | ..[%rapper
# 178 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 195-204, characters 2-19:
# 195 | ..[%rapper
# 196 |     get_many
# 197 |       {sql|
# 198 |       SELECT @int{users.id}, @string{users.name},
# 199 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 200 |       FROM users
# 201 |       JOIN twoots ON twoots.user_id = users.id
# 202 |       ORDER BY users.id
# 203 |       |sql}
# 204 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I test/runtime/.test_compiles.eobjs/byte -I test/runtime/.test_compiles.eobjs/native -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -I lib-runtime/.rapper.objs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/native/dune__exe__Test_compiles_base.cmx -c -impl test/runtime/test_compiles_base.pp.ml)
# File "test/runtime/test_compiles_base.ml", lines 9-15, characters 2-12:
#  9 | ..[%rapper
# 10 |     execute
# 11 |       {sql|
# 12 |       UPDATE users
# 13 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 14 |       WHERE id = %int{id}
# 15 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 18-25, characters 2-17:
# 18 | ..[%rapper
# 19 |     get_one
# 20 |       {sql|
# 21 |       SELECT @string{username}
# 22 |       FROM users
# 23 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 24 |       |sql}
# 25 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 28-34, characters 2-12:
# 28 | ..[%rapper
# 29 |     get_opt
# 30 |       {sql|
# 31 |       SELECT @int{id}, @string{username}
# 32 |       FROM users
# 33 |       WHERE username = %string{username} AND id > %int{min_id}
# 34 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 40-47, characters 2-16:
# 40 | ..[%rapper
# 41 |     get_many
# 42 |       {sql|
# 43 |       SELECT @string{id}
# 44 |       FROM schema_migrations
# 45 |       WHERE version in (%list{%int{versions}})
# 46 |       |sql}
# 47 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 71-73, characters 2-84:
# 71 | ..[%rapper
# 72 |     get_many
# 73 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 92-101, characters 2-17:
#  92 | ..[%rapper
#  93 |     get_many
#  94 |       {sql|
#  95 |       SELECT @string{id}, @octets{payload}, @int{version},
#  96 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
#  97 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
#  98 |                 @cdate{cd}, @ctime{ct}
#  99 |       FROM some_table
# 100 |       |sql}
# 101 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 104-111, characters 2-12:
# 104 | ..[%rapper
# 105 |     get_many
# 106 |       {sql|
# 107 |       SELECT @int{id}
# 108 |       FROM users
# 109 |       WHERE id <> %int{id}
# 110 |         AND blah IN (%list{%Suit{blahs}})
# 111 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 114-123, characters 2-12:
# 114 | ..[%rapper
# 115 |     get_many
# 116 |       {sql|
# 117 |       SELECT @int{id}
# 118 |       FROM users
# 119 |       WHERE id <> %int{id}
# 120 |         AND %int{seriousness} = 5
# 121 |         AND blah IN (%list{%int{blahs}})
# 122 |         AND %string{x} = 'x'
# 123 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 126-132, characters 2-12:
# 126 | ..[%rapper
# 127 |     get_many
# 128 |       {sql|
# 129 |       SELECT @int{id}
# 130 |       FROM users
# 131 |       WHERE blah in (%list{%int{blahs}})
# 132 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 135-143, characters 2-12:
# 135 | ..[%rapper
# 136 |     get_many
# 137 |       {sql|
# 138 |       SELECT @int{id}
# 139 |       FROM users
# 140 |       WHERE blah in (%list{%int{blahs}})
# 141 |         AND %int{x} = x
# 142 |         AND %int{y} = y
# 143 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 152-159, characters 2-12:
# 152 | ..[%rapper
# 153 |     get_many
# 154 |       {sql|
# 155 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 156 |       FROM cards
# 157 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 158 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 159 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 168-174, characters 2-17:
# 168 | ..[%rapper
# 169 |     get_many
# 170 |       {sql|
# 171 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 172 |       FROM some_table
# 173 |       |sql}
# 174 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 177-178, characters 2-78:
# 177 | ..[%rapper
# 178 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 195-204, characters 2-19:
# 195 | ..[%rapper
# 196 |     get_many
# 197 |       {sql|
# 198 |       SELECT @int{users.id}, @string{users.name},
# 199 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 200 |       FROM users
# 201 |       JOIN twoots ON twoots.user_id = users.id
# 202 |       ORDER BY users.id
# 203 |       |sql}
# 204 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I test/runtime/.test_compiles.eobjs/byte -I test/runtime/.test_compiles.eobjs/native -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -I lib-runtime/.rapper.objs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/native/dune__exe__Test_compiles.cmx -c -impl test/runtime/test_compiles.pp.ml)
# File "test/runtime/test_compiles.ml", lines 7-13, characters 2-12:
#  7 | ..[%rapper
#  8 |     execute
#  9 |       {sql|
# 10 |       UPDATE users
# 11 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 12 |       WHERE id = %int{id}
# 13 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 16-23, characters 2-17:
# 16 | ..[%rapper
# 17 |     get_one
# 18 |       {sql|
# 19 |       SELECT @string{username}
# 20 |       FROM users
# 21 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 22 |       |sql}
# 23 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 26-32, characters 2-12:
# 26 | ..[%rapper
# 27 |     get_opt
# 28 |       {sql|
# 29 |       SELECT @int{id}, @string{username}
# 30 |       FROM users
# 31 |       WHERE username = %string{username} AND id > %int{min_id}
# 32 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 38-45, characters 2-16:
# 38 | ..[%rapper
# 39 |     get_many
# 40 |       {sql|
# 41 |       SELECT @string{id}
# 42 |       FROM schema_migrations
# 43 |       WHERE version in (%list{%int{versions}})
# 44 |       |sql}
# 45 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 69-71, characters 2-84:
# 69 | ..[%rapper
# 70 |     get_many
# 71 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 90-99, characters 2-17:
# 90 | ..[%rapper
# 91 |     get_many
# 92 |       {sql|
# 93 |       SELECT @string{id}, @octets{payload}, @int{version},
# 94 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
# 95 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
# 96 |                 @cdate{cd}, @ctime{ct}
# 97 |       FROM some_table
# 98 |       |sql}
# 99 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 102-109, characters 2-12:
# 102 | ..[%rapper
# 103 |     get_many
# 104 |       {sql|
# 105 |       SELECT @int{id}
# 106 |       FROM users
# 107 |       WHERE id <> %int{id}
# 108 |         AND blah IN (%list{%Suit{blahs}})
# 109 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 112-121, characters 2-12:
# 112 | ..[%rapper
# 113 |     get_many
# 114 |       {sql|
# 115 |       SELECT @int{id}
# 116 |       FROM users
# 117 |       WHERE id <> %int{id}
# 118 |         AND %int{seriousness} = 5
# 119 |         AND blah IN (%list{%int{blahs}})
# 120 |         AND %string{x} = 'x'
# 121 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 124-130, characters 2-12:
# 124 | ..[%rapper
# 125 |     get_many
# 126 |       {sql|
# 127 |       SELECT @int{id}
# 128 |       FROM users
# 129 |       WHERE blah in (%list{%int{blahs}})
# 130 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 133-141, characters 2-12:
# 133 | ..[%rapper
# 134 |     get_many
# 135 |       {sql|
# 136 |       SELECT @int{id}
# 137 |       FROM users
# 138 |       WHERE blah in (%list{%int{blahs}})
# 139 |         AND %int{x} = x
# 140 |         AND %int{y} = y
# 141 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 150-157, characters 2-12:
# 150 | ..[%rapper
# 151 |     get_many
# 152 |       {sql|
# 153 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 154 |       FROM cards
# 155 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 156 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 157 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 166-172, characters 2-17:
# 166 | ..[%rapper
# 167 |     get_many
# 168 |       {sql|
# 169 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 170 |       FROM some_table
# 171 |       |sql}
# 172 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 175-176, characters 2-78:
# 175 | ..[%rapper
# 176 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 193-202, characters 2-19:
# 193 | ..[%rapper
# 194 |     get_many
# 195 |       {sql|
# 196 |       SELECT @int{users.id}, @string{users.name},
# 197 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 198 |       FROM users
# 199 |       JOIN twoots ON twoots.id = users.id
# 200 |       ORDER BY users.id
# 201 |       |sql}
# 202 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_rapper 2.0.0
+- 
+- The following changes have been performed
| - remove    ppx_rapper          2.0.0
| - downgrade ppxlib              0.32.0 to 0.31.0
| - recompile pg_query            0.9.7
| - recompile ppx_deriving        5.2.1
| - install   calendar            3.0.0
| - install   caqti-type-calendar 1.9.0
| - install   re                  1.11.0
| - install   seq                 base
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20240212201943.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2024-02-12 20:21.55 ---> saved as "d2b3ab5408a8bc5fbb191e7e6d8f09ee322b5b0b166c9be088504190dee836ba"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ppx_rapper.2.0.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ppx_rapper.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ppx_rapper.2.0.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install ppx_rapper 2.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved ppx_rapper.2.0.0  (cached)
Processing  2/3: [ppx_rapper: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_rapper" "-j" "31" "@install" "@runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppx_rapper.2.0.0)
- File "dune-project", line 1, characters 11-16:
- 1 | (lang dune 2.0.1)
-                ^^^^^
- Warning: The ".1" part is ignored here.
- This version is parsed as just 2.0.
- File "test/ppx/test.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/ppx/test.expected.ml _build/default/test/ppx/test.actual.ml
- diff --git a/_build/default/test/ppx/test.expected.ml b/_build/default/test/ppx/test.actual.ml
- index 2709aa0..b87aa01 100644
- --- a/_build/default/test/ppx/test.expected.ml
- +++ b/_build/default/test/ppx/test.actual.ml
- @@ -220,7 +220,8 @@ let list =
-                       [@ocaml.warning "-33"]) item pack) Dynparam.empty elems in
-            let query =
-              (let open Caqti_request in find_opt) ~oneshot:true
- -              (let open Caqti_type in tup2 bool packed_list_type)
- +              ((let open Caqti_type in tup2 bool packed_list_type)
- +              [@ocaml.warning "-33"])
-                ((let open Caqti_type in
-                    tup2 int (tup2 string (tup2 bool (option string))))
-                [@ocaml.warning "-33"]) sql in
- @@ -257,8 +258,8 @@ let collect_list =
-                       [@ocaml.warning "-33"]) item pack) Dynparam.empty elems in
-            let query =
-              (let open Caqti_request in collect) ~oneshot:true
- -              packed_list_type ((let open Caqti_type in string)
- -              [@ocaml.warning "-33"]) sql in
- +              ((packed_list_type)[@ocaml.warning "-33"])
- +              ((let open Caqti_type in string)[@ocaml.warning "-33"]) sql in
-            Db.collect_list query versions in
-    wrapped
-  module Suit : Ppx_rapper_runtime.CUSTOM =
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/runtime/.test_compiles.eobjs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/byte/dune__exe__Test_compiles.cmo -c -impl test/runtime/test_compiles.pp.ml)
- File "test/runtime/test_compiles.ml", lines 7-13, characters 2-12:
-  7 | ..[%rapper
-  8 |     execute
-  9 |       {sql|
- 10 |       UPDATE users
- 11 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
- 12 |       WHERE id = %int{id}
- 13 |       |sql}]
- Alert deprecated: Caqti_request.exec
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 16-23, characters 2-17:
- 16 | ..[%rapper
- 17 |     get_one
- 18 |       {sql|
- 19 |       SELECT @string{username}
- 20 |       FROM users
- 21 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
- 22 |       |sql}
- 23 |       record_out]
- Alert deprecated: Caqti_request.find
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 26-32, characters 2-12:
- 26 | ..[%rapper
- 27 |     get_opt
- 28 |       {sql|
- 29 |       SELECT @int{id}, @string{username}
- 30 |       FROM users
- 31 |       WHERE username = %string{username} AND id > %int{min_id}
- 32 |       |sql}]
- Alert deprecated: Caqti_request.find_opt
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 38-45, characters 2-16:
- 38 | ..[%rapper
- 39 |     get_many
- 40 |       {sql|
- 41 |       SELECT @string{id}
- 42 |       FROM schema_migrations
- 43 |       WHERE version in (%list{%int{versions}})
- 44 |       |sql}
- 45 |       record_in]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 69-71, characters 2-84:
- 69 | ..[%rapper
- 70 |     get_many
- 71 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 90-99, characters 2-17:
- 90 | ..[%rapper
- 91 |     get_many
- 92 |       {sql|
- 93 |       SELECT @string{id}, @octets{payload}, @int{version},
- 94 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
- 95 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
- 96 |                 @cdate{cd}, @ctime{ct}
- 97 |       FROM some_table
- 98 |       |sql}
- 99 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 102-109, characters 2-12:
- 102 | ..[%rapper
- 103 |     get_many
- 104 |       {sql|
- 105 |       SELECT @int{id}
- 106 |       FROM users
- 107 |       WHERE id <> %int{id}
- 108 |         AND blah IN (%list{%Suit{blahs}})
- 109 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 112-121, characters 2-12:
- 112 | ..[%rapper
- 113 |     get_many
- 114 |       {sql|
- 115 |       SELECT @int{id}
- 116 |       FROM users
- 117 |       WHERE id <> %int{id}
- 118 |         AND %int{seriousness} = 5
- 119 |         AND blah IN (%list{%int{blahs}})
- 120 |         AND %string{x} = 'x'
- 121 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 124-130, characters 2-12:
- 124 | ..[%rapper
- 125 |     get_many
- 126 |       {sql|
- 127 |       SELECT @int{id}
- 128 |       FROM users
- 129 |       WHERE blah in (%list{%int{blahs}})
- 130 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 133-141, characters 2-12:
- 133 | ..[%rapper
- 134 |     get_many
- 135 |       {sql|
- 136 |       SELECT @int{id}
- 137 |       FROM users
- 138 |       WHERE blah in (%list{%int{blahs}})
- 139 |         AND %int{x} = x
- 140 |         AND %int{y} = y
- 141 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 150-157, characters 2-12:
- 150 | ..[%rapper
- 151 |     get_many
- 152 |       {sql|
- 153 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
- 154 |       FROM cards
- 155 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
- 156 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
- 157 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 166-172, characters 2-17:
- 166 | ..[%rapper
- 167 |     get_many
- 168 |       {sql|
- 169 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
- 170 |       FROM some_table
- 171 |       |sql}
- 172 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 175-176, characters 2-78:
- 175 | ..[%rapper
- 176 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 193-202, characters 2-19:
- 193 | ..[%rapper
- 194 |     get_many
- 195 |       {sql|
- 196 |       SELECT @int{users.id}, @string{users.name},
- 197 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
- 198 |       FROM users
- 199 |       JOIN twoots ON twoots.id = users.id
- 200 |       ORDER BY users.id
- 201 |       |sql}
- 202 |       function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/runtime/.test_compiles.eobjs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/byte/dune__exe__Test_compiles_base.cmo -c -impl test/runtime/test_compiles_base.pp.ml)
- File "test/runtime/test_compiles_base.ml", lines 9-15, characters 2-12:
-  9 | ..[%rapper
- 10 |     execute
- 11 |       {sql|
- 12 |       UPDATE users
- 13 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
- 14 |       WHERE id = %int{id}
- 15 |       |sql}]
- Alert deprecated: Caqti_request.exec
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 18-25, characters 2-17:
- 18 | ..[%rapper
- 19 |     get_one
- 20 |       {sql|
- 21 |       SELECT @string{username}
- 22 |       FROM users
- 23 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
- 24 |       |sql}
- 25 |       record_out]
- Alert deprecated: Caqti_request.find
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 28-34, characters 2-12:
- 28 | ..[%rapper
- 29 |     get_opt
- 30 |       {sql|
- 31 |       SELECT @int{id}, @string{username}
- 32 |       FROM users
- 33 |       WHERE username = %string{username} AND id > %int{min_id}
- 34 |       |sql}]
- Alert deprecated: Caqti_request.find_opt
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 40-47, characters 2-16:
- 40 | ..[%rapper
- 41 |     get_many
- 42 |       {sql|
- 43 |       SELECT @string{id}
- 44 |       FROM schema_migrations
- 45 |       WHERE version in (%list{%int{versions}})
- 46 |       |sql}
- 47 |       record_in]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 71-73, characters 2-84:
- 71 | ..[%rapper
- 72 |     get_many
- 73 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 92-101, characters 2-17:
-  92 | ..[%rapper
-  93 |     get_many
-  94 |       {sql|
-  95 |       SELECT @string{id}, @octets{payload}, @int{version},
-  96 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
-  97 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
-  98 |                 @cdate{cd}, @ctime{ct}
-  99 |       FROM some_table
- 100 |       |sql}
- 101 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 104-111, characters 2-12:
- 104 | ..[%rapper
- 105 |     get_many
- 106 |       {sql|
- 107 |       SELECT @int{id}
- 108 |       FROM users
- 109 |       WHERE id <> %int{id}
- 110 |         AND blah IN (%list{%Suit{blahs}})
- 111 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 114-123, characters 2-12:
- 114 | ..[%rapper
- 115 |     get_many
- 116 |       {sql|
- 117 |       SELECT @int{id}
- 118 |       FROM users
- 119 |       WHERE id <> %int{id}
- 120 |         AND %int{seriousness} = 5
- 121 |         AND blah IN (%list{%int{blahs}})
- 122 |         AND %string{x} = 'x'
- 123 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 126-132, characters 2-12:
- 126 | ..[%rapper
- 127 |     get_many
- 128 |       {sql|
- 129 |       SELECT @int{id}
- 130 |       FROM users
- 131 |       WHERE blah in (%list{%int{blahs}})
- 132 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 135-143, characters 2-12:
- 135 | ..[%rapper
- 136 |     get_many
- 137 |       {sql|
- 138 |       SELECT @int{id}
- 139 |       FROM users
- 140 |       WHERE blah in (%list{%int{blahs}})
- 141 |         AND %int{x} = x
- 142 |         AND %int{y} = y
- 143 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 152-159, characters 2-12:
- 152 | ..[%rapper
- 153 |     get_many
- 154 |       {sql|
- 155 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
- 156 |       FROM cards
- 157 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
- 158 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
- 159 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 168-174, characters 2-17:
- 168 | ..[%rapper
- 169 |     get_many
- 170 |       {sql|
- 171 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
- 172 |       FROM some_table
- 173 |       |sql}
- 174 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 177-178, characters 2-78:
- 177 | ..[%rapper
- 178 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 195-204, characters 2-19:
- 195 | ..[%rapper
- 196 |     get_many
- 197 |       {sql|
- 198 |       SELECT @int{users.id}, @string{users.name},
- 199 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
- 200 |       FROM users
- 201 |       JOIN twoots ON twoots.user_id = users.id
- 202 |       ORDER BY users.id
- 203 |       |sql}
- 204 |       function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I test/runtime/.test_compiles.eobjs/byte -I test/runtime/.test_compiles.eobjs/native -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -I lib-runtime/.rapper.objs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/native/dune__exe__Test_compiles.cmx -c -impl test/runtime/test_compiles.pp.ml)
- File "test/runtime/test_compiles.ml", lines 7-13, characters 2-12:
-  7 | ..[%rapper
-  8 |     execute
-  9 |       {sql|
- 10 |       UPDATE users
- 11 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
- 12 |       WHERE id = %int{id}
- 13 |       |sql}]
- Alert deprecated: Caqti_request.exec
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 16-23, characters 2-17:
- 16 | ..[%rapper
- 17 |     get_one
- 18 |       {sql|
- 19 |       SELECT @string{username}
- 20 |       FROM users
- 21 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
- 22 |       |sql}
- 23 |       record_out]
- Alert deprecated: Caqti_request.find
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 26-32, characters 2-12:
- 26 | ..[%rapper
- 27 |     get_opt
- 28 |       {sql|
- 29 |       SELECT @int{id}, @string{username}
- 30 |       FROM users
- 31 |       WHERE username = %string{username} AND id > %int{min_id}
- 32 |       |sql}]
- Alert deprecated: Caqti_request.find_opt
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 38-45, characters 2-16:
- 38 | ..[%rapper
- 39 |     get_many
- 40 |       {sql|
- 41 |       SELECT @string{id}
- 42 |       FROM schema_migrations
- 43 |       WHERE version in (%list{%int{versions}})
- 44 |       |sql}
- 45 |       record_in]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 69-71, characters 2-84:
- 69 | ..[%rapper
- 70 |     get_many
- 71 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 90-99, characters 2-17:
- 90 | ..[%rapper
- 91 |     get_many
- 92 |       {sql|
- 93 |       SELECT @string{id}, @octets{payload}, @int{version},
- 94 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
- 95 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
- 96 |                 @cdate{cd}, @ctime{ct}
- 97 |       FROM some_table
- 98 |       |sql}
- 99 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 102-109, characters 2-12:
- 102 | ..[%rapper
- 103 |     get_many
- 104 |       {sql|
- 105 |       SELECT @int{id}
- 106 |       FROM users
- 107 |       WHERE id <> %int{id}
- 108 |         AND blah IN (%list{%Suit{blahs}})
- 109 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 112-121, characters 2-12:
- 112 | ..[%rapper
- 113 |     get_many
- 114 |       {sql|
- 115 |       SELECT @int{id}
- 116 |       FROM users
- 117 |       WHERE id <> %int{id}
- 118 |         AND %int{seriousness} = 5
- 119 |         AND blah IN (%list{%int{blahs}})
- 120 |         AND %string{x} = 'x'
- 121 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 124-130, characters 2-12:
- 124 | ..[%rapper
- 125 |     get_many
- 126 |       {sql|
- 127 |       SELECT @int{id}
- 128 |       FROM users
- 129 |       WHERE blah in (%list{%int{blahs}})
- 130 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 133-141, characters 2-12:
- 133 | ..[%rapper
- 134 |     get_many
- 135 |       {sql|
- 136 |       SELECT @int{id}
- 137 |       FROM users
- 138 |       WHERE blah in (%list{%int{blahs}})
- 139 |         AND %int{x} = x
- 140 |         AND %int{y} = y
- 141 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 150-157, characters 2-12:
- 150 | ..[%rapper
- 151 |     get_many
- 152 |       {sql|
- 153 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
- 154 |       FROM cards
- 155 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
- 156 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
- 157 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 166-172, characters 2-17:
- 166 | ..[%rapper
- 167 |     get_many
- 168 |       {sql|
- 169 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
- 170 |       FROM some_table
- 171 |       |sql}
- 172 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 175-176, characters 2-78:
- 175 | ..[%rapper
- 176 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles.ml", lines 193-202, characters 2-19:
- 193 | ..[%rapper
- 194 |     get_many
- 195 |       {sql|
- 196 |       SELECT @int{users.id}, @string{users.name},
- 197 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
- 198 |       FROM users
- 199 |       JOIN twoots ON twoots.id = users.id
- 200 |       ORDER BY users.id
- 201 |       |sql}
- 202 |       function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I test/runtime/.test_compiles.eobjs/byte -I test/runtime/.test_compiles.eobjs/native -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -I lib-runtime/.rapper.objs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/native/dune__exe__Test_compiles_base.cmx -c -impl test/runtime/test_compiles_base.pp.ml)
- File "test/runtime/test_compiles_base.ml", lines 9-15, characters 2-12:
-  9 | ..[%rapper
- 10 |     execute
- 11 |       {sql|
- 12 |       UPDATE users
- 13 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
- 14 |       WHERE id = %int{id}
- 15 |       |sql}]
- Alert deprecated: Caqti_request.exec
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 18-25, characters 2-17:
- 18 | ..[%rapper
- 19 |     get_one
- 20 |       {sql|
- 21 |       SELECT @string{username}
- 22 |       FROM users
- 23 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
- 24 |       |sql}
- 25 |       record_out]
- Alert deprecated: Caqti_request.find
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 28-34, characters 2-12:
- 28 | ..[%rapper
- 29 |     get_opt
- 30 |       {sql|
- 31 |       SELECT @int{id}, @string{username}
- 32 |       FROM users
- 33 |       WHERE username = %string{username} AND id > %int{min_id}
- 34 |       |sql}]
- Alert deprecated: Caqti_request.find_opt
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 40-47, characters 2-16:
- 40 | ..[%rapper
- 41 |     get_many
- 42 |       {sql|
- 43 |       SELECT @string{id}
- 44 |       FROM schema_migrations
- 45 |       WHERE version in (%list{%int{versions}})
- 46 |       |sql}
- 47 |       record_in]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 71-73, characters 2-84:
- 71 | ..[%rapper
- 72 |     get_many
- 73 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 92-101, characters 2-17:
-  92 | ..[%rapper
-  93 |     get_many
-  94 |       {sql|
-  95 |       SELECT @string{id}, @octets{payload}, @int{version},
-  96 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
-  97 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
-  98 |                 @cdate{cd}, @ctime{ct}
-  99 |       FROM some_table
- 100 |       |sql}
- 101 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 104-111, characters 2-12:
- 104 | ..[%rapper
- 105 |     get_many
- 106 |       {sql|
- 107 |       SELECT @int{id}
- 108 |       FROM users
- 109 |       WHERE id <> %int{id}
- 110 |         AND blah IN (%list{%Suit{blahs}})
- 111 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 114-123, characters 2-12:
- 114 | ..[%rapper
- 115 |     get_many
- 116 |       {sql|
- 117 |       SELECT @int{id}
- 118 |       FROM users
- 119 |       WHERE id <> %int{id}
- 120 |         AND %int{seriousness} = 5
- 121 |         AND blah IN (%list{%int{blahs}})
- 122 |         AND %string{x} = 'x'
- 123 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 126-132, characters 2-12:
- 126 | ..[%rapper
- 127 |     get_many
- 128 |       {sql|
- 129 |       SELECT @int{id}
- 130 |       FROM users
- 131 |       WHERE blah in (%list{%int{blahs}})
- 132 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 135-143, characters 2-12:
- 135 | ..[%rapper
- 136 |     get_many
- 137 |       {sql|
- 138 |       SELECT @int{id}
- 139 |       FROM users
- 140 |       WHERE blah in (%list{%int{blahs}})
- 141 |         AND %int{x} = x
- 142 |         AND %int{y} = y
- 143 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 152-159, characters 2-12:
- 152 | ..[%rapper
- 153 |     get_many
- 154 |       {sql|
- 155 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
- 156 |       FROM cards
- 157 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
- 158 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
- 159 |       |sql}]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 168-174, characters 2-17:
- 168 | ..[%rapper
- 169 |     get_many
- 170 |       {sql|
- 171 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
- 172 |       FROM some_table
- 173 |       |sql}
- 174 |       record_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 177-178, characters 2-78:
- 177 | ..[%rapper
- 178 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
- 
- File "test/runtime/test_compiles_base.ml", lines 195-204, characters 2-19:
- 195 | ..[%rapper
- 196 |     get_many
- 197 |       {sql|
- 198 |       SELECT @int{users.id}, @string{users.name},
- 199 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
- 200 |       FROM users
- 201 |       JOIN twoots ON twoots.user_id = users.id
- 202 |       ORDER BY users.id
- 203 |       |sql}
- 204 |       function_out]
- Alert deprecated: Caqti_request.collect
- Replaced by the Infix module.
[ERROR] The compilation of ppx_rapper.2.0.0 failed at "dune build -p ppx_rapper -j 31 @install @runtest".

#=== ERROR while compiling ppx_rapper.2.0.0 ===================================#
# context              2.2.0~beta2~dev | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.opam-switch/build/ppx_rapper.2.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_rapper -j 31 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ppx_rapper-7-567d30.env
# output-file          ~/.opam/log/ppx_rapper-7-567d30.out
### output ###
# File "dune-project", line 1, characters 11-16:
# 1 | (lang dune 2.0.1)
#                ^^^^^
# Warning: The ".1" part is ignored here.
# This version is parsed as just 2.0.
# File "test/ppx/test.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/ppx/test.expected.ml _build/default/test/ppx/test.actual.ml
# diff --git a/_build/default/test/ppx/test.expected.ml b/_build/default/test/ppx/test.actual.ml
# index 2709aa0..b87aa01 100644
# --- a/_build/default/test/ppx/test.expected.ml
# +++ b/_build/default/test/ppx/test.actual.ml
# @@ -220,7 +220,8 @@ let list =
#                       [@ocaml.warning "-33"]) item pack) Dynparam.empty elems in
#            let query =
#              (let open Caqti_request in find_opt) ~oneshot:true
# -              (let open Caqti_type in tup2 bool packed_list_type)
# +              ((let open Caqti_type in tup2 bool packed_list_type)
# +              [@ocaml.warning "-33"])
#                ((let open Caqti_type in
#                    tup2 int (tup2 string (tup2 bool (option string))))
#                [@ocaml.warning "-33"]) sql in
# @@ -257,8 +258,8 @@ let collect_list =
#                       [@ocaml.warning "-33"]) item pack) Dynparam.empty elems in
#            let query =
#              (let open Caqti_request in collect) ~oneshot:true
# -              packed_list_type ((let open Caqti_type in string)
# -              [@ocaml.warning "-33"]) sql in
# +              ((packed_list_type)[@ocaml.warning "-33"])
# +              ((let open Caqti_type in string)[@ocaml.warning "-33"]) sql in
#            Db.collect_list query versions in
#    wrapped
#  module Suit : Ppx_rapper_runtime.CUSTOM =
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/runtime/.test_compiles.eobjs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/byte/dune__exe__Test_compiles.cmo -c -impl test/runtime/test_compiles.pp.ml)
# File "test/runtime/test_compiles.ml", lines 7-13, characters 2-12:
#  7 | ..[%rapper
#  8 |     execute
#  9 |       {sql|
# 10 |       UPDATE users
# 11 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 12 |       WHERE id = %int{id}
# 13 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 16-23, characters 2-17:
# 16 | ..[%rapper
# 17 |     get_one
# 18 |       {sql|
# 19 |       SELECT @string{username}
# 20 |       FROM users
# 21 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 22 |       |sql}
# 23 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 26-32, characters 2-12:
# 26 | ..[%rapper
# 27 |     get_opt
# 28 |       {sql|
# 29 |       SELECT @int{id}, @string{username}
# 30 |       FROM users
# 31 |       WHERE username = %string{username} AND id > %int{min_id}
# 32 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 38-45, characters 2-16:
# 38 | ..[%rapper
# 39 |     get_many
# 40 |       {sql|
# 41 |       SELECT @string{id}
# 42 |       FROM schema_migrations
# 43 |       WHERE version in (%list{%int{versions}})
# 44 |       |sql}
# 45 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 69-71, characters 2-84:
# 69 | ..[%rapper
# 70 |     get_many
# 71 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 90-99, characters 2-17:
# 90 | ..[%rapper
# 91 |     get_many
# 92 |       {sql|
# 93 |       SELECT @string{id}, @octets{payload}, @int{version},
# 94 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
# 95 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
# 96 |                 @cdate{cd}, @ctime{ct}
# 97 |       FROM some_table
# 98 |       |sql}
# 99 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 102-109, characters 2-12:
# 102 | ..[%rapper
# 103 |     get_many
# 104 |       {sql|
# 105 |       SELECT @int{id}
# 106 |       FROM users
# 107 |       WHERE id <> %int{id}
# 108 |         AND blah IN (%list{%Suit{blahs}})
# 109 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 112-121, characters 2-12:
# 112 | ..[%rapper
# 113 |     get_many
# 114 |       {sql|
# 115 |       SELECT @int{id}
# 116 |       FROM users
# 117 |       WHERE id <> %int{id}
# 118 |         AND %int{seriousness} = 5
# 119 |         AND blah IN (%list{%int{blahs}})
# 120 |         AND %string{x} = 'x'
# 121 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 124-130, characters 2-12:
# 124 | ..[%rapper
# 125 |     get_many
# 126 |       {sql|
# 127 |       SELECT @int{id}
# 128 |       FROM users
# 129 |       WHERE blah in (%list{%int{blahs}})
# 130 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 133-141, characters 2-12:
# 133 | ..[%rapper
# 134 |     get_many
# 135 |       {sql|
# 136 |       SELECT @int{id}
# 137 |       FROM users
# 138 |       WHERE blah in (%list{%int{blahs}})
# 139 |         AND %int{x} = x
# 140 |         AND %int{y} = y
# 141 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 150-157, characters 2-12:
# 150 | ..[%rapper
# 151 |     get_many
# 152 |       {sql|
# 153 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 154 |       FROM cards
# 155 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 156 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 157 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 166-172, characters 2-17:
# 166 | ..[%rapper
# 167 |     get_many
# 168 |       {sql|
# 169 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 170 |       FROM some_table
# 171 |       |sql}
# 172 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 175-176, characters 2-78:
# 175 | ..[%rapper
# 176 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 193-202, characters 2-19:
# 193 | ..[%rapper
# 194 |     get_many
# 195 |       {sql|
# 196 |       SELECT @int{users.id}, @string{users.name},
# 197 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 198 |       FROM users
# 199 |       JOIN twoots ON twoots.id = users.id
# 200 |       ORDER BY users.id
# 201 |       |sql}
# 202 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/runtime/.test_compiles.eobjs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/byte/dune__exe__Test_compiles_base.cmo -c -impl test/runtime/test_compiles_base.pp.ml)
# File "test/runtime/test_compiles_base.ml", lines 9-15, characters 2-12:
#  9 | ..[%rapper
# 10 |     execute
# 11 |       {sql|
# 12 |       UPDATE users
# 13 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 14 |       WHERE id = %int{id}
# 15 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 18-25, characters 2-17:
# 18 | ..[%rapper
# 19 |     get_one
# 20 |       {sql|
# 21 |       SELECT @string{username}
# 22 |       FROM users
# 23 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 24 |       |sql}
# 25 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 28-34, characters 2-12:
# 28 | ..[%rapper
# 29 |     get_opt
# 30 |       {sql|
# 31 |       SELECT @int{id}, @string{username}
# 32 |       FROM users
# 33 |       WHERE username = %string{username} AND id > %int{min_id}
# 34 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 40-47, characters 2-16:
# 40 | ..[%rapper
# 41 |     get_many
# 42 |       {sql|
# 43 |       SELECT @string{id}
# 44 |       FROM schema_migrations
# 45 |       WHERE version in (%list{%int{versions}})
# 46 |       |sql}
# 47 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 71-73, characters 2-84:
# 71 | ..[%rapper
# 72 |     get_many
# 73 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 92-101, characters 2-17:
#  92 | ..[%rapper
#  93 |     get_many
#  94 |       {sql|
#  95 |       SELECT @string{id}, @octets{payload}, @int{version},
#  96 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
#  97 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
#  98 |                 @cdate{cd}, @ctime{ct}
#  99 |       FROM some_table
# 100 |       |sql}
# 101 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 104-111, characters 2-12:
# 104 | ..[%rapper
# 105 |     get_many
# 106 |       {sql|
# 107 |       SELECT @int{id}
# 108 |       FROM users
# 109 |       WHERE id <> %int{id}
# 110 |         AND blah IN (%list{%Suit{blahs}})
# 111 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 114-123, characters 2-12:
# 114 | ..[%rapper
# 115 |     get_many
# 116 |       {sql|
# 117 |       SELECT @int{id}
# 118 |       FROM users
# 119 |       WHERE id <> %int{id}
# 120 |         AND %int{seriousness} = 5
# 121 |         AND blah IN (%list{%int{blahs}})
# 122 |         AND %string{x} = 'x'
# 123 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 126-132, characters 2-12:
# 126 | ..[%rapper
# 127 |     get_many
# 128 |       {sql|
# 129 |       SELECT @int{id}
# 130 |       FROM users
# 131 |       WHERE blah in (%list{%int{blahs}})
# 132 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 135-143, characters 2-12:
# 135 | ..[%rapper
# 136 |     get_many
# 137 |       {sql|
# 138 |       SELECT @int{id}
# 139 |       FROM users
# 140 |       WHERE blah in (%list{%int{blahs}})
# 141 |         AND %int{x} = x
# 142 |         AND %int{y} = y
# 143 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 152-159, characters 2-12:
# 152 | ..[%rapper
# 153 |     get_many
# 154 |       {sql|
# 155 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 156 |       FROM cards
# 157 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 158 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 159 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 168-174, characters 2-17:
# 168 | ..[%rapper
# 169 |     get_many
# 170 |       {sql|
# 171 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 172 |       FROM some_table
# 173 |       |sql}
# 174 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 177-178, characters 2-78:
# 177 | ..[%rapper
# 178 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 195-204, characters 2-19:
# 195 | ..[%rapper
# 196 |     get_many
# 197 |       {sql|
# 198 |       SELECT @int{users.id}, @string{users.name},
# 199 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 200 |       FROM users
# 201 |       JOIN twoots ON twoots.user_id = users.id
# 202 |       ORDER BY users.id
# 203 |       |sql}
# 204 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I test/runtime/.test_compiles.eobjs/byte -I test/runtime/.test_compiles.eobjs/native -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -I lib-runtime/.rapper.objs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/native/dune__exe__Test_compiles.cmx -c -impl test/runtime/test_compiles.pp.ml)
# File "test/runtime/test_compiles.ml", lines 7-13, characters 2-12:
#  7 | ..[%rapper
#  8 |     execute
#  9 |       {sql|
# 10 |       UPDATE users
# 11 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 12 |       WHERE id = %int{id}
# 13 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 16-23, characters 2-17:
# 16 | ..[%rapper
# 17 |     get_one
# 18 |       {sql|
# 19 |       SELECT @string{username}
# 20 |       FROM users
# 21 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 22 |       |sql}
# 23 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 26-32, characters 2-12:
# 26 | ..[%rapper
# 27 |     get_opt
# 28 |       {sql|
# 29 |       SELECT @int{id}, @string{username}
# 30 |       FROM users
# 31 |       WHERE username = %string{username} AND id > %int{min_id}
# 32 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 38-45, characters 2-16:
# 38 | ..[%rapper
# 39 |     get_many
# 40 |       {sql|
# 41 |       SELECT @string{id}
# 42 |       FROM schema_migrations
# 43 |       WHERE version in (%list{%int{versions}})
# 44 |       |sql}
# 45 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 69-71, characters 2-84:
# 69 | ..[%rapper
# 70 |     get_many
# 71 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 90-99, characters 2-17:
# 90 | ..[%rapper
# 91 |     get_many
# 92 |       {sql|
# 93 |       SELECT @string{id}, @octets{payload}, @int{version},
# 94 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
# 95 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
# 96 |                 @cdate{cd}, @ctime{ct}
# 97 |       FROM some_table
# 98 |       |sql}
# 99 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 102-109, characters 2-12:
# 102 | ..[%rapper
# 103 |     get_many
# 104 |       {sql|
# 105 |       SELECT @int{id}
# 106 |       FROM users
# 107 |       WHERE id <> %int{id}
# 108 |         AND blah IN (%list{%Suit{blahs}})
# 109 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 112-121, characters 2-12:
# 112 | ..[%rapper
# 113 |     get_many
# 114 |       {sql|
# 115 |       SELECT @int{id}
# 116 |       FROM users
# 117 |       WHERE id <> %int{id}
# 118 |         AND %int{seriousness} = 5
# 119 |         AND blah IN (%list{%int{blahs}})
# 120 |         AND %string{x} = 'x'
# 121 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 124-130, characters 2-12:
# 124 | ..[%rapper
# 125 |     get_many
# 126 |       {sql|
# 127 |       SELECT @int{id}
# 128 |       FROM users
# 129 |       WHERE blah in (%list{%int{blahs}})
# 130 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 133-141, characters 2-12:
# 133 | ..[%rapper
# 134 |     get_many
# 135 |       {sql|
# 136 |       SELECT @int{id}
# 137 |       FROM users
# 138 |       WHERE blah in (%list{%int{blahs}})
# 139 |         AND %int{x} = x
# 140 |         AND %int{y} = y
# 141 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 150-157, characters 2-12:
# 150 | ..[%rapper
# 151 |     get_many
# 152 |       {sql|
# 153 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 154 |       FROM cards
# 155 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 156 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 157 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 166-172, characters 2-17:
# 166 | ..[%rapper
# 167 |     get_many
# 168 |       {sql|
# 169 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 170 |       FROM some_table
# 171 |       |sql}
# 172 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 175-176, characters 2-78:
# 175 | ..[%rapper
# 176 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles.ml", lines 193-202, characters 2-19:
# 193 | ..[%rapper
# 194 |     get_many
# 195 |       {sql|
# 196 |       SELECT @int{users.id}, @string{users.name},
# 197 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 198 |       FROM users
# 199 |       JOIN twoots ON twoots.id = users.id
# 200 |       ORDER BY users.id
# 201 |       |sql}
# 202 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I test/runtime/.test_compiles.eobjs/byte -I test/runtime/.test_compiles.eobjs/native -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/calendar -I /home/opam/.opam/5.1/lib/caqti -I /home/opam/.opam/5.1/lib/caqti-lwt -I /home/opam/.opam/5.1/lib/caqti-type-calendar -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stringext -I /home/opam/.opam/5.1/lib/uri -I lib-runtime/.rapper.objs/byte -I lib-runtime/.rapper.objs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o test/runtime/.test_compiles.eobjs/native/dune__exe__Test_compiles_base.cmx -c -impl test/runtime/test_compiles_base.pp.ml)
# File "test/runtime/test_compiles_base.ml", lines 9-15, characters 2-12:
#  9 | ..[%rapper
# 10 |     execute
# 11 |       {sql|
# 12 |       UPDATE users
# 13 |       SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio})
# 14 |       WHERE id = %int{id}
# 15 |       |sql}]
# Alert deprecated: Caqti_request.exec
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 18-25, characters 2-17:
# 18 | ..[%rapper
# 19 |     get_one
# 20 |       {sql|
# 21 |       SELECT @string{username}
# 22 |       FROM users
# 23 |       WHERE id = %int{id} OR username = %string{username} OR id <> %int{id}
# 24 |       |sql}
# 25 |       record_out]
# Alert deprecated: Caqti_request.find
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 28-34, characters 2-12:
# 28 | ..[%rapper
# 29 |     get_opt
# 30 |       {sql|
# 31 |       SELECT @int{id}, @string{username}
# 32 |       FROM users
# 33 |       WHERE username = %string{username} AND id > %int{min_id}
# 34 |       |sql}]
# Alert deprecated: Caqti_request.find_opt
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 40-47, characters 2-16:
# 40 | ..[%rapper
# 41 |     get_many
# 42 |       {sql|
# 43 |       SELECT @string{id}
# 44 |       FROM schema_migrations
# 45 |       WHERE version in (%list{%int{versions}})
# 46 |       |sql}
# 47 |       record_in]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 71-73, characters 2-84:
# 71 | ..[%rapper
# 72 |     get_many
# 73 |       {sql| SELECT @int{id}, @Suit{suit} FROM cards WHERE suit <> %Suit{suit} |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 92-101, characters 2-17:
#  92 | ..[%rapper
#  93 |     get_many
#  94 |       {sql|
#  95 |       SELECT @string{id}, @octets{payload}, @int{version},
#  96 |                 @int32{some_int32}, @int64{some_int64}, @bool{added},
#  97 |                 @float{fl}, @pdate{date}, @ptime{time}, @ptime_span{span},
#  98 |                 @cdate{cd}, @ctime{ct}
#  99 |       FROM some_table
# 100 |       |sql}
# 101 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 104-111, characters 2-12:
# 104 | ..[%rapper
# 105 |     get_many
# 106 |       {sql|
# 107 |       SELECT @int{id}
# 108 |       FROM users
# 109 |       WHERE id <> %int{id}
# 110 |         AND blah IN (%list{%Suit{blahs}})
# 111 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 114-123, characters 2-12:
# 114 | ..[%rapper
# 115 |     get_many
# 116 |       {sql|
# 117 |       SELECT @int{id}
# 118 |       FROM users
# 119 |       WHERE id <> %int{id}
# 120 |         AND %int{seriousness} = 5
# 121 |         AND blah IN (%list{%int{blahs}})
# 122 |         AND %string{x} = 'x'
# 123 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 126-132, characters 2-12:
# 126 | ..[%rapper
# 127 |     get_many
# 128 |       {sql|
# 129 |       SELECT @int{id}
# 130 |       FROM users
# 131 |       WHERE blah in (%list{%int{blahs}})
# 132 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 135-143, characters 2-12:
# 135 | ..[%rapper
# 136 |     get_many
# 137 |       {sql|
# 138 |       SELECT @int{id}
# 139 |       FROM users
# 140 |       WHERE blah in (%list{%int{blahs}})
# 141 |         AND %int{x} = x
# 142 |         AND %int{y} = y
# 143 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 152-159, characters 2-12:
# 152 | ..[%rapper
# 153 |     get_many
# 154 |       {sql|
# 155 |       SELECT @int{id}, @Double_nested.Nested.Suit{suit}
# 156 |       FROM cards
# 157 |       WHERE suit <> %Double_nested.Nested.Suit{suit}
# 158 |       AND username IN (%list{%Double_nested.Nested.Suit{suits}})
# 159 |       |sql}]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 168-174, characters 2-17:
# 168 | ..[%rapper
# 169 |     get_many
# 170 |       {sql|
# 171 |       SELECT @int{c.c1}, @int{a.a1}, @string{a.a2}, @bool{b.b1}
# 172 |       FROM some_table
# 173 |       |sql}
# 174 |       record_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 177-178, characters 2-78:
# 177 | ..[%rapper
# 178 |     get_many {sql| SELECT @int{id}, @Suit{suit} FROM cards |sql} function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.
# 
# File "test/runtime/test_compiles_base.ml", lines 195-204, characters 2-19:
# 195 | ..[%rapper
# 196 |     get_many
# 197 |       {sql|
# 198 |       SELECT @int{users.id}, @string{users.name},
# 199 |              @int{twoots.id}, @string{twoots.content}, @int{twoots.likes}
# 200 |       FROM users
# 201 |       JOIN twoots ON twoots.user_id = users.id
# 202 |       ORDER BY users.id
# 203 |       |sql}
# 204 |       function_out]
# Alert deprecated: Caqti_request.collect
# Replaced by the Infix module.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_rapper 2.0.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam reinstall --with-test --verbose ppx_rapper.2.0.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose ppx_rapper.2.0.0;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'ppx_rapper.2.0.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2024-02-12 20:22.24: Job failed: Failed: Build failed
2024-02-12 20:22.24: Log analysis:
2024-02-12 20:22.24: >>> 
[ERROR] The compilation of ppx_rapper.2.0.0 failed at "dune build -p ppx_rapper -j 31 @install @runtest".
 (score = 20)
2024-02-12 20:22.24: >>> 
[ERROR] The compilation of ppx_rapper.2.0.0 failed at "dune build -p ppx_rapper -j 31 @install @runtest".
 (score = 20)
2024-02-12 20:22.24: The compilation of ppx_rapper.2.0.0 failed at "dune build -p ppx_rapper -j 31 @install @runtest".