[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] checking codec-abc/synacor-challenge-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodec-abc%2Fsynacor-challenge-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codec-abc/synacor-challenge-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb025037c3ea55e11dd193424654e9217a31167d42c9b8065b77365c927d6a1c [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" "eb025037c3ea55e11dd193424654e9217a31167d42c9b8065b77365c927d6a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb025037c3ea55e11dd193424654e9217a31167d42c9b8065b77365c927d6a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb025037c3ea55e11dd193424654e9217a31167d42c9b8065b77365c927d6a1c", kill_on_drop: false }` [INFO] [stdout] eb025037c3ea55e11dd193424654e9217a31167d42c9b8065b77365c927d6a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b003df573f11d714ac9975d83120c8c1233fa3071a540d4d60473ae220258d91 [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" "b003df573f11d714ac9975d83120c8c1233fa3071a540d4d60473ae220258d91", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking num-traits v0.2.0 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] = 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: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] = 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: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] [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: associated function is never used: `is_invalid_number` [INFO] [stdout] --> src/opcode.rs:838:12 [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: 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] [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: associated function is never used: `is_invalid_number` [INFO] [stdout] --> src/opcode.rs:838:12 [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.40s [INFO] running `Command { std: "docker" "inspect" "b003df573f11d714ac9975d83120c8c1233fa3071a540d4d60473ae220258d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b003df573f11d714ac9975d83120c8c1233fa3071a540d4d60473ae220258d91", kill_on_drop: false }` [INFO] [stdout] b003df573f11d714ac9975d83120c8c1233fa3071a540d4d60473ae220258d91