[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] checking eiowlta/rust_gb against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feiowlta%2Frust_gb" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eiowlta/rust_gb on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cd87a126a094b568d0f93e14bc696b1074740dccd707477f43bca75b568fc7c3 [INFO] running `Command { std: "docker" "start" "-a" "cd87a126a094b568d0f93e14bc696b1074740dccd707477f43bca75b568fc7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd87a126a094b568d0f93e14bc696b1074740dccd707477f43bca75b568fc7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd87a126a094b568d0f93e14bc696b1074740dccd707477f43bca75b568fc7c3", kill_on_drop: false }` [INFO] [stdout] cd87a126a094b568d0f93e14bc696b1074740dccd707477f43bca75b568fc7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fec316c630b1875befd681a1da917efe39b64cf2ea88e5d3979f6b9770131c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2fec316c630b1875befd681a1da917efe39b64cf2ea88e5d3979f6b9770131c9", kill_on_drop: false }` [INFO] [stderr] Checking 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: 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: `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: 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: 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] [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: 8 warnings emitted [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] [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] 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] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found struct `Mem` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(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] [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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found struct `Mem` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(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] [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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2fec316c630b1875befd681a1da917efe39b64cf2ea88e5d3979f6b9770131c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fec316c630b1875befd681a1da917efe39b64cf2ea88e5d3979f6b9770131c9", kill_on_drop: false }` [INFO] [stdout] 2fec316c630b1875befd681a1da917efe39b64cf2ea88e5d3979f6b9770131c9