[INFO] cloning repository https://github.com/Plurmp/aoc-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Plurmp/aoc-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlurmp%2Faoc-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlurmp%2Faoc-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34e7115c2c73bea84e871a6b551e2692c354c3e1 [INFO] testing Plurmp/aoc-2023 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlurmp%2Faoc-2023" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Plurmp/aoc-2023 [INFO] finished tweaking git repo https://github.com/Plurmp/aoc-2023 [INFO] tweaked toml for git repo https://github.com/Plurmp/aoc-2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Plurmp/aoc-2023 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Plurmp/aoc-2023 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached_proc_macro v0.24.0 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.1 [INFO] [stderr] Downloaded hashable v0.0.0 [INFO] [stderr] Downloaded deprecate-until v0.1.1 [INFO] [stderr] Downloaded cached v0.55.1 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded itertools v0.14.0 [INFO] [stderr] Downloaded pathfinding v4.14.0 [INFO] [stderr] Downloaded glam v0.30.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 073c533200741468bb0f290e836b796ffc4bb37714fd03ef3573a262503f8b11 [INFO] running `Command { std: "docker" "start" "-a" "073c533200741468bb0f290e836b796ffc4bb37714fd03ef3573a262503f8b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "073c533200741468bb0f290e836b796ffc4bb37714fd03ef3573a262503f8b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073c533200741468bb0f290e836b796ffc4bb37714fd03ef3573a262503f8b11", kill_on_drop: false }` [INFO] [stdout] 073c533200741468bb0f290e836b796ffc4bb37714fd03ef3573a262503f8b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 610cd8e1325ec9f5653a25a0de4c5fd5600cc6e8c994b37aedc117af235c30b7 [INFO] running `Command { std: "docker" "start" "-a" "610cd8e1325ec9f5653a25a0de4c5fd5600cc6e8c994b37aedc117af235c30b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling glam v0.30.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashable v0.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pathfinding v4.14.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.24.0 [INFO] [stderr] Compiling cached v0.55.1 [INFO] [stderr] Compiling aoc-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day5.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|(&start, &range)| (start..(start + range))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - .map(|(&start, &range)| (start..(start + range))) [INFO] [stdout] 157 + .map(|(&start, &range)| start..(start + range)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `fs::read_to_string` [INFO] [stdout] --> src/days/day18.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | fs::read_to_string, [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 import: `fs::read_to_string` [INFO] [stdout] --> src/days/day19.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read_to_string, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/days/day19.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let p2 = accept_workflows.flat_map(|(w_label, workflow)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/days/day18.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/days/day18.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | struct Color(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_to_grid` is never used [INFO] [stdout] --> src/days/day18.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn set_to_grid(set: &HashSet) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grid_to_set` is never used [INFO] [stdout] --> src/days/day18.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn grid_to_set(grid: &Vec>) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day8.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_instructions(input: &str) -> IResult<&str, (Vec, Network)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_instructions(input: &str) -> IResult<&str, (Vec, Network<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day8.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | fn parse_network(input: &str) -> IResult<&str, Network> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | fn parse_network(input: &str) -> IResult<&str, Network<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day8.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | fn parse_path(input: &str) -> IResult<&str, (&str, Path)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | fn parse_path(input: &str) -> IResult<&str, (&str, Path<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_input(input: &str) -> IResult<&str, (HashMap<&str, Workflow>, Vec)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_input(input: &str) -> IResult<&str, (HashMap<&str, Workflow<'_>>, Vec)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_workflows(input: &str) -> IResult<&str, HashMap<&str, Workflow>> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_workflows(input: &str) -> IResult<&str, HashMap<&str, Workflow<'_>>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | fn parse_workflow(input: &str) -> IResult<&str, (&str, Workflow)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | fn parse_workflow(input: &str) -> IResult<&str, (&str, Workflow<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | fn parse_rule(input: &str) -> IResult<&str, Rule> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 267 | fn parse_rule(input: &str) -> IResult<&str, Rule<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | fn parse_action(input: &str) -> IResult<&str, Action> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 300 | fn parse_action(input: &str) -> IResult<&str, Action<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.53s [INFO] running `Command { std: "docker" "inspect" "610cd8e1325ec9f5653a25a0de4c5fd5600cc6e8c994b37aedc117af235c30b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "610cd8e1325ec9f5653a25a0de4c5fd5600cc6e8c994b37aedc117af235c30b7", kill_on_drop: false }` [INFO] [stdout] 610cd8e1325ec9f5653a25a0de4c5fd5600cc6e8c994b37aedc117af235c30b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4149efc646b816e2b6e60c8d1a0ba3ab2f7a49aaab84d4116ee20aecf21163f6 [INFO] running `Command { std: "docker" "start" "-a" "4149efc646b816e2b6e60c8d1a0ba3ab2f7a49aaab84d4116ee20aecf21163f6", kill_on_drop: false }` [INFO] [stderr] Compiling aoc-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day5.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|(&start, &range)| (start..(start + range))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - .map(|(&start, &range)| (start..(start + range))) [INFO] [stdout] 157 + .map(|(&start, &range)| start..(start + range)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `fs::read_to_string` [INFO] [stdout] --> src/days/day18.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | fs::read_to_string, [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 import: `fs::read_to_string` [INFO] [stdout] --> src/days/day19.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read_to_string, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/days/day19.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let p2 = accept_workflows.flat_map(|(w_label, workflow)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/days/day18.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/days/day18.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | struct Color(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_to_grid` is never used [INFO] [stdout] --> src/days/day18.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn set_to_grid(set: &HashSet) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grid_to_set` is never used [INFO] [stdout] --> src/days/day18.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn grid_to_set(grid: &Vec>) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day8.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_instructions(input: &str) -> IResult<&str, (Vec, Network)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_instructions(input: &str) -> IResult<&str, (Vec, Network<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day8.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | fn parse_network(input: &str) -> IResult<&str, Network> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | fn parse_network(input: &str) -> IResult<&str, Network<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day8.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | fn parse_path(input: &str) -> IResult<&str, (&str, Path)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | fn parse_path(input: &str) -> IResult<&str, (&str, Path<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_input(input: &str) -> IResult<&str, (HashMap<&str, Workflow>, Vec)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_input(input: &str) -> IResult<&str, (HashMap<&str, Workflow<'_>>, Vec)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_workflows(input: &str) -> IResult<&str, HashMap<&str, Workflow>> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_workflows(input: &str) -> IResult<&str, HashMap<&str, Workflow<'_>>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | fn parse_workflow(input: &str) -> IResult<&str, (&str, Workflow)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | fn parse_workflow(input: &str) -> IResult<&str, (&str, Workflow<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | fn parse_rule(input: &str) -> IResult<&str, Rule> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 267 | fn parse_rule(input: &str) -> IResult<&str, Rule<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/days/day19.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | fn parse_action(input: &str) -> IResult<&str, Action> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 300 | fn parse_action(input: &str) -> IResult<&str, Action<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "4149efc646b816e2b6e60c8d1a0ba3ab2f7a49aaab84d4116ee20aecf21163f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4149efc646b816e2b6e60c8d1a0ba3ab2f7a49aaab84d4116ee20aecf21163f6", kill_on_drop: false }` [INFO] [stdout] 4149efc646b816e2b6e60c8d1a0ba3ab2f7a49aaab84d4116ee20aecf21163f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09d4d00286b7c465f6f86c6fe136e6e2ae95d2f9fa70c6a16b19c27831e2592d [INFO] running `Command { std: "docker" "start" "-a" "09d4d00286b7c465f6f86c6fe136e6e2ae95d2f9fa70c6a16b19c27831e2592d", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/days/day5.rs:157:33 [INFO] [stderr] | [INFO] [stderr] 157 | .map(|(&start, &range)| (start..(start + range))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 157 - .map(|(&start, &range)| (start..(start + range))) [INFO] [stderr] 157 + .map(|(&start, &range)| start..(start + range)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashMap` and `fs::read_to_string` [INFO] [stderr] --> src/days/day18.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | collections::{HashMap, HashSet}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 3 | fs::read_to_string, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `fs::read_to_string` [INFO] [stderr] --> src/days/day19.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, fs::read_to_string, ops::Range}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p2` [INFO] [stderr] --> src/days/day19.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | let p2 = accept_workflows.flat_map(|(w_label, workflow)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `color` is never read [INFO] [stderr] --> src/days/day18.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 17 | struct Instruction { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | color: Color, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/days/day18.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | struct Color(u8, u8, u8); [INFO] [stderr] | ----- ^^ ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `set_to_grid` is never used [INFO] [stderr] --> src/days/day18.rs:213:4 [INFO] [stderr] | [INFO] [stderr] 213 | fn set_to_grid(set: &HashSet) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `grid_to_set` is never used [INFO] [stderr] --> src/days/day18.rs:230:4 [INFO] [stderr] | [INFO] [stderr] 230 | fn grid_to_set(grid: &Vec>) -> HashSet { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day8.rs:97:30 [INFO] [stderr] | [INFO] [stderr] 97 | fn parse_instructions(input: &str) -> IResult<&str, (Vec, Network)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | fn parse_instructions(input: &str) -> IResult<&str, (Vec, Network<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day8.rs:115:25 [INFO] [stderr] | [INFO] [stderr] 115 | fn parse_network(input: &str) -> IResult<&str, Network> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 115 | fn parse_network(input: &str) -> IResult<&str, Network<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day8.rs:122:22 [INFO] [stderr] | [INFO] [stderr] 122 | fn parse_path(input: &str) -> IResult<&str, (&str, Path)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 122 | fn parse_path(input: &str) -> IResult<&str, (&str, Path<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day19.rs:240:23 [INFO] [stderr] | [INFO] [stderr] 240 | fn parse_input(input: &str) -> IResult<&str, (HashMap<&str, Workflow>, Vec)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 240 | fn parse_input(input: &str) -> IResult<&str, (HashMap<&str, Workflow<'_>>, Vec)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day19.rs:249:27 [INFO] [stderr] | [INFO] [stderr] 249 | fn parse_workflows(input: &str) -> IResult<&str, HashMap<&str, Workflow>> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 249 | fn parse_workflows(input: &str) -> IResult<&str, HashMap<&str, Workflow<'_>>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day19.rs:256:26 [INFO] [stderr] | [INFO] [stderr] 256 | fn parse_workflow(input: &str) -> IResult<&str, (&str, Workflow)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 256 | fn parse_workflow(input: &str) -> IResult<&str, (&str, Workflow<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day19.rs:267:22 [INFO] [stderr] | [INFO] [stderr] 267 | fn parse_rule(input: &str) -> IResult<&str, Rule> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 267 | fn parse_rule(input: &str) -> IResult<&str, Rule<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/days/day19.rs:300:24 [INFO] [stderr] | [INFO] [stderr] 300 | fn parse_action(input: &str) -> IResult<&str, Action> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 300 | fn parse_action(input: &str) -> IResult<&str, Action<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `aoc-2023` (bin "aoc-2023" test) generated 16 warnings (run `cargo fix --bin "aoc-2023" --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc_2023-8814c44fc84455aa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "09d4d00286b7c465f6f86c6fe136e6e2ae95d2f9fa70c6a16b19c27831e2592d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d4d00286b7c465f6f86c6fe136e6e2ae95d2f9fa70c6a16b19c27831e2592d", kill_on_drop: false }` [INFO] [stdout] 09d4d00286b7c465f6f86c6fe136e6e2ae95d2f9fa70c6a16b19c27831e2592d