[INFO] fetching crate dividebatur 0.2.1... [INFO] testing dividebatur-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dividebatur 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate dividebatur 0.2.1 [INFO] finished tweaking crates.io crate dividebatur 0.2.1 [INFO] tweaked toml for crates.io crate dividebatur 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dividebatur 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding tempfile v2.2.0 (available: v3.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Downloading crates ... [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58546a58cb8111630f34409c4b707bf0dfc58186c4c187e3e84ecdc23761a9e6 [INFO] running `Command { std: "docker" "start" "-a" "58546a58cb8111630f34409c4b707bf0dfc58186c4c187e3e84ecdc23761a9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58546a58cb8111630f34409c4b707bf0dfc58186c4c187e3e84ecdc23761a9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58546a58cb8111630f34409c4b707bf0dfc58186c4c187e3e84ecdc23761a9e6", kill_on_drop: false }` [INFO] [stdout] 58546a58cb8111630f34409c4b707bf0dfc58186c4c187e3e84ecdc23761a9e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a7c5bd104f76e671c43935f3351f9c98ededbe949f4b7a38ced267cf30ba423a [INFO] running `Command { std: "docker" "start" "-a" "a7c5bd104f76e671c43935f3351f9c98ededbe949f4b7a38ced267cf30ba423a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling dividebatur v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AECAllCandidateRow { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | contact_mobile_no: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct DistributionOutcome { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 32 | votes_exhausted: u32, [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AECAllCandidateRow { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | contact_mobile_no: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/engine.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | CountContinues(usize, CountState), [INFO] [stdout] | -------------- ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CountOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 - CountContinues(usize, CountState), [INFO] [stdout] 11 + CountContinues((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stdout] --> src/engine.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CountState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub votes_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub papers_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct DistributionOutcome { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 32 | votes_exhausted: u32, [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.71s [INFO] running `Command { std: "docker" "inspect" "a7c5bd104f76e671c43935f3351f9c98ededbe949f4b7a38ced267cf30ba423a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c5bd104f76e671c43935f3351f9c98ededbe949f4b7a38ced267cf30ba423a", kill_on_drop: false }` [INFO] [stdout] a7c5bd104f76e671c43935f3351f9c98ededbe949f4b7a38ced267cf30ba423a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 32b2a38c27f460a121fc9c1d615571b7af041c668e761c1c7a0298e43ece0062 [INFO] running `Command { std: "docker" "start" "-a" "32b2a38c27f460a121fc9c1d615571b7af041c668e761c1c7a0298e43ece0062", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling dividebatur v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AECAllCandidateRow { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | contact_mobile_no: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct DistributionOutcome { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 32 | votes_exhausted: u32, [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/aec/data/candidates.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok((rows)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - Ok((rows)) [INFO] [stdout] 67 + Ok(rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine.rs:304:80 [INFO] [stdout] | [INFO] [stdout] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/candidates.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | 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/formalpreferences.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AECAllCandidateRow { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | contact_mobile_no: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct DistributionOutcome { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 32 | votes_exhausted: u32, [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] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/aec/data/candidates.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AECAllCandidateRow { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | txn_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | div_nm: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | occupation: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | address_1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | address_2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | postcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | suburb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | address_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | contact_work_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | contact_home_ph: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | postal_address_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | postal_address_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | postal_suburb: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | postal_postcode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | contact_fax: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | postal_state_ab: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | contact_mobile_no: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/engine.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | CountContinues(usize, CountState), [INFO] [stdout] | -------------- ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CountOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 - CountContinues(usize, CountState), [INFO] [stdout] 11 + CountContinues((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stdout] --> src/engine.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CountState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub votes_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub papers_exhausted: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stdout] --> src/engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct DistributionOutcome { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 32 | votes_exhausted: u32, [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "32b2a38c27f460a121fc9c1d615571b7af041c668e761c1c7a0298e43ece0062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b2a38c27f460a121fc9c1d615571b7af041c668e761c1c7a0298e43ece0062", kill_on_drop: false }` [INFO] [stdout] 32b2a38c27f460a121fc9c1d615571b7af041c668e761c1c7a0298e43ece0062 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1528a0212cb23b7a0a70356627dc3ff748c4741f1a5b45a66c47ec94421cfc01 [INFO] running `Command { std: "docker" "start" "-a" "1528a0212cb23b7a0a70356627dc3ff748c4741f1a5b45a66c47ec94421cfc01", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/aec/data/candidates.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | Ok((rows)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 67 - Ok((rows)) [INFO] [stderr] 67 + Ok(rows) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/engine.rs:304:80 [INFO] [stderr] | [INFO] [stderr] 304 | fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 304 - fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] 304 + fn find_tie_breaker(&self, candidates: &Vec) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] [INFO] [stderr] --> src/aec/data/candidates.rs:42:81 [INFO] [stdout] running 1 test [INFO] [stderr] | [INFO] [stdout] test aec::data::formalpreferences::tests::it_works ... ok [INFO] [stderr] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stdout] [INFO] [stderr] | ^^^^^ [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 | pub fn load(filename: &str, state: &str) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aec/data/formalpreferences.rs:107:89 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] 107 | pub fn load(filename: &str, candidates: &CandidateData) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/aec/data/candidates.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct AECAllCandidateRow { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | txn_nm: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | div_nm: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 24 | occupation: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 25 | address_1: String, [INFO] [stdout] test aec::data::formalpreferences::tests::it_works ... ok [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] 26 | address_2: String, [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] 27 | postcode: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 28 | suburb: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | address_state_ab: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 30 | contact_work_ph: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 31 | contact_home_ph: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 32 | postal_address_1: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | postal_address_2: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | postal_suburb: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 35 | postal_postcode: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 36 | contact_fax: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 37 | postal_state_ab: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 38 | contact_mobile_no: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stderr] --> src/engine.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | struct DistributionOutcome { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 32 | votes_exhausted: u32, [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] [INFO] [stderr] warning: `dividebatur` (lib) generated 6 warnings (run `cargo fix --lib -p dividebatur` to apply 4 suggestions) [INFO] [stderr] warning: `dividebatur` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/engine.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | CountContinues(usize, CountState), [INFO] [stderr] | -------------- ^^^^^ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CountOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 11 - CountContinues(usize, CountState), [INFO] [stderr] 11 + CountContinues((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `votes_exhausted` and `papers_exhausted` are never read [INFO] [stderr] --> src/engine.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct CountState { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 26 | pub votes_exhausted: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | pub papers_exhausted: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CountState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `dividebatur` (bin "dividebatur" test) generated 8 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dividebatur-7fdf411c432602da) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dividebatur-b09034ebfb3c18f4) [INFO] running `Command { std: "docker" "inspect" "1528a0212cb23b7a0a70356627dc3ff748c4741f1a5b45a66c47ec94421cfc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1528a0212cb23b7a0a70356627dc3ff748c4741f1a5b45a66c47ec94421cfc01", kill_on_drop: false }` [INFO] [stdout] 1528a0212cb23b7a0a70356627dc3ff748c4741f1a5b45a66c47ec94421cfc01