[INFO] cloning repository https://github.com/de-mo/rust_verifier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/de-mo/rust_verifier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-mo%2Frust_verifier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-mo%2Frust_verifier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5fa3802e9ca7078c17f9c0ff06800572fa7ec9e [INFO] checking de-mo/rust_verifier against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-mo%2Frust_verifier" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-mo/rust_verifier on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/de-mo/rust_verifier [INFO] finished tweaking git repo https://github.com/de-mo/rust_verifier [INFO] tweaked toml for git repo https://github.com/de-mo/rust_verifier written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/de-mo/rust_verifier 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rug v1.24.0 [INFO] [stderr] Downloaded rust_ev_crypto_primitives v0.5.4 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.6.2 [INFO] [stderr] Downloaded rug-miller-rabin v0.1.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1346b713f6e4758541be6d793265e131c93536e02321ca6aa6442f7a1f44e2b [INFO] running `Command { std: "docker" "start" "-a" "f1346b713f6e4758541be6d793265e131c93536e02321ca6aa6442f7a1f44e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1346b713f6e4758541be6d793265e131c93536e02321ca6aa6442f7a1f44e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1346b713f6e4758541be6d793265e131c93536e02321ca6aa6442f7a1f44e2b", kill_on_drop: false }` [INFO] [stdout] f1346b713f6e4758541be6d793265e131c93536e02321ca6aa6442f7a1f44e2b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08335efc158a390c100ae5a9b896da6a1fbb577099261a18ebb25c3a661026a8 [INFO] running `Command { std: "docker" "start" "-a" "08335efc158a390c100ae5a9b896da6a1fbb577099261a18ebb25c3a661026a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rug v1.24.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling enum-kinds v0.5.1 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking rug-miller-rabin v0.1.0 [INFO] [stderr] Checking rust_ev_crypto_primitives v0.5.4 [INFO] [stderr] Checking rust_verifier v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking ev_system_library v0.1.0 (/opt/rustwide/workdir/ev_system_library) [INFO] [stdout] warning: unused import: `CONFIG_TEST` [INFO] [stdout] --> src/data_structures/tally/tally_component_shuffle_payload.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | use crate::config::test::{test_ballot_box_path, CONFIG_TEST}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `test_datasets_setup_path` and `test_datasets_tally_path` [INFO] [stdout] --> src/file_structure/mod.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | test_datasets_setup_path, test_datasets_tally_path, test_setup_verification_card_set_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/application_runner/runner.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Runner<'a, T: RunStrategy<'a>> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 91 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ElementNode { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | schema: &'static Schema<'static>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unwrap_complex_type` and `unwrap_native` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ElementNodeKind { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unwrap_complex_type(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn unwrap_native(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_choice`, `try_unwrap_choice`, and `unwrap_choice` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl ComplexTypeChildKind { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn is_choice(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn try_unwrap_choice(&self) -> anyhow::Result<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | fn unwrap_choice(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_schema_type`, `min_occurs`, `max_occurs`, `children_of_sequence_or_choice`, and `children_complex_type` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 397 | trait AdditionalMethodsRoxmlNode<'a>: Sized { [INFO] [stdout] | -------------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 441 | fn is_schema_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | fn min_occurs(&'a self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | fn max_occurs(&'a self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | fn children_of_sequence_or_choice(&'a self) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn children_complex_type(&'a self) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsAllPeriod` is never constructed [INFO] [stdout] --> src/verification/manual.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct ManualVerificationsAllPeriod<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsSetup` is never constructed [INFO] [stdout] --> src/verification/manual.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ManualVerificationsSetup<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsTally` is never constructed [INFO] [stdout] --> src/verification/manual.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct ManualVerificationsTally<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ManualVerifications` is never used [INFO] [stdout] --> src/verification/manual.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | enum ManualVerifications<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsAllPeriod<'a, D> { [INFO] [stdout] | --------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new(directory: &'a D, config: &'static Config) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsSetup<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 110 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsTally<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 136 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a, D: VerificationDirectoryTrait> ManualVerifications<'a, D> { [INFO] [stdout] | ------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 162 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VotingServer` is never constructed [INFO] [stdout] --> src/direct_trust.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum CertificateAuthority { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | VotingServer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CertificateAuthority` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter` is never used [INFO] [stdout] --> src/direct_trust.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CertificateAuthority { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn iter() -> Iter<'static, CertificateAuthority> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign` is never used [INFO] [stdout] --> src/direct_trust.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait VerifiySignatureTrait<'a> [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 153 | fn sign(&'a self, keystore: &Keystore) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CONFIG_TEST` [INFO] [stdout] --> src/data_structures/tally/tally_component_shuffle_payload.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | use crate::config::test::{test_ballot_box_path, CONFIG_TEST}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `test_datasets_setup_path` and `test_datasets_tally_path` [INFO] [stdout] --> src/file_structure/mod.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | test_datasets_setup_path, test_datasets_tally_path, test_setup_verification_card_set_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/application_runner/runner.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Runner<'a, T: RunStrategy<'a>> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 91 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_test_verifier_mock_tally_dir` is never used [INFO] [stdout] --> src/config.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub(crate) fn get_test_verifier_mock_tally_dir() -> MockVerificationDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ElementNode { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | schema: &'static Schema<'static>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unwrap_complex_type` and `unwrap_native` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ElementNodeKind { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unwrap_complex_type(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn unwrap_native(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_choice` is never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 225 | impl ComplexTypeChildKind { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | fn unwrap_choice(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_schema_type` is never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 397 | trait AdditionalMethodsRoxmlNode<'a>: Sized { [INFO] [stdout] | -------------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 441 | fn is_schema_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsAllPeriod` is never constructed [INFO] [stdout] --> src/verification/manual.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct ManualVerificationsAllPeriod<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsSetup` is never constructed [INFO] [stdout] --> src/verification/manual.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ManualVerificationsSetup<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsTally` is never constructed [INFO] [stdout] --> src/verification/manual.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct ManualVerificationsTally<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ManualVerifications` is never used [INFO] [stdout] --> src/verification/manual.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | enum ManualVerifications<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsAllPeriod<'a, D> { [INFO] [stdout] | --------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new(directory: &'a D, config: &'static Config) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsSetup<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 110 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsTally<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 136 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a, D: VerificationDirectoryTrait> ManualVerifications<'a, D> { [INFO] [stdout] | ------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 162 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter` is never used [INFO] [stdout] --> src/direct_trust.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CertificateAuthority { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn iter() -> Iter<'static, CertificateAuthority> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/application_runner/runner.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Runner<'a, T: RunStrategy<'a>> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 91 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_date` and `partial_delivery` are never read [INFO] [stdout] --> src/data_structures/context/election_event_configuration.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ConfigHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | pub file_date: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub voter_total: usize, [INFO] [stdout] 33 | pub partial_delivery: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `voter_from` and `voter_to` are never read [INFO] [stdout] --> src/data_structures/context/election_event_configuration.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PartialDelivery { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 39 | pub voter_from: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | pub voter_to: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartialDelivery` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ElementNode { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | schema: &'static Schema<'static>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unwrap_complex_type` and `unwrap_native` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ElementNodeKind { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unwrap_complex_type(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn unwrap_native(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_choice`, `try_unwrap_choice`, and `unwrap_choice` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl ComplexTypeChildKind { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn is_choice(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn try_unwrap_choice(&self) -> anyhow::Result<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | fn unwrap_choice(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_schema_type`, `min_occurs`, `max_occurs`, `children_of_sequence_or_choice`, and `children_complex_type` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 397 | trait AdditionalMethodsRoxmlNode<'a>: Sized { [INFO] [stdout] | -------------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 441 | fn is_schema_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | fn min_occurs(&'a self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | fn max_occurs(&'a self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | fn children_of_sequence_or_choice(&'a self) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn children_complex_type(&'a self) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VotingServer` is never constructed [INFO] [stdout] --> src/direct_trust.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum CertificateAuthority { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | VotingServer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CertificateAuthority` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter` is never used [INFO] [stdout] --> src/direct_trust.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CertificateAuthority { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn iter() -> Iter<'static, CertificateAuthority> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign` is never used [INFO] [stdout] --> src/direct_trust.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait VerifiySignatureTrait<'a> [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 153 | fn sign(&'a self, keystore: &Keystore) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_pos` is never used [INFO] [stdout] --> src/file_structure/file_group.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FileGroupIterTrait: Iterator { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] 12 | fn current_elt(&self) -> Option; [INFO] [stdout] 13 | fn current_pos(&self) -> &usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bb_directory_names` is never used [INFO] [stdout] --> src/file_structure/tally_directory.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait TallyDirectoryTrait: CompletnessTestTrait { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn bb_directory_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tally_component_votes_payload_file` is never used [INFO] [stdout] --> src/file_structure/tally_directory.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait BBDirectoryTrait: CompletnessTestTrait { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 78 | fn tally_component_votes_payload_file(&self) -> &File; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_tally` is never used [INFO] [stdout] --> src/verification/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl VerificationPeriod { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_tally(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsAllPeriod` is never constructed [INFO] [stdout] --> src/verification/manual.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct ManualVerificationsAllPeriod<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsSetup` is never constructed [INFO] [stdout] --> src/verification/manual.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ManualVerificationsSetup<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsTally` is never constructed [INFO] [stdout] --> src/verification/manual.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct ManualVerificationsTally<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ManualVerifications` is never used [INFO] [stdout] --> src/verification/manual.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | enum ManualVerifications<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsAllPeriod<'a, D> { [INFO] [stdout] | --------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new(directory: &'a D, config: &'static Config) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsSetup<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 110 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsTally<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 136 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a, D: VerificationDirectoryTrait> ManualVerifications<'a, D> { [INFO] [stdout] | ------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 162 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_vec` and `from_verification_event` are never used [INFO] [stdout] --> src/verification/result.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl VerificationResult { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn from_vec(list: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn from_verification_event(event: VerificationEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/application_runner/runner.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Runner<'a, T: RunStrategy<'a>> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 91 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_test_verifier_mock_tally_dir` is never used [INFO] [stdout] --> src/config.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub(crate) fn get_test_verifier_mock_tally_dir() -> MockVerificationDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_date` and `partial_delivery` are never read [INFO] [stdout] --> src/data_structures/context/election_event_configuration.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ConfigHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | pub file_date: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub voter_total: usize, [INFO] [stdout] 33 | pub partial_delivery: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `voter_from` and `voter_to` are never read [INFO] [stdout] --> src/data_structures/context/election_event_configuration.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PartialDelivery { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 39 | pub voter_from: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | pub voter_to: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartialDelivery` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ElementNode { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | schema: &'static Schema<'static>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unwrap_complex_type` and `unwrap_native` are never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ElementNodeKind { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unwrap_complex_type(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn unwrap_native(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_choice` is never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 225 | impl ComplexTypeChildKind { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | fn unwrap_choice(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_schema_type` is never used [INFO] [stdout] --> src/data_structures/xml/schema_tree.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 397 | trait AdditionalMethodsRoxmlNode<'a>: Sized { [INFO] [stdout] | -------------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 441 | fn is_schema_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter` is never used [INFO] [stdout] --> src/direct_trust.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CertificateAuthority { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn iter() -> Iter<'static, CertificateAuthority> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bb_directory_names` is never used [INFO] [stdout] --> src/file_structure/tally_directory.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait TallyDirectoryTrait: CompletnessTestTrait { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn bb_directory_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_tally` is never used [INFO] [stdout] --> src/verification/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl VerificationPeriod { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_tally(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsAllPeriod` is never constructed [INFO] [stdout] --> src/verification/manual.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct ManualVerificationsAllPeriod<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsSetup` is never constructed [INFO] [stdout] --> src/verification/manual.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ManualVerificationsSetup<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManualVerificationsTally` is never constructed [INFO] [stdout] --> src/verification/manual.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct ManualVerificationsTally<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ManualVerifications` is never used [INFO] [stdout] --> src/verification/manual.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | enum ManualVerifications<'a, D: VerificationDirectoryTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsAllPeriod<'a, D> { [INFO] [stdout] | --------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new(directory: &'a D, config: &'static Config) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsSetup<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 110 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl<'a, D: VerificationDirectoryTrait> ManualVerificationsTally<'a, D> { [INFO] [stdout] | ----------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 136 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fingerprints`, and `to_hashmap` are never used [INFO] [stdout] --> src/verification/manual.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a, D: VerificationDirectoryTrait> ManualVerifications<'a, D> { [INFO] [stdout] | ------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 162 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn fingerprints(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn to_hashmap(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_vec` and `from_verification_event` are never used [INFO] [stdout] --> src/verification/result.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl VerificationResult { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn from_vec(list: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn from_verification_event(event: VerificationEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "08335efc158a390c100ae5a9b896da6a1fbb577099261a18ebb25c3a661026a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08335efc158a390c100ae5a9b896da6a1fbb577099261a18ebb25c3a661026a8", kill_on_drop: false }` [INFO] [stdout] 08335efc158a390c100ae5a9b896da6a1fbb577099261a18ebb25c3a661026a8