[INFO] cloning repository https://github.com/ericzundel/advent-of-code-rust-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericzundel/advent-of-code-rust-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericzundel%2Fadvent-of-code-rust-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericzundel%2Fadvent-of-code-rust-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c514b6fb227a9512403e5c3d27239e33a69d98f [INFO] building ericzundel/advent-of-code-rust-2024 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericzundel%2Fadvent-of-code-rust-2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericzundel/advent-of-code-rust-2024 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ericzundel/advent-of-code-rust-2024 [INFO] finished tweaking git repo https://github.com/ericzundel/advent-of-code-rust-2024 [INFO] tweaked toml for git repo https://github.com/ericzundel/advent-of-code-rust-2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ericzundel/advent-of-code-rust-2024 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ff7fe2ee6b8057fe0c92d2884f828d6a6acab54e81be2e8888d66b9ea45e51b [INFO] running `Command { std: "docker" "start" "-a" "8ff7fe2ee6b8057fe0c92d2884f828d6a6acab54e81be2e8888d66b9ea45e51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ff7fe2ee6b8057fe0c92d2884f828d6a6acab54e81be2e8888d66b9ea45e51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff7fe2ee6b8057fe0c92d2884f828d6a6acab54e81be2e8888d66b9ea45e51b", kill_on_drop: false }` [INFO] [stdout] 8ff7fe2ee6b8057fe0c92d2884f828d6a6acab54e81be2e8888d66b9ea45e51b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 180d11cdaf11e80130a289887bc9ea30dc9154899a68d3d03ea49aba133a80da [INFO] running `Command { std: "docker" "start" "-a" "180d11cdaf11e80130a289887bc9ea30dc9154899a68d3d03ea49aba133a80da", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling tinyjson v2.5.1 [INFO] [stderr] Compiling prime-checker v0.2.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_node` is never used [INFO] [stdout] --> src/bin/08.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl CityMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_node(&self, x: usize, y: usize) -> &Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/16.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 59 | map [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/16.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | todo!("scan the input"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 64 | let start = Self::find_start(&map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/bin/16.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/15.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/10.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut island = Island::new(input); [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: methods `get_position` and `try_move_box` are never used [INFO] [stdout] --> src/bin/15.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Warehouse { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn get_position(&self, pos: &Position, direction: &Move) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub(crate) fn try_move_box(&mut self, box_position: &Position, direction: &Move) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `moves` is never read [INFO] [stdout] --> src/bin/15.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 113 | warehouse: Warehouse, [INFO] [stdout] 114 | moves: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/bin/15.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Simulation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let map : Vec> = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let map = Self::load_input(input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TileType` is never used [INFO] [stdout] --> src/bin/16.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum TileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/bin/16.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Edge<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/bin/16.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Tile<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/bin/16.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Maze<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_start`, `load_input`, and `new` are never used [INFO] [stdout] --> src/bin/16.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl <'a> Maze<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 36 | fn find_start(map: &'a Vec>>) -> &'a Tile<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn new(input: &str) -> Maze<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/16.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryKey` is never constructed [INFO] [stdout] --> src/bin/03.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct EntryKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/03.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | fn new(input: &str) -> Parser { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 233 | fn new(input: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.00s [INFO] running `Command { std: "docker" "inspect" "180d11cdaf11e80130a289887bc9ea30dc9154899a68d3d03ea49aba133a80da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180d11cdaf11e80130a289887bc9ea30dc9154899a68d3d03ea49aba133a80da", kill_on_drop: false }` [INFO] [stdout] 180d11cdaf11e80130a289887bc9ea30dc9154899a68d3d03ea49aba133a80da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 733db733aaf6e861b5e9cddbad1cfc5ac6aa55b782dfdaeecb579eb87d8e71f2 [INFO] running `Command { std: "docker" "start" "-a" "733db733aaf6e861b5e9cddbad1cfc5ac6aa55b782dfdaeecb579eb87d8e71f2", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/16.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 59 | map [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/16.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | todo!("scan the input"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 64 | let start = Self::find_start(&map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/bin/16.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let map : Vec> = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let map = Self::load_input(input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TileType` is never used [INFO] [stdout] --> src/bin/16.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum TileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/bin/16.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Edge<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/bin/16.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Tile<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/bin/16.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Maze<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_start`, `load_input`, and `new` are never used [INFO] [stdout] --> src/bin/16.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl <'a> Maze<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 36 | fn find_start(map: &'a Vec>>) -> &'a Tile<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn new(input: &str) -> Maze<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/16.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/15.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/10.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut island = Island::new(input); [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/03.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | fn new(input: &str) -> Parser { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 233 | fn new(input: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.21s [INFO] running `Command { std: "docker" "inspect" "733db733aaf6e861b5e9cddbad1cfc5ac6aa55b782dfdaeecb579eb87d8e71f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "733db733aaf6e861b5e9cddbad1cfc5ac6aa55b782dfdaeecb579eb87d8e71f2", kill_on_drop: false }` [INFO] [stdout] 733db733aaf6e861b5e9cddbad1cfc5ac6aa55b782dfdaeecb579eb87d8e71f2