[INFO] cloning repository https://github.com/parsaalian/nes-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parsaalian/nes-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsaalian%2Fnes-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsaalian%2Fnes-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c3697ade1dcf4756d46d408defc730e4a6db367 [INFO] checking parsaalian/nes-rust against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsaalian%2Fnes-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parsaalian/nes-rust on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/parsaalian/nes-rust [INFO] finished tweaking git repo https://github.com/parsaalian/nes-rust [INFO] tweaked toml for git repo https://github.com/parsaalian/nes-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/parsaalian/nes-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 027582d6b8f686d794dc030cccf700ec9f22705c110b939fe4bbca39ab4cd3ba [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" "027582d6b8f686d794dc030cccf700ec9f22705c110b939fe4bbca39ab4cd3ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "027582d6b8f686d794dc030cccf700ec9f22705c110b939fe4bbca39ab4cd3ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027582d6b8f686d794dc030cccf700ec9f22705c110b939fe4bbca39ab4cd3ba", kill_on_drop: false }` [INFO] [stdout] 027582d6b8f686d794dc030cccf700ec9f22705c110b939fe4bbca39ab4cd3ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c746d1fe1f2155d057d931e696298c8c63f33f2a7d191e14072e78270513ffa1 [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" "c746d1fe1f2155d057d931e696298c8c63f33f2a7d191e14072e78270513ffa1", kill_on_drop: false }` [INFO] [stderr] Checking emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | self.negative = ((byte >> NEGATIVE_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | self.overflow = ((byte >> OVERFLOW_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | self.decimal = ((byte >> DECIMAL_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | self.interrupt = ((byte >> OVERFLOW_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | self.zero = ((byte >> ZERO_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | self.carry = ((byte >> OVERFLOW_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | self.negative = ((byte >> NEGATIVE_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | self.overflow = ((byte >> OVERFLOW_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | self.decimal = ((byte >> DECIMAL_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | self.interrupt = ((byte >> OVERFLOW_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | self.zero = ((byte >> ZERO_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/cpu/registers.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | self.carry = ((byte >> OVERFLOW_FLAG_BYTE_POSITION) & 0b1) != 0; [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu/cpu.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | if (flag) { [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 `if` condition [INFO] [stdout] --> src/cpu/cpu.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | if (flag) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `rotate_left`: [INFO] [stdout] --> src/cpu/cpu.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 444 | / pub fn rotate_left(&mut self, value: u8) -> u8 { [INFO] [stdout] 445 | | let shift_result = ((((value as u16) * 2) & 0xff) as u8) | (value & 0x80); [INFO] [stdout] 446 | | (*self.flags_register.borrow_mut()).set_carry(((value >> 7) & 0b1) == 1); [INFO] [stdout] 447 | | // TODO: zero only if in accumulator mode [INFO] [stdout] ... | [INFO] [stdout] 450 | | shift_result [INFO] [stdout] 451 | | } [INFO] [stdout] | |_____- previous definition of `rotate_left` here [INFO] [stdout] 452 | [INFO] [stdout] 453 | / pub fn rotate_left(&mut self, value: u8) -> u8 { [INFO] [stdout] 454 | | let shift_result = (value >> 1) | (value & 0x01); [INFO] [stdout] 455 | | (*self.flags_register.borrow_mut()).set_carry(((value >> 7) & 0b1) == 1); [INFO] [stdout] 456 | | // TODO: zero only if in accumulator mode [INFO] [stdout] ... | [INFO] [stdout] 459 | | shift_result [INFO] [stdout] 460 | | } [INFO] [stdout] | |_____^ duplicate definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0201, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0201`. [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `rotate_left`: [INFO] [stdout] --> src/cpu/cpu.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 444 | / pub fn rotate_left(&mut self, value: u8) -> u8 { [INFO] [stdout] 445 | | let shift_result = ((((value as u16) * 2) & 0xff) as u8) | (value & 0x80); [INFO] [stdout] 446 | | (*self.flags_register.borrow_mut()).set_carry(((value >> 7) & 0b1) == 1); [INFO] [stdout] 447 | | // TODO: zero only if in accumulator mode [INFO] [stdout] ... | [INFO] [stdout] 450 | | shift_result [INFO] [stdout] 451 | | } [INFO] [stdout] | |_____- previous definition of `rotate_left` here [INFO] [stdout] 452 | [INFO] [stdout] 453 | / pub fn rotate_left(&mut self, value: u8) -> u8 { [INFO] [stdout] 454 | | let shift_result = (value >> 1) | (value & 0x01); [INFO] [stdout] 455 | | (*self.flags_register.borrow_mut()).set_carry(((value >> 7) & 0b1) == 1); [INFO] [stdout] 456 | | // TODO: zero only if in accumulator mode [INFO] [stdout] ... | [INFO] [stdout] 459 | | shift_result [INFO] [stdout] 460 | | } [INFO] [stdout] | |_____^ duplicate definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0201, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0201`. [INFO] [stdout] [INFO] [stderr] error: could not compile `emulator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c746d1fe1f2155d057d931e696298c8c63f33f2a7d191e14072e78270513ffa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c746d1fe1f2155d057d931e696298c8c63f33f2a7d191e14072e78270513ffa1", kill_on_drop: false }` [INFO] [stdout] c746d1fe1f2155d057d931e696298c8c63f33f2a7d191e14072e78270513ffa1