[INFO] cloning repository https://github.com/reilleya/rustBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reilleya/rustBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freilleya%2FrustBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freilleya%2FrustBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e59436bf938c96e2dd54f66843e949c62b788e2 [INFO] checking reilleya/rustBoy against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freilleya%2FrustBoy" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reilleya/rustBoy on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/reilleya/rustBoy [INFO] finished tweaking git repo https://github.com/reilleya/rustBoy [INFO] tweaked toml for git repo https://github.com/reilleya/rustBoy written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/reilleya/rustBoy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ba7e435d96ada70c493bd723b11b473a467adc9d4142ac8fb0ae33cd78c9213 [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" "3ba7e435d96ada70c493bd723b11b473a467adc9d4142ac8fb0ae33cd78c9213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ba7e435d96ada70c493bd723b11b473a467adc9d4142ac8fb0ae33cd78c9213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba7e435d96ada70c493bd723b11b473a467adc9d4142ac8fb0ae33cd78c9213", kill_on_drop: false }` [INFO] [stdout] 3ba7e435d96ada70c493bd723b11b473a467adc9d4142ac8fb0ae33cd78c9213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f3ed9c13c3201639c2f1159a16a28f6e2915b1b7f9d7fa909fd92addd3aea09 [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" "0f3ed9c13c3201639c2f1159a16a28f6e2915b1b7f9d7fa909fd92addd3aea09", kill_on_drop: false }` [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rustBoy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | f, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | b, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | c, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | d, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | e, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | h, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `l` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | l [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Core` [INFO] [stdout] --> src/core/memory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::Core; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | f, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | b, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | c, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | d, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | e, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | h, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `l` should have an upper camel case name [INFO] [stdout] --> src/core/registers.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | l [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Core` [INFO] [stdout] --> src/core/memory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::Core; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/memory.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | panic!("Read out of bounds at {:2X}", loc); [INFO] [stdout] | ------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 48 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/core/mod.rs:1086:4 [INFO] [stdout] | [INFO] [stdout] 1085 | 0x00 ..= 0x07 => operand, // Rotate left through carry [INFO] [stdout] | ------------- this range overlaps on `7_u8`... [INFO] [stdout] 1086 | 0x07 ..= 0x0F => operand, // Rotate right through carry [INFO] [stdout] | ^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/memory.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/memory.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_Carry` [INFO] [stdout] --> src/core/mod.rs:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_Carry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/core/display.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_mem(&mut self, loc:u16, val:u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core/display.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_mem(&mut self, loc:u16, val:u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `f` [INFO] [stdout] --> src/core/registers.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | f, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_sub_half_carry_16` [INFO] [stdout] --> src/core/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn check_sub_half_carry_16(a:u16, b:u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_a` [INFO] [stdout] --> src/core/mod.rs:1196:5 [INFO] [stdout] | [INFO] [stdout] 1196 | fn dec_a(&mut self) -> (u16, u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustBoy` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_boy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `op_Carry` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_carry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/memory.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | panic!("Read out of bounds at {:2X}", loc); [INFO] [stdout] | ------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 48 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/core/mod.rs:1086:4 [INFO] [stdout] | [INFO] [stdout] 1085 | 0x00 ..= 0x07 => operand, // Rotate left through carry [INFO] [stdout] | ------------- this range overlaps on `7_u8`... [INFO] [stdout] 1086 | 0x07 ..= 0x0F => operand, // Rotate right through carry [INFO] [stdout] | ^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/memory.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/memory.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_Carry` [INFO] [stdout] --> src/core/mod.rs:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_Carry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/core/display.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_mem(&mut self, loc:u16, val:u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core/display.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_mem(&mut self, loc:u16, val:u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core/rom.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | fo.read(&mut self.data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `f` [INFO] [stdout] --> src/core/registers.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | f, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_sub_half_carry_16` [INFO] [stdout] --> src/core/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn check_sub_half_carry_16(a:u16, b:u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_a` [INFO] [stdout] --> src/core/mod.rs:1196:5 [INFO] [stdout] | [INFO] [stdout] 1196 | fn dec_a(&mut self) -> (u16, u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustBoy` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_boy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `op_Carry` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_carry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core/rom.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | fo.read(&mut self.data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "0f3ed9c13c3201639c2f1159a16a28f6e2915b1b7f9d7fa909fd92addd3aea09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3ed9c13c3201639c2f1159a16a28f6e2915b1b7f9d7fa909fd92addd3aea09", kill_on_drop: false }` [INFO] [stdout] 0f3ed9c13c3201639c2f1159a16a28f6e2915b1b7f9d7fa909fd92addd3aea09