[INFO] cloning repository https://github.com/bgreni/NES-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgreni/NES-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgreni%2FNES-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgreni%2FNES-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 132c87c9107c7c5ad7611e5b81567a537dfa882c [INFO] checking bgreni/NES-rs/132c87c9107c7c5ad7611e5b81567a537dfa882c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgreni%2FNES-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bgreni/NES-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bgreni/NES-rs [INFO] finished tweaking git repo https://github.com/bgreni/NES-rs [INFO] tweaked toml for git repo https://github.com/bgreni/NES-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bgreni/NES-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4284a8d65f467c3e75f391518d375e2b422d34a28d42a3cc58ad1e08351c9e0b [INFO] running `Command { std: "docker" "start" "-a" "4284a8d65f467c3e75f391518d375e2b422d34a28d42a3cc58ad1e08351c9e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4284a8d65f467c3e75f391518d375e2b422d34a28d42a3cc58ad1e08351c9e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4284a8d65f467c3e75f391518d375e2b422d34a28d42a3cc58ad1e08351c9e0b", kill_on_drop: false }` [INFO] [stdout] 4284a8d65f467c3e75f391518d375e2b422d34a28d42a3cc58ad1e08351c9e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f5645fba5dfb6e0b98651015fd7d397ca49e50adbfb735cf1dd4606c16e7291 [INFO] running `Command { std: "docker" "start" "-a" "1f5645fba5dfb6e0b98651015fd7d397ca49e50adbfb735cf1dd4606c16e7291", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking Nes-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `timing` [INFO] [stdout] --> src/hardware/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod timing; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `timing`, create file "src/hardware/timing.rs" or "src/hardware/timing/mod.rs" [INFO] [stdout] = note: if there is a `mod timing` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `debug` [INFO] [stdout] --> src/hardware/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `debug`, create file "src/hardware/debug.rs" or "src/hardware/debug/mod.rs" [INFO] [stdout] = note: if there is a `mod debug` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `timing` [INFO] [stdout] --> src/hardware/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod timing; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `timing`, create file "src/hardware/timing.rs" or "src/hardware/timing/mod.rs" [INFO] [stdout] = note: if there is a `mod timing` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `debug` [INFO] [stdout] --> src/hardware/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `debug`, create file "src/hardware/debug.rs" or "src/hardware/debug/mod.rs" [INFO] [stdout] = note: if there is a `mod debug` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hardware::debug::DebugUtils` [INFO] [stdout] --> src/hardware/memory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::hardware::debug::DebugUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DebugUtils` in `hardware::debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/hardware/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hardware::debug::DebugUtils` [INFO] [stdout] --> src/hardware/memory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::hardware::debug::DebugUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DebugUtils` in `hardware::debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/hardware/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/hardware/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/cpu.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | _ => self.cry(op as u8) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/cpu.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 37 | Ops::AdcI => self.adc(AddrModes::Immediate), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 38 | Ops::AdcZp => self.adc(AddrModes::ZeroPage), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 39 | Ops::AdcZpX => self.adc(AddrModes::ZeroPageX), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 40 | Ops::AdcAbs => self.adc(AddrModes::Absolute), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 213 | _ => self.cry(op as u8) [INFO] [stdout] | ^ ...and 143 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `carry` is never read [INFO] [stdout] --> src/hardware/cpu.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | let mut carry = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `carry` is never read [INFO] [stdout] --> src/hardware/cpu.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut carry = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Nes-rs` (bin "Nes-rs") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/cpu.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | _ => self.cry(op as u8) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/cpu.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 37 | Ops::AdcI => self.adc(AddrModes::Immediate), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 38 | Ops::AdcZp => self.adc(AddrModes::ZeroPage), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 39 | Ops::AdcZpX => self.adc(AddrModes::ZeroPageX), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 40 | Ops::AdcAbs => self.adc(AddrModes::Absolute), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 213 | _ => self.cry(op as u8) [INFO] [stdout] | ^ ...and 143 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `carry` is never read [INFO] [stdout] --> src/hardware/cpu.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | let mut carry = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `carry` is never read [INFO] [stdout] --> src/hardware/cpu.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut carry = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Nes-rs` (bin "Nes-rs" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f5645fba5dfb6e0b98651015fd7d397ca49e50adbfb735cf1dd4606c16e7291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5645fba5dfb6e0b98651015fd7d397ca49e50adbfb735cf1dd4606c16e7291", kill_on_drop: false }` [INFO] [stdout] 1f5645fba5dfb6e0b98651015fd7d397ca49e50adbfb735cf1dd4606c16e7291