[INFO] fetching crate tokio-rusqlite 0.7.0... [INFO] checking tokio-rusqlite-0.7.0 against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] extracting crate tokio-rusqlite 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tokio-rusqlite 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tokio-rusqlite 0.7.0 [INFO] tweaked toml for crates.io crate tokio-rusqlite 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-rusqlite 0.7.0 on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-rusqlite 0.7.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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3398e141ae43215eaf8ecfa1a508d141b2bf939755f72b2a0d8c1924b6f745e1 [INFO] running `Command { std: "docker" "start" "-a" "3398e141ae43215eaf8ecfa1a508d141b2bf939755f72b2a0d8c1924b6f745e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3398e141ae43215eaf8ecfa1a508d141b2bf939755f72b2a0d8c1924b6f745e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3398e141ae43215eaf8ecfa1a508d141b2bf939755f72b2a0d8c1924b6f745e1", kill_on_drop: false }` [INFO] [stdout] 3398e141ae43215eaf8ecfa1a508d141b2bf939755f72b2a0d8c1924b6f745e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52f8be358c1ef26987918ef596b7bdec288ce560d910a2ce1e63b1f6972eec1e [INFO] running `Command { std: "docker" "start" "-a" "52f8be358c1ef26987918ef596b7bdec288ce560d910a2ce1e63b1f6972eec1e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking tokio-rusqlite v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let conn = Connection::open_in_memory().await; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Error::Error(e) => { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(matches!(result.unwrap_err(), Error::ConnectionClosed)); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | let conn = Connection::open_in_memory().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | Error::Close((_, e)) => { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | let error: Error = Error::Close((conn, rusqlite::Error::InvalidQuery)); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | let error: Error = Error::Close((conn, rusqlite::Error::InvalidQuery)); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | let error: Error = Error::ConnectionClosed; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | let error: Error = Error::ConnectionClosed; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | let error: Error = Error::Error(rusqlite::Error::InvalidQuery); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let error: Error = Error::Error(rusqlite::Error::InvalidQuery); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | let error: Error = Error::Close((conn, rusqlite::Error::InvalidQuery)); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | let error: Error = Error::Close((conn, rusqlite::Error::InvalidQuery)); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | let error: Error = Error::ConnectionClosed; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let error: Error = Error::ConnectionClosed; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | let error: Error = Error::Error(rusqlite::Error::InvalidQuery); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 210 | let error: Error = Error::Error(rusqlite::Error::InvalidQuery); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/tests.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | assert!(matches!(err, Error::Error(MyError::MySpecificError))); [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Connection` is ambiguous [INFO] [stdout] --> src/tests.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Connection` could refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] note: `Connection` could also refer to the struct imported here [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Connection` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | let conn = Connection::open_in_memory().await; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 7 - let conn = Connection::open_in_memory().await; [INFO] [stdout] 7 + let conn = Connection::open_in_memory(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let conn = Connection::open_in_memory().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | assert!(conn.is_ok()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | let conn: /* Type */ = Connection::open_in_memory().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 14 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 14 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | let result = conn [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | .call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | conn.execute( [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | .call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let result = conn [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(0, result.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let result: /* Type */ = conn [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 32 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 32 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | let result = conn [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .call_unwrap(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | conn.execute( [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 35 | .call_unwrap(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 51 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 51 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | [INFO] [stdout] 53 | let result = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let result = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 53 | let result = conn.call(|conn: /* Type */| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let result = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | [INFO] [stdout] 55 | assert!(match result.unwrap_err() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 53 | let result: /* Type */ = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Error` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | Error::Error(e) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 75 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 75 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | [INFO] [stdout] 77 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 75 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 84 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 84 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | [INFO] [stdout] 86 | let conn2 = conn.clone(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(conn2.close().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 96 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 96 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 96 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | [INFO] [stdout] 98 | let conn2 = conn.clone(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 96 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let result = conn2.call(|conn| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let result = conn2.call(|conn: /* Type */| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let result = conn2.call(|conn| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | [INFO] [stdout] 104 | assert!(matches!(result.unwrap_err(), Error::ConnectionClosed)); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let result: /* Type */ = conn2.call(|conn| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ConnectionClosed` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:104:50 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(matches!(result.unwrap_err(), Error::ConnectionClosed)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let conn = Connection::open_in_memory().await.unwrap(); [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 112 - let conn = Connection::open_in_memory().await.unwrap(); [INFO] [stdout] 112 + let conn = Connection::open_in_memory().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | let conn = Connection::open_in_memory().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | .call_unwrap(|conn| conn.execute("SELECT 1;", [])) [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | .call_unwrap(|conn: /* Type */| conn.execute("SELECT 1;", [])) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / conn2 [INFO] [stdout] 119 | | .call_unwrap(|conn| conn.execute("SELECT 1;", [])) [INFO] [stdout] 120 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 126 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 126 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 127 | [INFO] [stdout] 128 | conn.call(|conn| { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | conn.call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 129 | conn.execute( [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 128 | conn.call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | conn.call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | let stmt = Box::new(conn.prepare("INSERT INTO person VALUES (1, ?1);").unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 136 | conn.call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | assert!(match conn.close().await.unwrap_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Close` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | Error::Close((_, e)) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:166:45 [INFO] [stdout] | [INFO] [stdout] 166 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 166 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 166 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 175 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 175 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Close` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | let error: Error = Error::Close((conn, rusqlite::Error::InvalidQuery)); [INFO] [stdout] | ^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ConnectionClosed` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | let error: Error = Error::ConnectionClosed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Error` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | let error: Error = Error::Error(rusqlite::Error::InvalidQuery); [INFO] [stdout] | ^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:194:45 [INFO] [stdout] | [INFO] [stdout] 194 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 194 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 194 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Close` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | let error: Error = Error::Close((conn, rusqlite::Error::InvalidQuery)); [INFO] [stdout] | ^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ConnectionClosed` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | let error: Error = Error::ConnectionClosed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Error` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | let error: Error = Error::Error(rusqlite::Error::InvalidQuery); [INFO] [stdout] | ^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:227:45 [INFO] [stdout] | [INFO] [stdout] 227 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 227 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 227 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 228 | [INFO] [stdout] 229 | let err = conn.call(|conn| failable_func(conn)).await.unwrap_err(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 227 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | let err = conn.call(|conn| failable_func(conn)).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Error` found for enum `rusqlite::Error` in the current scope [INFO] [stdout] --> src/tests.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | assert!(matches!(err, Error::Error(MyError::MySpecificError))); [INFO] [stdout] | ^^^^^ variant or associated item not found in `rusqlite::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/tests.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | async fn test_ergonomic_errors() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: PartialEq<()>` will fail [INFO] [stdout] --> src/tests.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | assert!(result == ()); [INFO] [stdout] | ^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 233 | let result: () = conn.call(|_conn| Ok(())).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/tests.rs:242:45 [INFO] [stdout] | [INFO] [stdout] 242 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ---------------------------- ^^^^^ `std::result::Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: std::result::Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `std::result::Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 242 - let conn = Connection::open_in_memory().await?; [INFO] [stdout] 242 + let conn = Connection::open_in_memory()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 243 | [INFO] [stdout] 244 | let err = conn.call_raw(|_conn| Err(())).await.expect("call success"); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 242 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | let err = conn.call_raw(|_conn| Err(())).await.expect("call success"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:248:14 [INFO] [stdout] | [INFO] [stdout] 248 | let ok = conn.call_raw(|_conn| Ok(())).await.expect("call success"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0599, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-rusqlite` (lib test) due to 87 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "52f8be358c1ef26987918ef596b7bdec288ce560d910a2ce1e63b1f6972eec1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f8be358c1ef26987918ef596b7bdec288ce560d910a2ce1e63b1f6972eec1e", kill_on_drop: false }` [INFO] [stdout] 52f8be358c1ef26987918ef596b7bdec288ce560d910a2ce1e63b1f6972eec1e