[INFO] fetching crate br-db 1.8.34... [INFO] testing br-db-1.8.34 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate br-db 1.8.34 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate br-db 1.8.34 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee072b559271fb1a928875a49be5145a0fb64f8beadf05cbabd2307ba20b136b [INFO] running `Command { std: "docker" "start" "-a" "ee072b559271fb1a928875a49be5145a0fb64f8beadf05cbabd2307ba20b136b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee072b559271fb1a928875a49be5145a0fb64f8beadf05cbabd2307ba20b136b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee072b559271fb1a928875a49be5145a0fb64f8beadf05cbabd2307ba20b136b", kill_on_drop: false }` [INFO] [stdout] ee072b559271fb1a928875a49be5145a0fb64f8beadf05cbabd2307ba20b136b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecebcfb999429a8ab5fb6dcdb435e3951e2bd8d1f400f805215e9342b048fd0f [INFO] running `Command { std: "docker" "start" "-a" "ecebcfb999429a8ab5fb6dcdb435e3951e2bd8d1f400f805215e9342b048fd0f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling chacha20 v0.10.0-rc.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.10.0-rc.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling br-crypto v0.4.8 [INFO] [stderr] Compiling br-fields v2.1.23 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.05s [INFO] running `Command { std: "docker" "inspect" "ecebcfb999429a8ab5fb6dcdb435e3951e2bd8d1f400f805215e9342b048fd0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecebcfb999429a8ab5fb6dcdb435e3951e2bd8d1f400f805215e9342b048fd0f", kill_on_drop: false }` [INFO] [stdout] ecebcfb999429a8ab5fb6dcdb435e3951e2bd8d1f400f805215e9342b048fd0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf0d30a83fcbe2073fbfec4a38551ed0f99bb545346f76d6550a7842dad8811 [INFO] running `Command { std: "docker" "start" "-a" "fcf0d30a83fcbe2073fbfec4a38551ed0f99bb545346f76d6550a7842dad8811", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling br-crypto v0.4.8 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling br-fields v2.1.23 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling 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] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling 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] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling 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 `test` profile [unoptimized + debuginfo] target(s) in 20.19s [INFO] running `Command { std: "docker" "inspect" "fcf0d30a83fcbe2073fbfec4a38551ed0f99bb545346f76d6550a7842dad8811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf0d30a83fcbe2073fbfec4a38551ed0f99bb545346f76d6550a7842dad8811", kill_on_drop: false }` [INFO] [stdout] fcf0d30a83fcbe2073fbfec4a38551ed0f99bb545346f76d6550a7842dad8811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e623dc681d52b692f26289fef33c6c177d4f6085b14d22321c21f51e05f844e [INFO] running `Command { std: "docker" "start" "-a" "1e623dc681d52b692f26289fef33c6c177d4f6085b14d22321c21f51e05f844e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `DbMode` [INFO] [stderr] --> src/lib.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::types::{DbMode, TableOptions}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error` and `info` [INFO] [stderr] --> src/lib.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | use log::{error, info}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mode` [INFO] [stderr] --> src/lib.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | use crate::types::{Mode}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `default` [INFO] [stderr] --> src/lib.rs:83:44 [INFO] [stderr] | [INFO] [stderr] 83 | fn setlist(mut connection: Connection, default: String) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/lib.rs:178:36 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn table_create(&mut self, options: TableOptions) -> JsonValue { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/lib.rs:191:36 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn table_update(&mut self, options: TableOptions) -> JsonValue { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table` [INFO] [stderr] --> src/lib.rs:204:34 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn table_info(&mut self, table: &str) -> JsonValue { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:217:38 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn table_is_exist(&mut self, name: &str) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:230:29 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn table(&mut self, name: &str) -> &mut Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:253:36 [INFO] [stderr] | [INFO] [stderr] 253 | pub fn change_table(&mut self, name: &str) -> &mut Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:325:29 [INFO] [stderr] | [INFO] [stderr] 325 | pub fn order(&mut self, field: &str, by: bool) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `by` [INFO] [stderr] --> src/lib.rs:325:42 [INFO] [stderr] | [INFO] [stderr] 325 | pub fn order(&mut self, field: &str, by: bool) -> &mut Self { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_by` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:348:29 [INFO] [stderr] | [INFO] [stderr] 348 | pub fn group(&mut self, field: &str) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:394:28 [INFO] [stderr] | [INFO] [stderr] 394 | pub fn json(&mut self, field: &str) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:417:32 [INFO] [stderr] | [INFO] [stderr] 417 | pub fn location(&mut self, field: &str) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:440:30 [INFO] [stderr] | [INFO] [stderr] 440 | pub fn column(&mut self, field: &str) -> JsonValue { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compare` [INFO] [stderr] --> src/lib.rs:464:13 [INFO] [stderr] | [INFO] [stderr] 464 | let compare = compare.as_str(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/lib.rs:466:13 [INFO] [stderr] | [INFO] [stderr] 466 | let value = match &value { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compare` [INFO] [stderr] --> src/lib.rs:526:13 [INFO] [stderr] | [INFO] [stderr] 526 | let compare = compare.as_str(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/lib.rs:528:13 [INFO] [stderr] | [INFO] [stderr] 528 | let value = match &value { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field_a` [INFO] [stderr] --> src/lib.rs:577:36 [INFO] [stderr] | [INFO] [stderr] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compare` [INFO] [stderr] --> src/lib.rs:577:51 [INFO] [stderr] | [INFO] [stderr] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field_b` [INFO] [stderr] --> src/lib.rs:577:66 [INFO] [stderr] | [INFO] [stderr] 577 | pub fn where_column(&mut self, field_a: &str, compare: &str, field_b: &str) -> &mut Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:613:27 [INFO] [stderr] | [INFO] [stderr] 613 | pub fn max(&mut self, field: &str) -> JsonValue { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:627:27 [INFO] [stderr] | [INFO] [stderr] 627 | pub fn min(&mut self, field: &str) -> JsonValue { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:641:27 [INFO] [stderr] | [INFO] [stderr] 641 | pub fn sum(&mut self, field: &str) -> JsonValue { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:655:27 [INFO] [stderr] | [INFO] [stderr] 655 | pub fn avg(&mut self, field: &str) -> JsonValue { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:697:29 [INFO] [stderr] | [INFO] [stderr] 697 | pub fn value(&mut self, field: &str) -> JsonValue { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/lib.rs:711:30 [INFO] [stderr] | [INFO] [stderr] 711 | pub fn insert(&mut self, data: JsonValue) -> JsonValue { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/lib.rs:726:13 [INFO] [stderr] | [INFO] [stderr] 726 | let data = if data.is_object() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> src/lib.rs:744:43 [INFO] [stderr] | [INFO] [stderr] 744 | pub fn page(&mut self, mut page: i32, limit: i32) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `page` is never read [INFO] [stderr] --> src/lib.rs:746:13 [INFO] [stderr] | [INFO] [stderr] 746 | page = 1; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/lib.rs:770:30 [INFO] [stderr] | [INFO] [stderr] 770 | pub fn update(&mut self, data: JsonValue) -> JsonValue { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/lib.rs:784:34 [INFO] [stderr] | [INFO] [stderr] 784 | pub fn update_all(&mut self, data: JsonValue) -> JsonValue { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:824:39 [INFO] [stderr] | [INFO] [stderr] 824 | pub fn database_create(&mut self, name: &str) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/lib.rs:837:31 [INFO] [stderr] | [INFO] [stderr] 837 | pub fn backups(&mut self, filename: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:881:29 [INFO] [stderr] | [INFO] [stderr] 881 | pub fn field(&mut self, name: &str) -> &mut Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:903:30 [INFO] [stderr] | [INFO] [stderr] 903 | pub fn hidden(&mut self, name: &str) -> &mut Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/lib.rs:968:27 [INFO] [stderr] | [INFO] [stderr] 968 | pub fn sql(&mut self, sql: &str) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/lib.rs:982:35 [INFO] [stderr] | [INFO] [stderr] 982 | pub fn sql_execute(&mut self, sql: &str) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:997:27 [INFO] [stderr] | [INFO] [stderr] 997 | pub fn inc(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/lib.rs:997:40 [INFO] [stderr] | [INFO] [stderr] 997 | pub fn inc(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/lib.rs:1020:27 [INFO] [stderr] | [INFO] [stderr] 1020 | pub fn dec(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/lib.rs:1020:40 [INFO] [stderr] | [INFO] [stderr] 1020 | pub fn dec(&mut self, field: &str, num: f64) -> &mut Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table` [INFO] [stderr] --> src/lib.rs:1060:28 [INFO] [stderr] | [INFO] [stderr] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `main_fields` [INFO] [stderr] --> src/lib.rs:1060:41 [INFO] [stderr] | [INFO] [stderr] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_fields` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `right_fields` [INFO] [stderr] --> src/lib.rs:1060:60 [INFO] [stderr] | [INFO] [stderr] 1060 | pub fn join(&mut self, table: &str, main_fields: &str, right_fields: &str) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_fields` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table` [INFO] [stderr] --> src/lib.rs:1088:34 [INFO] [stderr] | [INFO] [stderr] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `main_fields` [INFO] [stderr] --> src/lib.rs:1088:47 [INFO] [stderr] | [INFO] [stderr] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_fields` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `second_fields` [INFO] [stderr] --> src/lib.rs:1088:66 [INFO] [stderr] | [INFO] [stderr] 1088 | pub fn join_inner(&mut self, table: &str, main_fields: &str, second_fields: &str) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_fields` [INFO] [stderr] [INFO] [stderr] warning: `br-db` (lib) generated 50 warnings (run `cargo fix --lib -p br-db` to apply 48 suggestions) [INFO] [stderr] warning: `br-db` (lib test) generated 50 warnings (50 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/br_db-7568eb1dda53ad4d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test fields::test::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests br_db [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" "1e623dc681d52b692f26289fef33c6c177d4f6085b14d22321c21f51e05f844e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e623dc681d52b692f26289fef33c6c177d4f6085b14d22321c21f51e05f844e", kill_on_drop: false }` [INFO] [stdout] 1e623dc681d52b692f26289fef33c6c177d4f6085b14d22321c21f51e05f844e