[INFO] cloning repository https://github.com/Comba92/tomboy-emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Comba92/tomboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComba92%2Ftomboy-emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComba92%2Ftomboy-emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b514458db802d724db0bfb571aa4b040112a705
[INFO] checking Comba92/tomboy-emulator against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComba92%2Ftomboy-emulator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Comba92/tomboy-emulator on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Comba92/tomboy-emulator
[INFO] finished tweaking git repo https://github.com/Comba92/tomboy-emulator
[INFO] tweaked toml for git repo https://github.com/Comba92/tomboy-emulator written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Comba92/tomboy-emulator 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitfield-struct v0.10.0
[INFO] [stderr]   Downloaded circular-buffer v0.1.9
[INFO] [stderr]   Downloaded owo-colors v4.1.0
[INFO] [stderr]   Downloaded prettydiff v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 23008d3135343e61037985a292d6a268c9fa4b983f5902fff404ec526ca1399d
[INFO] running `Command { std: "docker" "start" "-a" "23008d3135343e61037985a292d6a268c9fa4b983f5902fff404ec526ca1399d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "23008d3135343e61037985a292d6a268c9fa4b983f5902fff404ec526ca1399d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23008d3135343e61037985a292d6a268c9fa4b983f5902fff404ec526ca1399d", kill_on_drop: false }`
[INFO] [stdout] 23008d3135343e61037985a292d6a268c9fa4b983f5902fff404ec526ca1399d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f801bfaa4d8b75a1bc70451d873d951018d044f8ec7b36e330d906ce20235b8
[INFO] running `Command { std: "docker" "start" "-a" "1f801bfaa4d8b75a1bc70451d873d951018d044f8ec7b36e330d906ce20235b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.166
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling owo-colors v4.1.0
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking encode_unicode v1.0.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking circular-buffer v0.1.9
[INFO] [stderr]     Checking pad v0.1.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling bitfield-struct v0.10.0
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking prettytable-rs v0.10.0
[INFO] [stderr]     Checking prettydiff v0.8.0
[INFO] [stderr]     Checking tomboy-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `w_l`
[INFO] [stdout]   --> src/apu.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let (w_l, w_r) = self.wave.get_sample();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_w_l`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w_r`
[INFO] [stdout]   --> src/apu.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let (w_l, w_r) = self.wave.get_sample();
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_w_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_l`
[INFO] [stdout]   --> src/apu.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let (n_l, n_r) = self.noise.get_sample();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_n_l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_r`
[INFO] [stdout]   --> src/apu.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let (n_l, n_r) = self.noise.get_sample();
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_n_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_stat`
[INFO] [stdout]    --> src/ppu.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let old_stat = self.stat;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disable` is never used
[INFO] [stdout]   --> src/apu/wave.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Wave {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 29 |   pub fn disable(&mut self) {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_lcd_int` and `send_lyc_int` are never used
[INFO] [stdout]    --> src/ppu.rs:358:6
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl Ppu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 358 |   fn send_lcd_int(&mut self, flag: Stat) {
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |   fn send_lyc_int(&mut self) {
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rtc_seconds`, `rtc_minutes`, `rtc_hours`, `rtc_day`, `rtc_carry`, and `rtc_halted` are never read
[INFO] [stdout]    --> src/mbc.rs:237:3
[INFO] [stdout]     |
[INFO] [stdout] 231 | struct Mbc3 {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 237 |   rtc_seconds: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout] 238 |   rtc_minutes: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout] 239 |   rtc_hours: u8,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 240 |   rtc_day: u16,
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 241 |   rtc_carry: bool,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 242 |   rtc_halted: bool,
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w_l`
[INFO] [stdout]   --> src/apu.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let (w_l, w_r) = self.wave.get_sample();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_w_l`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w_r`
[INFO] [stdout]   --> src/apu.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let (w_l, w_r) = self.wave.get_sample();
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_w_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_l`
[INFO] [stdout]   --> src/apu.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let (n_l, n_r) = self.noise.get_sample();
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_n_l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_r`
[INFO] [stdout]   --> src/apu.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let (n_l, n_r) = self.noise.get_sample();
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_n_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `tests/sm83/v1/00.json`: No such file or directory (os error 2)
[INFO] [stdout]   --> tests/cpu_step_tests.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let json = include_str!("sm83/v1/00.json");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> tests/cpu_test.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let mut cpu = Cpu::new();
[INFO] [stdout]    |                     ^^^^^^^^-- argument #1 of type `Cart` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/cpu.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn new(cart: Cart) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let mut cpu = Cpu::new(/* Cart */);
[INFO] [stdout]    |                             ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2`
[INFO] [stdout]  --> tests/ppu_test.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use sdl2::{event::Event, pixels::PixelFormatEnum};
[INFO] [stdout]   |         ^^^^ use of unresolved module or unlinked crate `sdl2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `mem` on type `Bus`
[INFO] [stdout]   --> tests/cpu_test.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |       cpu.bus.mem[0xFF44] = 0x90;
[INFO] [stdout]    |               ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `cart`, `ppu`, `timer`, `serial`, `joypad` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `mem` on type `Bus`
[INFO] [stdout]   --> tests/cpu_test.rs:38:31
[INFO] [stdout]    |
[INFO] [stdout] 38 |       let (left, _) = cpu.bus.mem.split_at_mut(rom.len());
[INFO] [stdout]    |                               ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `cart`, `ppu`, `timer`, `serial`, `joypad` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> tests/cpu_step_tests.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     'testing: for test in tests.iter() {
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_stat`
[INFO] [stdout]    --> src/ppu.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let old_stat = self.stat;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tomboy-emulator` (test "cpu_test") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> tests/cpu_step_tests.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut cpu = Cpu::new();
[INFO] [stdout]    |                   ^^^^^^^^-- argument #1 of type `Cart` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/cpu.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn new(cart: Cart) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut cpu = Cpu::new(/* Cart */);
[INFO] [stdout]    |                           ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2`
[INFO] [stdout]   --> tests/ppu_test.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let sdl = sdl2::init()?;
[INFO] [stdout]    |               ^^^^ use of unresolved module or unlinked crate `sdl2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> tests/ppu_test.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut emu = Cpu::new();
[INFO] [stdout]    |                   ^^^^^^^^-- argument #1 of type `Cart` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/cpu.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn new(cart: Cart) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut emu = Cpu::new(/* Cart */);
[INFO] [stdout]    |                           ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disable` is never used
[INFO] [stdout]   --> src/apu/wave.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Wave {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 29 |   pub fn disable(&mut self) {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_lcd_int` and `send_lyc_int` are never used
[INFO] [stdout]    --> src/ppu.rs:358:6
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl Ppu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 358 |   fn send_lcd_int(&mut self, flag: Stat) {
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |   fn send_lyc_int(&mut self) {
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rtc_seconds`, `rtc_minutes`, `rtc_hours`, `rtc_day`, `rtc_carry`, and `rtc_halted` are never read
[INFO] [stdout]    --> src/mbc.rs:237:3
[INFO] [stdout]     |
[INFO] [stdout] 231 | struct Mbc3 {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 237 |   rtc_seconds: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout] 238 |   rtc_minutes: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout] 239 |   rtc_hours: u8,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 240 |   rtc_day: u16,
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 241 |   rtc_carry: bool,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 242 |   rtc_halted: bool,
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tomboy-emulator` (test "cpu_step_tests") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `Bus` in the current scope
[INFO] [stdout]   --> tests/ppu_test.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut bus = emu.bus.borrow_mut();
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/core/src/borrow.rs:205:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Bus` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BorrowMut` which provides `borrow_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use std::borrow::BorrowMut;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `borrow` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut bus = emu.bus.borrow();
[INFO] [stdout]    |                           ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ppu` on type `Cpu`
[INFO] [stdout]   --> tests/ppu_test.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |       while emu.ppu.vblank.take().is_none() {
[INFO] [stdout]    |                 ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 46 |       while emu.bus.ppu.vblank.take().is_none() {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> tests/ppu_test.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |             emu = Cpu::new();
[INFO] [stdout]    |                   ^^^^^^^^-- argument #1 of type `Cart` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/cpu.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn new(cart: Cart) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 54 |             emu = Cpu::new(/* Cart */);
[INFO] [stdout]    |                           ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `Bus` in the current scope
[INFO] [stdout]   --> tests/ppu_test.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let mut bus = emu.bus.borrow_mut();
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/core/src/borrow.rs:205:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Bus` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BorrowMut` which provides `borrow_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use std::borrow::BorrowMut;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `borrow` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let mut bus = emu.bus.borrow();
[INFO] [stdout]    |                                   ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `borrow` found for struct `Bus` in the current scope
[INFO] [stdout]   --> tests/ppu_test.rs:71:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let tile = &emu.bus.borrow().mem[tile_start..tile_start+16];
[INFO] [stdout]    |                             ^^^^^^
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/core/src/borrow.rs:178:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Bus` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Borrow` which provides `borrow` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use std::borrow::Borrow;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `borrow_mut` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let tile = &emu.bus.borrow_mut().mem[tile_start..tile_start+16];
[INFO] [stdout]    |                             ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2`
[INFO] [stdout]    --> tests/ppu_test.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let sdl = sdl2::init()?;
[INFO] [stdout]     |               ^^^^ use of unresolved module or unlinked crate `sdl2`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> tests/ppu_test.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut emu = Cpu::new();
[INFO] [stdout]     |                   ^^^^^^^^-- argument #1 of type `Cart` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/cpu.rs:54:9
[INFO] [stdout]     |
[INFO] [stdout] 54  |     pub fn new(cart: Cart) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut emu = Cpu::new(/* Cart */);
[INFO] [stdout]     |                           ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `Bus` in the current scope
[INFO] [stdout]    --> tests/ppu_test.rs:120:27
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut bus = emu.bus.borrow_mut();
[INFO] [stdout]     |                           ^^^^^^^^^^
[INFO] [stdout]    --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/core/src/borrow.rs:205:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `Bus` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BorrowMut` which provides `borrow_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 5   +     use std::borrow::BorrowMut;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `borrow` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut bus = emu.bus.borrow();
[INFO] [stdout]     |                           ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ppu` on type `Cpu`
[INFO] [stdout]    --> tests/ppu_test.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 |       while emu.ppu.vblank.take().is_none() {
[INFO] [stdout]     |                 ^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]     |
[INFO] [stdout] 134 |       while emu.bus.ppu.vblank.take().is_none() {
[INFO] [stdout]     |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> tests/ppu_test.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |             emu = Cpu::new();
[INFO] [stdout]     |                   ^^^^^^^^-- argument #1 of type `Cart` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/cpu.rs:54:9
[INFO] [stdout]     |
[INFO] [stdout] 54  |     pub fn new(cart: Cart) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 142 |             emu = Cpu::new(/* Cart */);
[INFO] [stdout]     |                           ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `Bus` in the current scope
[INFO] [stdout]    --> tests/ppu_test.rs:145:35
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let mut bus = emu.bus.borrow_mut();
[INFO] [stdout]     |                                   ^^^^^^^^^^
[INFO] [stdout]    --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/core/src/borrow.rs:205:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `Bus` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BorrowMut` which provides `borrow_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 5   +     use std::borrow::BorrowMut;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `borrow` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let mut bus = emu.bus.borrow();
[INFO] [stdout]     |                                   ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `borrow` found for struct `Bus` in the current scope
[INFO] [stdout]    --> tests/ppu_test.rs:167:29
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let tile = &emu.bus.borrow().mem[tile_start..tile_start+16];
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]    --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/core/src/borrow.rs:178:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `Bus` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Borrow` which provides `borrow` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 5   +     use std::borrow::Borrow;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `borrow_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let tile = &emu.bus.borrow_mut().mem[tile_start..tile_start+16];
[INFO] [stdout]     |                             ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tomboy-emulator` (test "ppu_test") due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "1f801bfaa4d8b75a1bc70451d873d951018d044f8ec7b36e330d906ce20235b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f801bfaa4d8b75a1bc70451d873d951018d044f8ec7b36e330d906ce20235b8", kill_on_drop: false }`
[INFO] [stdout] 1f801bfaa4d8b75a1bc70451d873d951018d044f8ec7b36e330d906ce20235b8
