[INFO] cloning repository https://github.com/sts10/advent-of-code-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sts10/advent-of-code-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsts10%2Fadvent-of-code-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsts10%2Fadvent-of-code-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 749149d5dd3fec7f50af6c186c64fae199e3643b [INFO] testing sts10/advent-of-code-2018 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsts10%2Fadvent-of-code-2018" "/workspace/builds/worker-77/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-77/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sts10/advent-of-code-2018 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sts10/advent-of-code-2018 [INFO] finished tweaking git repo https://github.com/sts10/advent-of-code-2018 [INFO] tweaked toml for git repo https://github.com/sts10/advent-of-code-2018 written to /workspace/builds/worker-77/source/Cargo.toml [INFO] crate git repo https://github.com/sts10/advent-of-code-2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6424636ce136e1c32bcbfeb6479c1ac5516d0d70f89eb10320856eccf53d974c [INFO] running `Command { std: "docker" "start" "-a" "6424636ce136e1c32bcbfeb6479c1ac5516d0d70f89eb10320856eccf53d974c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6424636ce136e1c32bcbfeb6479c1ac5516d0d70f89eb10320856eccf53d974c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6424636ce136e1c32bcbfeb6479c1ac5516d0d70f89eb10320856eccf53d974c", kill_on_drop: false }` [INFO] [stdout] 6424636ce136e1c32bcbfeb6479c1ac5516d0d70f89eb10320856eccf53d974c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1ae19b805f6e6ab71019749a5280e7355c0c269e590058e80c3a7cc4ac771cb [INFO] running `Command { std: "docker" "start" "-a" "e1ae19b805f6e6ab71019749a5280e7355c0c269e590058e80c3a7cc4ac771cb", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling advent-of-code-2018-reorganized v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `advent-of-code-2018-reorganized` due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: variable `the_char_to_remove_that_resulted_in_shortest_polymer_result` is assigned to, but never used [INFO] [stdout] --> src/bin/my_slow_day05.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut the_char_to_remove_that_resulted_in_shortest_polymer_result: char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_the_char_to_remove_that_resulted_in_shortest_polymer_result` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `the_char_to_remove_that_resulted_in_shortest_polymer_result` is never read [INFO] [stdout] --> src/bin/my_slow_day05.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | the_char_to_remove_that_resulted_in_shortest_polymer_result = *char_to_remove; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indexes_to_remove` [INFO] [stdout] --> src/bin/my_slow_day05.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut indexes_to_remove: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexes_to_remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/my_slow_day05.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut indexes_to_remove: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_grid` [INFO] [stdout] --> src/bin/day06.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let new_grid = spread(x, y, grid); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_grid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `square` is never read [INFO] [stdout] --> src/bin/day06.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | "." => square = sign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `square` [INFO] [stdout] --> src/bin/day06.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 49 | for square in nine_squares { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | first assignment to `square` [INFO] [stdout] | help: consider making this binding mutable: `mut square` [INFO] [stdout] 50 | match square { [INFO] [stdout] 51 | "." => square = sign, [INFO] [stdout] | ^^^^^^^^^^^^^ cannot assign twice to immutable variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0384`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guards` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut guards: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_guards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut guards: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date_time` [INFO] [stdout] --> src/bin/day04.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | date_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date_time` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | date_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `guard_starting_id` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | guard_starting_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `asleep` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | asleep: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_minutes_till_next_event_or_1am` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | number_of_minutes_till_next_event_or_1am: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Guard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `minutes_between_midnight_and_1am_asleep` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | minutes_between_midnight_and_1am_asleep: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Guard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_minutes_between_midnight_and_1am_asleep` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | number_of_minutes_between_midnight_and_1am_asleep: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Guard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e1ae19b805f6e6ab71019749a5280e7355c0c269e590058e80c3a7cc4ac771cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ae19b805f6e6ab71019749a5280e7355c0c269e590058e80c3a7cc4ac771cb", kill_on_drop: false }` [INFO] [stdout] e1ae19b805f6e6ab71019749a5280e7355c0c269e590058e80c3a7cc4ac771cb