[INFO] cloning repository https://github.com/lucas-andrew-j/annual_plan_printer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucas-andrew-j/annual_plan_printer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-andrew-j%2Fannual_plan_printer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-andrew-j%2Fannual_plan_printer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07dfd079e89c1bbb602e87cb3d62c930f588f111 [INFO] checking lucas-andrew-j/annual_plan_printer against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-andrew-j%2Fannual_plan_printer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucas-andrew-j/annual_plan_printer [INFO] finished tweaking git repo https://github.com/lucas-andrew-j/annual_plan_printer [INFO] tweaked toml for git repo https://github.com/lucas-andrew-j/annual_plan_printer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucas-andrew-j/annual_plan_printer on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucas-andrew-j/annual_plan_printer 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0ca38911ff7fb88ff467f70491a057762a7e4792dac07ec1fe4a87c08b783ee [INFO] running `Command { std: "docker" "start" "-a" "c0ca38911ff7fb88ff467f70491a057762a7e4792dac07ec1fe4a87c08b783ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0ca38911ff7fb88ff467f70491a057762a7e4792dac07ec1fe4a87c08b783ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ca38911ff7fb88ff467f70491a057762a7e4792dac07ec1fe4a87c08b783ee", kill_on_drop: false }` [INFO] [stdout] c0ca38911ff7fb88ff467f70491a057762a7e4792dac07ec1fe4a87c08b783ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e178c395a5073161b7cc284da19ce043dca20a45d6c8bee3829f2da433db6def [INFO] running `Command { std: "docker" "start" "-a" "e178c395a5073161b7cc284da19ce043dca20a45d6c8bee3829f2da433db6def", kill_on_drop: false }` [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking annual_plan_printer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Month`, `PrimitiveDateTime`, and `Time` [INFO] [stdout] --> src/components.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use time::{Date, OffsetDateTime, PrimitiveDateTime, Time, UtcOffset, Weekday, Month, Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/parser.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use time::{Date, OffsetDateTime, Time, UtcOffset, Weekday, Month, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Month`, `PrimitiveDateTime`, and `Time` [INFO] [stdout] --> src/components.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use time::{Date, OffsetDateTime, PrimitiveDateTime, Time, UtcOffset, Weekday, Month, Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/parser.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use time::{Date, OffsetDateTime, Time, UtcOffset, Weekday, Month, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `until` [INFO] [stdout] --> src/components.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn set_until(&mut self, until: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_until` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/components.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn set_count(&mut self, count: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_second` [INFO] [stdout] --> src/components.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn set_by_second(&mut self, by_second: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_minute` [INFO] [stdout] --> src/components.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn set_by_minute(&mut self, by_minute: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_minute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_hour` [INFO] [stdout] --> src/components.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn set_by_hour(&mut self, by_hour: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_hour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_day` [INFO] [stdout] --> src/components.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn set_by_day(&mut self, by_day: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_month_day` [INFO] [stdout] --> src/components.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_by_month_day(&mut self, by_month_day: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_month_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_year_day` [INFO] [stdout] --> src/components.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn set_by_year_day(&mut self, by_year_day: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_year_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_week_no` [INFO] [stdout] --> src/components.rs:214:38 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn set_by_week_no(&mut self, by_week_no: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_week_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_month` [INFO] [stdout] --> src/components.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn set_by_month(&mut self, by_month: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_set_pos` [INFO] [stdout] --> src/components.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn set_by_set_pos(&mut self, by_set_pos: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_set_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `week_start` [INFO] [stdout] --> src/components.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn set_week_start(&mut self, week_start: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_week_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut line = match lines.next() { [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: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_ical_timezone(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_ical_timezone(mut lines: &Lines>) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_ical_event(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_ical_event(mut lines: &Lines>) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_ical_offset(mut lines: Lines>) -> Result<(UtcOffset, RRule), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_ical_offset(mut lines: Lines>) -> Result<(UtcOffset, RRule), String> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_ical_rrule(mut lines: Lines>) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_ical_rrule(mut lines: Lines>) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let mut first = Date::from_calendar_date(year, month, 1) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/parser.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | let (date, time) = date_time_from_ical("20240310T020000"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/parser.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | let (date, time) = date_time_from_ical("20240310T020000"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `until` [INFO] [stdout] --> src/components.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn set_until(&mut self, until: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_until` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/components.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ICal { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | //timezone: TimeZone, TODO [INFO] [stdout] 6 | events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/components.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn set_count(&mut self, count: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `std_offset`, `dst_offset`, `dst_start`, and `dst_end` are never read [INFO] [stdout] --> src/components.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TimeZone { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | std_offset: UtcOffset, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | dst_offset: UtcOffset, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | dst_start: RRule, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | dst_end: RRule, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/components.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 26 | dt_stamp: OffsetDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | uid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | dt_start: DateOrDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | rrule: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | dt_end: DateOrDateTime, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | duration: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/components.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RRule { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 39 | freq: Freq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | until: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | count: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | interval: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | by_second: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | by_minute: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | by_hour: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | by_day: Option)>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | by_month_day: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | by_year_day: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | by_week_no: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | by_month: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | by_set_pos: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | week_start: Weekday, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_timezone` is never used [INFO] [stdout] --> src/parser.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_ical_timezone(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_event` is never used [INFO] [stdout] --> src/parser.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_ical_event(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_offset` is never used [INFO] [stdout] --> src/parser.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_ical_offset(mut lines: Lines>) -> Result<(UtcOffset, RRule), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_rrule` is never used [INFO] [stdout] --> src/parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_ical_rrule(mut lines: Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_second` [INFO] [stdout] --> src/components.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn set_by_second(&mut self, by_second: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_minute` [INFO] [stdout] --> src/components.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn set_by_minute(&mut self, by_minute: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_minute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_hour` [INFO] [stdout] --> src/components.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn set_by_hour(&mut self, by_hour: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_hour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_day` [INFO] [stdout] --> src/components.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn set_by_day(&mut self, by_day: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_month_day` [INFO] [stdout] --> src/components.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_by_month_day(&mut self, by_month_day: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_month_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_year_day` [INFO] [stdout] --> src/components.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn set_by_year_day(&mut self, by_year_day: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_year_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_week_no` [INFO] [stdout] --> src/components.rs:214:38 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn set_by_week_no(&mut self, by_week_no: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_week_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_month` [INFO] [stdout] --> src/components.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn set_by_month(&mut self, by_month: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by_set_pos` [INFO] [stdout] --> src/components.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn set_by_set_pos(&mut self, by_set_pos: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_by_set_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `week_start` [INFO] [stdout] --> src/components.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn set_week_start(&mut self, week_start: &str) -> Result<&mut RRuleBuilder, Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_week_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut line = match lines.next() { [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: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_ical_timezone(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_ical_timezone(mut lines: &Lines>) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_ical_event(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_ical_event(mut lines: &Lines>) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_ical_offset(mut lines: Lines>) -> Result<(UtcOffset, RRule), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_ical_offset(mut lines: Lines>) -> Result<(UtcOffset, RRule), String> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/parser.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_ical_rrule(mut lines: Lines>) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_ical_rrule(mut lines: Lines>) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let mut first = Date::from_calendar_date(year, month, 1) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/components.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ICal { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | //timezone: TimeZone, TODO [INFO] [stdout] 6 | events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `std_offset`, `dst_offset`, `dst_start`, and `dst_end` are never read [INFO] [stdout] --> src/components.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TimeZone { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | std_offset: UtcOffset, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | dst_offset: UtcOffset, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | dst_start: RRule, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | dst_end: RRule, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/components.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 26 | dt_stamp: OffsetDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | uid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | dt_start: DateOrDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | rrule: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | dt_end: DateOrDateTime, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | duration: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/components.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RRule { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 39 | freq: Freq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | until: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | count: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | interval: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | by_second: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | by_minute: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | by_hour: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | by_day: Option)>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | by_month_day: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | by_year_day: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | by_week_no: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | by_month: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | by_set_pos: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | week_start: Weekday, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_timezone` is never used [INFO] [stdout] --> src/parser.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_ical_timezone(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_event` is never used [INFO] [stdout] --> src/parser.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_ical_event(mut lines: &Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_offset` is never used [INFO] [stdout] --> src/parser.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_ical_offset(mut lines: Lines>) -> Result<(UtcOffset, RRule), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ical_rrule` is never used [INFO] [stdout] --> src/parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_ical_rrule(mut lines: Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset_date_time_from_ical` is never used [INFO] [stdout] --> src/parser.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn offset_date_time_from_ical(ical_str: &str) -> OffsetDateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `date_time_from_ical` is never used [INFO] [stdout] --> src/parser.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn date_time_from_ical(ical_str: &str) -> (Date, Time) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nth_weekday` is never used [INFO] [stdout] --> src/parser.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn get_nth_weekday(n: u8, year: i32, month: Month, wkday: Weekday) -> Date { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.26s [INFO] running `Command { std: "docker" "inspect" "e178c395a5073161b7cc284da19ce043dca20a45d6c8bee3829f2da433db6def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e178c395a5073161b7cc284da19ce043dca20a45d6c8bee3829f2da433db6def", kill_on_drop: false }` [INFO] [stdout] e178c395a5073161b7cc284da19ce043dca20a45d6c8bee3829f2da433db6def