[INFO] cloning repository https://github.com/disDeal/Advent-of-Code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/disDeal/Advent-of-Code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2FAdvent-of-Code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2FAdvent-of-Code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5fa14fc627410025eec2927c8d3098bcd7e3333 [INFO] checking disDeal/Advent-of-Code-2019 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%2FdisDeal%2FAdvent-of-Code-2019" "/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/disDeal/Advent-of-Code-2019 [INFO] finished tweaking git repo https://github.com/disDeal/Advent-of-Code-2019 [INFO] tweaked toml for git repo https://github.com/disDeal/Advent-of-Code-2019 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/disDeal/Advent-of-Code-2019 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/disDeal/Advent-of-Code-2019 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-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] ab07c8e0fda8f61743c9384876f80cccb8c9a79ce8813a2e5d16a5fe2517a39d [INFO] running `Command { std: "docker" "start" "-a" "ab07c8e0fda8f61743c9384876f80cccb8c9a79ce8813a2e5d16a5fe2517a39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab07c8e0fda8f61743c9384876f80cccb8c9a79ce8813a2e5d16a5fe2517a39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab07c8e0fda8f61743c9384876f80cccb8c9a79ce8813a2e5d16a5fe2517a39d", kill_on_drop: false }` [INFO] [stdout] ab07c8e0fda8f61743c9384876f80cccb8c9a79ce8813a2e5d16a5fe2517a39d [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] 83296fe1d9e64937575871bcb0d5c54d655752fb9b6b2750f333c3d43853a981 [INFO] running `Command { std: "docker" "start" "-a" "83296fe1d9e64937575871bcb0d5c54d655752fb9b6b2750f333c3d43853a981", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking bytecount v0.6.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `bail` and `error` [INFO] [stdout] --> src/day03_v2.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{bail, error}; [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 variable: `reader` [INFO] [stdout] --> src/day13.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run(reader: R) -> Result<(String, String), Error> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[RefCell; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/day12_v2.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | let mut moons: [RefCell; 4] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[(i64, i64); 4]; 3]` does not permit being left uninitialized [INFO] [stdout] --> src/day12_v2.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | let mut a: [[(i64, i64); 4]; 3] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day14.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_input(input: &str) -> Result { [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] 97 | fn parse_input(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day16.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | fn new(pattern: &[i64]) -> FFT { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn new(pattern: &[i64]) -> FFT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// Optional path to input file; if not supplied will read from stdin [INFO] [stdout] 16 | | input: Option, [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 `aoc2019` (bin "aoc2019") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "83296fe1d9e64937575871bcb0d5c54d655752fb9b6b2750f333c3d43853a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83296fe1d9e64937575871bcb0d5c54d655752fb9b6b2750f333c3d43853a981", kill_on_drop: false }` [INFO] [stdout] 83296fe1d9e64937575871bcb0d5c54d655752fb9b6b2750f333c3d43853a981