[INFO] cloning repository https://github.com/2785/aoc2019-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2785/aoc2019-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2785%2Faoc2019-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2785%2Faoc2019-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2567d2dc17e2cf8d61d0d9b0fcff5f0501f1a88 [INFO] checking 2785/aoc2019-rust 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%2F2785%2Faoc2019-rust" "/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/2785/aoc2019-rust [INFO] finished tweaking git repo https://github.com/2785/aoc2019-rust [INFO] tweaked toml for git repo https://github.com/2785/aoc2019-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/2785/aoc2019-rust 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/2785/aoc2019-rust 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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cd170c9fbf8d0bfe4deda48fcfb986eb193a2c5321d0aa7621f7f7762bf1410 [INFO] running `Command { std: "docker" "start" "-a" "7cd170c9fbf8d0bfe4deda48fcfb986eb193a2c5321d0aa7621f7f7762bf1410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cd170c9fbf8d0bfe4deda48fcfb986eb193a2c5321d0aa7621f7f7762bf1410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd170c9fbf8d0bfe4deda48fcfb986eb193a2c5321d0aa7621f7f7762bf1410", kill_on_drop: false }` [INFO] [stdout] 7cd170c9fbf8d0bfe4deda48fcfb986eb193a2c5321d0aa7621f7f7762bf1410 [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 -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] 92848921cac847abe76ee4734fe49bf279b225c099aa43136e5880e69009ce51 [INFO] running `Command { std: "docker" "start" "-a" "92848921cac847abe76ee4734fe49bf279b225c099aa43136e5880e69009ce51", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day3.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | .min_by_key(|p| (m1.get(p).unwrap() + m2.get(p).unwrap())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - .min_by_key(|p| (m1.get(p).unwrap() + m2.get(p).unwrap())) [INFO] [stdout] 151 + .min_by_key(|p| m1.get(p).unwrap() + m2.get(p).unwrap() ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/days/day3.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | .min_by_key(|p| (m1.get(p).unwrap() + m2.get(p).unwrap())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - .min_by_key(|p| (m1.get(p).unwrap() + m2.get(p).unwrap())) [INFO] [stdout] 151 + .min_by_key(|p| m1.get(p).unwrap() + m2.get(p).unwrap() ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/intcode.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ExecutionError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 40 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (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/days.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / #[clap(short = '1', long = "d1", default_value = "inputs/d1")] [INFO] [stdout] 17 | | 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/days.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap(short = '2', long = "d2", default_value = "inputs/d2")] [INFO] [stdout] 37 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / #[clap(short = '3', long = "d3", default_value = "inputs/d3")] [INFO] [stdout] 60 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / #[clap(short = '4', long = "d4", default_value = "inputs/d4")] [INFO] [stdout] 83 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / #[clap(short = '5', long = "d5", default_value = "inputs/d5")] [INFO] [stdout] 106 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / #[clap(short = '6', long = "d6", default_value = "inputs/d6")] [INFO] [stdout] 129 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / #[clap(short = '7', long = "d7", default_value = "inputs/d7")] [INFO] [stdout] 149 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | / #[clap(short = '8', long = "d8", default_value = "inputs/d8")] [INFO] [stdout] 172 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / #[clap(short = '9', long = "d9", default_value = "inputs/d9")] [INFO] [stdout] 195 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[Direction]` instead of cloning the inner type [INFO] [stdout] --> src/days/day3.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | d.clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[Direction]` instead of cloning the inner type [INFO] [stdout] --> src/days/day3.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | d.clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/intcode.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ExecutionError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 40 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (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/days.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / #[clap(short = '1', long = "d1", default_value = "inputs/d1")] [INFO] [stdout] 17 | | 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/days.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap(short = '2', long = "d2", default_value = "inputs/d2")] [INFO] [stdout] 37 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / #[clap(short = '3', long = "d3", default_value = "inputs/d3")] [INFO] [stdout] 60 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / #[clap(short = '4', long = "d4", default_value = "inputs/d4")] [INFO] [stdout] 83 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / #[clap(short = '5', long = "d5", default_value = "inputs/d5")] [INFO] [stdout] 106 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / #[clap(short = '6', long = "d6", default_value = "inputs/d6")] [INFO] [stdout] 129 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / #[clap(short = '7', long = "d7", default_value = "inputs/d7")] [INFO] [stdout] 149 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | / #[clap(short = '8', long = "d8", default_value = "inputs/d8")] [INFO] [stdout] 172 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / #[clap(short = '9', long = "d9", default_value = "inputs/d9")] [INFO] [stdout] 195 | | input: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[Direction]` instead of cloning the inner type [INFO] [stdout] --> src/days/day3.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | d.clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[Direction]` instead of cloning the inner type [INFO] [stdout] --> src/days/day3.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | d.clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (bin "aoc2019") due to 9 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2019` (bin "aoc2019" test) due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "92848921cac847abe76ee4734fe49bf279b225c099aa43136e5880e69009ce51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92848921cac847abe76ee4734fe49bf279b225c099aa43136e5880e69009ce51", kill_on_drop: false }` [INFO] [stdout] 92848921cac847abe76ee4734fe49bf279b225c099aa43136e5880e69009ce51