[INFO] cloning repository https://github.com/spwilliams2002/RustyBoy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spwilliams2002/RustyBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilliams2002%2FRustyBoy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilliams2002%2FRustyBoy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1e12dc67f0c7fb742222a8bebb74378110aabcf8
[INFO] checking spwilliams2002/RustyBoy against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilliams2002%2FRustyBoy" "/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/spwilliams2002/RustyBoy
[INFO] finished tweaking git repo https://github.com/spwilliams2002/RustyBoy
[INFO] tweaked toml for git repo https://github.com/spwilliams2002/RustyBoy written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spwilliams2002/RustyBoy on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spwilliams2002/RustyBoy 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63b2da11bba2226a532cfeb4b080a304350b3627e1589aa990ac6d9c3c0e9eb3
[INFO] running `Command { std: "docker" "start" "-a" "63b2da11bba2226a532cfeb4b080a304350b3627e1589aa990ac6d9c3c0e9eb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63b2da11bba2226a532cfeb4b080a304350b3627e1589aa990ac6d9c3c0e9eb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63b2da11bba2226a532cfeb4b080a304350b3627e1589aa990ac6d9c3c0e9eb3", kill_on_drop: false }`
[INFO] [stdout] 63b2da11bba2226a532cfeb4b080a304350b3627e1589aa990ac6d9c3c0e9eb3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f17b840f066ac93c2ead110d506650a17a5b0284de841dfa56c8620a0a210391
[INFO] running `Command { std: "docker" "start" "-a" "f17b840f066ac93c2ead110d506650a17a5b0284de841dfa56c8620a0a210391", kill_on_drop: false }`
[INFO] [stderr]     Checking RustyBoy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/cartridge/cartridge.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::ptr::null;
[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: `crate::motherboard`
[INFO] [stdout]  --> src/cpu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::motherboard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cartridge::cartridge::Cartridge`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::cartridge::cartridge::Cartridge;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/cartridge/cartridge.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::ptr::null;
[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: `crate::motherboard`
[INFO] [stdout]  --> src/cpu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::motherboard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cartridge::cartridge::Cartridge`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::cartridge::cartridge::Cartridge;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cartridge/rtc.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |           else {
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 49 | |             let file = std::fs::File::open(new_filename).unwrap();
[INFO] [stdout] 50 | |
[INFO] [stdout] 51 | |         }
[INFO] [stdout]    | |_________^ expected `RTC`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cartridge/rtc.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |           else {
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 49 | |             let file = std::fs::File::open(new_filename).unwrap();
[INFO] [stdout] 50 | |
[INFO] [stdout] 51 | |         }
[INFO] [stdout]    | |_________^ expected `RTC`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cartridge/rtc.rs:64:30
[INFO] [stdout]    |
[INFO] [stdout] 64 |             self.time_zero = 0;
[INFO] [stdout]    |             --------------   ^ expected `f64`, found integer
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected due to the type of this binding
[INFO] [stdout]    |
[INFO] [stdout] help: use a float literal
[INFO] [stdout]    |
[INFO] [stdout] 64 |             self.time_zero = 0.0;
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cartridge/rtc.rs:64:30
[INFO] [stdout]    |
[INFO] [stdout] 64 |             self.time_zero = 0;
[INFO] [stdout]    |             --------------   ^ expected `f64`, found integer
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected due to the type of this binding
[INFO] [stdout]    |
[INFO] [stdout] help: use a float literal
[INFO] [stdout]    |
[INFO] [stdout] 64 |             self.time_zero = 0.0;
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `external_ram_count`
[INFO] [stdout]   --> src/cartridge/cartridge.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let external_ram_count = *self.external_ram_table.get(&rom_banks[0x0149]).unwrap_or(&0);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_ram_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cart_info_unwrapped` is assigned to, but never used
[INFO] [stdout]   --> src/cartridge/cartridge.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let mut cart_info_unwrapped = &(false, false, false);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cart_info_unwrapped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cart_info_unwrapped` is never read
[INFO] [stdout]   --> src/cartridge/cartridge.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 cart_info_unwrapped = cart_info.unwrap()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sram`
[INFO] [stdout]   --> src/cartridge/base_mbc.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 external_ram_count: c_int, cart_type: u8, sram: u8,
[INFO] [stdout]    |                                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_sram`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ram_banks`
[INFO] [stdout]   --> src/cartridge/base_mbc.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let ram_banks = BaseMBC::init_ram_banks(external_ram_count, &mut ram_bank_initialized);
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ram_banks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `external_ram_count`
[INFO] [stdout]   --> src/cartridge/cartridge.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let external_ram_count = *self.external_ram_table.get(&rom_banks[0x0149]).unwrap_or(&0);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_ram_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cart_info_unwrapped` is assigned to, but never used
[INFO] [stdout]   --> src/cartridge/cartridge.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let mut cart_info_unwrapped = &(false, false, false);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cart_info_unwrapped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cart_info_unwrapped` is never read
[INFO] [stdout]   --> src/cartridge/cartridge.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 cart_info_unwrapped = cart_info.unwrap()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command`
[INFO] [stdout]   --> src/cartridge/rtc.rs:54:33
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn write_command(&self, command: u8) {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p0`
[INFO] [stdout]   --> src/cartridge/rtc.rs:58:32
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_register(&self, p0: u16, p1: u8) {
[INFO] [stdout]    |                                ^^ help: if this is intentional, prefix it with an underscore: `_p0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/cartridge/rtc.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_register(&self, p0: u16, p1: u8) {
[INFO] [stdout]    |                                         ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sram`
[INFO] [stdout]   --> src/cartridge/base_mbc.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 external_ram_count: c_int, cart_type: u8, sram: u8,
[INFO] [stdout]    |                                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_sram`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ram_banks`
[INFO] [stdout]   --> src/cartridge/base_mbc.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let ram_banks = BaseMBC::init_ram_banks(external_ram_count, &mut ram_bank_initialized);
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ram_banks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/cartridge/mbc_extended.rs:114:33
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if value == 0 { value = 1; }
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command`
[INFO] [stdout]   --> src/cartridge/rtc.rs:54:33
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn write_command(&self, command: u8) {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p0`
[INFO] [stdout]   --> src/cartridge/rtc.rs:58:32
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_register(&self, p0: u16, p1: u8) {
[INFO] [stdout]    |                                ^^ help: if this is intentional, prefix it with an underscore: `_p0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/cartridge/rtc.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_register(&self, p0: u16, p1: u8) {
[INFO] [stdout]    |                                         ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cartridge/mbc_extended.rs:227:46
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn set_item(&mut self, address: u16, mut value: u8) {
[INFO] [stdout]     |                                              ----^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/cartridge/mbc_extended.rs:114:33
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if value == 0 { value = 1; }
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cartridge/mbc_extended.rs:227:46
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn set_item(&mut self, address: u16, mut value: u8) {
[INFO] [stdout]     |                                              ----^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `motherboard`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let motherboard = Motherboard::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motherboard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `motherboard`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let motherboard = Motherboard::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motherboard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustyBoy` (bin "RustyBoy") due to 2 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `RustyBoy` (bin "RustyBoy" test) due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f17b840f066ac93c2ead110d506650a17a5b0284de841dfa56c8620a0a210391", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f17b840f066ac93c2ead110d506650a17a5b0284de841dfa56c8620a0a210391", kill_on_drop: false }`
[INFO] [stdout] f17b840f066ac93c2ead110d506650a17a5b0284de841dfa56c8620a0a210391
