[INFO] cloning repository https://github.com/iburinoc/gba-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iburinoc/gba-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiburinoc%2Fgba-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiburinoc%2Fgba-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5e59ca598eaff908d871dde9a9795b4d332257b [INFO] checking iburinoc/gba-rs against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiburinoc%2Fgba-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iburinoc/gba-rs on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iburinoc/gba-rs [INFO] finished tweaking git repo https://github.com/iburinoc/gba-rs [INFO] tweaked toml for git repo https://github.com/iburinoc/gba-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/iburinoc/gba-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/daniel5151/arm7tdmi-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zstd-safe v1.4.13+zstd.1.4.3 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded zstd v0.4.28+zstd.1.4.3 [INFO] [stderr] Downloaded bincode v1.1.4 [INFO] [stderr] Downloaded flame v0.2.2 [INFO] [stderr] Downloaded arraydeque v0.4.5 [INFO] [stderr] Downloaded zstd-sys v1.4.13+zstd.1.4.3 [INFO] [stderr] Downloaded jobserver v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 055057ba7063259569b17848d2fea31e19f71647e337617e5313d9f662e9f976 [INFO] running `Command { std: "docker" "start" "-a" "055057ba7063259569b17848d2fea31e19f71647e337617e5313d9f662e9f976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "055057ba7063259569b17848d2fea31e19f71647e337617e5313d9f662e9f976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055057ba7063259569b17848d2fea31e19f71647e337617e5313d9f662e9f976", kill_on_drop: false }` [INFO] [stdout] 055057ba7063259569b17848d2fea31e19f71647e337617e5313d9f662e9f976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c3aed4cb37319ba68e482a0dece755d80a313f0a6e6b5eaeecdfb7a83b295d5 [INFO] running `Command { std: "docker" "start" "-a" "5c3aed4cb37319ba68e482a0dece755d80a313f0a6e6b5eaeecdfb7a83b295d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling gba-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Compiling zstd-sys v1.4.13+zstd.1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking arm7tdmi-rs v0.1.0 (https://github.com/daniel5151/arm7tdmi-rs.git#9bbf5e75) [INFO] [stderr] Checking flame v0.2.2 [INFO] [stderr] Checking zstd-safe v1.4.13+zstd.1.4.3 [INFO] [stderr] Checking zstd v0.4.28+zstd.1.4.3 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/gba/save_state.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => error!("Failed to create save state: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/gba/save_state.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => error!("Failed to create save state: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/io/ppu/render/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | ((colour.0 as u32) << 16 | (colour.1 as u32) << 8 | (colour.2 as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpecDesired` [INFO] [stdout] --> src/io/spu/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mmu::gba::Gba as GbaMmu` [INFO] [stdout] --> src/io/spu/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mmu::gba::Gba as GbaMmu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u16` [INFO] [stdout] --> src/io/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use std::u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u16` [INFO] [stdout] --> src/io/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | use std::u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmu/gba/mod.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_range(&self, addr: u32) -> Option<(u32, &Mmu)> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmu/gba/mod.rs:173:69 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn get_range_mut(&mut self, addr: u32) -> Option<(u32, &mut Mmu)> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Mmu` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/io/ppu/render/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | ((colour.0 as u32) << 16 | (colour.1 as u32) << 8 | (colour.2 as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpecDesired` [INFO] [stdout] --> src/io/spu/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mmu::gba::Gba as GbaMmu` [INFO] [stdout] --> src/io/spu/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mmu::gba::Gba as GbaMmu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u16` [INFO] [stdout] --> src/io/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use std::u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u16` [INFO] [stdout] --> src/io/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | use std::u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmu/gba/mod.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_range(&self, addr: u32) -> Option<(u32, &Mmu)> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmu/gba/mod.rs:173:69 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn get_range_mut(&mut self, addr: u32) -> Option<(u32, &mut Mmu)> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Mmu` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gba/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | let mut gba: Box = Box::new(mem::uninitialized()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gba/save_state.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let mut gba: Gba<'static> = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gba/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | let mut gba: Box = Box::new(mem::uninitialized()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gba/save_state.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let mut gba: Gba<'static> = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Err(err) => Err(err.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Err(err) => Err(err.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gba-rs` [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: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5c3aed4cb37319ba68e482a0dece755d80a313f0a6e6b5eaeecdfb7a83b295d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3aed4cb37319ba68e482a0dece755d80a313f0a6e6b5eaeecdfb7a83b295d5", kill_on_drop: false }` [INFO] [stdout] 5c3aed4cb37319ba68e482a0dece755d80a313f0a6e6b5eaeecdfb7a83b295d5