[INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/ddrmanxbxfr/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrmanxbxfr/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bf51e6c33837ef846fb82eecec0fb7b300c996a [INFO] testing ddrmanxbxfr/rustynes against master#d3515155216e98c23440ea92c3f49c6a0d7101fc for pr-113843 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrmanxbxfr%2Frustynes" "/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/ddrmanxbxfr/rustynes on toolchain d3515155216e98c23440ea92c3f49c6a0d7101fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ddrmanxbxfr/rustynes [INFO] finished tweaking git repo https://github.com/ddrmanxbxfr/rustynes [INFO] tweaked toml for git repo https://github.com/ddrmanxbxfr/rustynes written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ddrmanxbxfr/rustynes 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" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "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-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c44360ebb2a2263b98414f673a2c606cb4a8f2896b470f8c3286358e4724a7ed [INFO] running `Command { std: "docker" "start" "-a" "c44360ebb2a2263b98414f673a2c606cb4a8f2896b470f8c3286358e4724a7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c44360ebb2a2263b98414f673a2c606cb4a8f2896b470f8c3286358e4724a7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44360ebb2a2263b98414f673a2c606cb4a8f2896b470f8c3286358e4724a7ed", kill_on_drop: false }` [INFO] [stdout] c44360ebb2a2263b98414f673a2c606cb4a8f2896b470f8c3286358e4724a7ed [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b53452bfd288214a077b6526a410abe7ef5430d779bee9971fea4c772cfb80a9 [INFO] running `Command { std: "docker" "start" "-a" "b53452bfd288214a077b6526a410abe7ef5430d779bee9971fea4c772cfb80a9", kill_on_drop: false }` [INFO] [stderr] Compiling rustynes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/console/cartridge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::flag_6` [INFO] [stdout] --> src/console/cartridge.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use console::flag_6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/console/cartridge.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | try!(rom_file.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/console/cartridge.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rom_file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prg_rom_size` [INFO] [stdout] --> src/console/rom_header.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let prg_rom_size: u8 = rom_data[HeaderPosition::PrgRomSize.position()]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prg_rom_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let cartridge = cartridge::load_content(&value); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nes_mapper`, `four_screen_mode`, `trainer_mode`, `sram_battery_backed`, and `mirroring` are never read [INFO] [stdout] --> src/console/flag_6.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Flag6 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | nes_mapper: NesMapper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | four_screen_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | trainer_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | sram_battery_backed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | mirroring: ScreenMode [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flag6` 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: method `value` is never used [INFO] [stdout] --> src/console/flag_6.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl NesMapper { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 59 | fn value(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `prg_bank`, and `chr_bank` are never read [INFO] [stdout] --> src/console/cartridge.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CartridgeData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 57 | header: rom_header::RomHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | prg_bank: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | chr_bank: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "b53452bfd288214a077b6526a410abe7ef5430d779bee9971fea4c772cfb80a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53452bfd288214a077b6526a410abe7ef5430d779bee9971fea4c772cfb80a9", kill_on_drop: false }` [INFO] [stdout] b53452bfd288214a077b6526a410abe7ef5430d779bee9971fea4c772cfb80a9 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a5dc9f8f10aed1c5568d1a730ce8d9ad1d7e00ae34aa61100872ec698535cc9 [INFO] running `Command { std: "docker" "start" "-a" "6a5dc9f8f10aed1c5568d1a730ce8d9ad1d7e00ae34aa61100872ec698535cc9", kill_on_drop: false }` [INFO] [stderr] Compiling rustynes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/console/cartridge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::flag_6` [INFO] [stdout] --> src/console/cartridge.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use console::flag_6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/console/cartridge.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | try!(rom_file.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/console/cartridge.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rom_file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prg_rom_size` [INFO] [stdout] --> src/console/rom_header.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let prg_rom_size: u8 = rom_data[HeaderPosition::PrgRomSize.position()]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prg_rom_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let cartridge = cartridge::load_content(&value); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nes_mapper`, `four_screen_mode`, `trainer_mode`, `sram_battery_backed`, and `mirroring` are never read [INFO] [stdout] --> src/console/flag_6.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Flag6 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | nes_mapper: NesMapper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | four_screen_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | trainer_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | sram_battery_backed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | mirroring: ScreenMode [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flag6` 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: method `value` is never used [INFO] [stdout] --> src/console/flag_6.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl NesMapper { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 59 | fn value(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `prg_bank`, and `chr_bank` are never read [INFO] [stdout] --> src/console/cartridge.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CartridgeData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 57 | header: rom_header::RomHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | prg_bank: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | chr_bank: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "6a5dc9f8f10aed1c5568d1a730ce8d9ad1d7e00ae34aa61100872ec698535cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a5dc9f8f10aed1c5568d1a730ce8d9ad1d7e00ae34aa61100872ec698535cc9", kill_on_drop: false }` [INFO] [stdout] 6a5dc9f8f10aed1c5568d1a730ce8d9ad1d7e00ae34aa61100872ec698535cc9 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea6539470c0c6a8715f63fe8c7c998402b674bae8666ca99f6c3efe959bd7518 [INFO] running `Command { std: "docker" "start" "-a" "ea6539470c0c6a8715f63fe8c7c998402b674bae8666ca99f6c3efe959bd7518", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/console/cartridge.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `console::flag_6` [INFO] [stderr] --> src/console/cartridge.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use console::flag_6; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/console/cartridge.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | try!(rom_file.read_to_end(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/console/cartridge.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | let mut rom_file = try!(File::open(filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prg_rom_size` [INFO] [stderr] --> src/console/rom_header.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let prg_rom_size: u8 = rom_data[HeaderPosition::PrgRomSize.position()]; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prg_rom_size` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cartridge` [INFO] [stderr] --> src/main.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | let cartridge = cartridge::load_content(&value); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stderr] [INFO] [stderr] warning: fields `nes_mapper`, `four_screen_mode`, `trainer_mode`, `sram_battery_backed`, and `mirroring` are never read [INFO] [stderr] --> src/console/flag_6.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Flag6 { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 16 | nes_mapper: NesMapper, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 17 | four_screen_mode: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 18 | trainer_mode: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 19 | sram_battery_backed: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | mirroring: ScreenMode [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Flag6` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `value` is never used [INFO] [stderr] --> src/console/flag_6.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 58 | impl NesMapper { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 59 | fn value(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `header`, `prg_bank`, and `chr_bank` are never read [INFO] [stderr] --> src/console/cartridge.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct CartridgeData { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 57 | header: rom_header::RomHeader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 58 | prg_bank: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 59 | chr_bank: Vec [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustynes` (bin "rustynes" test) generated 10 warnings (run `cargo fix --bin "rustynes" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustynes-105b5d34b07c3f8c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ea6539470c0c6a8715f63fe8c7c998402b674bae8666ca99f6c3efe959bd7518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6539470c0c6a8715f63fe8c7c998402b674bae8666ca99f6c3efe959bd7518", kill_on_drop: false }` [INFO] [stdout] ea6539470c0c6a8715f63fe8c7c998402b674bae8666ca99f6c3efe959bd7518