[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] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9010c918c199fd94e29d0d0b81314703e0f43fa5 [INFO] checking invainn/rnes against try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvainn%2Frnes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/invainn/rnes on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking invainn/rnes against try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvainn%2Frnes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/invainn/rnes on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ba0c038259002dce2164f29336e2d50c1db5abebeea7b83bcbc79817375ec49 [INFO] running `Command { std: "docker" "start" "-a" "0ba0c038259002dce2164f29336e2d50c1db5abebeea7b83bcbc79817375ec49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ba0c038259002dce2164f29336e2d50c1db5abebeea7b83bcbc79817375ec49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba0c038259002dce2164f29336e2d50c1db5abebeea7b83bcbc79817375ec49", kill_on_drop: false }` [INFO] [stdout] 0ba0c038259002dce2164f29336e2d50c1db5abebeea7b83bcbc79817375ec49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dreturn-local-variable-ptr" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df821363733ca28b5983718e55c8af1621e1cb3c15b137df14f1055a8d306fc [INFO] running `Command { std: "docker" "start" "-a" "4df821363733ca28b5983718e55c8af1621e1cb3c15b137df14f1055a8d306fc", kill_on_drop: false }` [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread` and `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` and `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: 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: field `Y` is never read [INFO] [stdout] --> src/cpu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub Y: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `oc_bit` is never used [INFO] [stdout] --> src/cpu.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl CPU { [INFO] [stdout] | -------- method in this implementation [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: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 280 | let _ = self.S.wrapping_sub(1); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = self.S.wrapping_sub(1); [INFO] [stdout] | +++++++ [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: field `Y` is never read [INFO] [stdout] --> src/cpu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub Y: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `oc_bit` is never used [INFO] [stdout] --> src/cpu.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl CPU { [INFO] [stdout] | -------- method in this implementation [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: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 280 | let _ = self.S.wrapping_sub(1); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = self.S.wrapping_sub(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "4df821363733ca28b5983718e55c8af1621e1cb3c15b137df14f1055a8d306fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df821363733ca28b5983718e55c8af1621e1cb3c15b137df14f1055a8d306fc", kill_on_drop: false }` [INFO] [stdout] 4df821363733ca28b5983718e55c8af1621e1cb3c15b137df14f1055a8d306fc