[INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] fatal: sha1 file '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022/objects/pack/tmp_rev_DUMDF1' write error. Out of diskspace [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/jimc66/AofC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimc66/AofC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18f6330b053e57131d25ed953132c6a9360e34fb [INFO] checking jimc66/AofC2022 against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimc66%2FAofC2022" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimc66/AofC2022 on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jimc66/AofC2022 [INFO] finished tweaking git repo https://github.com/jimc66/AofC2022 [INFO] tweaked toml for git repo https://github.com/jimc66/AofC2022 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jimc66/AofC2022 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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df4b74ceabc57e64208a68ca3a0fe1f13d3f27fae59a88a5c63a50f873335c05 [INFO] running `Command { std: "docker" "start" "-a" "df4b74ceabc57e64208a68ca3a0fe1f13d3f27fae59a88a5c63a50f873335c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df4b74ceabc57e64208a68ca3a0fe1f13d3f27fae59a88a5c63a50f873335c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4b74ceabc57e64208a68ca3a0fe1f13d3f27fae59a88a5c63a50f873335c05", kill_on_drop: false }` [INFO] [stdout] df4b74ceabc57e64208a68ca3a0fe1f13d3f27fae59a88a5c63a50f873335c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48438351646c63f29ec236a03191de6f2c84d97e71a2c7d781b80155ab2c76df [INFO] running `Command { std: "docker" "start" "-a" "48438351646c63f29ec236a03191de6f2c84d97e71a2c7d781b80155ab2c76df", kill_on_drop: false }` [INFO] [stderr] Checking test_hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num` [INFO] [stdout] --> src/day9.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, num}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num` [INFO] [stdout] --> src/day9.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, num}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec_tail` [INFO] [stdout] --> src/day9.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut vec_tail:Vec =Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vec_tail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_tail_coords2` [INFO] [stdout] --> src/day9.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut new_tail_coords2 = tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_tail_coords2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashkey2` [INFO] [stdout] --> src/day9.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let hashkey2 = String::from("1-0"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashkey2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashkey3` [INFO] [stdout] --> src/day9.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let hashkey3 = hashkey1.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashkey3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day9.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut vec_tail:Vec =Vec::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: variable does not need to be mutable [INFO] [stdout] --> src/day9.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut new_tail_coords2 = tail_loc.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `our_tail_copy` [INFO] [stdout] --> src/day9.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let our_tail_copy = updated_tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_our_tail_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `our_tail_copy2` [INFO] [stdout] --> src/day9.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let our_tail_copy2 = updated_tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_our_tail_copy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `our_tail_copy3` [INFO] [stdout] --> src/day9.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let our_tail_copy3 = updated_tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_our_tail_copy3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day9.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut tail_x_pos = local_tail_loc.x.clone(); [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/day9.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut tail_y_pos = local_tail_loc.y.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_x_delta` [INFO] [stdout] --> src/day9.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | let abs_x_delta = x_delta.abs(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_x_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_y_delta` [INFO] [stdout] --> src/day9.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | let abs_y_delta = y_delta.abs(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_y_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_instructions` is never used [INFO] [stdout] --> src/day9.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | const number_instructions:usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_instructions` should have an upper case name [INFO] [stdout] --> src/day9.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | const number_instructions:usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUMBER_INSTRUCTIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec_tail` [INFO] [stdout] --> src/day9.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut vec_tail:Vec =Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vec_tail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_tail_coords2` [INFO] [stdout] --> src/day9.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut new_tail_coords2 = tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_tail_coords2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashkey2` [INFO] [stdout] --> src/day9.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let hashkey2 = String::from("1-0"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashkey2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashkey3` [INFO] [stdout] --> src/day9.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let hashkey3 = hashkey1.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashkey3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day9.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut vec_tail:Vec =Vec::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: variable does not need to be mutable [INFO] [stdout] --> src/day9.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut new_tail_coords2 = tail_loc.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `our_tail_copy` [INFO] [stdout] --> src/day9.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let our_tail_copy = updated_tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_our_tail_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `our_tail_copy2` [INFO] [stdout] --> src/day9.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let our_tail_copy2 = updated_tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_our_tail_copy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `our_tail_copy3` [INFO] [stdout] --> src/day9.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let our_tail_copy3 = updated_tail_loc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_our_tail_copy3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day9.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut tail_x_pos = local_tail_loc.x.clone(); [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/day9.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut tail_y_pos = local_tail_loc.y.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_x_delta` [INFO] [stdout] --> src/day9.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | let abs_x_delta = x_delta.abs(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_x_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_y_delta` [INFO] [stdout] --> src/day9.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | let abs_y_delta = y_delta.abs(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_y_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_instructions` is never used [INFO] [stdout] --> src/day9.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | const number_instructions:usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_instructions` should have an upper case name [INFO] [stdout] --> src/day9.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | const number_instructions:usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUMBER_INSTRUCTIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "48438351646c63f29ec236a03191de6f2c84d97e71a2c7d781b80155ab2c76df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48438351646c63f29ec236a03191de6f2c84d97e71a2c7d781b80155ab2c76df", kill_on_drop: false }` [INFO] [stdout] 48438351646c63f29ec236a03191de6f2c84d97e71a2c7d781b80155ab2c76df