[INFO] fetching crate br-db 1.8.23... [INFO] testing br-db-1.8.23 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate br-db 1.8.23 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate br-db 1.8.23 [INFO] finished tweaking crates.io crate br-db 1.8.23 [INFO] tweaked toml for crates.io crate br-db 1.8.23 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate br-db 1.8.23 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate br-db 1.8.23 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b089e29da6ea4cce901bc9f22d73821c12caeb7e3b8b3a077471b01a0bbbd34f [INFO] running `Command { std: "docker" "start" "-a" "b089e29da6ea4cce901bc9f22d73821c12caeb7e3b8b3a077471b01a0bbbd34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b089e29da6ea4cce901bc9f22d73821c12caeb7e3b8b3a077471b01a0bbbd34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b089e29da6ea4cce901bc9f22d73821c12caeb7e3b8b3a077471b01a0bbbd34f", kill_on_drop: false }` [INFO] [stdout] b089e29da6ea4cce901bc9f22d73821c12caeb7e3b8b3a077471b01a0bbbd34f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84c1735706b260dde898ec6f7275da0531658dff36c8ecd4513b9e9c3ad5302 [INFO] running `Command { std: "docker" "start" "-a" "a84c1735706b260dde898ec6f7275da0531658dff36c8ecd4513b9e9c3ad5302", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_core v0.9.2 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling br-fields v2.1.20 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling br-crypto v0.4.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling br-db v1.8.23 (/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: `compare` [INFO] [stdout] --> src/lib.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | 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: `field_a` [INFO] [stdout] --> src/lib.rs:519:36 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:51 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:66 [INFO] [stdout] | [INFO] [stdout] 519 | 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:555:27 [INFO] [stdout] | [INFO] [stdout] 555 | 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:569:27 [INFO] [stdout] | [INFO] [stdout] 569 | 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:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | 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:597:27 [INFO] [stdout] | [INFO] [stdout] 597 | 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:639:29 [INFO] [stdout] | [INFO] [stdout] 639 | 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:653:30 [INFO] [stdout] | [INFO] [stdout] 653 | 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:668:13 [INFO] [stdout] | [INFO] [stdout] 668 | 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: value assigned to `page` is never read [INFO] [stdout] --> src/lib.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | 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: `limit` [INFO] [stdout] --> src/lib.rs:686:43 [INFO] [stdout] | [INFO] [stdout] 686 | 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: unused variable: `data` [INFO] [stdout] --> src/lib.rs:712:30 [INFO] [stdout] | [INFO] [stdout] 712 | 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:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | 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:766:39 [INFO] [stdout] | [INFO] [stdout] 766 | 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:779:31 [INFO] [stdout] | [INFO] [stdout] 779 | 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:823:29 [INFO] [stdout] | [INFO] [stdout] 823 | 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:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | 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:910:27 [INFO] [stdout] | [INFO] [stdout] 910 | 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:924:35 [INFO] [stdout] | [INFO] [stdout] 924 | 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:939:27 [INFO] [stdout] | [INFO] [stdout] 939 | 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:939:40 [INFO] [stdout] | [INFO] [stdout] 939 | 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:962:27 [INFO] [stdout] | [INFO] [stdout] 962 | 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:962:40 [INFO] [stdout] | [INFO] [stdout] 962 | 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:1002:28 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1002:41 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1002:60 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1030:34 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1030:47 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1030:66 [INFO] [stdout] | [INFO] [stdout] 1030 | 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 17.95s [INFO] running `Command { std: "docker" "inspect" "a84c1735706b260dde898ec6f7275da0531658dff36c8ecd4513b9e9c3ad5302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84c1735706b260dde898ec6f7275da0531658dff36c8ecd4513b9e9c3ad5302", kill_on_drop: false }` [INFO] [stdout] a84c1735706b260dde898ec6f7275da0531658dff36c8ecd4513b9e9c3ad5302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 273b2e46684863e9ace1185dfd65082a38fc4859d41766741146ffe05717b563 [INFO] running `Command { std: "docker" "start" "-a" "273b2e46684863e9ace1185dfd65082a38fc4859d41766741146ffe05717b563", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling br-fields v2.1.20 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling br-crypto v0.4.6 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling br-db v1.8.23 (/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: `compare` [INFO] [stdout] --> src/lib.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | 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: `field_a` [INFO] [stdout] --> src/lib.rs:519:36 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:51 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:66 [INFO] [stdout] | [INFO] [stdout] 519 | 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:555:27 [INFO] [stdout] | [INFO] [stdout] 555 | 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:569:27 [INFO] [stdout] | [INFO] [stdout] 569 | 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:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | 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:597:27 [INFO] [stdout] | [INFO] [stdout] 597 | 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:639:29 [INFO] [stdout] | [INFO] [stdout] 639 | 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:653:30 [INFO] [stdout] | [INFO] [stdout] 653 | 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:668:13 [INFO] [stdout] | [INFO] [stdout] 668 | 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: value assigned to `page` is never read [INFO] [stdout] --> src/lib.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | 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: `limit` [INFO] [stdout] --> src/lib.rs:686:43 [INFO] [stdout] | [INFO] [stdout] 686 | 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: unused variable: `data` [INFO] [stdout] --> src/lib.rs:712:30 [INFO] [stdout] | [INFO] [stdout] 712 | 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:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | 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:766:39 [INFO] [stdout] | [INFO] [stdout] 766 | 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:779:31 [INFO] [stdout] | [INFO] [stdout] 779 | 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:823:29 [INFO] [stdout] | [INFO] [stdout] 823 | 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:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | 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:910:27 [INFO] [stdout] | [INFO] [stdout] 910 | 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:924:35 [INFO] [stdout] | [INFO] [stdout] 924 | 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:939:27 [INFO] [stdout] | [INFO] [stdout] 939 | 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:939:40 [INFO] [stdout] | [INFO] [stdout] 939 | 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:962:27 [INFO] [stdout] | [INFO] [stdout] 962 | 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:962:40 [INFO] [stdout] | [INFO] [stdout] 962 | 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:1002:28 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1002:41 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1002:60 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1030:34 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1030:47 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1030:66 [INFO] [stdout] | [INFO] [stdout] 1030 | 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] [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: `compare` [INFO] [stdout] --> src/lib.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | 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: `field_a` [INFO] [stdout] --> src/lib.rs:519:36 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:51 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:66 [INFO] [stdout] | [INFO] [stdout] 519 | 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:555:27 [INFO] [stdout] | [INFO] [stdout] 555 | 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:569:27 [INFO] [stdout] | [INFO] [stdout] 569 | 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:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | 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:597:27 [INFO] [stdout] | [INFO] [stdout] 597 | 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:639:29 [INFO] [stdout] | [INFO] [stdout] 639 | 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:653:30 [INFO] [stdout] | [INFO] [stdout] 653 | 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:668:13 [INFO] [stdout] | [INFO] [stdout] 668 | 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: value assigned to `page` is never read [INFO] [stdout] --> src/lib.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | 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: `limit` [INFO] [stdout] --> src/lib.rs:686:43 [INFO] [stdout] | [INFO] [stdout] 686 | 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: unused variable: `data` [INFO] [stdout] --> src/lib.rs:712:30 [INFO] [stdout] | [INFO] [stdout] 712 | 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:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | 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:766:39 [INFO] [stdout] | [INFO] [stdout] 766 | 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:779:31 [INFO] [stdout] | [INFO] [stdout] 779 | 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:823:29 [INFO] [stdout] | [INFO] [stdout] 823 | 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:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | 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:910:27 [INFO] [stdout] | [INFO] [stdout] 910 | 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:924:35 [INFO] [stdout] | [INFO] [stdout] 924 | 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:939:27 [INFO] [stdout] | [INFO] [stdout] 939 | 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:939:40 [INFO] [stdout] | [INFO] [stdout] 939 | 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:962:27 [INFO] [stdout] | [INFO] [stdout] 962 | 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:962:40 [INFO] [stdout] | [INFO] [stdout] 962 | 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:1002:28 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1002:41 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1002:60 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1030:34 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1030:47 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1030:66 [INFO] [stdout] | [INFO] [stdout] 1030 | 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 25.53s [INFO] running `Command { std: "docker" "inspect" "273b2e46684863e9ace1185dfd65082a38fc4859d41766741146ffe05717b563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273b2e46684863e9ace1185dfd65082a38fc4859d41766741146ffe05717b563", kill_on_drop: false }` [INFO] [stdout] 273b2e46684863e9ace1185dfd65082a38fc4859d41766741146ffe05717b563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c8792625f767b539c7fad416c719e8cd27546f90c550cb1c0e9bb534523e515 [INFO] running `Command { std: "docker" "start" "-a" "0c8792625f767b539c7fad416c719e8cd27546f90c550cb1c0e9bb534523e515", 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: `compare` [INFO] [stderr] --> src/lib.rs:497:13 [INFO] [stderr] | [INFO] [stderr] 497 | 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: `field_a` [INFO] [stderr] --> src/lib.rs:519:36 [INFO] [stderr] | [INFO] [stderr] 519 | 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:519:51 [INFO] [stderr] | [INFO] [stderr] 519 | 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:519:66 [INFO] [stderr] | [INFO] [stderr] 519 | 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:555:27 [INFO] [stderr] | [INFO] [stderr] 555 | 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:569:27 [INFO] [stderr] | [INFO] [stderr] 569 | 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:583:27 [INFO] [stderr] | [INFO] [stderr] 583 | 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:597:27 [INFO] [stderr] | [INFO] [stderr] 597 | 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:639:29 [INFO] [stderr] | [INFO] [stderr] 639 | 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:653:30 [INFO] [stderr] | [INFO] [stderr] 653 | 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:668:13 [INFO] [stderr] | [INFO] [stderr] 668 | let data = if data.is_object() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `page` is never read [INFO] [stderr] --> src/lib.rs:688:13 [INFO] [stderr] | [INFO] [stderr] 688 | 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: `limit` [INFO] [stderr] --> src/lib.rs:686:43 [INFO] [stderr] | [INFO] [stderr] 686 | 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: unused variable: `data` [INFO] [stderr] --> src/lib.rs:712:30 [INFO] [stderr] | [INFO] [stderr] 712 | 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:726:34 [INFO] [stderr] | [INFO] [stderr] 726 | 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:766:39 [INFO] [stderr] | [INFO] [stderr] 766 | 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:779:31 [INFO] [stderr] | [INFO] [stderr] 779 | 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:823:29 [INFO] [stderr] | [INFO] [stderr] 823 | 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:845:30 [INFO] [stderr] | [INFO] [stderr] 845 | 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:910:27 [INFO] [stderr] | [INFO] [stderr] 910 | 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:924:35 [INFO] [stderr] | [INFO] [stderr] 924 | 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:939:27 [INFO] [stderr] | [INFO] [stderr] 939 | 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:939:40 [INFO] [stderr] | [INFO] [stderr] 939 | 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:962:27 [INFO] [stderr] | [INFO] [stderr] 962 | 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:962:40 [INFO] [stderr] | [INFO] [stderr] 962 | 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:1002:28 [INFO] [stderr] | [INFO] [stderr] 1002 | 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:1002:41 [INFO] [stderr] | [INFO] [stderr] 1002 | 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:1002:60 [INFO] [stderr] | [INFO] [stderr] 1002 | 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:1030:34 [INFO] [stderr] | [INFO] [stderr] 1030 | 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:1030:47 [INFO] [stderr] | [INFO] [stderr] 1030 | 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:1030:66 [INFO] [stderr] | [INFO] [stderr] 1030 | 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 48 warnings (run `cargo fix --lib -p br-db` to apply 2 suggestions) [INFO] [stderr] warning: `br-db` (lib test) generated 48 warnings (48 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/br_db-8a7879d68add3748) [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" "0c8792625f767b539c7fad416c719e8cd27546f90c550cb1c0e9bb534523e515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8792625f767b539c7fad416c719e8cd27546f90c550cb1c0e9bb534523e515", kill_on_drop: false }` [INFO] [stdout] 0c8792625f767b539c7fad416c719e8cd27546f90c550cb1c0e9bb534523e515