[INFO] cloning repository https://github.com/pocketonion/Chip8Emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pocketonion/Chip8Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpocketonion%2FChip8Emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpocketonion%2FChip8Emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 409305cf3c922d855e7b8015f9522d62fe8f344c [INFO] documenting pocketonion/Chip8Emulator against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpocketonion%2FChip8Emulator" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pocketonion/Chip8Emulator on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pocketonion/Chip8Emulator [INFO] finished tweaking git repo https://github.com/pocketonion/Chip8Emulator [INFO] tweaked toml for git repo https://github.com/pocketonion/Chip8Emulator written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/pocketonion/Chip8Emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.7.3 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded libc v0.2.67 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded rand_chacha v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4dd63b558eb0fb3286448bd5c9c61cb21467bc2755f2a4ba95844ff4b9a9db [INFO] running `Command { std: "docker" "start" "-a" "bb4dd63b558eb0fb3286448bd5c9c61cb21467bc2755f2a4ba95844ff4b9a9db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4dd63b558eb0fb3286448bd5c9c61cb21467bc2755f2a4ba95844ff4b9a9db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4dd63b558eb0fb3286448bd5c9c61cb21467bc2755f2a4ba95844ff4b9a9db", kill_on_drop: false }` [INFO] [stdout] bb4dd63b558eb0fb3286448bd5c9c61cb21467bc2755f2a4ba95844ff4b9a9db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 965ddf649778a468640e54501a2abe4df68d262eac3d33464ed7eb01ea37b542 [INFO] running `Command { std: "docker" "start" "-a" "965ddf649778a468640e54501a2abe4df68d262eac3d33464ed7eb01ea37b542", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Documenting chip8_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let a = (self.opcode & 0x0FFF); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - let a = (self.opcode & 0x0FFF); [INFO] [stdout] 104 + let a = self.opcode & 0x0FFF; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | let nl:u16 = (self.opcode & 0x0FFF); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - let nl:u16 = (self.opcode & 0x0FFF); [INFO] [stdout] 113 + let nl:u16 = self.opcode & 0x0FFF; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | if(self.v[((self.opcode & 0x0F00) >> 8) as usize] == (self.opcode & 0xFF) as u8) //probably broken [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - if(self.v[((self.opcode & 0x0F00) >> 8) as usize] == (self.opcode & 0xFF) as u8) //probably broken [INFO] [stdout] 119 + if self.v[((self.opcode & 0x0F00) >> 8) as usize] == (self.opcode & 0xFF) as u8 //probably broken [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | if(self.v[(self.opcode & 0x0F00 >> 8) as usize] != (self.opcode & 0x00FF) as u8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - if(self.v[(self.opcode & 0x0F00 >> 8) as usize] != (self.opcode & 0x00FF) as u8) [INFO] [stdout] 132 + if self.v[(self.opcode & 0x0F00 >> 8) as usize] != (self.opcode & 0x00FF) as u8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | if(self.v[((self.opcode & 0xF00) >> 8) as usize] == self.v[((self.opcode & 0x00F0) >> 4) as usize]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - if(self.v[((self.opcode & 0xF00) >> 8) as usize] == self.v[((self.opcode & 0x00F0) >> 4) as usize]) [INFO] [stdout] 145 + if self.v[((self.opcode & 0xF00) >> 8) as usize] == self.v[((self.opcode & 0x00F0) >> 4) as usize] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | if(((self.v[i] as u16) + (v as u16)) <= 255) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - if(((self.v[i] as u16) + (v as u16)) <= 255) [INFO] [stdout] 169 + if ((self.v[i] as u16) + (v as u16)) <= 255 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | match (self.opcode & 0x000F) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 - match (self.opcode & 0x000F) [INFO] [stdout] 183 + match self.opcode & 0x000F [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | if(self.v[((self.opcode & 0x00F0) >> 4) as usize] > (0xFF - self.v[((self.opcode & 0x0F00) >> 8) as usize])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - if(self.v[((self.opcode & 0x00F0) >> 4) as usize] > (0xFF - self.v[((self.opcode & 0x0F00) >> 8) as usize])) [INFO] [stdout] 211 + if self.v[((self.opcode & 0x00F0) >> 4) as usize] > (0xFF - self.v[((self.opcode & 0x0F00) >> 8) as usize]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | if(self.v[((self.opcode & 0x00F0) >> 4) as usize] > self.v[((self.opcode & 0x0F00) >> 8) as usize]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 225 - if(self.v[((self.opcode & 0x00F0) >> 4) as usize] > self.v[((self.opcode & 0x0F00) >> 8) as usize]) [INFO] [stdout] 225 + if self.v[((self.opcode & 0x00F0) >> 4) as usize] > self.v[((self.opcode & 0x0F00) >> 8) as usize] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | self.i = (self.opcode & 0x0FFF); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 246 - self.i = (self.opcode & 0x0FFF); [INFO] [stdout] 246 + self.i = self.opcode & 0x0FFF; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | self.v[i as usize] = (n & r); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - self.v[i as usize] = (n & r); [INFO] [stdout] 256 + self.v[i as usize] = n & r; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | if((pixel & (0x80 >> xline)) != 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 - if((pixel & (0x80 >> xline)) != 0) [INFO] [stdout] 273 + if (pixel & (0x80 >> xline)) != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | ... if(self.gfx[(x + xline + ((y + yline) * 64)) as usize] == 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 275 - if(self.gfx[(x + xline + ((y + yline) * 64)) as usize] == 1) [INFO] [stdout] 275 + if self.gfx[(x + xline + ((y + yline) * 64)) as usize] == 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | match (self.opcode & 0x00FF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - match (self.opcode & 0x00FF) [INFO] [stdout] 289 + match self.opcode & 0x00FF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | if(self.key[self.v[((self.opcode & 0x0F00) >> 8) as usize] as usize] != 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 293 - if(self.key[self.v[((self.opcode & 0x0F00) >> 8) as usize] as usize] != 0) [INFO] [stdout] 293 + if self.key[self.v[((self.opcode & 0x0F00) >> 8) as usize] as usize] != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | if(self.key[self.v[((self.opcode & 0x0F00) >> 8) as usize] as usize] == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - if(self.key[self.v[((self.opcode & 0x0F00) >> 8) as usize] as usize] == 0) [INFO] [stdout] 304 + if self.key[self.v[((self.opcode & 0x0F00) >> 8) as usize] as usize] == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:321:11 [INFO] [stdout] | [INFO] [stdout] 321 | match (self.opcode & 0x00FF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 321 - match (self.opcode & 0x00FF) [INFO] [stdout] 321 + match self.opcode & 0x00FF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | if(((self.i as u16) + (self.v[((self.opcode & 0xF00) >> 8) as usize] as u16) as u16) > 0xFFF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 332 - if(((self.i as u16) + (self.v[((self.opcode & 0xF00) >> 8) as usize] as u16) as u16) > 0xFFF) [INFO] [stdout] 332 + if ((self.i as u16) + (self.v[((self.opcode & 0xF00) >> 8) as usize] as u16) as u16) > 0xFFF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | if(self.draw_flag) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 385 - if(self.draw_flag) [INFO] [stdout] 385 + if self.draw_flag [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | if(self.gfx[(y*64) + x] == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 391 - if(self.gfx[(y*64) + x] == 0) [INFO] [stdout] 391 + if self.gfx[(y*64) + x] == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.14s [INFO] running `Command { std: "docker" "inspect" "965ddf649778a468640e54501a2abe4df68d262eac3d33464ed7eb01ea37b542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965ddf649778a468640e54501a2abe4df68d262eac3d33464ed7eb01ea37b542", kill_on_drop: false }` [INFO] [stdout] 965ddf649778a468640e54501a2abe4df68d262eac3d33464ed7eb01ea37b542