[INFO] cloning repository https://github.com/rzr911/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/rzr911/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frzr911%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frzr911%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55ac8f4c655a7288f6409fbeee5fa420351e8bb8 [INFO] checking rzr911/advent-of-code-2019 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frzr911%2Fadvent-of-code-2019" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rzr911/advent-of-code-2019 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rzr911/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/rzr911/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/rzr911/advent-of-code-2019 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/rzr911/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c052e096a951bac47045ed5af59b7a7562dcf27325abbe5dc84f1aef5a9e681 [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" "6c052e096a951bac47045ed5af59b7a7562dcf27325abbe5dc84f1aef5a9e681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c052e096a951bac47045ed5af59b7a7562dcf27325abbe5dc84f1aef5a9e681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c052e096a951bac47045ed5af59b7a7562dcf27325abbe5dc84f1aef5a9e681", kill_on_drop: false }` [INFO] [stdout] 6c052e096a951bac47045ed5af59b7a7562dcf27325abbe5dc84f1aef5a9e681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81a51740985566fb97f805738fd4949c662e4036039bd613a3522371953da31d [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" "81a51740985566fb97f805738fd4949c662e4036039bd613a3522371953da31d", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sum_of_fuel_requirements` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut sum_of_fuel_requirements = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_of_fuel_requirements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | let ch = i.chars().next().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum_of_fuel_requirements` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut sum_of_fuel_requirements = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_of_fuel_requirements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | let ch = i.chars().next().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut number = int_code_string[i]; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut output_position = int_code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut output_position = int_code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut int_code_string : Vec = file_string.split(",").map(|s| s.parse().unwrap()).collect(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut number = code_string[i]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut output_position = code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let mut output_position = code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut sum_of_fuel_requirements = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let mut temp_line = i.split(",").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `i` does not live long enough [INFO] [stdout] --> src/main.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut temp_line = i.split(",").collect(); [INFO] [stdout] | ^ borrowed value does not live long enough [INFO] [stdout] 191 | arr.push(temp_line); [INFO] [stdout] | --- borrow later used here [INFO] [stdout] ... [INFO] [stdout] 194 | } [INFO] [stdout] | - `i` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2019` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut number = int_code_string[i]; [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] [stderr] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut output_position = int_code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut output_position = int_code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut int_code_string : Vec = file_string.split(",").map(|s| s.parse().unwrap()).collect(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut number = code_string[i]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut output_position = code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let mut output_position = code_string[i + 3]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut final_value : i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut sum_of_fuel_requirements = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let mut temp_line = i.split(",").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `i` does not live long enough [INFO] [stdout] --> src/main.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut temp_line = i.split(",").collect(); [INFO] [stdout] | ^ borrowed value does not live long enough [INFO] [stdout] 191 | arr.push(temp_line); [INFO] [stdout] | --- borrow later used here [INFO] [stdout] ... [INFO] [stdout] 194 | } [INFO] [stdout] | - `i` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "81a51740985566fb97f805738fd4949c662e4036039bd613a3522371953da31d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a51740985566fb97f805738fd4949c662e4036039bd613a3522371953da31d", kill_on_drop: false }` [INFO] [stdout] 81a51740985566fb97f805738fd4949c662e4036039bd613a3522371953da31d