[INFO] cloning repository https://github.com/claireplusplus/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claireplusplus/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaireplusplus%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaireplusplus%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 585b20bf9c738460ed5dc1c00311c9b632b481fd [INFO] testing claireplusplus/advent-of-code-2020 against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaireplusplus%2Fadvent-of-code-2020" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/claireplusplus/advent-of-code-2020 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/claireplusplus/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/claireplusplus/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/claireplusplus/advent-of-code-2020 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/claireplusplus/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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 funty v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "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] de2a289acda84c5bd8083a3dc9c13bb8f3809846eeaf06c5d42782dc04eb7c75 [INFO] running `Command { std: "docker" "start" "-a" "de2a289acda84c5bd8083a3dc9c13bb8f3809846eeaf06c5d42782dc04eb7c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de2a289acda84c5bd8083a3dc9c13bb8f3809846eeaf06c5d42782dc04eb7c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2a289acda84c5bd8083a3dc9c13bb8f3809846eeaf06c5d42782dc04eb7c75", kill_on_drop: false }` [INFO] [stdout] de2a289acda84c5bd8083a3dc9c13bb8f3809846eeaf06c5d42782dc04eb7c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ecdfa5819c8e7f05da085b1c07e199fe8446dcb18cf43d59df47f834d76b95f [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" "1ecdfa5819c8e7f05da085b1c07e199fe8446dcb18cf43d59df47f834d76b95f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling tap v1.0.0 [INFO] [stderr] Compiling funty v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent-of-code2020 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handheld_halting.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut modified_instructions = instructions.clone(); [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] error[E0382]: borrow of moved value: `instructions` [INFO] [stdout] --> src/handheld_halting.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 181 | let instructions: Vec = parse_input(input).unwrap(); [INFO] [stdout] | ------------ move occurs because `instructions` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 185 | let mut modified_instructions = instructions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] ... [INFO] [stdout] 194 | let accumulator = run_machine(instructions); [INFO] [stdout] | ------------ value moved here, in previous iteration of loop [INFO] [stdout] ... [INFO] [stdout] 210 | let accumulator = run_machine(instructions); [INFO] [stdout] | ------------ value moved here, in previous iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `instr.opcode`, as `instr` is not declared as mutable [INFO] [stdout] --> src/handheld_halting.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 186 | for instr in modified_instructions { [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut instr` [INFO] [stdout] ... [INFO] [stdout] 193 | instr.opcode = Operation::Nop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `instr.opcode`, as `instr` is not declared as mutable [INFO] [stdout] --> src/handheld_halting.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 186 | for instr in modified_instructions { [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut instr` [INFO] [stdout] ... [INFO] [stdout] 202 | instr.opcode = Operation::Jmp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `instr.opcode`, as `instr` is not declared as mutable [INFO] [stdout] --> src/handheld_halting.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 186 | for instr in modified_instructions { [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut instr` [INFO] [stdout] ... [INFO] [stdout] 209 | instr.opcode = Operation::Jmp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `instr.opcode`, as `instr` is not declared as mutable [INFO] [stdout] --> src/handheld_halting.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 186 | for instr in modified_instructions { [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut instr` [INFO] [stdout] ... [INFO] [stdout] 218 | instr.opcode = Operation::Nop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0594. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code2020` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1ecdfa5819c8e7f05da085b1c07e199fe8446dcb18cf43d59df47f834d76b95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ecdfa5819c8e7f05da085b1c07e199fe8446dcb18cf43d59df47f834d76b95f", kill_on_drop: false }` [INFO] [stdout] 1ecdfa5819c8e7f05da085b1c07e199fe8446dcb18cf43d59df47f834d76b95f