[INFO] fetching crate br-db 1.8.34... [INFO] checking br-db-1.8.34 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate br-db 1.8.34 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate br-db 1.8.34 [INFO] finished tweaking crates.io crate br-db 1.8.34 [INFO] tweaked toml for crates.io crate br-db 1.8.34 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate br-db 1.8.34 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate br-db 1.8.34 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded pretty-hex v0.3.0 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded io-enum v1.2.0 [INFO] [stderr] Downloaded chacha20 v0.10.0-rc.2 [INFO] [stderr] Downloaded tokio-postgres v0.7.15 [INFO] [stderr] Downloaded rand v0.10.0-rc.0 [INFO] [stderr] Downloaded mysql v26.0.1 [INFO] [stderr] Downloaded mysql_common v0.35.5 [INFO] [stderr] Downloaded tiberius v0.12.3 [INFO] [stderr] Downloaded sqlite3-sys v0.18.0 [INFO] [stderr] Downloaded sqlite v0.37.0 [INFO] [stderr] Downloaded mysql-common-derive v0.32.1 [INFO] [stderr] Downloaded connection-string v0.2.0 [INFO] [stderr] Downloaded br-crypto v0.4.8 [INFO] [stderr] Downloaded br-fields v2.1.23 [INFO] [stderr] Downloaded sqlite3-src v0.7.0 [INFO] [stderr] Downloaded br-pgsql v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c73fd3a3cd3cee421131450ea74c69e97827b8528999b1ab10bf2d9f132eef4 [INFO] running `Command { std: "docker" "start" "-a" "7c73fd3a3cd3cee421131450ea74c69e97827b8528999b1ab10bf2d9f132eef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c73fd3a3cd3cee421131450ea74c69e97827b8528999b1ab10bf2d9f132eef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c73fd3a3cd3cee421131450ea74c69e97827b8528999b1ab10bf2d9f132eef4", kill_on_drop: false }` [INFO] [stdout] 7c73fd3a3cd3cee421131450ea74c69e97827b8528999b1ab10bf2d9f132eef4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23019433a69644f9dfd869d4d4ed2ed80139145de52f149386023030b048e5f8 [INFO] running `Command { std: "docker" "start" "-a" "23019433a69644f9dfd869d4d4ed2ed80139145de52f149386023030b048e5f8", kill_on_drop: false }` [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking chacha20 v0.10.0-rc.2 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking md5 v0.8.0 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking rand v0.10.0-rc.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking br-fields v2.1.23 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking br-crypto v0.4.8 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking postgres-types v0.2.11 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking br-db v1.8.34 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DbMode` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::types::{DbMode, TableOptions}; [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 imports: `error` and `info` [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mode` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::{Mode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | fn setlist(mut connection: Connection, default: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:178:36 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn table_create(&mut self, options: TableOptions) -> JsonValue { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:191:36 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn table_update(&mut self, options: TableOptions) -> JsonValue { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn table_info(&mut self, table: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn table_is_exist(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn table(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn change_table(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:325:29 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn order(&mut self, field: &str, by: bool) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by` [INFO] [stdout] --> src/lib.rs:325:42 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn order(&mut self, field: &str, by: bool) -> &mut Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn group(&mut self, field: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:394:28 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn json(&mut self, field: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:417:32 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn location(&mut self, field: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:440:30 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn column(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/lib.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | let compare = compare.as_str(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let value = match &value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/lib.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | let compare = compare.as_str(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | let value = match &value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_a` [INFO] [stdout] --> src/lib.rs:577:36 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/lib.rs:577:51 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_b` [INFO] [stdout] --> src/lib.rs:577:66 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn max(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:627:27 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn min(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:641:27 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn sum(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:655:27 [INFO] [stdout] | [INFO] [stdout] 655 | pub fn avg(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:697:29 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn value(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:711:30 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn insert(&mut self, data: JsonValue) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | let data = if data.is_object() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/lib.rs:744:43 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn page(&mut self, mut page: i32, limit: i32) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `page` is never read [INFO] [stdout] --> src/lib.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | page = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:770:30 [INFO] [stdout] | [INFO] [stdout] 770 | pub fn update(&mut self, data: JsonValue) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:784:34 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn update_all(&mut self, data: JsonValue) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:824:39 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn database_create(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/lib.rs:837:31 [INFO] [stdout] | [INFO] [stdout] 837 | pub fn backups(&mut self, filename: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:881:29 [INFO] [stdout] | [INFO] [stdout] 881 | pub fn field(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:903:30 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn hidden(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:968:27 [INFO] [stdout] | [INFO] [stdout] 968 | pub fn sql(&mut self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:982:35 [INFO] [stdout] | [INFO] [stdout] 982 | pub fn sql_execute(&mut self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:997:27 [INFO] [stdout] | [INFO] [stdout] 997 | pub fn inc(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:997:40 [INFO] [stdout] | [INFO] [stdout] 997 | pub fn inc(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:1020:27 [INFO] [stdout] | [INFO] [stdout] 1020 | pub fn dec(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:1020:40 [INFO] [stdout] | [INFO] [stdout] 1020 | pub fn dec(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:1060:28 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_fields` [INFO] [stdout] --> src/lib.rs:1060:41 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_fields` [INFO] [stdout] --> src/lib.rs:1060:60 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:1088:34 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_fields` [INFO] [stdout] --> src/lib.rs:1088:47 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_fields` [INFO] [stdout] --> src/lib.rs:1088:66 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-postgres v0.7.15 [INFO] [stdout] warning: unused import: `DbMode` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::types::{DbMode, TableOptions}; [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 imports: `error` and `info` [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mode` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::{Mode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | fn setlist(mut connection: Connection, default: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:178:36 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn table_create(&mut self, options: TableOptions) -> JsonValue { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:191:36 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn table_update(&mut self, options: TableOptions) -> JsonValue { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn table_info(&mut self, table: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn table_is_exist(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn table(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn change_table(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:325:29 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn order(&mut self, field: &str, by: bool) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by` [INFO] [stdout] --> src/lib.rs:325:42 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn order(&mut self, field: &str, by: bool) -> &mut Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn group(&mut self, field: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:394:28 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn json(&mut self, field: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:417:32 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn location(&mut self, field: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:440:30 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn column(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/lib.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | let compare = compare.as_str(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let value = match &value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/lib.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | let compare = compare.as_str(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | let value = match &value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_a` [INFO] [stdout] --> src/lib.rs:577:36 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/lib.rs:577:51 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_b` [INFO] [stdout] --> src/lib.rs:577:66 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn max(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:627:27 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn min(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:641:27 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn sum(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:655:27 [INFO] [stdout] | [INFO] [stdout] 655 | pub fn avg(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:697:29 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn value(&mut self, field: &str) -> JsonValue { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:711:30 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn insert(&mut self, data: JsonValue) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | let data = if data.is_object() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/lib.rs:744:43 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn page(&mut self, mut page: i32, limit: i32) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `page` is never read [INFO] [stdout] --> src/lib.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | page = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:770:30 [INFO] [stdout] | [INFO] [stdout] 770 | pub fn update(&mut self, data: JsonValue) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:784:34 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn update_all(&mut self, data: JsonValue) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:824:39 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn database_create(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/lib.rs:837:31 [INFO] [stdout] | [INFO] [stdout] 837 | pub fn backups(&mut self, filename: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:881:29 [INFO] [stdout] | [INFO] [stdout] 881 | pub fn field(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:903:30 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn hidden(&mut self, name: &str) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:968:27 [INFO] [stdout] | [INFO] [stdout] 968 | pub fn sql(&mut self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:982:35 [INFO] [stdout] | [INFO] [stdout] 982 | pub fn sql_execute(&mut self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:997:27 [INFO] [stdout] | [INFO] [stdout] 997 | pub fn inc(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:997:40 [INFO] [stdout] | [INFO] [stdout] 997 | pub fn inc(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:1020:27 [INFO] [stdout] | [INFO] [stdout] 1020 | pub fn dec(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:1020:40 [INFO] [stdout] | [INFO] [stdout] 1020 | pub fn dec(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:1060:28 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_fields` [INFO] [stdout] --> src/lib.rs:1060:41 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_fields` [INFO] [stdout] --> src/lib.rs:1060:60 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:1088:34 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_fields` [INFO] [stdout] --> src/lib.rs:1088:47 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_fields` [INFO] [stdout] --> src/lib.rs:1088:66 [INFO] [stdout] | [INFO] [stdout] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.57s [INFO] running `Command { std: "docker" "inspect" "23019433a69644f9dfd869d4d4ed2ed80139145de52f149386023030b048e5f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23019433a69644f9dfd869d4d4ed2ed80139145de52f149386023030b048e5f8", kill_on_drop: false }` [INFO] [stdout] 23019433a69644f9dfd869d4d4ed2ed80139145de52f149386023030b048e5f8