[INFO] cloning repository https://github.com/trevorsm7/advent_of_code_2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trevorsm7/advent_of_code_2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fadvent_of_code_2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fadvent_of_code_2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9f64b8d92fed4ba47108443b57703762df925c1 [INFO] checking trevorsm7/advent_of_code_2017 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fadvent_of_code_2017" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trevorsm7/advent_of_code_2017 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trevorsm7/advent_of_code_2017 [INFO] finished tweaking git repo https://github.com/trevorsm7/advent_of_code_2017 [INFO] tweaked toml for git repo https://github.com/trevorsm7/advent_of_code_2017 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/trevorsm7/advent_of_code_2017 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a534d10db913625bd8e988fd324adcd3c252e524cc7a80999aed1016857ff021 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a534d10db913625bd8e988fd324adcd3c252e524cc7a80999aed1016857ff021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a534d10db913625bd8e988fd324adcd3c252e524cc7a80999aed1016857ff021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a534d10db913625bd8e988fd324adcd3c252e524cc7a80999aed1016857ff021", kill_on_drop: false }` [INFO] [stdout] a534d10db913625bd8e988fd324adcd3c252e524cc7a80999aed1016857ff021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 930f8667582c200af2ad4119c23e0c9e4ac888a155e7464d0d298145697e66ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "930f8667582c200af2ad4119c23e0c9e4ac888a155e7464d0d298145697e66ae", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking smallvec v0.6.4 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.2.4 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day20.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_collision(&self, other: &Self) -> Option<(i32)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day21.rs:258:79 [INFO] [stdout] | [INFO] [stdout] 258 | fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<(&'a [u32])> { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day1.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | fn test_part1(f: &Fn(&str) -> u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> u32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day1.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | fn test_part2(f: &Fn(&str) -> u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day20.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_collision(&self, other: &Self) -> Option<(i32)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day21.rs:258:79 [INFO] [stdout] | [INFO] [stdout] 258 | fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<(&'a [u32])> { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | while let Some(e) = e.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day1.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | let len = input.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | while let Some(e) = e.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day1.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | let len = input.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day10.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | .trim_right() // discard EOL whitespace [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day10.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let input = input.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day11.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day10.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | .trim_right() // discard EOL whitespace [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day10.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let input = input.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day11.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day11.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("Invalid token '{}'", tok)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!("Invalid token '{}'", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | panic!(format!("Unhandled: '{}'", caps.get(0).unwrap().as_str())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 95 | panic!("Unhandled: '{}'", caps.get(0).unwrap().as_str()); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day11.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("Invalid token '{}'", tok)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!("Invalid token '{}'", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | panic!(format!("Unhandled: '{}'", caps.get(0).unwrap().as_str())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 95 | panic!("Unhandled: '{}'", caps.get(0).unwrap().as_str()); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.31s [INFO] running `Command { std: "docker" "inspect" "930f8667582c200af2ad4119c23e0c9e4ac888a155e7464d0d298145697e66ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930f8667582c200af2ad4119c23e0c9e4ac888a155e7464d0d298145697e66ae", kill_on_drop: false }` [INFO] [stdout] 930f8667582c200af2ad4119c23e0c9e4ac888a155e7464d0d298145697e66ae