[INFO] cloning repository https://github.com/michaelsproul/aus_senate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelsproul/aus_senate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelsproul%2Faus_senate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelsproul%2Faus_senate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9ec4823e57db9911d61a568a3d1c079e1fad152 [INFO] checking michaelsproul/aus_senate against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelsproul%2Faus_senate" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/michaelsproul/aus_senate [INFO] finished tweaking git repo https://github.com/michaelsproul/aus_senate [INFO] tweaked toml for git repo https://github.com/michaelsproul/aus_senate written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaelsproul/aus_senate on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michaelsproul/aus_senate already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.1.0 [INFO] [stderr] Downloaded rust-gmp v0.5.0 [INFO] [stderr] Downloaded num-traits v0.1.39 [INFO] [stderr] Downloaded serde_derive_internals v0.15.1 [INFO] [stderr] Downloaded thread-id v3.1.0 [INFO] [stderr] Downloaded memchr v1.0.1 [INFO] [stderr] Downloaded unwrap v1.1.0 [INFO] [stderr] Downloaded unreachable v0.1.1 [INFO] [stderr] Downloaded thread_local v0.3.3 [INFO] [stderr] Downloaded itertools v0.6.0 [INFO] [stderr] Downloaded csv-core v0.1.2 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded serde v1.0.8 [INFO] [stderr] Downloaded serde_derive v1.0.8 [INFO] [stderr] Downloaded libc v0.2.23 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded regex-syntax v0.4.1 [INFO] [stderr] Downloaded regex v0.2.2 [INFO] [stderr] Downloaded csv v1.0.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1f2072cfadfe8565164b33a30456ec68064cc9d4824e64b3e00675510d59361 [INFO] running `Command { std: "docker" "start" "-a" "d1f2072cfadfe8565164b33a30456ec68064cc9d4824e64b3e00675510d59361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f2072cfadfe8565164b33a30456ec68064cc9d4824e64b3e00675510d59361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f2072cfadfe8565164b33a30456ec68064cc9d4824e64b3e00675510d59361", kill_on_drop: false }` [INFO] [stdout] d1f2072cfadfe8565164b33a30456ec68064cc9d4824e64b3e00675510d59361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8958d7985a5699e2e0fe645694c7bd08443aed9233204ee6f8ba563dac7ee92d [INFO] running `Command { std: "docker" "start" "-a" "8958d7985a5699e2e0fe645694c7bd08443aed9233204ee6f8ba563dac7ee92d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking serde v1.0.8 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking num-traits v0.1.39 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking csv-core v0.1.2 [INFO] [stderr] Checking rust-gmp v0.5.0 [INFO] [stderr] Checking itertools v0.6.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking unwrap v1.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.8 [INFO] [stderr] Checking csv v1.0.0-beta.3 [INFO] [stderr] Checking aus_senate v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ballot_parse.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | InputError(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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | InputError(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/candidates2013.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(input: R) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(input: R) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/candidates2016.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse(input: R) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse(input: R) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/btl2013.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(input: R) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(input: R) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/gvt2013.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(input: R) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(input: R) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/gvt_usage2013.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(input: R) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(input: R) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/voting.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result> [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ballot_parse.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | InputError(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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | InputError(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/candidates2013.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(input: R) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(input: R) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/candidates2016.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse(input: R) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse(input: R) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/btl2013.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(input: R) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(input: R) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/gvt2013.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(input: R) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(input: R) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/gvt_usage2013.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(input: R) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(input: R) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/voting.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result> [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/election2016.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/election2016.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vote_map.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut info = self.info.get_mut(&continuing_id).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vote_map.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut info = self.info.get_mut(&continuing_id).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elected` and `historic_elected` are never read [INFO] [stdout] --> src/parse/candidates2013.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct CandidateRow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | elected: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | historic_elected: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parse/candidates2016.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct CandidateRow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | txn_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | div_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | ticket: String, [INFO] [stdout] 10 | ballot_position: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | address_1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | address_2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | postcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | suburb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | contact_mobile_no: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | contact_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `electorate_name`, `vote_collection_point`, `vote_collection_point_id`, `batch_num`, and `paper_num` are never read [INFO] [stdout] --> src/parse/prefs2016.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PrefRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | #[serde(rename = "ElectorateNm")] [INFO] [stdout] 8 | electorate_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | #[serde(rename = "VoteCollectionPointNm")] [INFO] [stdout] 10 | vote_collection_point: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[serde(rename = "VoteCollectionPointId")] [INFO] [stdout] 12 | vote_collection_point_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | #[serde(rename = "BatchNo")] [INFO] [stdout] 14 | batch_num: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | #[serde(rename = "PaperNo")] [INFO] [stdout] 16 | paper_num: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parse/gvt2013.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct GVTRow { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | state: String, [INFO] [stdout] 10 | owner_group: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | owner_group_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | owner_ticket: String, [INFO] [stdout] 13 | ticket_num: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | candidate_id: CandidateId, [INFO] [stdout] 15 | candidate_ticket: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | surname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | ballot_pos: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | party_ab: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | party_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GVTRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group_ab`, `group_name`, `ticket_percentage`, `non_ticket_votes`, `non_ticket_percentage`, and `total_votes` are never read [INFO] [stdout] --> src/parse/gvt_usage2013.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct GVTUsageRow { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | group_ab: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | group_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | ticket_votes: u32, [INFO] [stdout] 13 | ticket_percentage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | non_ticket_votes: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | non_ticket_percentage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | total_votes: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GVTUsageRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/candidates2013.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CandidateRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CandidateRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/candidates2016.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CandidateRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CandidateRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/prefs2016.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PrefRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PrefRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/btl2013.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BTLRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BTLRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/gvt2013.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GVTRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GVTRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/gvt_usage2013.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GVTUsageRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GVTUsageRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/candidate.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Candidate` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Candidate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/candidate.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CandidateName` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CandidateName` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/exhausted_votes.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ExhaustedVoteRow` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExhaustedVoteRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elected` and `historic_elected` are never read [INFO] [stdout] --> src/parse/candidates2013.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct CandidateRow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | elected: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | historic_elected: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parse/candidates2016.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct CandidateRow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | txn_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | div_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | ticket: String, [INFO] [stdout] 10 | ballot_position: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | address_1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | address_2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | postcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | suburb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | contact_mobile_no: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | contact_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CandidateRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `electorate_name`, `vote_collection_point`, `vote_collection_point_id`, `batch_num`, and `paper_num` are never read [INFO] [stdout] --> src/parse/prefs2016.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PrefRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | #[serde(rename = "ElectorateNm")] [INFO] [stdout] 8 | electorate_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | #[serde(rename = "VoteCollectionPointNm")] [INFO] [stdout] 10 | vote_collection_point: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[serde(rename = "VoteCollectionPointId")] [INFO] [stdout] 12 | vote_collection_point_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | #[serde(rename = "BatchNo")] [INFO] [stdout] 14 | batch_num: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | #[serde(rename = "PaperNo")] [INFO] [stdout] 16 | paper_num: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parse/gvt2013.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct GVTRow { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | state: String, [INFO] [stdout] 10 | owner_group: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | owner_group_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | owner_ticket: String, [INFO] [stdout] 13 | ticket_num: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | candidate_id: CandidateId, [INFO] [stdout] 15 | candidate_ticket: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | surname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | ballot_pos: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | party_ab: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | party_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GVTRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group_ab`, `group_name`, `ticket_percentage`, `non_ticket_votes`, `non_ticket_percentage`, and `total_votes` are never read [INFO] [stdout] --> src/parse/gvt_usage2013.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct GVTUsageRow { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | group_ab: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | group_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | ticket_votes: u32, [INFO] [stdout] 13 | ticket_percentage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | non_ticket_votes: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | non_ticket_percentage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | total_votes: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GVTUsageRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/candidates2013.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CandidateRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CandidateRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/candidates2016.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CandidateRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CandidateRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/prefs2016.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PrefRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PrefRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/btl2013.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BTLRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BTLRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/gvt2013.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GVTRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GVTRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parse/gvt_usage2013.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GVTUsageRow` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GVTUsageRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/candidate.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Candidate` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Candidate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/candidate.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CandidateName` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CandidateName` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/exhausted_votes.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ExhaustedVoteRow` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExhaustedVoteRow` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/election2016.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | fn main_with_result() -> 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn main_with_result() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/election2016.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | fn main_with_result() -> 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn main_with_result() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.77s [INFO] running `Command { std: "docker" "inspect" "8958d7985a5699e2e0fe645694c7bd08443aed9233204ee6f8ba563dac7ee92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8958d7985a5699e2e0fe645694c7bd08443aed9233204ee6f8ba563dac7ee92d", kill_on_drop: false }` [INFO] [stdout] 8958d7985a5699e2e0fe645694c7bd08443aed9233204ee6f8ba563dac7ee92d