[INFO] cloning repository https://github.com/tlehman/advent-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlehman/advent-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93ddb4a8718d387cf216c41952def74abb8e41be [INFO] checking tlehman/advent-2020 against master#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlehman/advent-2020 on toolchain e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tlehman/advent-2020 [INFO] finished tweaking git repo https://github.com/tlehman/advent-2020 [INFO] tweaked toml for git repo https://github.com/tlehman/advent-2020 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tlehman/advent-2020 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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tlehman/advent-2020 against try#397f8958d101b259f6baaf92d107d770c95c3ce0 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlehman/advent-2020 on toolchain 397f8958d101b259f6baaf92d107d770c95c3ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tlehman/advent-2020 [INFO] finished tweaking git repo https://github.com/tlehman/advent-2020 [INFO] tweaked toml for git repo https://github.com/tlehman/advent-2020 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tlehman/advent-2020 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" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking tlehman/advent-2020 against try#397f8958d101b259f6baaf92d107d770c95c3ce0 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlehman/advent-2020 on toolchain 397f8958d101b259f6baaf92d107d770c95c3ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tlehman/advent-2020 [INFO] finished tweaking git repo https://github.com/tlehman/advent-2020 [INFO] tweaked toml for git repo https://github.com/tlehman/advent-2020 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tlehman/advent-2020 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" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e64fe9828e9a86ba91c0f0557d9d1e8fdfca033efb4a95ddb7154b3516e9a922 [INFO] running `Command { std: "docker" "start" "-a" "e64fe9828e9a86ba91c0f0557d9d1e8fdfca033efb4a95ddb7154b3516e9a922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e64fe9828e9a86ba91c0f0557d9d1e8fdfca033efb4a95ddb7154b3516e9a922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64fe9828e9a86ba91c0f0557d9d1e8fdfca033efb4a95ddb7154b3516e9a922", kill_on_drop: false }` [INFO] [stdout] e64fe9828e9a86ba91c0f0557d9d1e8fdfca033efb4a95ddb7154b3516e9a922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebcae1760808ff2a91e6040f58e531fb84790c5ccb2550a54934067365502221 [INFO] running `Command { std: "docker" "start" "-a" "ebcae1760808ff2a91e6040f58e531fb84790c5ccb2550a54934067365502221", kill_on_drop: false }` [INFO] [stderr] Checking advent-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day03.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut toboggan_map = TobogganMap { rows: lines, width: w }; [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: `col` [INFO] [stdout] --> src/day03.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | for col in 0..6 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_password` is never used [INFO] [stdout] --> src/day02.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn valid_password(raw_rule: &str, password: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_password_part2` is never used [INFO] [stdout] --> src/day02.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn valid_password_part2(raw_rule: &str, password: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `empty` is never used [INFO] [stdout] --> src/day03.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | static empty: char = '.'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cid` is never read [INFO] [stdout] --> src/day04.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 65 | struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | cid: Option // (Country ID) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_batch_passports` is never used [INFO] [stdout] --> src/day04.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn parse_batch_passports(batch_passports: &[&str]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day03.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut toboggan_map = TobogganMap { rows: lines, width: w }; [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: static variable `empty` should have an upper case name [INFO] [stdout] --> src/day03.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | static empty: char = '.'; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `EMPTY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `tree` should have an upper case name [INFO] [stdout] --> src/day03.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | static tree: char = '#'; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `TREE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | for col in 0..6 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `empty` is never used [INFO] [stdout] --> src/day03.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | static empty: char = '.'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cid` is never read [INFO] [stdout] --> src/day04.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 65 | struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | cid: Option // (Country ID) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `empty` should have an upper case name [INFO] [stdout] --> src/day03.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | static empty: char = '.'; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `EMPTY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `tree` should have an upper case name [INFO] [stdout] --> src/day03.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | static tree: char = '#'; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `TREE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day03.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | lines.push(String::from(raw_lines[i].clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day03.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | lines.push(String::from(raw_lines[i].clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "ebcae1760808ff2a91e6040f58e531fb84790c5ccb2550a54934067365502221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebcae1760808ff2a91e6040f58e531fb84790c5ccb2550a54934067365502221", kill_on_drop: false }` [INFO] [stdout] ebcae1760808ff2a91e6040f58e531fb84790c5ccb2550a54934067365502221