[INFO] cloning repository https://github.com/jquesnelle/ironnes
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jquesnelle/ironnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjquesnelle%2Fironnes"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjquesnelle%2Fironnes'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 37ef230fa4c239be9e437ccdfae1f7891295f87e
[INFO] testing jquesnelle/ironnes against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjquesnelle%2Fironnes" "/workspace/builds/worker-6-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jquesnelle/ironnes
[INFO] finished tweaking git repo https://github.com/jquesnelle/ironnes
[INFO] tweaked toml for git repo https://github.com/jquesnelle/ironnes written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jquesnelle/ironnes on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jquesnelle/ironnes already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ironnes` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf
[INFO] running `"docker" "start" "ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf"`
[INFO] running `"docker" "inspect" "ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf"`
[INFO] running `"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" "ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ironnes` (manifest) generated 1 warning
[INFO] [stderr]    Compiling ironnes v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/rom/mod.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |   pub header: [u8, ..16],
[INFO] [stdout]    |                  ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 24 -   pub header: [u8, ..16],
[INFO] [stdout] 24 +   pub header: [u8; ..16],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/rom/mod.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |   pub trainer: [u8, ..512],
[INFO] [stdout]    |                   ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 25 -   pub trainer: [u8, ..512],
[INFO] [stdout] 25 +   pub trainer: [u8; ..512],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/rom/mod.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |   pub pc_inst: [u8, ..8192],
[INFO] [stdout]    |                   ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 28 -   pub pc_inst: [u8, ..8192],
[INFO] [stdout] 28 +   pub pc_inst: [u8; ..8192],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/rom/mod.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub pc_prom: [u8, ..32],
[INFO] [stdout]    |                   ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 29 -   pub pc_prom: [u8, ..32],
[INFO] [stdout] 29 +   pub pc_prom: [u8; ..32],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `box`
[INFO] [stdout]   --> src/board/mod.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |     0 => box Nrom::new(None::<Nrom>, rom_ref),
[INFO] [stdout]    |       -- ^^^ expected expression
[INFO] [stdout]    |       |
[INFO] [stdout]    |       while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `$emu:expr` is followed by `$arg:tt`, which is not allowed for `expr` fragments
[INFO] [stdout]   --> src/lib.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |   ($emu:expr $($arg:tt)*) => (
[INFO] [stdout]    |                ^^^^^^^ not allowed after `expr` fragments
[INFO] [stdout]    |
[INFO] [stdout]    = note: allowed there are: `=>`, `,` or `;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `$emu:expr` is followed by `$arg:tt`, which is not allowed for `expr` fragments
[INFO] [stdout]   --> src/lib.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |   ($emu:expr $($arg:tt)*) => (
[INFO] [stdout]    |                ^^^^^^^ not allowed after `expr` fragments
[INFO] [stdout]    |
[INFO] [stdout]    = note: allowed there are: `=>`, `,` or `;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `term`
[INFO] [stdout]   --> src/log/mod.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern crate term;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]   --> src/rom/mod.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{File};
[INFO] [stdout]    |               ^^^^ no `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            std::fs::File
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `log::Normal`
[INFO] [stdout]   --> src/emulator/mod.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use log::{Log, Normal};
[INFO] [stdout]    |                ^^^^^^ no `Normal` in `log`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these variants instead:
[INFO] [stdout]            std::num::FpCategory::Normal
[INFO] [stdout]            std::path::Component::Normal
[INFO] [stdout]            log::Level::Normal
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Error` in this scope
[INFO] [stdout]   --> src/log/mod.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |     self.log(message, Error);
[INFO] [stdout]    |                       ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::fs::TryLockError::Error;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use log::Level::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Normal` in this scope
[INFO] [stdout]   --> src/log/mod.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 |     self.log(message, Normal);
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::num::FpCategory::Normal;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::path::Component::Normal;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use log::Level::Normal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find value `Debug` in this scope
[INFO] [stdout]   --> src/log/mod.rs:41:23
[INFO] [stdout]    |
[INFO] [stdout] 41 |     self.log(message, Debug);
[INFO] [stdout]    |                       ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a derive macro named `Debug` exists in another namespace
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]    |
[INFO] [stdout] 18 + use log::Level::Debug;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/log/mod.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if level as int <= self.log_level as int {
[INFO] [stdout]    |                 ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 45 -     if level as int <= self.log_level as int {
[INFO] [stdout] 45 +     if level as i32 <= self.log_level as int {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/log/mod.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if level as int <= self.log_level as int {
[INFO] [stdout]    |                                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 45 -     if level as int <= self.log_level as int {
[INFO] [stdout] 45 +     if level as int <= self.log_level as i32 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/rom/mod.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |   pub fn load(path: &Path, emulator: &Emulator) -> Result<Rc<RefCell<Rom>>, String> {
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/rom/mod.rs:68:38
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let prg_size = (rom.header[4] as uint) * 1024 * 16;
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/rom/mod.rs:75:40
[INFO] [stdout]    |
[INFO] [stdout] 75 |       let chr_size = (rom.header[5] as uint) * 1024 * 8;
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/emulator/mod.rs:39:37
[INFO] [stdout]    |
[INFO] [stdout] 39 |   pub fn load_rom(&mut self, path: &Path) -> Result<(), String> {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found module `NROM`
[INFO] [stdout]   --> src/board/mod.rs:32:82
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn load_board(emulator: &Emulator, rom_ref: &Rc<RefCell<Rom>>) -> Result<Box<NROM>, String> {
[INFO] [stdout]    |                                                                                  ^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named struct `Nrom` defined here
[INFO] [stdout]   --> src/board/NROM.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Nrom {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 32 - pub fn load_board(emulator: &Emulator, rom_ref: &Rc<RefCell<Rom>>) -> Result<Box<NROM>, String> {
[INFO] [stdout] 32 + pub fn load_board(emulator: &Emulator, rom_ref: &Rc<RefCell<Rom>>) -> Result<Box<Nrom>, String> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]   --> src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #![feature(macro_rules)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
[INFO] [stdout]    |
[INFO] [stdout]    = help: the feature `macro_rules` has been stable since `1.0.0` and no longer requires an attribute to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `board::NROM::Nrom`
[INFO] [stdout]   --> src/board/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use board::NROM::Nrom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/rom/mod.rs:69:30
[INFO] [stdout]    |
[INFO] [stdout] 69 |     rom.prg.grow(prg_size, &(0i as u8));
[INFO] [stdout]    |                              ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/rom/mod.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 76 |       rom.chr.grow(chr_size, &(0i as u8));
[INFO] [stdout]    |                                ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/rom/mod.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 |     name_buf.grow(128, &(0i as u8));
[INFO] [stdout]    |                          ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | #![feature(macro_rules)]
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/emulator/mod.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |   board: Option<Box<Board>>
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 |   board: Option<Box<dyn Board>>
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |   pub header: [u8, ..16],
[INFO] [stdout]    |                    ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |   pub trainer: [u8, ..512],
[INFO] [stdout]    |                     ^^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |   pub pc_inst: [u8, ..8192],
[INFO] [stdout]    |                     ^^^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub pc_prom: [u8, ..32],
[INFO] [stdout]    |                     ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Board` is not dyn compatible
[INFO] [stdout]   --> src/emulator/mod.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |   board: Option<Box<Board>>
[INFO] [stdout]    |                     ^^^^^ `Board` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/board/mod.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait Board {
[INFO] [stdout]    |           ----- this trait is not dyn compatible...
[INFO] [stdout] 27 |   //see my SO question: http://stackoverflow.com/questions/25563667/implementing-rust-traits-cause-struct-to-not-be-found
[INFO] [stdout] 28 |   fn new(_dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self;
[INFO] [stdout]    |      ^^^ ...because associated function `new` has no `self` parameter
[INFO] [stdout]    = help: only type `board::NROM::Nrom` implements `Board` within this crate; consider using it directly instead.
[INFO] [stdout]    = note: `Board` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type
[INFO] [stdout] help: consider turning `new` into a method by giving it a `&self` argument, so that it is accessible through the trait object's vtable
[INFO] [stdout]   --> src/board/mod.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |   fn new(&self, _dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self;
[INFO] [stdout]    |          ++++++
[INFO] [stdout] help: alternatively, consider constraining `new` so it is explicitly marked as not applying to trait objects
[INFO] [stdout]   --> src/board/mod.rs:28:63
[INFO] [stdout]    |
[INFO] [stdout] 28 |   fn new(_dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self where Self: Sized;
[INFO] [stdout]    |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]   --> src/board/mod.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |   fn new(_dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self;
[INFO] [stdout]    |                  ^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout] note: required by an implicit `Sized` bound in `Option`
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/option.rs:598:0
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]    |
[INFO] [stdout] 28 |   fn new(_dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self where Self: Sized;
[INFO] [stdout]    |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let bad_format = String::from_str("Invald ROM format");
[INFO] [stdout]    |                              ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/alloc/src/string.rs:450:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 35 -     let bad_format = String::from_str("Invald ROM format");
[INFO] [stdout] 35 +     let bad_format = String::from("Invald ROM format");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |       header: [0, ..16],
[INFO] [stdout]    |                   ^^^^ expected `u8`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `u8`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |       trainer: [0, ..512],
[INFO] [stdout]    |                    ^^^^^ expected `u8`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `u8`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |       pc_inst: [0, ..8192],
[INFO] [stdout]    |                    ^^^^^^ expected `u8`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `u8`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/rom/mod.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |       pc_prom: [0, ..32],
[INFO] [stdout]    |                    ^^^^ expected `u8`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `u8`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/rom/mod.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if file.read(rom.header) != Ok(16) {
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for type `!` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if file.read(rom.header) != Ok(16) {
[INFO] [stdout]    |             ^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for type `!` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:63:15
[INFO] [stdout]    |
[INFO] [stdout] 63 |       if file.read(rom.trainer) != Ok(512) {
[INFO] [stdout]    |               ^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/rom/mod.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |       if file.read(rom.trainer) != Ok(512) {
[INFO] [stdout]    |          ----      ^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |          |
[INFO] [stdout]    |          any code following this expression is unreachable
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `grow` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |     rom.prg.grow(prg_size, &(0i as u8));
[INFO] [stdout]    |             ^^^^ method not found in `Vec<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for type `!` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |     if file.read(rom.prg.as_mut_slice()) != Ok(prg_size) {
[INFO] [stdout]    |             ^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/rom/mod.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |     if file.read(rom.prg.as_mut_slice()) != Ok(prg_size) {
[INFO] [stdout]    |        ----      ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |        |
[INFO] [stdout]    |        any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `grow` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 76 |       rom.chr.grow(chr_size, &(0i as u8));
[INFO] [stdout]    |               ^^^^ method not found in `Vec<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for type `!` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |       if file.read(rom.chr.as_mut_slice()) != Ok(chr_size) {
[INFO] [stdout]    |               ^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/rom/mod.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |       if file.read(rom.chr.as_mut_slice()) != Ok(chr_size) {
[INFO] [stdout]    |          ----      ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |          |
[INFO] [stdout]    |          any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for type `!` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |       if file.read(rom.pc_inst) != Ok(8192) {
[INFO] [stdout]    |               ^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/rom/mod.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |       if file.read(rom.pc_inst) != Ok(8192) {
[INFO] [stdout]    |          ----      ^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |          |
[INFO] [stdout]    |          any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for type `!` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 |       file.read(rom.pc_prom).unwrap();
[INFO] [stdout]    |            ^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/rom/mod.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |       file.read(rom.pc_prom).unwrap();
[INFO] [stdout]    |       ----      ^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |       |
[INFO] [stdout]    |       any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `grow` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 |     name_buf.grow(128, &(0i as u8));
[INFO] [stdout]    |              ^^^^ method not found in `Vec<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for type `!` in the current scope
[INFO] [stdout]   --> src/rom/mod.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |     match file.read(name_buf.as_mut_slice()) {
[INFO] [stdout]    |                ^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/rom/mod.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |     match file.read(name_buf.as_mut_slice()) {
[INFO] [stdout]    |           ----      ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |           |
[INFO] [stdout]    |           any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/rom/mod.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |         rom.name.as_slice()
[INFO] [stdout]     |                  ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Board` is not dyn compatible
[INFO] [stdout]   --> src/emulator/mod.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |       board: None
[INFO] [stdout]    |              ^^^^ `Board` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/board/mod.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait Board {
[INFO] [stdout]    |           ----- this trait is not dyn compatible...
[INFO] [stdout] 27 |   //see my SO question: http://stackoverflow.com/questions/25563667/implementing-rust-traits-cause-struct-to-not-be-found
[INFO] [stdout] 28 |   fn new(_dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self;
[INFO] [stdout]    |      ^^^ ...because associated function `new` has no `self` parameter
[INFO] [stdout]    = help: only type `board::NROM::Nrom` implements `Board` within this crate; consider using it directly instead.
[INFO] [stdout]    = note: `Board` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type
[INFO] [stdout] help: consider turning `new` into a method by giving it a `&self` argument, so that it is accessible through the trait object's vtable
[INFO] [stdout]   --> src/board/mod.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |   fn new(&self, _dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self;
[INFO] [stdout]    |          ++++++
[INFO] [stdout] help: alternatively, consider constraining `new` so it is explicitly marked as not applying to trait objects
[INFO] [stdout]   --> src/board/mod.rs:28:63
[INFO] [stdout]    |
[INFO] [stdout] 28 |   fn new(_dummy: Option<Self>, rom: &Rc<RefCell<Rom>>) -> Self where Self: Sized;
[INFO] [stdout]    |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0308, E0423, E0425, E0432, E0463, E0554, E0573...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ironnes` (lib) due to 47 previous errors; 11 warnings emitted
[INFO] running `"docker" "inspect" "ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf"`
[INFO] running `"docker" "rm" "-f" "ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf"`
[INFO] [stdout] ac6ab6eae99be22f4c5f27ab07e8fa043934bd61b8cc52501d258483f84177bf
