[INFO] fetching crate ignis-db 0.2.0... [INFO] testing ignis-db-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ignis-db 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ignis-db 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ignis-db 0.2.0 [INFO] tweaked toml for crates.io crate ignis-db 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ignis-db 0.2.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ignis-db 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded bitflags v2.9.3 [INFO] [stderr] Downloaded anstyle-query v1.1.4 [INFO] [stderr] Downloaded winapi-util v0.1.10 [INFO] [stderr] Downloaded anstyle-wincon v3.0.10 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.30 [INFO] [stderr] Downloaded anstream v0.6.20 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded clap v4.5.46 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded cc v1.2.34 [INFO] [stderr] Downloaded num-bigint-dig v0.8.4 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] [stderr] Downloaded winnow v0.7.13 [INFO] [stderr] Downloaded clap_builder v4.5.46 [INFO] [stderr] Downloaded hkdf v0.12.4 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded serde_json v1.0.143 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded rustls v0.21.12 [INFO] [stderr] Downloaded object v0.36.7 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded regex-syntax v0.8.6 [INFO] [stderr] Downloaded regex v1.11.2 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded rustix v1.0.8 [INFO] [stderr] Downloaded io-uring v0.7.10 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded borsh v1.5.7 [INFO] [stderr] Downloaded backtrace v0.3.75 [INFO] [stderr] Downloaded futures-intrusive v0.5.0 [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded hashlink v0.8.4 [INFO] [stderr] Downloaded regex-automata v0.4.10 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded parking_lot_core v0.9.11 [INFO] [stderr] Downloaded parking_lot v0.12.4 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded pkcs1 v0.7.5 [INFO] [stderr] Downloaded pem-rfc7468 v0.7.0 [INFO] [stderr] Downloaded tokio v1.47.1 [INFO] [stderr] Downloaded unicode-properties v0.1.3 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded rustc-demangle v0.1.26 [INFO] [stderr] Downloaded signal-hook-registry v1.4.6 [INFO] [stderr] Downloaded ignis-derive v0.1.0 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded base64ct v1.8.0 [INFO] [stderr] Downloaded dotenvy v0.15.7 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded borsh-derive v1.5.7 [INFO] [stderr] Downloaded tokio-macros v2.5.0 [INFO] [stderr] Downloaded lock_api v0.4.13 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded etcetera v0.8.0 [INFO] [stderr] Downloaded home v0.5.11 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded wasite v0.1.0 [INFO] [stderr] Downloaded atoi v2.0.0 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c98da19056bbee82992ecb0854d5c7db1f014ce4e485ec25ee4d8df9b17ffdc [INFO] running `Command { std: "docker" "start" "-a" "9c98da19056bbee82992ecb0854d5c7db1f014ce4e485ec25ee4d8df9b17ffdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c98da19056bbee82992ecb0854d5c7db1f014ce4e485ec25ee4d8df9b17ffdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c98da19056bbee82992ecb0854d5c7db1f014ce4e485ec25ee4d8df9b17ffdc", kill_on_drop: false }` [INFO] [stdout] 9c98da19056bbee82992ecb0854d5c7db1f014ce4e485ec25ee4d8df9b17ffdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df243103868bc6da18523456cddb3e388dc2d0be4bb6a2a0d47d99d48121b91 [INFO] running `Command { std: "docker" "start" "-a" "0df243103868bc6da18523456cddb3e388dc2d0be4bb6a2a0d47d99d48121b91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling ignis-derive v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling ignis-db v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `parse_table_macro_line` and `find_matching_paren` are never used [INFO] [stdout] --> src/code_parsing/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TableMacroParser { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn parse_table_macro_line(&self, line: &str, line_num: usize, file_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn find_matching_paren(&self, content: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0df243103868bc6da18523456cddb3e388dc2d0be4bb6a2a0d47d99d48121b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df243103868bc6da18523456cddb3e388dc2d0be4bb6a2a0d47d99d48121b91", kill_on_drop: false }` [INFO] [stdout] 0df243103868bc6da18523456cddb3e388dc2d0be4bb6a2a0d47d99d48121b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82022ab4221391b71ea4184e9f24ae02da8280998cb2472c8a7afb4b40ce1759 [INFO] running `Command { std: "docker" "start" "-a" "82022ab4221391b71ea4184e9f24ae02da8280998cb2472c8a7afb4b40ce1759", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling ignis-db v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::schema::ColumnType` [INFO] [stdout] --> src/builders/composite_type.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | use crate::schema::ColumnType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::IndexType` [INFO] [stdout] --> src/builders/index.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | use crate::schema::IndexType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/builders/macros.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColumnType` [INFO] [stdout] --> src/builders/macros.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | use crate::schema::{ColumnType, ProcedureLanguage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Column` [INFO] [stdout] --> src/codegen/mod.rs:667:25 [INFO] [stdout] | [INFO] [stdout] 667 | use crate::schema::{Column, ColumnType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompositeField as SchemaCompositeField` [INFO] [stdout] --> src/dsl/composite_field.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | use crate::schema::{CompositeField as SchemaCompositeField, CompositeType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionSecurity`, `FunctionVolatility`, and `ProcedureLanguage` [INFO] [stdout] --> src/dsl/procedure_call.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | use crate::schema::{FunctionSecurity, FunctionVolatility, ProcedureLanguage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/macros/procedure.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParameterMode` [INFO] [stdout] --> src/macros/procedure.rs:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | use $crate::schema::{StoredFunction, ProcedureParameter, ParameterMode, ProcedureLanguage, FunctionVolatility, Functi... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / function! { [INFO] [stdout] 414 | | test_calculate_age(birth_date: Date) -> Integer { [INFO] [stdout] 415 | | language: plpgsql, [INFO] [stdout] 416 | | volatility: immutable, [INFO] [stdout] ... | [INFO] [stdout] 423 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParameterMode` [INFO] [stdout] --> src/macros/procedure.rs:271:71 [INFO] [stdout] | [INFO] [stdout] 271 | use $crate::schema::{StoredProcedure, ProcedureParameter, ParameterMode, ProcedureLanguage, FunctionSecurity}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | / procedure! { [INFO] [stdout] 427 | | test_update_status(user_id: Integer, status: Text) { [INFO] [stdout] 428 | | language: plpgsql, [INFO] [stdout] 429 | | body: r#" [INFO] [stdout] ... | [INFO] [stdout] 436 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `procedure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super` [INFO] [stdout] --> src/introspection/mod.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | use super::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree_index` [INFO] [stdout] --> src/builders/index.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let btree_index = IndexBuilder::btree() [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btree_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gin_index` [INFO] [stdout] --> src/builders/index.rs:614:13 [INFO] [stdout] | [INFO] [stdout] 614 | let gin_index = IndexBuilder::gin() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gin_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_table_macro_line` and `find_matching_paren` are never used [INFO] [stdout] --> src/code_parsing/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TableMacroParser { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn parse_table_macro_line(&self, line: &str, line_num: usize, file_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn find_matching_paren(&self, content: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_nullable` [INFO] [stdout] --> src/introspection/mod.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 820 | is_nullable: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_table_macro_line` and `find_matching_paren` are never used [INFO] [stdout] --> src/code_parsing/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TableMacroParser { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn parse_table_macro_line(&self, line: &str, line_num: usize, file_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn find_matching_paren(&self, content: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ddl_trait` is never used [INFO] [stdout] --> src/macros/composite.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn assert_ddl_trait() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pk` is never used [INFO] [stdout] --> src/macros/mod.rs:329:20 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn pk() -> $crate::dsl::Column { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / crate::table! { [INFO] [stdout] 194 | | users (id) { [INFO] [stdout] 195 | | id -> Int4, [INFO] [stdout] 196 | | email -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `meta` is never used [INFO] [stdout] --> src/macros/mod.rs:343:20 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn meta() -> TableMeta { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / crate::table! { [INFO] [stdout] 194 | | users (id) { [INFO] [stdout] 195 | | id -> Int4, [INFO] [stdout] 196 | | email -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure` is never used [INFO] [stdout] --> src/macros/mod.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn configure(mutator: F) -> Table [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / crate::table! { [INFO] [stdout] 194 | | users (id) { [INFO] [stdout] 195 | | id -> Int4, [INFO] [stdout] 196 | | email -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Columns` is never constructed [INFO] [stdout] --> src/macros/mod.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct Columns; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / crate::table! { [INFO] [stdout] 194 | | users (id) { [INFO] [stdout] 195 | | id -> Int4, [INFO] [stdout] 196 | | email -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `id`, `email`, and `created_at` are never used [INFO] [stdout] --> src/lib.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | id -> Int4, [INFO] [stdout] | ^^ [INFO] [stdout] 196 | email -> Varchar, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 197 | created_at -> Timestamptz, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros/mod.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | impl Columns { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `typed_query` is never used [INFO] [stdout] --> src/macros/mod.rs:383:20 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn typed_query() -> $crate::dsl::TypedQuery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / crate::table! { [INFO] [stdout] 194 | | users (id) { [INFO] [stdout] 195 | | id -> Int4, [INFO] [stdout] 196 | | email -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MySql`, `Pool`, and `Postgres` [INFO] [stdout] --> tests/test_helpers.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sqlx::{MySql, MySqlPool, PgPool, Pool, Postgres}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_type` [INFO] [stdout] --> examples/type_mapping_test.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | for (rust_type, column_type) in types { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | if let Err(e) = self.pool.execute(query).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:226:64 [INFO] [stdout] | [INFO] [stdout] 226 | let cleanup = Arc::new(Mutex::new(DatabaseCleanup::new(pool.clone()))); [INFO] [stdout] | ^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | Ok(Self { pool, cleanup }) [INFO] [stdout] | ^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:234:64 [INFO] [stdout] | [INFO] [stdout] 234 | let cleanup = Arc::new(Mutex::new(DatabaseCleanup::new(pool.clone()))); [INFO] [stdout] | ^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | Ok(Self { pool, cleanup }) [INFO] [stdout] | ^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/composite_key_test.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 88 | id: i32, [INFO] [stdout] 89 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | self.pool.execute(query).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | self.pool.query_one(query).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:339:44 [INFO] [stdout] | [INFO] [stdout] 339 | let cleanup = DatabaseCleanup::new(pool); [INFO] [stdout] | ^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | pub pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 81 - pub fn new(pool: Arc) -> Self { [INFO] [stdout] 81 + pub fn new(pool: Arc) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:338:32 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn new(pool: Arc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 338 - pub async fn new(pool: Arc) -> Result { [INFO] [stdout] 338 + pub async fn new(pool: Arc) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | pub async fn assert_table_exists(pool: &dyn DatabasePool, table_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 401 - pub async fn assert_table_exists(pool: &dyn DatabasePool, table_name: &str) -> Result<()> { [INFO] [stdout] 401 + pub async fn assert_table_exists(pool: &Self, table_name: &str) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:416:49 [INFO] [stdout] | [INFO] [stdout] 416 | pub async fn assert_table_not_exists(pool: &dyn DatabasePool, table_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 416 - pub async fn assert_table_not_exists(pool: &dyn DatabasePool, table_name: &str) -> Result<()> { [INFO] [stdout] 416 + pub async fn assert_table_not_exists(pool: &Self, table_name: &str) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | pool: &dyn DatabasePool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 432 - pool: &dyn DatabasePool, [INFO] [stdout] 432 + pool: &Self, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | pool: &dyn DatabasePool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 448 - pool: &dyn DatabasePool, [INFO] [stdout] 448 + pool: &Self, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:471:16 [INFO] [stdout] | [INFO] [stdout] 471 | pool: &dyn DatabasePool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 471 - pool: &dyn DatabasePool, [INFO] [stdout] 471 + pool: &Self, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | pool, [INFO] [stdout] | ^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `DatabasePool` is not dyn compatible [INFO] [stdout] --> tests/test_helpers.rs:500:48 [INFO] [stdout] | [INFO] [stdout] 500 | let mut cleanup = DatabaseCleanup::new(pool.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ `DatabasePool` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> tests/test_helpers.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait DatabasePool { [INFO] [stdout] | ------------ this trait is not dyn compatible... [INFO] [stdout] 42 | async fn execute(&self, query: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] 43 | async fn query_one(&self, query: &str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ...because method `query_one` is `async` [INFO] [stdout] | ...because method `query_one` has generic type parameters [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: consider moving `query_one` to another trait [INFO] [stdout] = help: the following types implement `DatabasePool`: [INFO] [stdout] sqlx::Pool [INFO] [stdout] sqlx::Pool [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `DatabasePool` for this new enum and using it instead [INFO] [stdout] = note: `DatabasePool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ignis-db` (test "test_helpers") due to 19 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "82022ab4221391b71ea4184e9f24ae02da8280998cb2472c8a7afb4b40ce1759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82022ab4221391b71ea4184e9f24ae02da8280998cb2472c8a7afb4b40ce1759", kill_on_drop: false }` [INFO] [stdout] 82022ab4221391b71ea4184e9f24ae02da8280998cb2472c8a7afb4b40ce1759