[INFO] cloning repository https://github.com/eiowlta/rust_gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eiowlta/rust_gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feiowlta%2Frust_gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feiowlta%2Frust_gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 706febdaea1416aa1e5617091471f790d90adeb2 [INFO] testing eiowlta/rust_gb against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feiowlta%2Frust_gb" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eiowlta/rust_gb on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eiowlta/rust_gb [INFO] finished tweaking git repo https://github.com/eiowlta/rust_gb [INFO] tweaked toml for git repo https://github.com/eiowlta/rust_gb written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/eiowlta/rust_gb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93281a9b72cdd06a8ac4583b09cf37ceb2aa42ba8c76ba984a6e12ddef64244b [INFO] running `Command { std: "docker" "start" "-a" "93281a9b72cdd06a8ac4583b09cf37ceb2aa42ba8c76ba984a6e12ddef64244b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93281a9b72cdd06a8ac4583b09cf37ceb2aa42ba8c76ba984a6e12ddef64244b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93281a9b72cdd06a8ac4583b09cf37ceb2aa42ba8c76ba984a6e12ddef64244b", kill_on_drop: false }` [INFO] [stdout] 93281a9b72cdd06a8ac4583b09cf37ceb2aa42ba8c76ba984a6e12ddef64244b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08b49360a45ca593c6f7ebc3cd9bbafe147bb2f7e5909ba4bf1a6166b3de9303 [INFO] running `Command { std: "docker" "start" "-a" "08b49360a45ca593c6f7ebc3cd9bbafe147bb2f7e5909ba4bf1a6166b3de9303", kill_on_drop: false }` [INFO] [stderr] Compiling rust_gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mem` [INFO] [stdout] --> src/cpu.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Io, Mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cpu.rs:655:47 [INFO] [stdout] | [INFO] [stdout] 655 | panic!("Halt not implemented"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 962 | 0x76 => halt!(), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `halt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cpu.rs:660:47 [INFO] [stdout] | [INFO] [stdout] 660 | panic!("Stop not implemented"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 963 | 0x10 => stop!(), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `stop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cpu.rs:672:45 [INFO] [stdout] | [INFO] [stdout] 672 | panic!("ei not implemented"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 966 | 0xFB => ei!(), [INFO] [stdout] | ----- in this macro invocation [INFO] [stdout] | [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `ei` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cpu.rs:683:47 [INFO] [stdout] | [INFO] [stdout] 683 | panic!("Reti not implemented"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1006 | 0xD9 => reti!(), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `reti` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Gb` [INFO] [stdout] --> src/loader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Gb; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Io` [INFO] [stdout] --> src/loader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom` [INFO] [stdout] --> src/gb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | rom: Rom [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ram` [INFO] [stdout] --> src/mem.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Ram, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RomRamSelect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mem.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom_bank_lower` [INFO] [stdout] --> src/mem.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | rom_bank_lower: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mbc1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mem.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom_bank_upper` [INFO] [stdout] --> src/mem.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | rom_bank_upper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mbc1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mem.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rom_ram_select` [INFO] [stdout] --> src/mem.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | rom_ram_select: RomRamSelect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mbc1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mem.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nr50` should have a snake case name [INFO] [stdout] --> src/audio.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Nr50: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr50` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nr51` should have a snake case name [INFO] [stdout] --> src/audio.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Nr51: u8, //terminal selection [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr51` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nr52` should have a snake case name [INFO] [stdout] --> src/audio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Nr52: u8, //on [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr52` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/main.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let mut cpu = Cpu::new(mem); [INFO] [stdout] | ^^^ expected struct `Box`, found struct `Mem` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Io + 'static)>` [INFO] [stdout] found struct `Mem` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 12 | let mut cpu = Cpu::new(Box::new(mem)); [INFO] [stdout] | +++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_gb` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "08b49360a45ca593c6f7ebc3cd9bbafe147bb2f7e5909ba4bf1a6166b3de9303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b49360a45ca593c6f7ebc3cd9bbafe147bb2f7e5909ba4bf1a6166b3de9303", kill_on_drop: false }` [INFO] [stdout] 08b49360a45ca593c6f7ebc3cd9bbafe147bb2f7e5909ba4bf1a6166b3de9303