[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_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fgameboy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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] Downloading crates ... [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded quickcheck v0.9.0 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded serde_json v1.0.42 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded derivative v1.0.3 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded csv v1.1.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 770867e0f399af962144ad61dcf926dc78bbc001cb0a43bffc4360a91daf8f84 [INFO] running `Command { std: "docker" "start" "-a" "770867e0f399af962144ad61dcf926dc78bbc001cb0a43bffc4360a91daf8f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "770867e0f399af962144ad61dcf926dc78bbc001cb0a43bffc4360a91daf8f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770867e0f399af962144ad61dcf926dc78bbc001cb0a43bffc4360a91daf8f84", kill_on_drop: false }` [INFO] [stdout] 770867e0f399af962144ad61dcf926dc78bbc001cb0a43bffc4360a91daf8f84 [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: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] 233010f9f13f239e00c3477fb4021c6e4fef3bc82bdef0f981d9a1ee5bc2dab2 [INFO] running `Command { std: "docker" "start" "-a" "233010f9f13f239e00c3477fb4021c6e4fef3bc82bdef0f981d9a1ee5bc2dab2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.8 [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 rustc-demangle v0.1.16 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [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 23.22s [INFO] running `Command { std: "docker" "inspect" "233010f9f13f239e00c3477fb4021c6e4fef3bc82bdef0f981d9a1ee5bc2dab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233010f9f13f239e00c3477fb4021c6e4fef3bc82bdef0f981d9a1ee5bc2dab2", kill_on_drop: false }` [INFO] [stdout] 233010f9f13f239e00c3477fb4021c6e4fef3bc82bdef0f981d9a1ee5bc2dab2 [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: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] a0525e345c9a763ad34745505bfba7eef095d4441b40a1acab30f59b9d2a3caf [INFO] running `Command { std: "docker" "start" "-a" "a0525e345c9a763ad34745505bfba7eef095d4441b40a1acab30f59b9d2a3caf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.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 ppv-lite86 v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [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 serde_json v1.0.42 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling quickcheck v0.9.0 [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: 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] [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.84s [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" "a0525e345c9a763ad34745505bfba7eef095d4441b40a1acab30f59b9d2a3caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0525e345c9a763ad34745505bfba7eef095d4441b40a1acab30f59b9d2a3caf", kill_on_drop: false }` [INFO] [stdout] a0525e345c9a763ad34745505bfba7eef095d4441b40a1acab30f59b9d2a3caf [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 60a53e476a7e1c706fbcc5ea2a6169e03750195af3857588682339120b9fd7d1 [INFO] running `Command { std: "docker" "start" "-a" "60a53e476a7e1c706fbcc5ea2a6169e03750195af3857588682339120b9fd7d1", 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` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `gameboy` (bin "debug" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [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] [stderr] Running unittests src/bin/debugger.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/debug-75a1dd2bbd9b55b7) [INFO] [stdout] test mmu::test::address_is_read_from_correct_region ... ok [INFO] [stdout] test mmu::test::bios_disabling_works ... ok [INFO] [stdout] test util::test::set_upper_works ... ok [INFO] [stdout] test util::test::unpack_returns_bytes_in_correct_order ... ok [INFO] [stdout] test util::test::get_bit_works ... ok [INFO] [stdout] test util::test::set_lower_works ... ok [INFO] [stdout] test util::test::pack_and_unpack_is_equal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "60a53e476a7e1c706fbcc5ea2a6169e03750195af3857588682339120b9fd7d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a53e476a7e1c706fbcc5ea2a6169e03750195af3857588682339120b9fd7d1", kill_on_drop: false }` [INFO] [stdout] 60a53e476a7e1c706fbcc5ea2a6169e03750195af3857588682339120b9fd7d1