[INFO] fetching crate dividebatur 0.2.1... [INFO] testing dividebatur-0.2.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate dividebatur 0.2.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate dividebatur 0.2.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dividebatur 0.2.1 [INFO] finished tweaking crates.io crate dividebatur 0.2.1 [INFO] tweaked toml for crates.io crate dividebatur 0.2.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1d7fae4f6e1c391d6107ad21b94010712b7387505782ae1f06dcbe0221e8d4 [INFO] running `Command { std: "docker" "start" "-a" "ff1d7fae4f6e1c391d6107ad21b94010712b7387505782ae1f06dcbe0221e8d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1d7fae4f6e1c391d6107ad21b94010712b7387505782ae1f06dcbe0221e8d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1d7fae4f6e1c391d6107ad21b94010712b7387505782ae1f06dcbe0221e8d4", kill_on_drop: false }` [INFO] [stdout] ff1d7fae4f6e1c391d6107ad21b94010712b7387505782ae1f06dcbe0221e8d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7cb05f235803601a0c9fe605368bf9157df6b9cb89df4f6eb8a561684b949d0 [INFO] running `Command { std: "docker" "start" "-a" "a7cb05f235803601a0c9fe605368bf9157df6b9cb89df4f6eb8a561684b949d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling dividebatur v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] 42 + pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 107 + pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `votes_exhausted` [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | votes_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `papers_exhausted` [INFO] [stdout] --> src/engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | papers_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `txn_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `div_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occupation` [INFO] [stdout] --> src/aec/data/candidates.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_work_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_home_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_fax` [INFO] [stdout] --> src/aec/data/candidates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_mobile_no` [INFO] [stdout] --> src/aec/data/candidates.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | contact_mobile_no: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_email` [INFO] [stdout] --> src/aec/data/candidates.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | contact_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] 42 + pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 107 + pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `votes_exhausted` [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | votes_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `papers_exhausted` [INFO] [stdout] --> src/engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | papers_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `txn_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `div_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occupation` [INFO] [stdout] --> src/aec/data/candidates.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_work_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_home_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_fax` [INFO] [stdout] --> src/aec/data/candidates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_mobile_no` [INFO] [stdout] --> src/aec/data/candidates.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | contact_mobile_no: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_email` [INFO] [stdout] --> src/aec/data/candidates.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | contact_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.16s [INFO] running `Command { std: "docker" "inspect" "a7cb05f235803601a0c9fe605368bf9157df6b9cb89df4f6eb8a561684b949d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7cb05f235803601a0c9fe605368bf9157df6b9cb89df4f6eb8a561684b949d0", kill_on_drop: false }` [INFO] [stdout] a7cb05f235803601a0c9fe605368bf9157df6b9cb89df4f6eb8a561684b949d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e52570afc239ed77d48db492975bd833f535eeacc9308ffaf9d0c7e7cfaf42b [INFO] running `Command { std: "docker" "start" "-a" "1e52570afc239ed77d48db492975bd833f535eeacc9308ffaf9d0c7e7cfaf42b", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] 42 + pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 107 + pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `votes_exhausted` [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | votes_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `papers_exhausted` [INFO] [stdout] --> src/engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | papers_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `txn_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dividebatur v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `div_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occupation` [INFO] [stdout] --> src/aec/data/candidates.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_work_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_home_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_fax` [INFO] [stdout] --> src/aec/data/candidates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_mobile_no` [INFO] [stdout] --> src/aec/data/candidates.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | contact_mobile_no: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_email` [INFO] [stdout] --> src/aec/data/candidates.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | contact_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] 42 + pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 107 + pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] 42 + pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 107 + pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `votes_exhausted` [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | votes_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `papers_exhausted` [INFO] [stdout] --> src/engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | papers_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `txn_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `div_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occupation` [INFO] [stdout] --> src/aec/data/candidates.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_work_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_home_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_fax` [INFO] [stdout] --> src/aec/data/candidates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_mobile_no` [INFO] [stdout] --> src/aec/data/candidates.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | contact_mobile_no: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_email` [INFO] [stdout] --> src/aec/data/candidates.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | contact_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `votes_exhausted` [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | votes_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `papers_exhausted` [INFO] [stdout] --> src/engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | papers_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `txn_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `div_nm` [INFO] [stdout] --> src/aec/data/candidates.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occupation` [INFO] [stdout] --> src/aec/data/candidates.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_work_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_home_ph` [INFO] [stdout] --> src/aec/data/candidates.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_1` [INFO] [stdout] --> src/aec/data/candidates.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_address_2` [INFO] [stdout] --> src/aec/data/candidates.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_suburb` [INFO] [stdout] --> src/aec/data/candidates.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_postcode` [INFO] [stdout] --> src/aec/data/candidates.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_fax` [INFO] [stdout] --> src/aec/data/candidates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `postal_state_ab` [INFO] [stdout] --> src/aec/data/candidates.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_mobile_no` [INFO] [stdout] --> src/aec/data/candidates.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | contact_mobile_no: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contact_email` [INFO] [stdout] --> src/aec/data/candidates.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | contact_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aec/data/candidates.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dividebatur-cf89fbf657ff2fff) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dividebatur-88eb4ae0eab65fa8) [INFO] running `Command { std: "docker" "inspect" "1e52570afc239ed77d48db492975bd833f535eeacc9308ffaf9d0c7e7cfaf42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e52570afc239ed77d48db492975bd833f535eeacc9308ffaf9d0c7e7cfaf42b", kill_on_drop: false }` [INFO] [stdout] 1e52570afc239ed77d48db492975bd833f535eeacc9308ffaf9d0c7e7cfaf42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a297e33c024d93ed42c9ac6baa61aa2764db7d1f4370e72eee0af6fd992ff8e [INFO] running `Command { std: "docker" "start" "-a" "5a297e33c024d93ed42c9ac6baa61aa2764db7d1f4370e72eee0af6fd992ff8e", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/aec/data/candidates.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | Ok((rows)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 67 - Ok((rows)) [INFO] [stderr] 67 + Ok(rows) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/engine.rs:304:80 [INFO] [stderr] | [INFO] [stderr] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aec/data/candidates.rs:42:81 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stderr] 42 + pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 107 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stderr] 107 + pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `votes_exhausted` [INFO] [stderr] --> src/engine.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | votes_exhausted: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/engine.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `papers_exhausted` [INFO] [stderr] --> src/engine.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | papers_exhausted: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DistributionOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/engine.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `txn_nm` [INFO] [stderr] --> src/aec/data/candidates.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | txn_nm: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `div_nm` [INFO] [stderr] --> src/aec/data/candidates.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | div_nm: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `occupation` [INFO] [stderr] --> src/aec/data/candidates.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | occupation: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `address_1` [INFO] [stderr] --> src/aec/data/candidates.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | address_1: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `address_2` [INFO] [stderr] --> src/aec/data/candidates.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | address_2: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `postcode` [INFO] [stderr] --> src/aec/data/candidates.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | postcode: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `suburb` [INFO] [stderr] --> src/aec/data/candidates.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | suburb: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `address_state_ab` [INFO] [stderr] --> src/aec/data/candidates.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | address_state_ab: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contact_work_ph` [INFO] [stderr] --> src/aec/data/candidates.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | contact_work_ph: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contact_home_ph` [INFO] [stderr] --> src/aec/data/candidates.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | contact_home_ph: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `postal_address_1` [INFO] [stderr] --> src/aec/data/candidates.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | postal_address_1: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `postal_address_2` [INFO] [stderr] --> src/aec/data/candidates.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | postal_address_2: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `postal_suburb` [INFO] [stderr] --> src/aec/data/candidates.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | postal_suburb: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `postal_postcode` [INFO] [stderr] --> src/aec/data/candidates.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | postal_postcode: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contact_fax` [INFO] [stderr] --> src/aec/data/candidates.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | contact_fax: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `postal_state_ab` [INFO] [stderr] --> src/aec/data/candidates.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | postal_state_ab: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contact_mobile_no` [INFO] [stderr] --> src/aec/data/candidates.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | contact_mobile_no: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contact_email` [INFO] [stderr] --> src/aec/data/candidates.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | contact_email: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AECAllCandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/aec/data/candidates.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dividebatur` (lib) generated 24 warnings [INFO] [stderr] warning: `dividebatur` (lib test) generated 24 warnings (24 duplicates) [INFO] [stdout] [INFO] [stderr] warning: `dividebatur` (bin "dividebatur" test) generated 24 warnings (24 duplicates) [INFO] [stdout] running 1 test [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] test aec::data::formalpreferences::tests::it_works ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dividebatur-cf89fbf657ff2fff) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dividebatur-88eb4ae0eab65fa8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test aec::data::formalpreferences::tests::it_works ... 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 dividebatur [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/aec/data/candidates.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | Ok((rows)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 67 - Ok((rows)) [INFO] [stderr] 67 + Ok(rows) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/engine.rs:304:80 [INFO] [stderr] | [INFO] [stderr] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a297e33c024d93ed42c9ac6baa61aa2764db7d1f4370e72eee0af6fd992ff8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a297e33c024d93ed42c9ac6baa61aa2764db7d1f4370e72eee0af6fd992ff8e", kill_on_drop: false }` [INFO] [stdout] 5a297e33c024d93ed42c9ac6baa61aa2764db7d1f4370e72eee0af6fd992ff8e