[INFO] cloning repository https://github.com/fabien-michel/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabien-michel/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabien-michel%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabien-michel%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10eeb0d8f3b3792e61c5acb0d45f017fd63ee0cb [INFO] checking fabien-michel/advent-of-code-2020 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabien-michel%2Fadvent-of-code-2020" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fabien-michel/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/fabien-michel/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/fabien-michel/advent-of-code-2020 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fabien-michel/advent-of-code-2020 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fabien-michel/advent-of-code-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b712b904d6e64bb4410f44c2af69c9c044b5acac068b718a69e0aeb5561ee7cb [INFO] running `Command { std: "docker" "start" "-a" "b712b904d6e64bb4410f44c2af69c9c044b5acac068b718a69e0aeb5561ee7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b712b904d6e64bb4410f44c2af69c9c044b5acac068b718a69e0aeb5561ee7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b712b904d6e64bb4410f44c2af69c9c044b5acac068b718a69e0aeb5561ee7cb", kill_on_drop: false }` [INFO] [stdout] b712b904d6e64bb4410f44c2af69c9c044b5acac068b718a69e0aeb5561ee7cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6389df544a012e8ddd6b618b1d9b91cc9d400261a60f4df4649899d8b8b429f [INFO] running `Command { std: "docker" "start" "-a" "d6389df544a012e8ddd6b618b1d9b91cc9d400261a60f4df4649899d8b8b429f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking num-format v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/days/day04.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | "cm" => (150..=193), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - "cm" => (150..=193), [INFO] [stdout] 78 + "cm" => 150..=193, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/days/day04.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | "in" => (59..=76), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - "in" => (59..=76), [INFO] [stdout] 79 + "in" => 59..=76, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/days/day04.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | "cm" => (150..=193), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - "cm" => (150..=193), [INFO] [stdout] 78 + "cm" => 150..=193, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/days/day04.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | "in" => (59..=76), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - "in" => (59..=76), [INFO] [stdout] 79 + "in" => 59..=76, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/days/day20_01.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 28 | id: usize, [INFO] [stdout] 29 | data: TileData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ingredient` is never constructed [INFO] [stdout] --> src/days/day21.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Ingredient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/days/day20_01.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_tile_matrix<'a>(all_tiles: &'a Tiles) -> TileMatrix { [INFO] [stdout] | ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_tile_matrix<'a>(all_tiles: &'a Tiles) -> TileMatrix<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/days/day20_01.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 28 | id: usize, [INFO] [stdout] 29 | data: TileData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ingredient` is never constructed [INFO] [stdout] --> src/days/day21.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Ingredient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/days/day20_01.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_tile_matrix<'a>(all_tiles: &'a Tiles) -> TileMatrix { [INFO] [stdout] | ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_tile_matrix<'a>(all_tiles: &'a Tiles) -> TileMatrix<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "d6389df544a012e8ddd6b618b1d9b91cc9d400261a60f4df4649899d8b8b429f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6389df544a012e8ddd6b618b1d9b91cc9d400261a60f4df4649899d8b8b429f", kill_on_drop: false }` [INFO] [stdout] d6389df544a012e8ddd6b618b1d9b91cc9d400261a60f4df4649899d8b8b429f