[INFO] cloning repository https://github.com/codec-abc/synacor-challenge-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codec-abc/synacor-challenge-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodec-abc%2Fsynacor-challenge-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodec-abc%2Fsynacor-challenge-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8106355e9b1dc3a97f41e0c79ff83a12e31d792e [INFO] building codec-abc/synacor-challenge-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodec-abc%2Fsynacor-challenge-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codec-abc/synacor-challenge-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codec-abc/synacor-challenge-rust [INFO] finished tweaking git repo https://github.com/codec-abc/synacor-challenge-rust [INFO] tweaked toml for git repo https://github.com/codec-abc/synacor-challenge-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codec-abc/synacor-challenge-rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dce4781447632436b10b3552951ab83bd3a4eae0f41163d814958c489486cc7 [INFO] running `Command { std: "docker" "start" "-a" "3dce4781447632436b10b3552951ab83bd3a4eae0f41163d814958c489486cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dce4781447632436b10b3552951ab83bd3a4eae0f41163d814958c489486cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dce4781447632436b10b3552951ab83bd3a4eae0f41163d814958c489486cc7", kill_on_drop: false }` [INFO] [stdout] 3dce4781447632436b10b3552951ab83bd3a4eae0f41163d814958c489486cc7 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bcf43e727395c83c6780f55188a225d01c304e59f578d2e7734e0fa1fced5d6 [INFO] running `Command { std: "docker" "start" "-a" "5bcf43e727395c83c6780f55188a225d01c304e59f578d2e7734e0fa1fced5d6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling synacor_challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:231:51 [INFO] [stdout] | [INFO] [stdout] 231 | let register_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 231 - let register_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 231 + let register_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:232:48 [INFO] [stdout] | [INFO] [stdout] 232 | let value_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 232 - let value_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] 232 + let value_result = read_mem_as_u16_le(mem, offset + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:256:48 [INFO] [stdout] | [INFO] [stdout] 256 | let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 256 + let value_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:275:48 [INFO] [stdout] | [INFO] [stdout] 275 | let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 275 - let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 275 + let value_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | let cell_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - let cell_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 294 + let cell_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:295:56 [INFO] [stdout] | [INFO] [stdout] 295 | let first_operand_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 295 - let first_operand_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] 295 + let first_operand_result = read_mem_as_u16_le(mem, offset + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:296:57 [INFO] [stdout] | [INFO] [stdout] 296 | let second_operand_result = read_mem_as_u16_le(mem, (offset + 3)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 296 - let second_operand_result = read_mem_as_u16_le(mem, (offset + 3)); [INFO] [stdout] 296 + let second_operand_result = read_mem_as_u16_le(mem, offset + 3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:626:25 [INFO] [stdout] | [INFO] [stdout] 626 | let mut f = File::create(dir.clone() + "registers.txt"); [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/vm.rs:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | let mut f = File::create(dir.clone() + "stack.txt"); [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/vm.rs:654:25 [INFO] [stdout] | [INFO] [stdout] 654 | let mut f = File::create(dir.clone() + "program_counter.txt"); [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/vm.rs:665:25 [INFO] [stdout] | [INFO] [stdout] 665 | let mut f = File::create(dir.clone() + "step_number.txt"); [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/vm.rs:676:25 [INFO] [stdout] | [INFO] [stdout] 676 | let mut f = File::create(dir.clone() + "memory.txt"); [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:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let mut should_continue = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_invalid_number` is never used [INFO] [stdout] --> src/opcode.rs:838:12 [INFO] [stdout] | [INFO] [stdout] 818 | impl ParsedNumber [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 838 | pub fn is_invalid_number(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | OpCodeParseFailure(opcode::ReadOpCodeFailure), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunFailure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | OpCodeParseFailure(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "5bcf43e727395c83c6780f55188a225d01c304e59f578d2e7734e0fa1fced5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bcf43e727395c83c6780f55188a225d01c304e59f578d2e7734e0fa1fced5d6", kill_on_drop: false }` [INFO] [stdout] 5bcf43e727395c83c6780f55188a225d01c304e59f578d2e7734e0fa1fced5d6 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588fc5329ac59e87e2ece5db5f3ae8984a597417f1c63191a14409cd6f6618b6 [INFO] running `Command { std: "docker" "start" "-a" "588fc5329ac59e87e2ece5db5f3ae8984a597417f1c63191a14409cd6f6618b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling synacor_challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:231:51 [INFO] [stdout] | [INFO] [stdout] 231 | let register_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 231 - let register_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 231 + let register_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:232:48 [INFO] [stdout] | [INFO] [stdout] 232 | let value_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 232 - let value_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] 232 + let value_result = read_mem_as_u16_le(mem, offset + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:256:48 [INFO] [stdout] | [INFO] [stdout] 256 | let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 256 + let value_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:275:48 [INFO] [stdout] | [INFO] [stdout] 275 | let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 275 - let value_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 275 + let value_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | let cell_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - let cell_result = read_mem_as_u16_le(mem, (offset + 1)); [INFO] [stdout] 294 + let cell_result = read_mem_as_u16_le(mem, offset + 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:295:56 [INFO] [stdout] | [INFO] [stdout] 295 | let first_operand_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 295 - let first_operand_result = read_mem_as_u16_le(mem, (offset + 2)); [INFO] [stdout] 295 + let first_operand_result = read_mem_as_u16_le(mem, offset + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/opcode.rs:296:57 [INFO] [stdout] | [INFO] [stdout] 296 | let second_operand_result = read_mem_as_u16_le(mem, (offset + 3)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 296 - let second_operand_result = read_mem_as_u16_le(mem, (offset + 3)); [INFO] [stdout] 296 + let second_operand_result = read_mem_as_u16_le(mem, offset + 3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:626:25 [INFO] [stdout] | [INFO] [stdout] 626 | let mut f = File::create(dir.clone() + "registers.txt"); [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/vm.rs:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | let mut f = File::create(dir.clone() + "stack.txt"); [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/vm.rs:654:25 [INFO] [stdout] | [INFO] [stdout] 654 | let mut f = File::create(dir.clone() + "program_counter.txt"); [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/vm.rs:665:25 [INFO] [stdout] | [INFO] [stdout] 665 | let mut f = File::create(dir.clone() + "step_number.txt"); [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/vm.rs:676:25 [INFO] [stdout] | [INFO] [stdout] 676 | let mut f = File::create(dir.clone() + "memory.txt"); [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:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let mut should_continue = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_invalid_number` is never used [INFO] [stdout] --> src/opcode.rs:838:12 [INFO] [stdout] | [INFO] [stdout] 818 | impl ParsedNumber [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 838 | pub fn is_invalid_number(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | OpCodeParseFailure(opcode::ReadOpCodeFailure), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunFailure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | OpCodeParseFailure(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "588fc5329ac59e87e2ece5db5f3ae8984a597417f1c63191a14409cd6f6618b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588fc5329ac59e87e2ece5db5f3ae8984a597417f1c63191a14409cd6f6618b6", kill_on_drop: false }` [INFO] [stdout] 588fc5329ac59e87e2ece5db5f3ae8984a597417f1c63191a14409cd6f6618b6