[INFO] cloning repository https://github.com/grahame/dividebatur2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grahame/dividebatur2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrahame%2Fdividebatur2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrahame%2Fdividebatur2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfb61a616ded333aa58a76f974e14e58b4d4bc99 [INFO] testing grahame/dividebatur2 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrahame%2Fdividebatur2" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grahame/dividebatur2 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grahame/dividebatur2 [INFO] finished tweaking git repo https://github.com/grahame/dividebatur2 [INFO] tweaked toml for git repo https://github.com/grahame/dividebatur2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/grahame/dividebatur2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.90 [INFO] [stderr] Downloaded cc v1.0.35 [INFO] [stderr] Downloaded rayon v1.0.3 [INFO] [stderr] Downloaded csv v1.0.7 [INFO] [stderr] Downloaded serde v1.0.90 [INFO] [stderr] Downloaded flate2 v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb15d46d01c5078eb0b976f57c16170cf768148fe83cd9c32f0c7fee744a2d2d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb15d46d01c5078eb0b976f57c16170cf768148fe83cd9c32f0c7fee744a2d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb15d46d01c5078eb0b976f57c16170cf768148fe83cd9c32f0c7fee744a2d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb15d46d01c5078eb0b976f57c16170cf768148fe83cd9c32f0c7fee744a2d2d", kill_on_drop: false }` [INFO] [stdout] bb15d46d01c5078eb0b976f57c16170cf768148fe83cd9c32f0c7fee744a2d2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8e42b1e6000764994ede2792b9fd7d3a31fb3bb1032d29c9ab5ba225f9f4798 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e8e42b1e6000764994ede2792b9fd7d3a31fb3bb1032d29c9ab5ba225f9f4798", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling csv v1.0.7 [INFO] [stderr] Compiling dividebatur v0.3.1 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_parens)]` on by default [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:108:89 [INFO] [stdout] | [INFO] [stdout] 108 | 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] 108 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 108 + 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: 23 warnings emitted [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] = note: `#[warn(unused_parens)]` on by default [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:108:89 [INFO] [stdout] | [INFO] [stdout] 108 | 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] 108 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 108 + 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.28s [INFO] running `Command { std: "docker" "inspect" "e8e42b1e6000764994ede2792b9fd7d3a31fb3bb1032d29c9ab5ba225f9f4798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e42b1e6000764994ede2792b9fd7d3a31fb3bb1032d29c9ab5ba225f9f4798", kill_on_drop: false }` [INFO] [stdout] e8e42b1e6000764994ede2792b9fd7d3a31fb3bb1032d29c9ab5ba225f9f4798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b63ce6aa0b6ec1f6922fa837ef35532af5e36148b4c9f5b912458ef190012a5f [INFO] running `Command { std: "docker" "start" "-a" "b63ce6aa0b6ec1f6922fa837ef35532af5e36148b4c9f5b912458ef190012a5f", kill_on_drop: false }` [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] = note: `#[warn(unused_parens)]` on by default [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:108:89 [INFO] [stdout] | [INFO] [stdout] 108 | 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] 108 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 108 + 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dividebatur v0.3.1 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_parens)]` on by default [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: 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] = note: `#[warn(unused_parens)]` on by default [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/formalpreferences.rs:108:89 [INFO] [stdout] | [INFO] [stdout] 108 | 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] 108 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 108 + pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [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:108:89 [INFO] [stdout] | [INFO] [stdout] 108 | 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] 108 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] 108 + 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.30s [INFO] running `Command { std: "docker" "inspect" "b63ce6aa0b6ec1f6922fa837ef35532af5e36148b4c9f5b912458ef190012a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63ce6aa0b6ec1f6922fa837ef35532af5e36148b4c9f5b912458ef190012a5f", kill_on_drop: false }` [INFO] [stdout] b63ce6aa0b6ec1f6922fa837ef35532af5e36148b4c9f5b912458ef190012a5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 240400d77d815cb4a8b529f2e0144d1afae9145e77473cca91430eb1b92ccb06 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "240400d77d815cb4a8b529f2e0144d1afae9145e77473cca91430eb1b92ccb06", kill_on_drop: false }` [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] = note: `#[warn(unused_parens)]` on by default [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:108:89 [INFO] [stderr] | [INFO] [stderr] 108 | 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] 108 - pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stderr] 108 + 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 23 warnings [INFO] [stderr] warning: `dividebatur` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: `dividebatur` (bin "dividebatur" test) generated 23 warnings (23 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dividebatur-7e47e97e71cb5451) [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] Running unittests (/opt/rustwide/target/debug/deps/dividebatur-c9b94613865be7d9) [INFO] [stdout] [INFO] [stderr] Doc-tests dividebatur [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] 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] = note: `#[warn(unused_parens)]` on by default [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: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "240400d77d815cb4a8b529f2e0144d1afae9145e77473cca91430eb1b92ccb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240400d77d815cb4a8b529f2e0144d1afae9145e77473cca91430eb1b92ccb06", kill_on_drop: false }` [INFO] [stdout] 240400d77d815cb4a8b529f2e0144d1afae9145e77473cca91430eb1b92ccb06