[INFO] cloning repository https://github.com/peaceman/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peaceman/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeaceman%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeaceman%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bad951d5199fde73540f1e3aa5bcb223902169e [INFO] checking peaceman/aoc2020 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeaceman%2Faoc2020" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peaceman/aoc2020 [INFO] finished tweaking git repo https://github.com/peaceman/aoc2020 [INFO] tweaked toml for git repo https://github.com/peaceman/aoc2020 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peaceman/aoc2020 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peaceman/aoc2020 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 124cbb241ab2e2eb0d30195fddb895a1dd52c0a85873b699f44e864d5df6981f [INFO] running `Command { std: "docker" "start" "-a" "124cbb241ab2e2eb0d30195fddb895a1dd52c0a85873b699f44e864d5df6981f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "124cbb241ab2e2eb0d30195fddb895a1dd52c0a85873b699f44e864d5df6981f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124cbb241ab2e2eb0d30195fddb895a1dd52c0a85873b699f44e864d5df6981f", kill_on_drop: false }` [INFO] [stdout] 124cbb241ab2e2eb0d30195fddb895a1dd52c0a85873b699f44e864d5df6981f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24a1a8f6c5d5c7e9e76f5a052a86d21ccf1fd3843874dcd842cfff451e919b7b [INFO] running `Command { std: "docker" "start" "-a" "24a1a8f6c5d5c7e9e76f5a052a86d21ccf1fd3843874dcd842cfff451e919b7b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking scan_fmt v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bin/day7b.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day7b.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Filter` [INFO] [stdout] --> src/bin/day17b.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Filter; [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: `FieldRules` [INFO] [stdout] --> src/bin/day16b.rs:193:81 [INFO] [stdout] | [INFO] [stdout] 193 | determine_field_positions, determine_ticket_scanning_error_rate, parse, FieldRules, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day7b") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Rules` [INFO] [stdout] --> src/bin/day19a.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | use crate::{expand_rule, parse, Rules}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day13a.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day13a" test) due to 1 previous error [INFO] [stdout] warning: unused variable: `my_ticket` [INFO] [stdout] --> src/bin/day16b.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | let (field_rules, my_ticket, nearby_tickets) = parse(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_ticket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_ticket` [INFO] [stdout] --> src/bin/day16b.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | let (field_rules, my_ticket, nearby_tickets) = parse(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day5b.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day16b.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day16b.rs:72:70 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok((class, from_a, to_a, from_b, to_b)) = scan_fmt!( [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 73 | | &line, [INFO] [stdout] 74 | | "{[^:]}: {d}-{d} or {d}-{d}", [INFO] [stdout] 75 | | String, [INFO] [stdout] ... | [INFO] [stdout] 79 | | u32 [INFO] [stdout] 80 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::scan_fmt_help` which comes from the expansion of the macro `scan_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day16b.rs:72:70 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok((class, from_a, to_a, from_b, to_b)) = scan_fmt!( [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 73 | | &line, [INFO] [stdout] 74 | | "{[^:]}: {d}-{d} or {d}-{d}", [INFO] [stdout] 75 | | String, [INFO] [stdout] ... | [INFO] [stdout] 79 | | u32 [INFO] [stdout] 80 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::scan_fmt_help` which comes from the expansion of the macro `scan_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day16b.rs:72:70 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok((class, from_a, to_a, from_b, to_b)) = scan_fmt!( [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 73 | | &line, [INFO] [stdout] 74 | | "{[^:]}: {d}-{d} or {d}-{d}", [INFO] [stdout] 75 | | String, [INFO] [stdout] ... | [INFO] [stdout] 79 | | u32 [INFO] [stdout] 80 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::scan_fmt_help` which comes from the expansion of the macro `scan_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day16b.rs:72:70 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok((class, from_a, to_a, from_b, to_b)) = scan_fmt!( [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 73 | | &line, [INFO] [stdout] 74 | | "{[^:]}: {d}-{d} or {d}-{d}", [INFO] [stdout] 75 | | String, [INFO] [stdout] ... | [INFO] [stdout] 79 | | u32 [INFO] [stdout] 80 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::scan_fmt_help` which comes from the expansion of the macro `scan_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day5b") due to 1 previous error [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/bin/day19a.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let (rules, messages) = parse(input.trim().as_bytes()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day17a.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day19a.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day16b" test) due to 5 previous errors; 3 warnings emitted [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/day3b.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day17a" test) due to 1 previous error [INFO] [stderr] error: could not compile `aoc2020` (bin "day19a" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: unused variable: `cycle` [INFO] [stdout] --> src/bin/day17b.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | for cycle in 0..cycles { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cycle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day3b" test) due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/day17b.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | input: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day17b" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24a1a8f6c5d5c7e9e76f5a052a86d21ccf1fd3843874dcd842cfff451e919b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24a1a8f6c5d5c7e9e76f5a052a86d21ccf1fd3843874dcd842cfff451e919b7b", kill_on_drop: false }` [INFO] [stdout] 24a1a8f6c5d5c7e9e76f5a052a86d21ccf1fd3843874dcd842cfff451e919b7b