[INFO] cloning repository https://github.com/bgrande/worklog-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgrande/worklog-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgrande%2Fworklog-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgrande%2Fworklog-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aeac5991719622e04b379ccac409d9a52adac91e [INFO] checking bgrande/worklog-shell against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgrande%2Fworklog-shell" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bgrande/worklog-shell [INFO] finished tweaking git repo https://github.com/bgrande/worklog-shell [INFO] tweaked toml for git repo https://github.com/bgrande/worklog-shell written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bgrande/worklog-shell on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bgrande/worklog-shell 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "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] 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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e98b97cfb0e2dda0db559b29849cb30615979d8bbdbd9dff8f4ba258ac43082 [INFO] running `Command { std: "docker" "start" "-a" "5e98b97cfb0e2dda0db559b29849cb30615979d8bbdbd9dff8f4ba258ac43082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e98b97cfb0e2dda0db559b29849cb30615979d8bbdbd9dff8f4ba258ac43082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e98b97cfb0e2dda0db559b29849cb30615979d8bbdbd9dff8f4ba258ac43082", kill_on_drop: false }` [INFO] [stdout] 5e98b97cfb0e2dda0db559b29849cb30615979d8bbdbd9dff8f4ba258ac43082 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e46775d6d2afc12e8d3461d24e9a79be446a54144f95f7d7f1f3b3f80b7cf9a [INFO] running `Command { std: "docker" "start" "-a" "2e46775d6d2afc12e8d3461d24e9a79be446a54144f95f7d7f1f3b3f80b7cf9a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking worklog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::format::parse` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::format::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result as AnyResult` and `anyhow` [INFO] [stdout] --> src/parse.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{anyhow, Result as AnyResult}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alphanumeric1` and `digit1` [INFO] [stdout] --> src/parse.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::character::complete::{alpha1, alphanumeric1, digit0, digit1}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::combinator::not` [INFO] [stdout] --> src/parse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::combinator::not; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `many1`, `many_till`, and `separated_list0` [INFO] [stdout] --> src/parse.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::multi::{many0, many1, many_till, separated_list0}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tuple` [INFO] [stdout] --> src/parse.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::sequence::{delimited, pair, separated_pair, terminated, tuple}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::parse` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::format::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result as AnyResult` and `anyhow` [INFO] [stdout] --> src/parse.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{anyhow, Result as AnyResult}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alphanumeric1` and `digit1` [INFO] [stdout] --> src/parse.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::character::complete::{alpha1, alphanumeric1, digit0, digit1}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::combinator::not` [INFO] [stdout] --> src/parse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::combinator::not; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `many1`, `many_till`, and `separated_list0` [INFO] [stdout] --> src/parse.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::multi::{many0, many1, many_till, separated_list0}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tuple` [INFO] [stdout] --> src/parse.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::sequence::{delimited, pair, separated_pair, terminated, tuple}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/parse.rs:227:38 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn body_line<'i>(title: &'i str, time: &'i str) -> impl FnMut(&'i str) -> IResult<&'i str, &'i str, nom::error::Error<&'i str>> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/parse.rs:227:38 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn body_line<'i>(title: &'i str, time: &'i str) -> impl FnMut(&'i str) -> IResult<&'i str, &'i str, nom::error::Error<&'i str>> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | Err(e) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_log(input: String) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | Err(e) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_name` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let new_name = match name { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_log(input: String) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let mut expected_logs = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WorkLog` is more private than the item `parse_log` [INFO] [stdout] --> src/parse.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_log(input: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse_log` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `WorkLog` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | struct WorkLog { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_buffer` is never used [INFO] [stdout] --> src/file.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_file_buffer(path: String) -> AnyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Learning` is never constructed [INFO] [stdout] --> src/parse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Learning { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Impediment` is never constructed [INFO] [stdout] --> src/parse.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Impediment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Summary` is never constructed [INFO] [stdout] --> src/parse.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Summary { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Detail` is never constructed [INFO] [stdout] --> src/parse.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Detail { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Break` is never constructed [INFO] [stdout] --> src/parse.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Break { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rating` is never constructed [INFO] [stdout] --> src/parse.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Rating { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parse.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Rating { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 46 | fn new(output: (&str, &str)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_duration` are never used [INFO] [stdout] --> src/parse.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Break { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 55 | fn new(name: &str, time: (&str, &str)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/parse.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkLog` is never constructed [INFO] [stdout] --> src/parse.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | struct WorkLog { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_rating` is never used [INFO] [stdout] --> src/parse.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse_rating(input: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_name` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let new_name = match name { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_break` is never used [INFO] [stdout] --> src/parse.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn parse_break(input: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_log` is never used [INFO] [stdout] --> src/parse.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_log(input: String) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `title` is never used [INFO] [stdout] --> src/parse.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn title(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_parse` is never used [INFO] [stdout] --> src/parse.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn time_parse(input: &str) -> IResult<&str, (&str, &str)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body_line` is never used [INFO] [stdout] --> src/parse.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn body_line<'i>(title: &'i str, time: &'i str) -> impl FnMut(&'i str) -> IResult<&'i str, &'i str, nom::error::Error<&'i str>> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `separator` is never used [INFO] [stdout] --> src/parse.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn separator(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_line` is never used [INFO] [stdout] --> src/parse.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn end_of_line(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_r_n` is never used [INFO] [stdout] --> src/parse.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn not_r_n(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parse::WorkLog` is more private than the item `parse::parse_log` [INFO] [stdout] --> src/parse.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_log(input: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse::parse_log` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `parse::WorkLog` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | struct WorkLog { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_buffer` is never used [INFO] [stdout] --> src/file.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_file_buffer(path: String) -> AnyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Learning` is never constructed [INFO] [stdout] --> src/parse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Learning { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Impediment` is never constructed [INFO] [stdout] --> src/parse.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Impediment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `title` is never used [INFO] [stdout] --> src/parse.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn title(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body_line` is never used [INFO] [stdout] --> src/parse.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn body_line<'i>(title: &'i str, time: &'i str) -> impl FnMut(&'i str) -> IResult<&'i str, &'i str, nom::error::Error<&'i str>> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `separator` is never used [INFO] [stdout] --> src/parse.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn separator(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_line` is never used [INFO] [stdout] --> src/parse.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn end_of_line(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_r_n` is never used [INFO] [stdout] --> src/parse.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn not_r_n(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.43s [INFO] running `Command { std: "docker" "inspect" "2e46775d6d2afc12e8d3461d24e9a79be446a54144f95f7d7f1f3b3f80b7cf9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e46775d6d2afc12e8d3461d24e9a79be446a54144f95f7d7f1f3b3f80b7cf9a", kill_on_drop: false }` [INFO] [stdout] 2e46775d6d2afc12e8d3461d24e9a79be446a54144f95f7d7f1f3b3f80b7cf9a