[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#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodec-abc%2Fsynacor-challenge-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codec-abc/synacor-challenge-rust on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "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-9/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" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1727f9bd3cccf0009c4af491893dba18e144eb47ea63bdf2f5d8b9bbba00ae3a [INFO] running `Command { std: "docker" "start" "-a" "1727f9bd3cccf0009c4af491893dba18e144eb47ea63bdf2f5d8b9bbba00ae3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1727f9bd3cccf0009c4af491893dba18e144eb47ea63bdf2f5d8b9bbba00ae3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1727f9bd3cccf0009c4af491893dba18e144eb47ea63bdf2f5d8b9bbba00ae3a", kill_on_drop: false }` [INFO] [stdout] 1727f9bd3cccf0009c4af491893dba18e144eb47ea63bdf2f5d8b9bbba00ae3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b6b4db4820785bc82beeccafe3c27ec12b4f7baa05f72411ab7e35a5fa0f5031 [INFO] running `Command { std: "docker" "start" "-a" "b6b4db4820785bc82beeccafe3c27ec12b4f7baa05f72411ab7e35a5fa0f5031", kill_on_drop: false }` [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: 14 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "b6b4db4820785bc82beeccafe3c27ec12b4f7baa05f72411ab7e35a5fa0f5031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b4db4820785bc82beeccafe3c27ec12b4f7baa05f72411ab7e35a5fa0f5031", kill_on_drop: false }` [INFO] [stdout] b6b4db4820785bc82beeccafe3c27ec12b4f7baa05f72411ab7e35a5fa0f5031