[INFO] cloning repository https://github.com/UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUMM-CSci-4611-S25%2Fmemory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUMM-CSci-4611-S25%2Fmemory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08f21ff91923216817c6795824b045c94533299f [INFO] checking UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUMM-CSci-4611-S25%2Fmemory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5 [INFO] finished tweaking git repo https://github.com/UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5 [INFO] tweaked toml for git repo https://github.com/UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/UMM-CSci-4611-S25/memory-safe-programming-in-rust-s25-aoc-2022-day-5-part-1-aoc-2022-day-5 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8b8d5f4490013dbe37996fc7308c0d839298440abec0b4f63c49c9c0f0010e7 [INFO] running `Command { std: "docker" "start" "-a" "d8b8d5f4490013dbe37996fc7308c0d839298440abec0b4f63c49c9c0f0010e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8b8d5f4490013dbe37996fc7308c0d839298440abec0b4f63c49c9c0f0010e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b8d5f4490013dbe37996fc7308c0d839298440abec0b4f63c49c9c0f0010e7", kill_on_drop: false }` [INFO] [stdout] d8b8d5f4490013dbe37996fc7308c0d839298440abec0b4f63c49c9c0f0010e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c7507df31b045d8fb09f44e2188ad5ee183e8d3732f2584dd6de1ee77f72dce [INFO] running `Command { std: "docker" "start" "-a" "3c7507df31b045d8fb09f44e2188ad5ee183e8d3732f2584dd6de1ee77f72dce", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking aoc-2022-day-5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/part1.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn apply_instruction(mut self, instruction: &CraneInstruction) -> Result { [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: `instruction` [INFO] [stdout] --> src/bin/part1.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | fn apply_instruction(mut self, instruction: &CraneInstruction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/bin/part1.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | fn apply_instructions(self, instructions: &CraneInstructions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/bin/part1.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn eq(&self, other: &Vec) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stacks` is never read [INFO] [stdout] --> src/bin/part1.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Stacks { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 51 | stacks: [Stack; NUM_STACKS], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stacks` 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: method `apply_instruction` is never used [INFO] [stdout] --> src/bin/part1.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Stacks { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn apply_instruction(mut self, instruction: &CraneInstruction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_to_move`, `from_stack`, and `to_stack` are never read [INFO] [stdout] --> src/bin/part1.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct CraneInstruction { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 129 | num_to_move: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | from_stack: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | to_stack: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/bin/part1.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct CraneInstructions { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 150 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/part1.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn apply_instruction(mut self, instruction: &CraneInstruction) -> Result { [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: `instruction` [INFO] [stdout] --> src/bin/part1.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | fn apply_instruction(mut self, instruction: &CraneInstruction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/bin/part1.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | fn apply_instructions(self, instructions: &CraneInstructions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/bin/part1.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn eq(&self, other: &Vec) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/part1.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "3c7507df31b045d8fb09f44e2188ad5ee183e8d3732f2584dd6de1ee77f72dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7507df31b045d8fb09f44e2188ad5ee183e8d3732f2584dd6de1ee77f72dce", kill_on_drop: false }` [INFO] [stdout] 3c7507df31b045d8fb09f44e2188ad5ee183e8d3732f2584dd6de1ee77f72dce