[INFO] updating cached repository jquesnelle/ironnes [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jquesnelle/ironnes [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jquesnelle/ironnes" "work/ex/beta-1.38-1/sources/1.37.0/gh/jquesnelle/ironnes"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/jquesnelle/ironnes'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jquesnelle/ironnes" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jquesnelle/ironnes"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jquesnelle/ironnes'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 37ef230fa4c239be9e437ccdfae1f7891295f87e [INFO] sha for GitHub repo jquesnelle/ironnes: 37ef230fa4c239be9e437ccdfae1f7891295f87e [INFO] validating manifest of jquesnelle/ironnes on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jquesnelle/ironnes on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jquesnelle/ironnes [INFO] finished frobbing jquesnelle/ironnes [INFO] frobbed toml for jquesnelle/ironnes written to work/ex/beta-1.38-1/sources/1.37.0/gh/jquesnelle/ironnes/Cargo.toml [INFO] started frobbing jquesnelle/ironnes [INFO] finished frobbing jquesnelle/ironnes [INFO] frobbed toml for jquesnelle/ironnes written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jquesnelle/ironnes/Cargo.toml [INFO] crate jquesnelle/ironnes already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing jquesnelle/ironnes against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/jquesnelle/ironnes:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 033e9b030fde020de85693bf1bcb75d15a16144c18822ed1e56fbae110b04c1b [INFO] running `"docker" "start" "-a" "033e9b030fde020de85693bf1bcb75d15a16144c18822ed1e56fbae110b04c1b"` [INFO] [stderr] Compiling ironnes v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stderr] --> src/rom/mod.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | pub header: [u8, ..16], [INFO] [stderr] | ^ expected one of 7 possible tokens here [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/rom/mod.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | rom.prg.grow(prg_size, &(0i as u8)); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/rom/mod.rs:76:32 [INFO] [stderr] | [INFO] [stderr] 76 | rom.chr.grow(chr_size, &(0i as u8)); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/rom/mod.rs:95:26 [INFO] [stderr] | [INFO] [stderr] 95 | name_buf.grow(128, &(0i as u8)); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: `$emu:expr` is followed by `$arg:tt`, which is not allowed for `expr` fragments [INFO] [stderr] --> src/lib.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | ($emu:expr $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^ not allowed after `expr` fragments [INFO] [stderr] | [INFO] [stderr] = note: allowed there are: `=>`, `,` or `;` [INFO] [stderr] [INFO] [stderr] error: `$emu:expr` is followed by `$arg:tt`, which is not allowed for `expr` fragments [INFO] [stderr] --> src/lib.rs:29:16 [INFO] [stderr] | [INFO] [stderr] 29 | ($emu:expr $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^ not allowed after `expr` fragments [INFO] [stderr] | [INFO] [stderr] = note: allowed there are: `=>`, `,` or `;` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::File` [INFO] [stderr] --> src/rom/mod.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | use std::io::{File}; [INFO] [stderr] | ^^^^ no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `log::Normal` [INFO] [stderr] --> src/emulator/mod.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | use log::{Log, Normal}; [INFO] [stderr] | ^^^^^^ no `Normal` in `log` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Error` in this scope [INFO] [stderr] --> src/log/mod.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | self.log(message, Error); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use log::Level::Error; [INFO] [stderr] | [INFO] [stderr] 20 | use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Normal` in this scope [INFO] [stderr] --> src/log/mod.rs:37:23 [INFO] [stderr] | [INFO] [stderr] 37 | self.log(message, Normal); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use log::Level::Normal; [INFO] [stderr] | [INFO] [stderr] 20 | use std::num::FpCategory::Normal; [INFO] [stderr] | [INFO] [stderr] 20 | use std::path::Component::Normal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Debug` in this scope [INFO] [stderr] --> src/log/mod.rs:41:23 [INFO] [stderr] | [INFO] [stderr] 41 | self.log(message, Debug); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use log::Level::Debug; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/log/mod.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | if level as int <= self.log_level as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/log/mod.rs:45:42 [INFO] [stderr] | [INFO] [stderr] 45 | if level as int <= self.log_level as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/rom/mod.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn load(path: &Path, emulator: &Emulator) -> Result>, String> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 18 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rom/mod.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | let prg_size = (rom.header[4] as uint) * 1024 * 16; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rom/mod.rs:75:40 [INFO] [stderr] | [INFO] [stderr] 75 | let chr_size = (rom.header[5] as uint) * 1024 * 8; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/emulator/mod.rs:39:37 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn load_rom(&mut self, path: &Path) -> Result<(), String> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 18 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0573]: expected type, found module `NROM` [INFO] [stderr] --> src/board/mod.rs:32:82 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn load_board(emulator: &Emulator, rom_ref: &Rc>) -> Result, String> { [INFO] [stderr] | ^^^^ not a type [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | #![feature(macro_rules)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/board/mod.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | 0 => box Nrom::new(None::, rom_ref), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emulator/mod.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | board: Option> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Board` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/log/mod.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | extern crate term; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/log/mod.rs:46:19 [INFO] [stderr] | [INFO] [stderr] 46 | let mut t = term::stdout().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/log/mod.rs:54:26 [INFO] [stderr] | [INFO] [stderr] 54 | Error => { (t.fg(term::color::RED)).unwrap(); (write!(t, "ERROR")).unwrap(); }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/log/mod.rs:55:27 [INFO] [stderr] | [INFO] [stderr] 55 | Normal => { (t.fg(term::color::WHITE)).unwrap(); (write!(t, " ")).unwrap(); }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/log/mod.rs:56:26 [INFO] [stderr] | [INFO] [stderr] 56 | Debug => { (t.fg(term::color::YELLOW)).unwrap(); (write!(t, "DEBUG")).unwrap(); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `board::Board` cannot be made into an object [INFO] [stderr] --> src/emulator/mod.rs:27:3 [INFO] [stderr] | [INFO] [stderr] 27 | board: Option> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `board::Board` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stderr] --> src/board/mod.rs:28:3 [INFO] [stderr] | [INFO] [stderr] 28 | fn new(_dummy: Option, rom: &Rc>) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `Self` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = help: consider adding a `where Self: std::marker::Sized` bound [INFO] [stderr] = note: required by `std::option::Option` [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0038, E0277, E0412, E0425, E0432, E0554, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0038`. [INFO] [stderr] error: Could not compile `ironnes`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "033e9b030fde020de85693bf1bcb75d15a16144c18822ed1e56fbae110b04c1b"` [INFO] running `"docker" "rm" "-f" "033e9b030fde020de85693bf1bcb75d15a16144c18822ed1e56fbae110b04c1b"` [INFO] [stdout] 033e9b030fde020de85693bf1bcb75d15a16144c18822ed1e56fbae110b04c1b