[INFO] cloning repository https://github.com/RichoDemus/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/RichoDemus/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichoDemus%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichoDemus%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dc90f4628a049aa6e8bfb9029f242e8bdc5c71b [INFO] checking RichoDemus/advent-of-code-2019 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichoDemus%2Fadvent-of-code-2019" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RichoDemus/advent-of-code-2019 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RichoDemus/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/RichoDemus/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/RichoDemus/advent-of-code-2019 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/RichoDemus/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array_tool v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0b33d84d2fb64f6b2e4ed5d1f679d62af6758eab7dc3c531bb8934947ffeed2b [INFO] running `Command { std: "docker" "start" "-a" "0b33d84d2fb64f6b2e4ed5d1f679d62af6758eab7dc3c531bb8934947ffeed2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b33d84d2fb64f6b2e4ed5d1f679d62af6758eab7dc3c531bb8934947ffeed2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b33d84d2fb64f6b2e4ed5d1f679d62af6758eab7dc3c531bb8934947ffeed2b", kill_on_drop: false }` [INFO] [stdout] 0b33d84d2fb64f6b2e4ed5d1f679d62af6758eab7dc3c531bb8934947ffeed2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0575733efac0426f440566a2cdb412ef923c6987bf6df1f5f4d76b66f8af01c [INFO] running `Command { std: "docker" "start" "-a" "b0575733efac0426f440566a2cdb412ef923c6987bf6df1f5f4d76b66f8af01c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking array_tool v0.4.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.5 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `split` [INFO] [stdout] --> src/twelve.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let split: Vec<&str> = s.split_ascii_whitespace().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_split` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x_max` [INFO] [stdout] --> src/ten.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | x_max: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y_max` [INFO] [stdout] --> src/ten.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | y_max: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_max_laser_length` [INFO] [stdout] --> src/ten.rs:270:4 [INFO] [stdout] | [INFO] [stdout] 270 | fn calculate_max_laser_length(field: &AsteroidField, station: &Point) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/eleven.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn from(y: i32, x: i32, direction: Direction) -> Robot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/twelve.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(s: &str) -> Body { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/twelve.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn parse(input: Vec) -> Space { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_str` [INFO] [stdout] --> src/twelve.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse_str(input: Vec<&str>) -> Space { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/twelve.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_input` [INFO] [stdout] --> src/twelve.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intputer.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | _ => panic!(format!("Unknown mode {}", mode)), [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] 237 | _ => panic!("Unknown mode {}", mode), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/eight.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | std::mem::replace(&mut row[index], cell); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `split` [INFO] [stdout] --> src/twelve.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let split: Vec<&str> = s.split_ascii_whitespace().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_split` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intputer.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | _ => panic!(format!("Unknown mode {}", mode)), [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] 237 | _ => panic!("Unknown mode {}", mode), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/eight.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | std::mem::replace(&mut row[index], cell); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.16s [INFO] running `Command { std: "docker" "inspect" "b0575733efac0426f440566a2cdb412ef923c6987bf6df1f5f4d76b66f8af01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0575733efac0426f440566a2cdb412ef923c6987bf6df1f5f4d76b66f8af01c", kill_on_drop: false }` [INFO] [stdout] b0575733efac0426f440566a2cdb412ef923c6987bf6df1f5f4d76b66f8af01c