[INFO] cloning repository https://github.com/yamash723/nes-hello-world-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yamash723/nes-hello-world-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamash723%2Fnes-hello-world-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamash723%2Fnes-hello-world-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a418fe07e8273b33eae1824bfbf4f68b29e001dc [INFO] checking yamash723/nes-hello-world-rust against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamash723%2Fnes-hello-world-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamash723/nes-hello-world-rust on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yamash723/nes-hello-world-rust [INFO] finished tweaking git repo https://github.com/yamash723/nes-hello-world-rust [INFO] tweaked toml for git repo https://github.com/yamash723/nes-hello-world-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yamash723/nes-hello-world-rust 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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29ec7e6a962c904dd0d04122ce8bedadd9fcb50cce8ac8ecbb2a32476b78a303 [INFO] running `Command { std: "docker" "start" "-a" "29ec7e6a962c904dd0d04122ce8bedadd9fcb50cce8ac8ecbb2a32476b78a303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29ec7e6a962c904dd0d04122ce8bedadd9fcb50cce8ac8ecbb2a32476b78a303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29ec7e6a962c904dd0d04122ce8bedadd9fcb50cce8ac8ecbb2a32476b78a303", kill_on_drop: false }` [INFO] [stdout] 29ec7e6a962c904dd0d04122ce8bedadd9fcb50cce8ac8ecbb2a32476b78a303 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ccdd72f91ed7a75c89657ce6aef0a4066a4c49afbd3ec32bc6b0ea2775ddc77 [INFO] running `Command { std: "docker" "start" "-a" "9ccdd72f91ed7a75c89657ce6aef0a4066a4c49afbd3ec32bc6b0ea2775ddc77", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling nes-hello-world-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stdout] warning: unused import: `nes::ram::Ram` [INFO] [stdout] --> src/nes/ppu/tile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nes::ram::Ram; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nes::ram::Ram` [INFO] [stdout] --> src/nes/ppu/registers/ppu_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nes::ram::Ram; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nes::ram::Ram` [INFO] [stdout] --> src/nes/ppu/registers/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use nes::ram::Ram; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | pub static ref OPECODE_MAP: HashMap = { [INFO] [stdout] 43 | | let cycles: Vec = [INFO] [stdout] 44 | | vec![7, 6, 2, 8, 3, 3, 5, 5, 3, 2, 2, 2, 4, 4, 6, 6, 2, 5, 2, 8, 4, 4, 6, 6, 2, 4, 2, 7, [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | pub static ref OPECODE_MAP: HashMap = { [INFO] [stdout] 43 | | let cycles: Vec = [INFO] [stdout] 44 | | vec![7, 6, 2, 8, 3, 3, 5, 5, 3, 2, 2, 2, 4, 4, 6, 6, 2, 5, 2, 8, 4, 4, 6, 6, 2, 4, 2, 7, [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 0x0000..0x07FF => self.wram.read(addr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `2047_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_u16..=2047_u16` [INFO] [stdout] 31 | 0x0800..0x1FFF => self.wram.read(addr - 0x0800), [INFO] [stdout] | -------------- this could appear to continue range `0_u16..2047_u16`, but `2047_u16` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 0x0800..0x1FFF => self.wram.read(addr - 0x0800), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `2048_u16..=8191_u16` [INFO] [stdout] 32 | 0x2000..0x2007 => self.ppu.read(addr), [INFO] [stdout] | -------------- this could appear to continue range `2048_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | 0x2000..0x2007 => self.ppu.read(addr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8199_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `8192_u16..=8199_u16` [INFO] [stdout] 33 | 0x2008..0x3FFF => self.ppu.read(addr - 0x2008), [INFO] [stdout] | -------------- this could appear to continue range `8192_u16..8199_u16`, but `8199_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 0x8000..0xBFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `49151_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `32768_u16..=49151_u16` [INFO] [stdout] ... [INFO] [stdout] 45 | 0xC000..0xFFFF => self.cassette.read_program_rom(addr - 0x8000), [INFO] [stdout] | -------------- this could appear to continue range `32768_u16..49151_u16`, but `49151_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: exclusive range missing `u16::MAX` [INFO] [stdout] --> src/nes/cpu/bus.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 0xC000..0xFFFF => self.cassette.read_program_rom(addr - 0x8000), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `u16::MAX` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `49152_u16..=u16::MAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 0x0000..0x07FF => self.wram.write(addr, data), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `2047_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_u16..=2047_u16` [INFO] [stdout] 60 | 0x0800..0x1FFF => self.wram.write(addr - 0x0800, data), [INFO] [stdout] | -------------- this could appear to continue range `0_u16..2047_u16`, but `2047_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 0x0800..0x1FFF => self.wram.write(addr - 0x0800, data), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `2048_u16..=8191_u16` [INFO] [stdout] 61 | 0x2000..0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stdout] | -------------- this could appear to continue range `2048_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/ppu/registers/ppu_data.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 0x0000..0x1FFF => MapType::PatternTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_u16..=8191_u16` [INFO] [stdout] 16 | 0x2000..0x2FFF => MapType::Vram, [INFO] [stdout] | -------------- this could appear to continue range `0_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/ppu/registers/ppu_data.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | 0x2000..0x2FFF => MapType::Vram, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `12287_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `8192_u16..=12287_u16` [INFO] [stdout] 17 | 0x3000..0x3EFF => MapType::VramMirror, [INFO] [stdout] | -------------- this could appear to continue range `8192_u16..12287_u16`, but `12287_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/ppu/registers/ppu_data.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 0x3000..0x3EFF => MapType::VramMirror, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `16127_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `12288_u16..=16127_u16` [INFO] [stdout] 18 | 0x3F00..0x3FFF => MapType::Palette, [INFO] [stdout] | -------------- this could appear to continue range `12288_u16..16127_u16`, but `16127_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_character_rom` is never used [INFO] [stdout] --> src/nes/cassette/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait NesCassette { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 67 | fn read_program_rom(&self, addr: u16) -> u8; [INFO] [stdout] 68 | fn read_character_rom(&self, addr: u16) -> u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nes/cassette/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CassetteInitializeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Accumulator` is never constructed [INFO] [stdout] --> src/nes/cpu/opecode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AddressingMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 12 | Implied, [INFO] [stdout] 13 | Accumulator, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sprite` is never constructed [INFO] [stdout] --> src/nes/ppu/palette_ram.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PaletteType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 6 | Sprite, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 0x0000..0x07FF => self.wram.read(addr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `2047_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_u16..=2047_u16` [INFO] [stdout] 31 | 0x0800..0x1FFF => self.wram.read(addr - 0x0800), [INFO] [stdout] | -------------- this could appear to continue range `0_u16..2047_u16`, but `2047_u16` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 0x0800..0x1FFF => self.wram.read(addr - 0x0800), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `2048_u16..=8191_u16` [INFO] [stdout] 32 | 0x2000..0x2007 => self.ppu.read(addr), [INFO] [stdout] | -------------- this could appear to continue range `2048_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | 0x2000..0x2007 => self.ppu.read(addr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8199_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `8192_u16..=8199_u16` [INFO] [stdout] 33 | 0x2008..0x3FFF => self.ppu.read(addr - 0x2008), [INFO] [stdout] | -------------- this could appear to continue range `8192_u16..8199_u16`, but `8199_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 0x8000..0xBFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `49151_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `32768_u16..=49151_u16` [INFO] [stdout] ... [INFO] [stdout] 45 | 0xC000..0xFFFF => self.cassette.read_program_rom(addr - 0x8000), [INFO] [stdout] | -------------- this could appear to continue range `32768_u16..49151_u16`, but `49151_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: exclusive range missing `u16::MAX` [INFO] [stdout] --> src/nes/cpu/bus.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 0xC000..0xFFFF => self.cassette.read_program_rom(addr - 0x8000), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `u16::MAX` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `49152_u16..=u16::MAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 0x0000..0x07FF => self.wram.write(addr, data), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `2047_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_u16..=2047_u16` [INFO] [stdout] 60 | 0x0800..0x1FFF => self.wram.write(addr - 0x0800, data), [INFO] [stdout] | -------------- this could appear to continue range `0_u16..2047_u16`, but `2047_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/cpu/bus.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 0x0800..0x1FFF => self.wram.write(addr - 0x0800, data), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `2048_u16..=8191_u16` [INFO] [stdout] 61 | 0x2000..0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stdout] | -------------- this could appear to continue range `2048_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/ppu/registers/ppu_data.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 0x0000..0x1FFF => MapType::PatternTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `8191_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_u16..=8191_u16` [INFO] [stdout] 16 | 0x2000..0x2FFF => MapType::Vram, [INFO] [stdout] | -------------- this could appear to continue range `0_u16..8191_u16`, but `8191_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/ppu/registers/ppu_data.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | 0x2000..0x2FFF => MapType::Vram, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `12287_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `8192_u16..=12287_u16` [INFO] [stdout] 17 | 0x3000..0x3EFF => MapType::VramMirror, [INFO] [stdout] | -------------- this could appear to continue range `8192_u16..12287_u16`, but `12287_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/nes/ppu/registers/ppu_data.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 0x3000..0x3EFF => MapType::VramMirror, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `16127_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `12288_u16..=16127_u16` [INFO] [stdout] 18 | 0x3F00..0x3FFF => MapType::Palette, [INFO] [stdout] | -------------- this could appear to continue range `12288_u16..16127_u16`, but `16127_u16` isn't matched by either of them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_character_rom` is never used [INFO] [stdout] --> src/nes/cassette/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait NesCassette { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 67 | fn read_program_rom(&self, addr: u16) -> u8; [INFO] [stdout] 68 | fn read_character_rom(&self, addr: u16) -> u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nes/cassette/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CassetteInitializeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Accumulator` is never constructed [INFO] [stdout] --> src/nes/cpu/opecode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AddressingMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 12 | Implied, [INFO] [stdout] 13 | Accumulator, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "9ccdd72f91ed7a75c89657ce6aef0a4066a4c49afbd3ec32bc6b0ea2775ddc77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccdd72f91ed7a75c89657ce6aef0a4066a4c49afbd3ec32bc6b0ea2775ddc77", kill_on_drop: false }` [INFO] [stdout] 9ccdd72f91ed7a75c89657ce6aef0a4066a4c49afbd3ec32bc6b0ea2775ddc77 [INFO] checking yamash723/nes-hello-world-rust against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamash723%2Fnes-hello-world-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamash723/nes-hello-world-rust on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yamash723/nes-hello-world-rust [INFO] finished tweaking git repo https://github.com/yamash723/nes-hello-world-rust [INFO] tweaked toml for git repo https://github.com/yamash723/nes-hello-world-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yamash723/nes-hello-world-rust 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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af70501eca6d17632613f86f63b392601772040acca18e93afbfa5a5b3896875 [INFO] running `Command { std: "docker" "start" "-a" "af70501eca6d17632613f86f63b392601772040acca18e93afbfa5a5b3896875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af70501eca6d17632613f86f63b392601772040acca18e93afbfa5a5b3896875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af70501eca6d17632613f86f63b392601772040acca18e93afbfa5a5b3896875", kill_on_drop: false }` [INFO] [stdout] af70501eca6d17632613f86f63b392601772040acca18e93afbfa5a5b3896875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8b217889215013dea8af1765d004170707b459252bd73b1ae24e1b00e9c0b88 [INFO] running `Command { std: "docker" "start" "-a" "d8b217889215013dea8af1765d004170707b459252bd73b1ae24e1b00e9c0b88", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling nes-hello-world-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stdout] error[E0365]: extern crate `core` is private and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-0.7.0/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use core as __core; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 1 | pub // Copyright 2014 The Rust Project Developers. See the COPYRIGHT [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflags` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d8b217889215013dea8af1765d004170707b459252bd73b1ae24e1b00e9c0b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b217889215013dea8af1765d004170707b459252bd73b1ae24e1b00e9c0b88", kill_on_drop: false }` [INFO] [stdout] d8b217889215013dea8af1765d004170707b459252bd73b1ae24e1b00e9c0b88