[INFO] cloning repository https://github.com/bryanburgers/advent-of-code-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bryanburgers/advent-of-code-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanburgers%2Fadvent-of-code-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanburgers%2Fadvent-of-code-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4727687235a314690ff1c74c365c2b2b51e90630 [INFO] checking bryanburgers/advent-of-code-2018 against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanburgers%2Fadvent-of-code-2018" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bryanburgers/advent-of-code-2018 [INFO] finished tweaking git repo https://github.com/bryanburgers/advent-of-code-2018 [INFO] tweaked toml for git repo https://github.com/bryanburgers/advent-of-code-2018 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bryanburgers/advent-of-code-2018 on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bryanburgers/advent-of-code-2018 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/day-05/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/day-01/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/day-02/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/day-03/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/day-04/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a798d46e4a6bd80697da3f675fef546a539aa1b975e411e58d4cbe84d618b6f [INFO] running `Command { std: "docker" "start" "-a" "2a798d46e4a6bd80697da3f675fef546a539aa1b975e411e58d4cbe84d618b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a798d46e4a6bd80697da3f675fef546a539aa1b975e411e58d4cbe84d618b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a798d46e4a6bd80697da3f675fef546a539aa1b975e411e58d4cbe84d618b6f", kill_on_drop: false }` [INFO] [stdout] 2a798d46e4a6bd80697da3f675fef546a539aa1b975e411e58d4cbe84d618b6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a2666a4a91fc918354f4790f639c1ec3f488f3228a6bdb58376a6792b832d81 [INFO] running `Command { std: "docker" "start" "-a" "2a2666a4a91fc918354f4790f639c1ec3f488f3228a6bdb58376a6792b832d81", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/day-03/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/day-01/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/day-05/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/day-04/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/day-02/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking day-02 v0.1.0 (/opt/rustwide/workdir/day-02) [INFO] [stderr] Checking day-03 v0.1.0 (/opt/rustwide/workdir/day-03) [INFO] [stderr] Checking day-01 v0.1.0 (/opt/rustwide/workdir/day-01) [INFO] [stderr] Checking day-06 v0.1.0 (/opt/rustwide/workdir/day-06) [INFO] [stderr] Checking day-08 v0.1.0 (/opt/rustwide/workdir/day-08) [INFO] [stderr] Checking day-05 v0.1.0 (/opt/rustwide/workdir/day-05) [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stdout] warning: unused variable: `is_edge` [INFO] [stdout] --> day-06/src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let is_edge = is_edge || x == min || x == max; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> day-06/src/main.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | .filter(|(key, val)| !infinite.contains(key)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> day-06/src/main.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | items.sort_by_key(|(key, val)| 0 - *val); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-06/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut input : Vec = buffer.split("\n") [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: function `print_state` is never used [INFO] [stdout] --> day-05/src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn print_state(stack: &VecDeque, current: u8, read: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `min` should have an upper case name [INFO] [stdout] --> day-06/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const min: i32 = -300; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 4 - const min: i32 = -300; [INFO] [stdout] 4 + const MIN: i32 = -300; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `max` should have an upper case name [INFO] [stdout] --> day-06/src/main.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const max: i32 = 600; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 5 - const max: i32 = 600; [INFO] [stdout] 5 + const MAX: i32 = 600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `safe_distance` should have an upper case name [INFO] [stdout] --> day-06/src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const safe_distance: i32 = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 6 - const safe_distance: i32 = 10000; [INFO] [stdout] 6 + const SAFE_DISTANCE: i32 = 10000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_state` is never used [INFO] [stdout] --> day-05/src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn print_state(stack: &VecDeque, current: u8, read: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> day-03/src/square.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Square { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(left: usize, top: usize, width: usize, height: usize) -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> day-03/src/square.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn points(&self) -> SquareIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [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] 69 | pub fn points(&self) -> SquareIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> day-03/src/square.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn points(&self) -> SquareIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [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] 69 | pub fn points(&self) -> SquareIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_edge` [INFO] [stdout] --> day-06/src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let is_edge = is_edge || x == min || x == max; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> day-06/src/main.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | .filter(|(key, val)| !infinite.contains(key)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> day-06/src/main.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | items.sort_by_key(|(key, val)| 0 - *val); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-06/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut input : Vec = buffer.split("\n") [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: constant `min` should have an upper case name [INFO] [stdout] --> day-06/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const min: i32 = -300; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 4 - const min: i32 = -300; [INFO] [stdout] 4 + const MIN: i32 = -300; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `max` should have an upper case name [INFO] [stdout] --> day-06/src/main.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const max: i32 = 600; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 5 - const max: i32 = 600; [INFO] [stdout] 5 + const MAX: i32 = 600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `safe_distance` should have an upper case name [INFO] [stdout] --> day-06/src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const safe_distance: i32 = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 6 - const safe_distance: i32 = 10000; [INFO] [stdout] 6 + const SAFE_DISTANCE: i32 = 10000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking day-04 v0.1.0 (/opt/rustwide/workdir/day-04) [INFO] [stderr] Checking day-07 v0.1.0 (/opt/rustwide/workdir/day-07) [INFO] [stderr] Checking day-10 v0.1.0 (/opt/rustwide/workdir/day-10) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-04/src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut guard_info = guards.entry(range.guard).or_insert(GuardInfo::new()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> day-04/src/sleep_range.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SleepRange { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub guard: usize, [INFO] [stdout] 6 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SleepRange` 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: field `name` is never read [INFO] [stdout] --> day-07/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct Step<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Step` 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: variable does not need to be mutable [INFO] [stdout] --> day-04/src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut guard_info = guards.entry(range.guard).or_insert(GuardInfo::new()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> day-04/src/sleep_range.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SleepRange { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub guard: usize, [INFO] [stdout] 6 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SleepRange` 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: field `name` is never read [INFO] [stdout] --> day-07/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct Step<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Step` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "2a2666a4a91fc918354f4790f639c1ec3f488f3228a6bdb58376a6792b832d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2666a4a91fc918354f4790f639c1ec3f488f3228a6bdb58376a6792b832d81", kill_on_drop: false }` [INFO] [stdout] 2a2666a4a91fc918354f4790f639c1ec3f488f3228a6bdb58376a6792b832d81