[INFO] cloning repository https://github.com/jeremycardona/plug-parsec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremycardona/plug-parsec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremycardona%2Fplug-parsec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremycardona%2Fplug-parsec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3850cbd4ba66540369a3de41a1c6349616704a5a [INFO] checking jeremycardona/plug-parsec against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremycardona%2Fplug-parsec" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jeremycardona/plug-parsec [INFO] finished tweaking git repo https://github.com/jeremycardona/plug-parsec [INFO] tweaked toml for git repo https://github.com/jeremycardona/plug-parsec written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeremycardona/plug-parsec on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeremycardona/plug-parsec 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0991b31003f15e8b1cefef8c5f31ce186a17f3bb9b2ec2d012f555738466b28 [INFO] running `Command { std: "docker" "start" "-a" "d0991b31003f15e8b1cefef8c5f31ce186a17f3bb9b2ec2d012f555738466b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0991b31003f15e8b1cefef8c5f31ce186a17f3bb9b2ec2d012f555738466b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0991b31003f15e8b1cefef8c5f31ce186a17f3bb9b2ec2d012f555738466b28", kill_on_drop: false }` [INFO] [stdout] d0991b31003f15e8b1cefef8c5f31ce186a17f3bb9b2ec2d012f555738466b28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392ed0eece74a1876bb4bce240a5889341819ff57f59804cb9931359f9f2b395 [INFO] running `Command { std: "docker" "start" "-a" "392ed0eece74a1876bb4bce240a5889341819ff57f59804cb9931359f9f2b395", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking plug-parsec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parsec/lexer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// check path and file [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | / if !path.exists() { [INFO] [stdout] 56 | | eprintln!("path doesnt exist. {}", path.display()); [INFO] [stdout] 57 | | return result; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | /// read input file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / /// this should return something when [INFO] [stdout] 92 | | /// the file path is invalid. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] ... [INFO] [stdout] 99 | let csv_table = Reader::from_path(path_file); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / /// conversion is used for the system [INFO] [stdout] 119 | | /// to convert dollars to cents. [INFO] [stdout] 120 | | /// WARNING: typo in conversion array will damage conversion. [INFO] [stdout] 121 | | /// [INFO] [stdout] ... | [INFO] [stdout] 128 | | /// 6 - ten cents [INFO] [stdout] 129 | | /// 7 - ones cents [INFO] [stdout] | |______________________^ [INFO] [stdout] 130 | / let conversion_units = [ [INFO] [stdout] 131 | | 10000000, [INFO] [stdout] 132 | | 1000000, [INFO] [stdout] 133 | | 100000, [INFO] [stdout] ... | [INFO] [stdout] 138 | | 1 [INFO] [stdout] 139 | | ]; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | / /// returns str length in bytes [INFO] [stdout] 142 | | // let money_length = money.len(); [INFO] [stdout] 143 | | // [INFO] [stdout] 144 | | /// TODO: the problem is that values ( 3, 1, 2) [INFO] [stdout] ... | [INFO] [stdout] 147 | | /// [INFO] [stdout] 148 | | /// returns length in human-readable text. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 149 | let dollars_place = money_length - 3; /// e.g. $1.99 => 0. [INFO] [stdout] | ------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | let dollars_place = money_length - 3; /// e.g. $1.99 => 0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | let dot_place = dollars_place + 1; /// e.g. $1.99 => 1. [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | let dot_place = dollars_place + 1; /// e.g. $1.99 => 1. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | let cents_place = dot_place + 2; /// e.g. $1.99 => 3. because its up to place 3 [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let cents_place = dot_place + 2; /// e.g. $1.99 => 3. because its up to place 3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | // NOTE: here is how i got the converse places [INFO] [stdout] 153 | let mut conversion_starting_place = money_length - 1; // 1 here becuse dot place counts. [INFO] [stdout] | ------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:156:63 [INFO] [stdout] | [INFO] [stdout] 156 | let mut records_fields: Vec = Vec::with_capacity(6); /// Gross Pay,Deductions,Federal Income Tax,Social Security Tax,Med... [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 157 | | // let mut idx_records_fields = 0; [INFO] [stdout] 158 | | /// values to assing to no_benefits_yet [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 161 | let mut converted_values = 0; [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:233:55 [INFO] [stdout] | [INFO] [stdout] 233 | let money_length = money.chars().count(); /// eg. $1.99 = 4. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | transform(money, money_length); [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parsec/lexer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// check path and file [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | / if !path.exists() { [INFO] [stdout] 56 | | eprintln!("path doesnt exist. {}", path.display()); [INFO] [stdout] 57 | | return result; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | /// read input file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / /// this should return something when [INFO] [stdout] 92 | | /// the file path is invalid. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] ... [INFO] [stdout] 99 | let csv_table = Reader::from_path(path_file); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / /// conversion is used for the system [INFO] [stdout] 119 | | /// to convert dollars to cents. [INFO] [stdout] 120 | | /// WARNING: typo in conversion array will damage conversion. [INFO] [stdout] 121 | | /// [INFO] [stdout] ... | [INFO] [stdout] 128 | | /// 6 - ten cents [INFO] [stdout] 129 | | /// 7 - ones cents [INFO] [stdout] | |______________________^ [INFO] [stdout] 130 | / let conversion_units = [ [INFO] [stdout] 131 | | 10000000, [INFO] [stdout] 132 | | 1000000, [INFO] [stdout] 133 | | 100000, [INFO] [stdout] ... | [INFO] [stdout] 138 | | 1 [INFO] [stdout] 139 | | ]; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | / /// returns str length in bytes [INFO] [stdout] 142 | | // let money_length = money.len(); [INFO] [stdout] 143 | | // [INFO] [stdout] 144 | | /// TODO: the problem is that values ( 3, 1, 2) [INFO] [stdout] ... | [INFO] [stdout] 147 | | /// [INFO] [stdout] 148 | | /// returns length in human-readable text. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 149 | let dollars_place = money_length - 3; /// e.g. $1.99 => 0. [INFO] [stdout] | ------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | let dollars_place = money_length - 3; /// e.g. $1.99 => 0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | let dot_place = dollars_place + 1; /// e.g. $1.99 => 1. [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | let dot_place = dollars_place + 1; /// e.g. $1.99 => 1. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | let cents_place = dot_place + 2; /// e.g. $1.99 => 3. because its up to place 3 [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let cents_place = dot_place + 2; /// e.g. $1.99 => 3. because its up to place 3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | // NOTE: here is how i got the converse places [INFO] [stdout] 153 | let mut conversion_starting_place = money_length - 1; // 1 here becuse dot place counts. [INFO] [stdout] | ------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:156:63 [INFO] [stdout] | [INFO] [stdout] 156 | let mut records_fields: Vec = Vec::with_capacity(6); /// Gross Pay,Deductions,Federal Income Tax,Social Security Tax,Med... [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 157 | | // let mut idx_records_fields = 0; [INFO] [stdout] 158 | | /// values to assing to no_benefits_yet [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 161 | let mut converted_values = 0; [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parsec/lexer.rs:233:55 [INFO] [stdout] | [INFO] [stdout] 233 | let money_length = money.chars().count(); /// eg. $1.99 = 4. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | transform(money, money_length); [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsec/lexer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut integer_part = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer_part` [INFO] [stdout] --> src/parsec/lexer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut integer_part = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer_part` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `conversion_starting_place` is never read [INFO] [stdout] --> src/parsec/lexer.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | conversion_starting_place -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsec/lexer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut integer_part = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/parsec/lexer.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_and_read_csv` is never used [INFO] [stdout] --> src/parsec/lexer.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn validate_and_read_csv(csv_file: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer_part` [INFO] [stdout] --> src/parsec/lexer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut integer_part = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer_part` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_currency`, `from_dollars`, `from_cents`, `from_decimal`, and `from_values` are never used [INFO] [stdout] --> src/parsec/grammar.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Currency { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | fn new_currency() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn from_dollars(dollars: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn from_cents(cents: i8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn from_decimal(notation: char) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn from_values(values: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `conversion_starting_place` is never read [INFO] [stdout] --> src/parsec/lexer.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | conversion_starting_place -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/parsec/lexer.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_and_read_csv` is never used [INFO] [stdout] --> src/parsec/lexer.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn validate_and_read_csv(csv_file: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_currency`, `from_dollars`, `from_cents`, `from_decimal`, and `from_values` are never used [INFO] [stdout] --> src/parsec/grammar.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Currency { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | fn new_currency() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn from_dollars(dollars: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn from_cents(cents: i8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn from_decimal(notation: char) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn from_values(values: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::parse(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 8 | let _ = lexer::parse(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::parse(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 8 | let _ = lexer::parse(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "392ed0eece74a1876bb4bce240a5889341819ff57f59804cb9931359f9f2b395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392ed0eece74a1876bb4bce240a5889341819ff57f59804cb9931359f9f2b395", kill_on_drop: false }` [INFO] [stdout] 392ed0eece74a1876bb4bce240a5889341819ff57f59804cb9931359f9f2b395