[INFO] fetching crate zendb 0.1.1... [INFO] testing zendb-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate zendb 0.1.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zendb 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.19.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6a88ea481b134c1d482e79c9636f52e9c6d5cc717cced7d2eeaa6985be820a2 [INFO] running `Command { std: "docker" "start" "-a" "c6a88ea481b134c1d482e79c9636f52e9c6d5cc717cced7d2eeaa6985be820a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6a88ea481b134c1d482e79c9636f52e9c6d5cc717cced7d2eeaa6985be820a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a88ea481b134c1d482e79c9636f52e9c6d5cc717cced7d2eeaa6985be820a2", kill_on_drop: false }` [INFO] [stdout] c6a88ea481b134c1d482e79c9636f52e9c6d5cc717cced7d2eeaa6985be820a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3168d5b4ff559b88707c8c20ffcc28dfe2975529866be89b64e9431c6a525e6 [INFO] running `Command { std: "docker" "start" "-a" "a3168d5b4ff559b88707c8c20ffcc28dfe2975529866be89b64e9431c6a525e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling log v0.4.22 [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 quote v1.0.37 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [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 tokio-util v0.7.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [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 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 35.72s [INFO] running `Command { std: "docker" "inspect" "a3168d5b4ff559b88707c8c20ffcc28dfe2975529866be89b64e9431c6a525e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3168d5b4ff559b88707c8c20ffcc28dfe2975529866be89b64e9431c6a525e6", kill_on_drop: false }` [INFO] [stdout] a3168d5b4ff559b88707c8c20ffcc28dfe2975529866be89b64e9431c6a525e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 880f94bf0ff947a63232a76b763985530def60a84a27c9c10ff23e5f814add8d [INFO] running `Command { std: "docker" "start" "-a" "880f94bf0ff947a63232a76b763985530def60a84a27c9c10ff23e5f814add8d", 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] [stderr] Compiling zendb v0.1.1 (/opt/rustwide/workdir) [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] [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.84s [INFO] running `Command { std: "docker" "inspect" "880f94bf0ff947a63232a76b763985530def60a84a27c9c10ff23e5f814add8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "880f94bf0ff947a63232a76b763985530def60a84a27c9c10ff23e5f814add8d", kill_on_drop: false }` [INFO] [stdout] 880f94bf0ff947a63232a76b763985530def60a84a27c9c10ff23e5f814add8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75d7da2f140ce2a9aeefd1cabe78f4b3bc32dd7e30ae3e0bee9bb2e60b80218c [INFO] running `Command { std: "docker" "start" "-a" "75d7da2f140ce2a9aeefd1cabe78f4b3bc32dd7e30ae3e0bee9bb2e60b80218c", 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.15s [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" "75d7da2f140ce2a9aeefd1cabe78f4b3bc32dd7e30ae3e0bee9bb2e60b80218c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d7da2f140ce2a9aeefd1cabe78f4b3bc32dd7e30ae3e0bee9bb2e60b80218c", kill_on_drop: false }` [INFO] [stdout] 75d7da2f140ce2a9aeefd1cabe78f4b3bc32dd7e30ae3e0bee9bb2e60b80218c