[INFO] fetching crate zendb 0.1.1... [INFO] testing zendb-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate zendb 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate zendb 0.1.1 [INFO] finished tweaking crates.io crate zendb 0.1.1 [INFO] tweaked toml for crates.io crate zendb 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zendb 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zendb 0.1.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1fcb856bc76d41c2ced215b3694b96fec328de3c47f4e4d0c7c9546080c3404 [INFO] running `Command { std: "docker" "start" "-a" "a1fcb856bc76d41c2ced215b3694b96fec328de3c47f4e4d0c7c9546080c3404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1fcb856bc76d41c2ced215b3694b96fec328de3c47f4e4d0c7c9546080c3404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fcb856bc76d41c2ced215b3694b96fec328de3c47f4e4d0c7c9546080c3404", kill_on_drop: false }` [INFO] [stdout] a1fcb856bc76d41c2ced215b3694b96fec328de3c47f4e4d0c7c9546080c3404 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 232164f161debd7c6a4b790e63299c8d5c6932007d5732677cf1b2415b49e956 [INFO] running `Command { std: "docker" "start" "-a" "232164f161debd7c6a4b790e63299c8d5c6932007d5732677cf1b2415b49e956", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling postgres v0.19.9 [INFO] [stderr] Compiling zendb v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/delete.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | let mut value: Vec> = Vec::new(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - let mut value: Vec> = Vec::new(); [INFO] [stdout] 83 + let mut value: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueNotPresent` [INFO] [stdout] --> src/find.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ValueNotPresent, [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: `CondtionNotPresent` [INFO] [stdout] --> src/update.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Condition, CondtionNotPresent, TableNotPresent, TablePresent, Update, UpdateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/create.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut connection = &mut self.conn; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/delete.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn confirm(mut self) -> Delete<'delete> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/find.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let values: Vec<&str> = self.condition.iter().map(|b| b.value.as_ref()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/update.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | for (index, condition) in self.values.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZenSchema` is never constructed [INFO] [stdout] --> src/schema.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct ZenSchema { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZenMaster` is never constructed [INFO] [stdout] --> src/schema.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct ZenMaster<'master> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/create.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | table: &'create str, [INFO] [stdout] | ------- the lifetime is named here [INFO] [stdout] 25 | ) -> CreateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'create` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> CreateBuilder<'create, TablePresent, KeyNotPresent, ValueNotPresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/create.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 60 | value: &'create [&'create (dyn ToSql + Sync)], [INFO] [stdout] | ------- ------- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 61 | ) -> CreateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'create` [INFO] [stdout] | [INFO] [stdout] 61 | ) -> CreateBuilder<'create, TablePresent, KeyPresent, ValuePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/delete.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'delete` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder<'delete, TablePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/find.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'find` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder<'find, TablePresent, KeyNotPresent> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/find.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'key` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder<'key, TablePresent, KeyPresent> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/update.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'update` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder<'update, TableNotPresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/update.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'update` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder<'update, TablePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteBuilder`, `FindBuilder`, and `UpdateBuilder` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use zendb::{CreateBuilder, DeleteBuilder, FindBuilder, UpdateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.58s [INFO] running `Command { std: "docker" "inspect" "232164f161debd7c6a4b790e63299c8d5c6932007d5732677cf1b2415b49e956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232164f161debd7c6a4b790e63299c8d5c6932007d5732677cf1b2415b49e956", kill_on_drop: false }` [INFO] [stdout] 232164f161debd7c6a4b790e63299c8d5c6932007d5732677cf1b2415b49e956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 113e22d973fc910617d91bddd5be56bb2019892b55696593dbce6ce409d0f59a [INFO] running `Command { std: "docker" "start" "-a" "113e22d973fc910617d91bddd5be56bb2019892b55696593dbce6ce409d0f59a", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/delete.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | let mut value: Vec> = Vec::new(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - let mut value: Vec> = Vec::new(); [INFO] [stdout] 83 + let mut value: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueNotPresent` [INFO] [stdout] --> src/find.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ValueNotPresent, [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: `CondtionNotPresent` [INFO] [stdout] --> src/update.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Condition, CondtionNotPresent, TableNotPresent, TablePresent, Update, UpdateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/create.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut connection = &mut self.conn; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/delete.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn confirm(mut self) -> Delete<'delete> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/find.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let values: Vec<&str> = self.condition.iter().map(|b| b.value.as_ref()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/update.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | for (index, condition) in self.values.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZenSchema` is never constructed [INFO] [stdout] --> src/schema.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct ZenSchema { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZenMaster` is never constructed [INFO] [stdout] --> src/schema.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct ZenMaster<'master> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/create.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | table: &'create str, [INFO] [stdout] | ------- the lifetime is named here [INFO] [stdout] 25 | ) -> CreateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'create` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> CreateBuilder<'create, TablePresent, KeyNotPresent, ValueNotPresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/create.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 60 | value: &'create [&'create (dyn ToSql + Sync)], [INFO] [stdout] | ------- ------- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 61 | ) -> CreateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'create` [INFO] [stdout] | [INFO] [stdout] 61 | ) -> CreateBuilder<'create, TablePresent, KeyPresent, ValuePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/delete.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'delete` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder<'delete, TablePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/find.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'find` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder<'find, TablePresent, KeyNotPresent> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/find.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'key` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder<'key, TablePresent, KeyPresent> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/update.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'update` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder<'update, TableNotPresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/update.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'update` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder<'update, TablePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zendb v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DeleteBuilder`, `FindBuilder`, and `UpdateBuilder` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use zendb::{CreateBuilder, DeleteBuilder, FindBuilder, UpdateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/delete.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | let mut value: Vec> = Vec::new(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - let mut value: Vec> = Vec::new(); [INFO] [stdout] 83 + let mut value: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueNotPresent` [INFO] [stdout] --> src/find.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ValueNotPresent, [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: `CondtionNotPresent` [INFO] [stdout] --> src/update.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Condition, CondtionNotPresent, TableNotPresent, TablePresent, Update, UpdateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/create.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut connection = &mut self.conn; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/delete.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn confirm(mut self) -> Delete<'delete> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/find.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let values: Vec<&str> = self.condition.iter().map(|b| b.value.as_ref()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/update.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | for (index, condition) in self.values.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZenSchema` is never constructed [INFO] [stdout] --> src/schema.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct ZenSchema { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZenMaster` is never constructed [INFO] [stdout] --> src/schema.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct ZenMaster<'master> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/create.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | table: &'create str, [INFO] [stdout] | ------- the lifetime is named here [INFO] [stdout] 25 | ) -> CreateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'create` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> CreateBuilder<'create, TablePresent, KeyNotPresent, ValueNotPresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/create.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 60 | value: &'create [&'create (dyn ToSql + Sync)], [INFO] [stdout] | ------- ------- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 61 | ) -> CreateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'create` [INFO] [stdout] | [INFO] [stdout] 61 | ) -> CreateBuilder<'create, TablePresent, KeyPresent, ValuePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/delete.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'delete` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder<'delete, TablePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/find.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'find` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder<'find, TablePresent, KeyNotPresent> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/find.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'key` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder<'key, TablePresent, KeyPresent> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/update.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'update` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder<'update, TableNotPresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/update.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'update` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder<'update, TablePresent> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "113e22d973fc910617d91bddd5be56bb2019892b55696593dbce6ce409d0f59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "113e22d973fc910617d91bddd5be56bb2019892b55696593dbce6ce409d0f59a", kill_on_drop: false }` [INFO] [stdout] 113e22d973fc910617d91bddd5be56bb2019892b55696593dbce6ce409d0f59a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4dfbe559e875bc29cb985f4cf1ca0423d1f2dd32d28e2b36d53a0849d05c7638 [INFO] running `Command { std: "docker" "start" "-a" "4dfbe559e875bc29cb985f4cf1ca0423d1f2dd32d28e2b36d53a0849d05c7638", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/delete.rs:83:32 [INFO] [stderr] | [INFO] [stderr] 83 | let mut value: Vec> = Vec::new(); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 83 - let mut value: Vec> = Vec::new(); [INFO] [stderr] 83 + let mut value: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `ValueNotPresent` [INFO] [stderr] --> src/find.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | ValueNotPresent, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `CondtionNotPresent` [INFO] [stderr] --> src/update.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{Condition, CondtionNotPresent, TableNotPresent, TablePresent, Update, UpdateBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/create.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | let mut connection = &mut self.conn; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/delete.rs:65:20 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn confirm(mut self) -> Delete<'delete> { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `values` [INFO] [stderr] --> src/find.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | let values: Vec<&str> = self.condition.iter().map(|b| b.value.as_ref()).collect(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/update.rs:75:14 [INFO] [stderr] | [INFO] [stderr] 75 | for (index, condition) in self.values.iter().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: struct `ZenSchema` is never constructed [INFO] [stderr] --> src/schema.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct ZenSchema { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ZenMaster` is never constructed [INFO] [stderr] --> src/schema.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct ZenMaster<'master> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/create.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 24 | table: &'create str, [INFO] [stderr] | ------- the lifetime is named here [INFO] [stderr] 25 | ) -> CreateBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'create` [INFO] [stderr] | [INFO] [stderr] 25 | ) -> CreateBuilder<'create, TablePresent, KeyNotPresent, ValueNotPresent> { [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/create.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 60 | value: &'create [&'create (dyn ToSql + Sync)], [INFO] [stderr] | ------- ------- the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 61 | ) -> CreateBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'create` [INFO] [stderr] | [INFO] [stderr] 61 | ) -> CreateBuilder<'create, TablePresent, KeyPresent, ValuePresent> { [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/delete.rs:16:52 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder { [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'delete` [INFO] [stderr] | [INFO] [stderr] 16 | pub fn table(mut self, table: &'delete str) -> DeleteBuilder<'delete, TablePresent> { [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/find.rs:24:50 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder { [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'find` [INFO] [stderr] | [INFO] [stderr] 24 | pub fn table(mut self, table: &'find str) -> FindBuilder<'find, TablePresent, KeyNotPresent> { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/find.rs:38:48 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder { [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'key` [INFO] [stderr] | [INFO] [stderr] 38 | pub fn item(mut self, item: Item<'key>) -> FindBuilder<'key, TablePresent, KeyPresent> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/update.rs:6:52 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder { [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'update` [INFO] [stderr] | [INFO] [stderr] 6 | pub fn new(connection: &'update mut Client) -> UpdateBuilder<'update, TableNotPresent> { [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/update.rs:15:52 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder { [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'update` [INFO] [stderr] | [INFO] [stderr] 15 | pub fn table(mut self, table: &'update str) -> UpdateBuilder<'update, TablePresent> { [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: `zendb` (lib) generated 16 warnings (run `cargo fix --lib -p zendb` to apply 12 suggestions) [INFO] [stderr] warning: `zendb` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] warning: unused imports: `DeleteBuilder`, `FindBuilder`, and `UpdateBuilder` [INFO] [stderr] --> src/main.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use zendb::{CreateBuilder, DeleteBuilder, FindBuilder, UpdateBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `zendb` (bin "zendb" test) generated 1 warning (run `cargo fix --bin "zendb" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zendb-fb498ecd080a8060) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zendb-ddfdd19a58d818e0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests zendb [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/delete.rs:83:32 [INFO] [stderr] | [INFO] [stderr] 83 | let mut value: Vec> = Vec::new(); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 83 - let mut value: Vec> = Vec::new(); [INFO] [stderr] 83 + let mut value: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4dfbe559e875bc29cb985f4cf1ca0423d1f2dd32d28e2b36d53a0849d05c7638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dfbe559e875bc29cb985f4cf1ca0423d1f2dd32d28e2b36d53a0849d05c7638", kill_on_drop: false }` [INFO] [stdout] 4dfbe559e875bc29cb985f4cf1ca0423d1f2dd32d28e2b36d53a0849d05c7638