[INFO] cloning repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/invainn/rnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvainn%2Frnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvainn%2Frnes'... [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/invainn/rnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9010c918c199fd94e29d0d0b81314703e0f43fa5 [INFO] checking invainn/rnes against master#21de280cccb4eb02ead6bf0af40e2355a9136d6f for pr-100043 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvainn%2Frnes" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/invainn/rnes on toolchain 21de280cccb4eb02ead6bf0af40e2355a9136d6f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/invainn/rnes [INFO] finished tweaking git repo https://github.com/invainn/rnes [INFO] tweaked toml for git repo https://github.com/invainn/rnes written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/invainn/rnes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4e8864f937f0c8abba70b1f1a874db74d797a3791e8eb8578188c219f8c7b50 [INFO] running `Command { std: "docker" "start" "-a" "a4e8864f937f0c8abba70b1f1a874db74d797a3791e8eb8578188c219f8c7b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4e8864f937f0c8abba70b1f1a874db74d797a3791e8eb8578188c219f8c7b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e8864f937f0c8abba70b1f1a874db74d797a3791e8eb8578188c219f8c7b50", kill_on_drop: false }` [INFO] [stdout] a4e8864f937f0c8abba70b1f1a874db74d797a3791e8eb8578188c219f8c7b50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bd31d8d7d424326dec1aca0f86a46013a60e2debf3fea72295469b43872f43b [INFO] running `Command { std: "docker" "start" "-a" "5bd31d8d7d424326dec1aca0f86a46013a60e2debf3fea72295469b43872f43b", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/cpu.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ thread, time }; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/cpu.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ thread, time }; [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/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | / loop { [INFO] [stdout] 48 | | cpu.emulate_cycle(); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 50 | [INFO] [stdout] 51 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum AddressMode { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | ZeroPageX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | ZeroPageY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | AbsoluteX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | AbsoluteY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Indirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | IndexedIndirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | IndirectIndexed, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IRQDisable`, `Decimal`, `Break`, `Push` and `Overflow` are never constructed [INFO] [stdout] --> src/cpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum StatusFlag { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | IRQDisable = 0x04, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | Decimal = 0x08, // Useless [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | Break = 0x10, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Push = 0x20, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Overflow = 0x40, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `oc_bit` is never used [INFO] [stdout] --> src/cpu.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn oc_bit(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `P` should have a snake case name [INFO] [stdout] --> src/cpu.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub P: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub A: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/cpu.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub X: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/cpu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub Y: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/cpu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub S: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | / loop { [INFO] [stdout] 48 | | cpu.emulate_cycle(); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 50 | [INFO] [stdout] 51 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum AddressMode { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | ZeroPageX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | ZeroPageY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | AbsoluteX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | AbsoluteY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Indirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | IndexedIndirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | IndirectIndexed, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IRQDisable`, `Decimal`, `Break`, `Push` and `Overflow` are never constructed [INFO] [stdout] --> src/cpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum StatusFlag { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | IRQDisable = 0x04, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | Decimal = 0x08, // Useless [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | Break = 0x10, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Push = 0x20, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Overflow = 0x40, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `oc_bit` is never used [INFO] [stdout] --> src/cpu.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn oc_bit(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `P` should have a snake case name [INFO] [stdout] --> src/cpu.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub P: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub A: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/cpu.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub X: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/cpu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub Y: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/cpu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub S: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_sub` that must be used [INFO] [stdout] --> src/cpu.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | self.S.wrapping_sub(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_sub` that must be used [INFO] [stdout] --> src/cpu.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | self.S.wrapping_sub(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_sub` that must be used [INFO] [stdout] --> src/cpu.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | self.S.wrapping_sub(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_sub` that must be used [INFO] [stdout] --> src/cpu.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | self.S.wrapping_sub(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.02s [INFO] running `Command { std: "docker" "inspect" "5bd31d8d7d424326dec1aca0f86a46013a60e2debf3fea72295469b43872f43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd31d8d7d424326dec1aca0f86a46013a60e2debf3fea72295469b43872f43b", kill_on_drop: false }` [INFO] [stdout] 5bd31d8d7d424326dec1aca0f86a46013a60e2debf3fea72295469b43872f43b