[INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator/hooks/post-update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99630d972b47f58b68e84ab5a131d5176e71fc79 [INFO] checking patrickrohr/gameboy-emulator against master#4455c8937007f3cc3c078375a335d86dbab391ce for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/patrickrohr/gameboy-emulator [INFO] finished tweaking git repo https://github.com/patrickrohr/gameboy-emulator [INFO] tweaked toml for git repo https://github.com/patrickrohr/gameboy-emulator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patrickrohr/gameboy-emulator on toolchain 4455c8937007f3cc3c078375a335d86dbab391ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patrickrohr/gameboy-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b001c959b59c37450a3a7ffa01a438a4f7b55b90bd7c75e0cbc821df162e8af0 [INFO] running `Command { std: "docker" "start" "-a" "b001c959b59c37450a3a7ffa01a438a4f7b55b90bd7c75e0cbc821df162e8af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b001c959b59c37450a3a7ffa01a438a4f7b55b90bd7c75e0cbc821df162e8af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b001c959b59c37450a3a7ffa01a438a4f7b55b90bd7c75e0cbc821df162e8af0", kill_on_drop: false }` [INFO] [stdout] b001c959b59c37450a3a7ffa01a438a4f7b55b90bd7c75e0cbc821df162e8af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d9d3ee4c7ad1276446dff977c81d65f4d84561eb84265b6e6a5247c328c7e67 [INFO] running `Command { std: "docker" "start" "-a" "7d9d3ee4c7ad1276446dff977c81d65f4d84561eb84265b6e6a5247c328c7e67", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking gameboy-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::num::FromPrimitive` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | atHL, // (HL) [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atBC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | atBC, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atDE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | atDE, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | atHL, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLInc` should have an upper camel case name [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | atHLInc, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHlinc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLDec` should have an upper camel case name [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | atHLDec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHldec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | atC, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AtC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | if (set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 681 - if (set) { [INFO] [stdout] 681 + if set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:780:12 [INFO] [stdout] | [INFO] [stdout] 780 | if (self.ime_request) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 780 - if (self.ime_request) { [INFO] [stdout] 780 + if self.ime_request { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | if (conditionMet) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 796 - if (conditionMet) { [INFO] [stdout] 796 + if conditionMet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | match (operand) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 - match (operand) { [INFO] [stdout] 866 + match operand { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | if (opcode == 0xCB) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 919 - if (opcode == 0xCB) { [INFO] [stdout] 919 + if opcode == 0xCB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::num::FromPrimitive` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | atHL, // (HL) [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atBC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | atBC, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atDE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | atDE, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | atHL, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLInc` should have an upper camel case name [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | atHLInc, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHlinc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLDec` should have an upper camel case name [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | atHLDec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHldec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | atC, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AtC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | if (set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 681 - if (set) { [INFO] [stdout] 681 + if set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:780:12 [INFO] [stdout] | [INFO] [stdout] 780 | if (self.ime_request) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 780 - if (self.ime_request) { [INFO] [stdout] 780 + if self.ime_request { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | if (conditionMet) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 796 - if (conditionMet) { [INFO] [stdout] 796 + if conditionMet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | match (operand) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 - match (operand) { [INFO] [stdout] 866 + match operand { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | if (opcode == 0xCB) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 919 - if (opcode == 0xCB) { [INFO] [stdout] 919 + if opcode == 0xCB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let mut cpu = Cpu { [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: unreachable pattern [INFO] [stdout] --> src/main.rs:1022:13 [INFO] [stdout] | [INFO] [stdout] 1017 | Instruction::SCF => { [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1022 | Instruction::SCF => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1048 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | -------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1051 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:978:21 [INFO] [stdout] | [INFO] [stdout] 978 | let result = match operator { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD` is never constructed [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 155 | enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 156 | NOP, [INFO] [stdout] 157 | LD(LoadType), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_af`, `is_z_flag`, and `set_af` are never used [INFO] [stdout] --> src/main.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 610 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 639 | fn get_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | fn is_z_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn set_af(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:795:35 [INFO] [stdout] | [INFO] [stdout] 795 | fn jump(&mut self, addr: u16, conditionMet: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | let conditionMet: bool = match condition { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let mut cpu = Cpu { [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: unreachable pattern [INFO] [stdout] --> src/main.rs:1022:13 [INFO] [stdout] | [INFO] [stdout] 1017 | Instruction::SCF => { [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1022 | Instruction::SCF => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1048 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | -------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1051 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:978:21 [INFO] [stdout] | [INFO] [stdout] 978 | let result = match operator { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD` is never constructed [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 155 | enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 156 | NOP, [INFO] [stdout] 157 | LD(LoadType), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_af`, `is_z_flag`, and `set_af` are never used [INFO] [stdout] --> src/main.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 610 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 639 | fn get_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | fn is_z_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn set_af(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:795:35 [INFO] [stdout] | [INFO] [stdout] 795 | fn jump(&mut self, addr: u16, conditionMet: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | let conditionMet: bool = match condition { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.60s [INFO] running `Command { std: "docker" "inspect" "7d9d3ee4c7ad1276446dff977c81d65f4d84561eb84265b6e6a5247c328c7e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9d3ee4c7ad1276446dff977c81d65f4d84561eb84265b6e6a5247c328c7e67", kill_on_drop: false }` [INFO] [stdout] 7d9d3ee4c7ad1276446dff977c81d65f4d84561eb84265b6e6a5247c328c7e67