[INFO] cloning repository https://github.com/ngynkvn/rust-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngynkvn/rust-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Frust-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Frust-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 895ad2eb167f9a170ba4f8a9e039b672523d7417 [INFO] checking ngynkvn/rust-emu against master#a874956d940ecb3ed524b6176a171219ac4787ea for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Frust-emu" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ngynkvn/rust-emu on toolchain a874956d940ecb3ed524b6176a171219ac4787ea [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ngynkvn/rust-emu [INFO] finished tweaking git repo https://github.com/ngynkvn/rust-emu [INFO] tweaked toml for git repo https://github.com/ngynkvn/rust-emu written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ngynkvn/rust-emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6d7a6806b6368b5b040f33388be306391edf7c51c32b9641cf843ced9ade736b [INFO] running `Command { std: "docker" "start" "-a" "6d7a6806b6368b5b040f33388be306391edf7c51c32b9641cf843ced9ade736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d7a6806b6368b5b040f33388be306391edf7c51c32b9641cf843ced9ade736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7a6806b6368b5b040f33388be306391edf7c51c32b9641cf843ced9ade736b", kill_on_drop: false }` [INFO] [stdout] 6d7a6806b6368b5b040f33388be306391edf7c51c32b9641cf843ced9ade736b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c8b4b51dd026f3dec15e40419ad278bf7d968a0655d4b479233273e6fec3f4f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2c8b4b51dd026f3dec15e40419ad278bf7d968a0655d4b479233273e6fec3f4f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Checking js-sys v0.3.44 [INFO] [stderr] Checking web-sys v0.3.44 [INFO] [stderr] Checking rust-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cpu::GB_CYCLE_SPEED` [INFO] [stdout] --> src/bus.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use cpu::GB_CYCLE_SPEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Memory` [INFO] [stdout] --> src/cpu/value.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | bus::{Bus, Memory}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bus::Memory` [INFO] [stdout] --> src/cpu/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bus::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | JP_HL, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JpHl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::GB_CYCLE_SPEED` [INFO] [stdout] --> src/bus.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use cpu::GB_CYCLE_SPEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Memory` [INFO] [stdout] --> src/cpu/value.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | bus::{Bus, Memory}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bus::Memory` [INFO] [stdout] --> src/cpu/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bus::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | JP_HL, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JpHl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/cpu/value.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_memory_address(self, cpu: &mut CPU, address: u16, b: &mut Bus) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/cpu/value.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn to_memory_address(self, cpu: &mut CPU, address: u16, b: &mut Bus) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/cpu/value.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_memory_address(self, cpu: &mut CPU, address: u16, b: &mut Bus) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/cpu/value.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn to_memory_address(self, cpu: &mut CPU, address: u16, b: &mut Bus) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `above` [INFO] [stdout] --> src/gpu.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | above: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yflip` [INFO] [stdout] --> src/gpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | yflip: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xflip` [INFO] [stdout] --> src/gpu.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | xflip: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `time` [INFO] [stdout] --> src/cpu/test.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn time(cpu: &mut CPU, bus: &mut Bus, f: F) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `above` [INFO] [stdout] --> src/gpu.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | above: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yflip` [INFO] [stdout] --> src/gpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | yflip: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xflip` [INFO] [stdout] --> src/gpu.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | xflip: bool, [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 47.14s [INFO] running `Command { std: "docker" "inspect" "2c8b4b51dd026f3dec15e40419ad278bf7d968a0655d4b479233273e6fec3f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8b4b51dd026f3dec15e40419ad278bf7d968a0655d4b479233273e6fec3f4f", kill_on_drop: false }` [INFO] [stdout] 2c8b4b51dd026f3dec15e40419ad278bf7d968a0655d4b479233273e6fec3f4f