[INFO] fetching crate gametank 0.17.0... [INFO] testing gametank-0.17.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate gametank 0.17.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate gametank 0.17.0 [INFO] finished tweaking crates.io crate gametank 0.17.0 [INFO] tweaked toml for crates.io crate gametank 0.17.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gametank 0.17.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gametank 0.17.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c97fecf2b2aa0dda900ed498577200252be8b2bcf392a674a89616a5b067283c [INFO] running `Command { std: "docker" "start" "-a" "c97fecf2b2aa0dda900ed498577200252be8b2bcf392a674a89616a5b067283c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c97fecf2b2aa0dda900ed498577200252be8b2bcf392a674a89616a5b067283c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97fecf2b2aa0dda900ed498577200252be8b2bcf392a674a89616a5b067283c", kill_on_drop: false }` [INFO] [stdout] c97fecf2b2aa0dda900ed498577200252be8b2bcf392a674a89616a5b067283c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41eec06a7485a4a97e3b2d1a133369b7a3b1b1c3408f4be255c07a8e68ee2249 [INFO] running `Command { std: "docker" "start" "-a" "41eec06a7485a4a97e3b2d1a133369b7a3b1b1c3408f4be255c07a8e68ee2249", kill_on_drop: false }` [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling gametank v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `scr::SystemControl`, `video_dma::blitter::Blitter`, and `wait` [INFO] [stdout] --> src/blitter.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | boot::{wait}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | scr::SystemControl, video_dma::blitter::Blitter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `volatile_register::WO` [INFO] [stdout] --> src/scr.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use volatile_register::WO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_VECTOR_TABLE`, `disable_irq_handler`, `enable_irq_handler`, and `wait` [INFO] [stdout] --> src/scr.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::boot::{_VECTOR_TABLE, disable_irq_handler, enable_irq_handler, wait}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scr` [INFO] [stdout] --> src/scr.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::scr; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::video_dma::framebuffers::Framebuffers` [INFO] [stdout] --> src/scr.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::video_dma::framebuffers::Framebuffers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VideoFlags` [INFO] [stdout] --> src/video_dma/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | scr::{SystemControl, VideoFlags}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `audio-fm-4op` [INFO] [stdout] --> src/audio/mod.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "audio-fm-4op")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `audio-wavetable-7ch-linear` and `audio-wavetable-8ch` [INFO] [stdout] = help: consider adding `audio-fm-4op` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mos` [INFO] [stdout] --> src/boot.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(target_arch = "mos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic::PanicInfo` [INFO] [stdout] --> src/boot.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{panic::PanicInfo, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> src/scr.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | use bitflags::{self, Flags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_field::BitField` [INFO] [stdout] --> src/scr.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use bit_field::BitField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Bits` [INFO] [stdout] --> src/scr.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use bitflags::Bits; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/video_dma/framebuffers.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/blitter.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct BlitterGuard<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 100 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 101 | pub(crate) inner: Blitter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/framebuffers.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct FramebuffersGuard<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 67 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 68 | pub(crate) inner: Framebuffers, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/spritemem.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct SpriteMemGuard<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 73 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 74 | pub(crate) inner: SpriteMem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn blitter(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn blitter(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn framebuffers(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn framebuffers(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn sprite_mem(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn sprite_mem(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Console`, which is not FFI-safe [INFO] [stdout] --> src/boot.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn main(console: Console); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/scr.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct Console { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "41eec06a7485a4a97e3b2d1a133369b7a3b1b1c3408f4be255c07a8e68ee2249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41eec06a7485a4a97e3b2d1a133369b7a3b1b1c3408f4be255c07a8e68ee2249", kill_on_drop: false }` [INFO] [stdout] 41eec06a7485a4a97e3b2d1a133369b7a3b1b1c3408f4be255c07a8e68ee2249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35e0106a5cfff3113a68c4532ee7e5df228328185f9ae107064c330d589e3101 [INFO] running `Command { std: "docker" "start" "-a" "35e0106a5cfff3113a68c4532ee7e5df228328185f9ae107064c330d589e3101", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `scr::SystemControl`, `video_dma::blitter::Blitter`, and `wait` [INFO] [stdout] --> src/blitter.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | boot::{wait}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | scr::SystemControl, video_dma::blitter::Blitter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `volatile_register::WO` [INFO] [stdout] --> src/scr.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use volatile_register::WO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_VECTOR_TABLE`, `disable_irq_handler`, `enable_irq_handler`, and `wait` [INFO] [stdout] --> src/scr.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::boot::{_VECTOR_TABLE, disable_irq_handler, enable_irq_handler, wait}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scr` [INFO] [stdout] --> src/scr.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::scr; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::video_dma::framebuffers::Framebuffers` [INFO] [stdout] --> src/scr.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::video_dma::framebuffers::Framebuffers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VideoFlags` [INFO] [stdout] --> src/video_dma/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | scr::{SystemControl, VideoFlags}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `audio-fm-4op` [INFO] [stdout] --> src/audio/mod.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "audio-fm-4op")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `audio-wavetable-7ch-linear` and `audio-wavetable-8ch` [INFO] [stdout] = help: consider adding `audio-fm-4op` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mos` [INFO] [stdout] --> src/boot.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(target_arch = "mos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic::PanicInfo` [INFO] [stdout] --> src/boot.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{panic::PanicInfo, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> src/scr.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | use bitflags::{self, Flags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_field::BitField` [INFO] [stdout] --> src/scr.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use bit_field::BitField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Bits` [INFO] [stdout] --> src/scr.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use bitflags::Bits; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/video_dma/framebuffers.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/blitter.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct BlitterGuard<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 100 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 101 | pub(crate) inner: Blitter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/framebuffers.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct FramebuffersGuard<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 67 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 68 | pub(crate) inner: Framebuffers, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/spritemem.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct SpriteMemGuard<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 73 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 74 | pub(crate) inner: SpriteMem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn blitter(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn blitter(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn framebuffers(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn framebuffers(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn sprite_mem(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn sprite_mem(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Console`, which is not FFI-safe [INFO] [stdout] --> src/boot.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn main(console: Console); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/scr.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct Console { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gametank v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `scr::SystemControl`, `video_dma::blitter::Blitter`, and `wait` [INFO] [stdout] --> src/blitter.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | boot::{wait}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | scr::SystemControl, video_dma::blitter::Blitter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_field::BitField` [INFO] [stdout] --> src/scr.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use bit_field::BitField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Bits` [INFO] [stdout] --> src/scr.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use bitflags::Bits; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `volatile_register::WO` [INFO] [stdout] --> src/scr.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use volatile_register::WO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_VECTOR_TABLE`, `disable_irq_handler`, `enable_irq_handler`, and `wait` [INFO] [stdout] --> src/scr.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::boot::{_VECTOR_TABLE, disable_irq_handler, enable_irq_handler, wait}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scr` [INFO] [stdout] --> src/scr.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::scr; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::video_dma::framebuffers::Framebuffers` [INFO] [stdout] --> src/scr.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::video_dma::framebuffers::Framebuffers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VideoFlags` [INFO] [stdout] --> src/video_dma/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | scr::{SystemControl, VideoFlags}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `audio-fm-4op` [INFO] [stdout] --> src/audio/mod.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "audio-fm-4op")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `audio-wavetable-7ch-linear` and `audio-wavetable-8ch` [INFO] [stdout] = help: consider adding `audio-fm-4op` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mos` [INFO] [stdout] --> src/boot.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(target_arch = "mos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic::PanicInfo` [INFO] [stdout] --> src/boot.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{panic::PanicInfo, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/boot.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = help: `#[inline]` can be applied to closures, functions, and methods [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> src/scr.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | use bitflags::{self, Flags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_dma/blitter.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let mut bcr = Bcr::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/video_dma/framebuffers.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/blitter.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct BlitterGuard<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 100 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 101 | pub(crate) inner: Blitter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/framebuffers.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct FramebuffersGuard<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 67 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 68 | pub(crate) inner: Framebuffers, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/video_dma/spritemem.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct SpriteMemGuard<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 73 | pub(crate) dma_slot: &'a mut Option, [INFO] [stdout] 74 | pub(crate) inner: SpriteMem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn blitter(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn blitter(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn framebuffers(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn framebuffers(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/video_dma/mod.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn sprite_mem(&mut self, sc: &mut SystemControl) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn sprite_mem(&mut self, sc: &mut SystemControl) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Console`, which is not FFI-safe [INFO] [stdout] --> src/boot.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn main(console: Console); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/scr.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct Console { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: entry symbol `main` declared multiple times [INFO] [stdout] | [INFO] [stdout] = help: did you use `#[no_mangle]` on `fn main`? Use `#![no_main]` to suppress the usual Rust-generated entry point [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gametank` (lib test) due to 1 previous error; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35e0106a5cfff3113a68c4532ee7e5df228328185f9ae107064c330d589e3101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e0106a5cfff3113a68c4532ee7e5df228328185f9ae107064c330d589e3101", kill_on_drop: false }` [INFO] [stdout] 35e0106a5cfff3113a68c4532ee7e5df228328185f9ae107064c330d589e3101