[INFO] cloning repository https://github.com/wbjohnston/gameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wbjohnston/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fgameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fgameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b941701ef8a8b59bc8a87c03a7799433d9fd0c7 [INFO] testing wbjohnston/gameboy against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fgameboy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wbjohnston/gameboy [INFO] finished tweaking git repo https://github.com/wbjohnston/gameboy [INFO] tweaked toml for git repo https://github.com/wbjohnston/gameboy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wbjohnston/gameboy on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wbjohnston/gameboy 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded failure_derive v0.1.6 [INFO] [stderr] Downloaded quickcheck_macros v0.8.0 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded quickcheck v0.9.0 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded failure v0.1.6 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded serde_json v1.0.42 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded serde v1.0.103 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.103 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded derivative v1.0.3 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded backtrace v0.3.40 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded cc v1.0.47 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded backtrace-sys v0.1.32 [INFO] [stderr] Downloaded csv v1.1.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b1acd0574715111f693a522a2f1117d4adf7248ae4185a5e999094850cb5849 [INFO] running `Command { std: "docker" "start" "-a" "1b1acd0574715111f693a522a2f1117d4adf7248ae4185a5e999094850cb5849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b1acd0574715111f693a522a2f1117d4adf7248ae4185a5e999094850cb5849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1acd0574715111f693a522a2f1117d4adf7248ae4185a5e999094850cb5849", kill_on_drop: false }` [INFO] [stdout] 1b1acd0574715111f693a522a2f1117d4adf7248ae4185a5e999094850cb5849 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 886e7b7ec8a160bdf2894475ec21230c71289f3d311d8c2cfe5131593f733a0a [INFO] running `Command { std: "docker" "start" "-a" "886e7b7ec8a160bdf2894475ec21230c71289f3d311d8c2cfe5131593f733a0a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/ppu.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_cycles` [INFO] [stdout] --> src/ppu.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cartridge.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/util.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_n_flag`, `n_flag`, and `h_flag` are never used [INFO] [stdout] --> src/cpu.rs:1145:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1145 | fn get_n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1174 | fn n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1178 | fn h_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/bin/debugger.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let cartridge = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/debugger.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AppError` [INFO] [stdout] 22 | enum AppError { [INFO] [stdout] | -------- `AppError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/debugger.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_AppError` [INFO] [stdout] 22 | enum AppError { [INFO] [stdout] | -------- `AppError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/bin/debugger.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | [n] if n.clone().chars().all(char::is_numeric) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.77s [INFO] running `Command { std: "docker" "inspect" "886e7b7ec8a160bdf2894475ec21230c71289f3d311d8c2cfe5131593f733a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "886e7b7ec8a160bdf2894475ec21230c71289f3d311d8c2cfe5131593f733a0a", kill_on_drop: false }` [INFO] [stdout] 886e7b7ec8a160bdf2894475ec21230c71289f3d311d8c2cfe5131593f733a0a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 33619bfa091df75f0f5d56b8ae1751406a40d703a221ae45b56072c8967fe938 [INFO] running `Command { std: "docker" "start" "-a" "33619bfa091df75f0f5d56b8ae1751406a40d703a221ae45b56072c8967fe938", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/ppu.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_cycles` [INFO] [stdout] --> src/ppu.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cartridge.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/util.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_n_flag`, `n_flag`, and `h_flag` are never used [INFO] [stdout] --> src/cpu.rs:1145:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1145 | fn get_n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1174 | fn n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1178 | fn h_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling quickcheck v0.9.0 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/bin/debugger.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let cartridge = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/ppu.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_cycles` [INFO] [stdout] --> src/ppu.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cartridge.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/util.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_n_flag`, `n_flag`, and `h_flag` are never used [INFO] [stdout] --> src/cpu.rs:1145:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1145 | fn get_n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1174 | fn n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1178 | fn h_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/debugger.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AppError` [INFO] [stdout] 22 | enum AppError { [INFO] [stdout] | -------- `AppError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/debugger.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_AppError` [INFO] [stdout] 22 | enum AppError { [INFO] [stdout] | -------- `AppError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/bin/debugger.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | [n] if n.clone().chars().all(char::is_numeric) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "33619bfa091df75f0f5d56b8ae1751406a40d703a221ae45b56072c8967fe938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33619bfa091df75f0f5d56b8ae1751406a40d703a221ae45b56072c8967fe938", kill_on_drop: false }` [INFO] [stdout] 33619bfa091df75f0f5d56b8ae1751406a40d703a221ae45b56072c8967fe938 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 98175f7f87a45e378f468b00f5654b306816ede5ec7bae6eeb2ef9e08133f470 [INFO] running `Command { std: "docker" "start" "-a" "98175f7f87a45e378f468b00f5654b306816ede5ec7bae6eeb2ef9e08133f470", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `mmu` [INFO] [stderr] --> src/ppu.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_cycles` [INFO] [stderr] --> src/ppu.rs:15:41 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/cartridge.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/util.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: methods `get_n_flag`, `n_flag`, and `h_flag` are never used [INFO] [stderr] --> src/cpu.rs:1145:6 [INFO] [stderr] | [INFO] [stderr] 19 | impl CPU { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 1145 | fn get_n_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1174 | fn n_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1178 | fn h_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gameboy` (lib) generated 5 warnings [INFO] [stderr] warning: unused variable: `cartridge` [INFO] [stderr] --> src/bin/debugger.rs:47:7 [INFO] [stderr] | [INFO] [stderr] 47 | let cartridge = { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bin/debugger.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AppError` [INFO] [stderr] 22 | enum AppError { [INFO] [stderr] | -------- `AppError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bin/debugger.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_AppError` [INFO] [stderr] 22 | enum AppError { [INFO] [stderr] | -------- `AppError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/bin/debugger.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | [n] if n.clone().chars().all(char::is_numeric) => { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gameboy` (bin "debug" test) generated 4 warnings [INFO] [stderr] warning: `gameboy` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gameboy-747ce15eedc1e6f9) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test util::test::get_bit_works ... ok [INFO] [stdout] test mmu::test::address_is_read_from_correct_region ... ok [INFO] [stdout] test util::test::set_lower_works ... ok [INFO] [stdout] test mmu::test::bios_disabling_works ... ok [INFO] [stdout] test util::test::pack_and_unpack_is_equal ... ok [INFO] [stderr] Running unittests src/bin/debugger.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/debug-75a1dd2bbd9b55b7) [INFO] [stdout] test util::test::unpack_returns_bytes_in_correct_order ... ok [INFO] [stdout] test util::test::set_upper_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "98175f7f87a45e378f468b00f5654b306816ede5ec7bae6eeb2ef9e08133f470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98175f7f87a45e378f468b00f5654b306816ede5ec7bae6eeb2ef9e08133f470", kill_on_drop: false }` [INFO] [stdout] 98175f7f87a45e378f468b00f5654b306816ede5ec7bae6eeb2ef9e08133f470