[INFO] cloning repository https://github.com/professor-greebie/ourboro-data [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/professor-greebie/ourboro-data" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessor-greebie%2Fourboro-data", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessor-greebie%2Fourboro-data'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcd731f1a4e4688206f1e84f1f6ae6756d945daf [INFO] checking professor-greebie/ourboro-data against master#74c3f5a146860c94ff4d179fc3bfa34f879adf41 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessor-greebie%2Fourboro-data" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/professor-greebie/ourboro-data on toolchain 74c3f5a146860c94ff4d179fc3bfa34f879adf41 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/professor-greebie/ourboro-data [INFO] finished tweaking git repo https://github.com/professor-greebie/ourboro-data [INFO] tweaked toml for git repo https://github.com/professor-greebie/ourboro-data written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/professor-greebie/ourboro-data 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" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded calamine v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53e139ad7f5fedfb446ec02c437d2dadeaca44dbc35efef2998e56efbde38e35 [INFO] running `Command { std: "docker" "start" "-a" "53e139ad7f5fedfb446ec02c437d2dadeaca44dbc35efef2998e56efbde38e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53e139ad7f5fedfb446ec02c437d2dadeaca44dbc35efef2998e56efbde38e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e139ad7f5fedfb446ec02c437d2dadeaca44dbc35efef2998e56efbde38e35", kill_on_drop: false }` [INFO] [stdout] 53e139ad7f5fedfb446ec02c437d2dadeaca44dbc35efef2998e56efbde38e35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e57b3027f726793e97490943eefdd8f2c9847001b3a4f9699ed5c72a5d03390 [INFO] running `Command { std: "docker" "start" "-a" "5e57b3027f726793e97490943eefdd8f2c9847001b3a4f9699ed5c72a5d03390", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking clap_builder v4.4.14 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking codepage v0.1.1 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking calamine v0.23.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking clap v4.4.14 [INFO] [stderr] Checking ourboro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `csv::Writer` [INFO] [stdout] --> src/util/csv_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::Writer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/util/io.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::Writer` [INFO] [stdout] --> src/util/csv_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::Writer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/util/io.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | return is_census_subdivision && splitted[8] == filter.to_string(); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 41 | todo!("Build user-assigned filtration features.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/util/io.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/util/io.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | return is_census_subdivision && splitted[8] == filter.to_string(); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 41 | todo!("Build user-assigned filtration features.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/util/io.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSTAL_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const POSTAL_CODE_END: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD_SORTATION_AREA_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const FORWARD_SORTATION_AREA_END: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVINCE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const PROVINCE_END: usize = 11; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_DIVISION_ID_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CENSUS_DIVISION_ID_END: usize = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_ID_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CENSUS_SUBDIVISION_ID_END: usize = 22; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_NAME_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CENSUS_SUBDIVISION_NAME_END: usize = 92; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CENSUS_SUBDIVISION_TYPE_END: usize = 95; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CENSUS_SUBDIVISION_CODE_END: usize = 98; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATISTICAL_AREA_CLASS_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const STATISTICAL_AREA_CLASS_END: usize = 101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATISTICAL_AREA_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const STATISTICAL_AREA_TYPE_END: usize = 102; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_TRACT_NAME_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CENSUS_TRACT_NAME_END: usize = 109; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ECONOMIC_REGION_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ECONOMIC_REGION_CODE_END: usize = 111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DESIGNATED_PLACE_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DESIGNATED_PLACE_CODE_END: usize = 115; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FEDERAL_ELECTORAL_DISTRICT_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const FEDERAL_ELECTORAL_DISTRICT_CODE_END: usize = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POPULATION_CENTER_RA_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const POPULATION_CENTER_RA_END: usize = 124; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POPULATION_CENTER_RA_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const POPULATION_CENTER_RA_TYPE_END: usize = 125; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISSEMINATION_AREA_ID_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DISSEMINATION_AREA_ID_END: usize = 133; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISSEMINATION_BLOCK_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const DISSEMINATION_BLOCK_CODE_END: usize = 136; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPRESENTATIVE_POINT_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const REPRESENTATIVE_POINT_TYPE_END: usize = 137; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINT_LATITUDE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const POINT_LATITUDE_END: usize = 148; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINT_LONGITUDE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const POINT_LONGITUDE_END: usize = 161; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_LINK_INDICATOR_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const SINGLE_LINK_INDICATOR_END: usize = 162; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PC_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const PC_TYPE_END: usize = 163; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMUNITY_NAME_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const COMMUNITY_NAME_END: usize = 193; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELIVERY_MODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DELIVERY_MODE_END: usize = 194; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HISTORIC_DELIVERY_MODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const HISTORIC_DELIVERY_MODE_END: usize = 195; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BIRTH_DATE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const BIRTH_DATE_END: usize = 203; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETIRED_DATE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const RETIRED_DATE_END: usize = 211; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELIVERY_INSTALLATION_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const DELIVERY_INSTALLATION_END: usize = 212; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUALITY_INDICATOR_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const QUALITY_INDICATOR_END: usize = 215; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOURCE_GEO_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const SOURCE_GEO_END: usize = 216; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POPULATION_CENTRE_AND_RURAL_AREA_INDICATOR_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const POPULATION_CENTRE_AND_RURAL_AREA_INDICATOR_END: usize = 217; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostalCode` is never constructed [INFO] [stdout] --> src/pccf/postal_code.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PostalCode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fssa_province_to_iso3166_2` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn fssa_province_to_iso3166_2(fsa: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_filtered_postal_code` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn is_filtered_postal_code(line: &String, filter: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_filtered_province` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn is_filtered_province(line: &String, filter: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_postal_code` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn create_postal_code(line: &String) -> PostalCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xlsx_to_csv` is never used [INFO] [stdout] --> src/util/csv_util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn xlsx_to_csv(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_xlsx` is never used [INFO] [stdout] --> src/util/csv_util.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn read_xlsx(path: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_csv` is never used [INFO] [stdout] --> src/util/csv_util.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_csv(path: &str, lines: Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/util/csv_util.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn head(lines: Vec<(String, String)>, take: usize) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_csv_line` is never used [INFO] [stdout] --> src/util/csv_util.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn split_csv_line(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_head` is never used [INFO] [stdout] --> src/util/csv_util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_head() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_DIRECTORY` is never used [INFO] [stdout] --> src/util/io.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const TEST_DIRECTORY: &str = "./data/resources/test/"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_sample` is never used [INFO] [stdout] --> src/util/io.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn output_sample(input: String, output: String, take: usize, skip: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_and_cache_filtered_census` is never used [INFO] [stdout] --> src/util/io.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_and_cache_filtered_census(input: &String, output: &String, filter: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_data_set` is never used [INFO] [stdout] --> src/util/io.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn cache_data_set(cache_name: String, vector_string: Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_from_cache` is never used [INFO] [stdout] --> src/util/io.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_from_cache(filename: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/util/io.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn read_lines

(filename: P) -> std::io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_lines_temp` is never used [INFO] [stdout] --> src/util/io.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_lines_temp(temp_vec: Vec, filename: String) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CensusPopulationStruct` is never constructed [INFO] [stdout] --> src/census/census_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CensusPopulationStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CensusFilter` is never used [INFO] [stdout] --> src/census/census_model.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CensusFilter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CensusFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cache_name`, `filterString`, and `filterColumn` are never used [INFO] [stdout] --> src/census/census_model.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CensusFilter { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 40 | pub fn cache_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn filterColumn(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterString` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterColumn` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filterColumn(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_filtered_province` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn is_filtered_province(line: &String, filter: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `it_filters_a_line_by_province` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn it_filters_a_line_by_province() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xlsx_to_csv` is never used [INFO] [stdout] --> src/util/csv_util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn xlsx_to_csv(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_xlsx` is never used [INFO] [stdout] --> src/util/csv_util.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn read_xlsx(path: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_csv` is never used [INFO] [stdout] --> src/util/csv_util.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_csv(path: &str, lines: Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/util/csv_util.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn head(lines: Vec<(String, String)>, take: usize) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_head` is never used [INFO] [stdout] --> src/util/csv_util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_head() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_sample` is never used [INFO] [stdout] --> src/util/io.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn output_sample(input: String, output: String, take: usize, skip: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_and_cache_filtered_census` is never used [INFO] [stdout] --> src/util/io.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_and_cache_filtered_census(input: &String, output: &String, filter: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_data_set` is never used [INFO] [stdout] --> src/util/io.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn cache_data_set(cache_name: String, vector_string: Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_from_cache` is never used [INFO] [stdout] --> src/util/io.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_from_cache(filename: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_lines_temp` is never used [INFO] [stdout] --> src/util/io.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_lines_temp(temp_vec: Vec, filename: String) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CensusPopulationStruct` is never constructed [INFO] [stdout] --> src/census/census_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CensusPopulationStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CensusFilter` is never used [INFO] [stdout] --> src/census/census_model.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CensusFilter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CensusFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cache_name`, `filterString`, and `filterColumn` are never used [INFO] [stdout] --> src/census/census_model.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CensusFilter { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 40 | pub fn cache_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn filterColumn(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterString` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterColumn` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filterColumn(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::Writer` [INFO] [stdout] --> src/util/csv_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::Writer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fmt::format, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::Writer` [INFO] [stdout] --> src/util/csv_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::Writer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/util/io.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fmt::format, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/util/io.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | return is_census_subdivision && splitted[8] == filter.to_string(); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 41 | todo!("Build user-assigned filtration features.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/util/io.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | return is_census_subdivision && splitted[8] == filter.to_string(); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 41 | todo!("Build user-assigned filtration features.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/util/io.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/util/io.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `census_data_path` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let census_data_path = "/98-401-X2021006_English_CSV_data_Ontario.csv"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_census_data_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PCCF_TEMP_FILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PCCF_TEMP_FILE: &str = "./data/scratch/pccf_temp.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSTAL_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const POSTAL_CODE_END: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD_SORTATION_AREA_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const FORWARD_SORTATION_AREA_END: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVINCE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const PROVINCE_END: usize = 11; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_DIVISION_ID_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CENSUS_DIVISION_ID_END: usize = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_ID_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CENSUS_SUBDIVISION_ID_END: usize = 22; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_NAME_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CENSUS_SUBDIVISION_NAME_END: usize = 92; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CENSUS_SUBDIVISION_TYPE_END: usize = 95; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_SUBDIVISION_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CENSUS_SUBDIVISION_CODE_END: usize = 98; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATISTICAL_AREA_CLASS_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const STATISTICAL_AREA_CLASS_END: usize = 101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATISTICAL_AREA_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const STATISTICAL_AREA_TYPE_END: usize = 102; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CENSUS_TRACT_NAME_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CENSUS_TRACT_NAME_END: usize = 109; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ECONOMIC_REGION_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ECONOMIC_REGION_CODE_END: usize = 111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DESIGNATED_PLACE_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DESIGNATED_PLACE_CODE_END: usize = 115; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FEDERAL_ELECTORAL_DISTRICT_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const FEDERAL_ELECTORAL_DISTRICT_CODE_END: usize = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POPULATION_CENTER_RA_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const POPULATION_CENTER_RA_END: usize = 124; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POPULATION_CENTER_RA_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const POPULATION_CENTER_RA_TYPE_END: usize = 125; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISSEMINATION_AREA_ID_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DISSEMINATION_AREA_ID_END: usize = 133; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISSEMINATION_BLOCK_CODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const DISSEMINATION_BLOCK_CODE_END: usize = 136; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPRESENTATIVE_POINT_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const REPRESENTATIVE_POINT_TYPE_END: usize = 137; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINT_LATITUDE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const POINT_LATITUDE_END: usize = 148; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINT_LONGITUDE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const POINT_LONGITUDE_END: usize = 161; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_LINK_INDICATOR_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const SINGLE_LINK_INDICATOR_END: usize = 162; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PC_TYPE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const PC_TYPE_END: usize = 163; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMUNITY_NAME_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const COMMUNITY_NAME_END: usize = 193; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELIVERY_MODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DELIVERY_MODE_END: usize = 194; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HISTORIC_DELIVERY_MODE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const HISTORIC_DELIVERY_MODE_END: usize = 195; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BIRTH_DATE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const BIRTH_DATE_END: usize = 203; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETIRED_DATE_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const RETIRED_DATE_END: usize = 211; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELIVERY_INSTALLATION_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const DELIVERY_INSTALLATION_END: usize = 212; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUALITY_INDICATOR_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const QUALITY_INDICATOR_END: usize = 215; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOURCE_GEO_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const SOURCE_GEO_END: usize = 216; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POPULATION_CENTRE_AND_RURAL_AREA_INDICATOR_END` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const POPULATION_CENTRE_AND_RURAL_AREA_INDICATOR_END: usize = 217; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostalCode` is never constructed [INFO] [stdout] --> src/pccf/postal_code.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PostalCode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fssa_province_to_iso3166_2` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn fssa_province_to_iso3166_2(fsa: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_filtered_postal_code` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn is_filtered_postal_code(line: &String, filter: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_filtered_province` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn is_filtered_province(line: &String, filter: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_postal_code` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn create_postal_code(line: &String) -> PostalCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/util/csv_util.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn head(lines: Vec<(String, String)>, take: usize) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_head` is never used [INFO] [stdout] --> src/util/csv_util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_head() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_DIRECTORY` is never used [INFO] [stdout] --> src/util/io.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const TEST_DIRECTORY: &str = "./data/resources/test/"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_from_cache` is never used [INFO] [stdout] --> src/util/io.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_from_cache(filename: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CensusPopulationStruct` is never constructed [INFO] [stdout] --> src/census/census_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CensusPopulationStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/census/census_model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CensusFilter { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 9 | Population2021, [INFO] [stdout] 10 | Population2016, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | LandArea, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | TotalOccupiedDwellings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | TotalSingleDetachedHouses, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | TotalSemiDetachedHouses, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | TotalRowHouses, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | TotalApartmentDuplex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | TotalApartmentBuildingLessThan5Stories, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | TotalApartmentBuilding5StoriesOrMore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | TotalOtherDwellings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | TotalMovableDwellings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | MedianAfterTaxIncome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | AverageAfterTaxIncome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | MedianTotalIncomeEconomicFamily, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | AverageTotalIncomeEconomicFamily, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | AverageAfterTaxIncomeOneParent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | MedianTotalIncomeOneParent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | TotalCensusFamiliesPrivateHouseHolds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | MarriedWithChildren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | CommonLawWithChildren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | OneParentFamilies, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | AverageTotalChildrenPerFamily, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | LowIncomeMeasureAfterTax, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | GiniIndexOnAfterTaxIncome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | HouseholdsSpending30PercentOrMoreOfIncomeOnShelter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | ImmigrantStatusImmigrant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | ImmigrantStatusNonImmigrant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CensusFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterString` is never used [INFO] [stdout] --> src/census/census_model.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CensusFilter { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterString` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterColumn` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filterColumn(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `census_data_path` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let census_data_path = "/98-401-X2021006_English_CSV_data_Ontario.csv"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_census_data_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PCCF_TEMP_FILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PCCF_TEMP_FILE: &str = "./data/scratch/pccf_temp.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_filtered_province` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn is_filtered_province(line: &String, filter: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `it_filters_a_line_by_province` is never used [INFO] [stdout] --> src/pccf/postal_code.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn it_filters_a_line_by_province() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/util/csv_util.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn head(lines: Vec<(String, String)>, take: usize) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_head` is never used [INFO] [stdout] --> src/util/csv_util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_head() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_from_cache` is never used [INFO] [stdout] --> src/util/io.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_from_cache(filename: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CensusPopulationStruct` is never constructed [INFO] [stdout] --> src/census/census_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CensusPopulationStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/census/census_model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CensusFilter { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 9 | Population2021, [INFO] [stdout] 10 | Population2016, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | LandArea, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | TotalOccupiedDwellings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | TotalSingleDetachedHouses, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | TotalSemiDetachedHouses, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | TotalRowHouses, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | TotalApartmentDuplex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | TotalApartmentBuildingLessThan5Stories, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | TotalApartmentBuilding5StoriesOrMore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | TotalOtherDwellings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | TotalMovableDwellings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | MedianAfterTaxIncome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | AverageAfterTaxIncome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | MedianTotalIncomeEconomicFamily, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | AverageTotalIncomeEconomicFamily, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | AverageAfterTaxIncomeOneParent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | MedianTotalIncomeOneParent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | TotalCensusFamiliesPrivateHouseHolds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | MarriedWithChildren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | CommonLawWithChildren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | OneParentFamilies, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | AverageTotalChildrenPerFamily, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | LowIncomeMeasureAfterTax, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | GiniIndexOnAfterTaxIncome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | HouseholdsSpending30PercentOrMoreOfIncomeOnShelter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | ImmigrantStatusImmigrant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | ImmigrantStatusNonImmigrant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CensusFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterString` is never used [INFO] [stdout] --> src/census/census_model.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CensusFilter { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterString` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn filterString(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filterColumn` should have a snake case name [INFO] [stdout] --> src/census/census_model.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filterColumn(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.60s [INFO] running `Command { std: "docker" "inspect" "5e57b3027f726793e97490943eefdd8f2c9847001b3a4f9699ed5c72a5d03390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e57b3027f726793e97490943eefdd8f2c9847001b3a4f9699ed5c72a5d03390", kill_on_drop: false }` [INFO] [stdout] 5e57b3027f726793e97490943eefdd8f2c9847001b3a4f9699ed5c72a5d03390