[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] 8a1acaa1c5730ceed61096eecdc6c3105eb10a09 [INFO] testing sts10/advent-of-code-2018 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsts10%2Fadvent-of-code-2018" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sts10/advent-of-code-2018 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f9f3f4d377d2877896fbe0604eefb0c46a0b269534ac8e8b16d10a45abc0866 [INFO] running `Command { std: "docker" "start" "-a" "9f9f3f4d377d2877896fbe0604eefb0c46a0b269534ac8e8b16d10a45abc0866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f9f3f4d377d2877896fbe0604eefb0c46a0b269534ac8e8b16d10a45abc0866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9f3f4d377d2877896fbe0604eefb0c46a0b269534ac8e8b16d10a45abc0866", kill_on_drop: false }` [INFO] [stdout] 9f9f3f4d377d2877896fbe0604eefb0c46a0b269534ac8e8b16d10a45abc0866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67e36893101474d10db6583be078153eb941fd441a40bef67fb4c7017339c0c5 [INFO] running `Command { std: "docker" "start" "-a" "67e36893101474d10db6583be078153eb941fd441a40bef67fb4c7017339c0c5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.44 [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] [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)]` (part of `#[warn(unused)]`) on by default [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] | ------ first assignment to `square` [INFO] [stdout] 50 | match square { [INFO] [stdout] 51 | "." => square = sign, [INFO] [stdout] | ^^^^^^^^^^^^^ cannot assign twice to immutable variable [INFO] [stdout] | [INFO] [stdout] help: consider making this binding mutable [INFO] [stdout] | [INFO] [stdout] 49 | for mut square in nine_squares { [INFO] [stdout] | +++ [INFO] [stdout] help: to modify the original value, take a borrow instead [INFO] [stdout] | [INFO] [stdout] 49 | for ref mut square in nine_squares { [INFO] [stdout] | +++++++ [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0384`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2018-reorganized` (bin "day06") due to 1 previous error; 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:9 [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: consider using `_the_char_to_remove_that_resulted_in_shortest_polymer_result` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guards` [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:39:9 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date_time`, `guard_starting_id`, `asleep`, and `number_of_minutes_till_next_event_or_1am` are never read [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 139 | struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 140 | // Utc.ymd(2014, 7, 8).and_hms(9, 10, 11); // `2014-07-08T09:10:11Z [INFO] [stdout] 141 | date_time: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | guard_starting_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | asleep: bool, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `minutes_between_midnight_and_1am_asleep`, and `number_of_minutes_between_midnight_and_1am_asleep` are never read [INFO] [stdout] --> src/bin/day04_bad_attempt.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 153 | struct Guard { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 154 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 155 | minutes_between_midnight_and_1am_asleep: HashMap, [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] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indexes_to_remove` [INFO] [stdout] --> src/bin/my_slow_day05.rs:60:13 [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] running `Command { std: "docker" "inspect" "67e36893101474d10db6583be078153eb941fd441a40bef67fb4c7017339c0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67e36893101474d10db6583be078153eb941fd441a40bef67fb4c7017339c0c5", kill_on_drop: false }` [INFO] [stdout] 67e36893101474d10db6583be078153eb941fd441a40bef67fb4c7017339c0c5