[INFO] cloning repository https://github.com/anoaky/rust_gb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anoaky/rust_gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanoaky%2Frust_gb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanoaky%2Frust_gb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f8a40e7302d0b6bd50aebdb8c1ab8eebe85ff8a4
[INFO] checking anoaky/rust_gb against 5b237c915528dadada3f674b90c7c80368b632be for pr-133502-29
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanoaky%2Frust_gb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/anoaky/rust_gb
[INFO] finished tweaking git repo https://github.com/anoaky/rust_gb
[INFO] tweaked toml for git repo https://github.com/anoaky/rust_gb written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anoaky/rust_gb on toolchain 5b237c915528dadada3f674b90c7c80368b632be
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anoaky/rust_gb 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" "+5b237c915528dadada3f674b90c7c80368b632be" "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 anyhow v1.0.95
[INFO] [stderr]   Downloaded sdl2 v0.37.0
[INFO] [stderr]   Downloaded sdl2-sys v0.37.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6
[INFO] running `Command { std: "docker" "start" "c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6" "/opt/rustwide/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6" "/opt/rustwide/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]     Checking rust_gb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BitOr`
[INFO] [stdout]  --> src/utils.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{BitOr, Shl};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitOr`
[INFO] [stdout]  --> src/utils.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{BitOr, Shl};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mbc/mbc0.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_byte(&mut self, addr: u16, b: u8) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/mbc/mbc0.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_byte(&mut self, addr: u16, b: u8) {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mbc/mbc1.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn read_word(&self, addr: u16) -> u16 {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mbc/mbc0.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_byte(&mut self, addr: u16, b: u8) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/mbc/mbc0.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_byte(&mut self, addr: u16, b: u8) {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mbc/mbc1.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn read_word(&self, addr: u16) -> u16 {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `battery` is never read
[INFO] [stdout]   --> src/mbc/mbc1.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct Mbc1 {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     battery: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIV` is never used
[INFO] [stdout]  --> src/utils.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const DIV: u16 = 0xFF04;
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TIMA` is never used
[INFO] [stdout]  --> src/utils.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const TIMA: u16 = 0xFF05;
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TMA` is never used
[INFO] [stdout]  --> src/utils.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const TMA: u16 = 0xFF06;
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TAC` is never used
[INFO] [stdout]  --> src/utils.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const TAC: u16 = 0xFF07;
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set` is never used
[INFO] [stdout]   --> src/utils.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn set<T: Into<u32>>(v: T, bit: u8) -> u32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unset` is never used
[INFO] [stdout]   --> src/utils.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn unset<T: Into<u32>>(v: T, bit: u8) -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flag` is never used
[INFO] [stdout]   --> src/utils.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn flag<T>(bit: u8) -> T::Output
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `battery` is never read
[INFO] [stdout]   --> src/mbc/mbc1.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct Mbc1 {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     battery: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIV` is never used
[INFO] [stdout]  --> src/utils.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const DIV: u16 = 0xFF04;
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TIMA` is never used
[INFO] [stdout]  --> src/utils.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const TIMA: u16 = 0xFF05;
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TMA` is never used
[INFO] [stdout]  --> src/utils.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const TMA: u16 = 0xFF06;
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TAC` is never used
[INFO] [stdout]  --> src/utils.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const TAC: u16 = 0xFF07;
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set` is never used
[INFO] [stdout]   --> src/utils.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn set<T: Into<u32>>(v: T, bit: u8) -> u32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unset` is never used
[INFO] [stdout]   --> src/utils.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn unset<T: Into<u32>>(v: T, bit: u8) -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flag` is never used
[INFO] [stdout]   --> src/utils.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn flag<T>(bit: u8) -> T::Output
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/main.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::render::{Texture, WindowCanvas};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventPump` and `Sdl`
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::{EventPump, Sdl};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gbin_tx`
[INFO] [stdout]   --> src/main.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let (gbin_tx, gbout_rx) = run_cpu(&args[1]);
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gbin_tx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/main.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::render::{Texture, WindowCanvas};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventPump` and `Sdl`
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::{EventPump, Sdl};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gbin_tx`
[INFO] [stdout]   --> src/main.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let (gbin_tx, gbout_rx) = run_cpu(&args[1]);
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gbin_tx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.11s
[INFO] running `Command { std: "docker" "inspect" "c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6", kill_on_drop: false }`
[INFO] [stdout] c9a702ed80d470394cf7b2ede94f15eb72875ce851e434b37aec6db2d4cc36e6
