[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsts10%2Fadvent-of-code-2018" "/workspace/builds/worker-72/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-72/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sts10/advent-of-code-2018 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-72/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" "+beta-2021-09-08" "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-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08cb5a1da3ced905776ee5f3d6dfef3239ac907c6865817d029d76fb5e033614 [INFO] running `Command { std: "docker" "start" "-a" "08cb5a1da3ced905776ee5f3d6dfef3239ac907c6865817d029d76fb5e033614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08cb5a1da3ced905776ee5f3d6dfef3239ac907c6865817d029d76fb5e033614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08cb5a1da3ced905776ee5f3d6dfef3239ac907c6865817d029d76fb5e033614", kill_on_drop: false }` [INFO] [stdout] 08cb5a1da3ced905776ee5f3d6dfef3239ac907c6865817d029d76fb5e033614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbcdfd3c8da985eaa167431ac3ce7127a8b8f33705d890c3131b5d8cf948fcd0 [INFO] running `Command { std: "docker" "start" "-a" "bbcdfd3c8da985eaa167431ac3ce7127a8b8f33705d890c3131b5d8cf948fcd0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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] [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: `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: 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] [stderr] error: could not compile `advent-of-code-2018-reorganized` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bbcdfd3c8da985eaa167431ac3ce7127a8b8f33705d890c3131b5d8cf948fcd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcdfd3c8da985eaa167431ac3ce7127a8b8f33705d890c3131b5d8cf948fcd0", kill_on_drop: false }` [INFO] [stdout] bbcdfd3c8da985eaa167431ac3ce7127a8b8f33705d890c3131b5d8cf948fcd0