[INFO] fetching crate rsdl2 0.3.0... [INFO] checking rsdl2-0.3.0 against try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] extracting crate rsdl2 0.3.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rsdl2 0.3.0 on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rsdl2 0.3.0 [INFO] finished tweaking crates.io crate rsdl2 0.3.0 [INFO] tweaked toml for crates.io crate rsdl2 0.3.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsdl2-sys v0.1.0 [INFO] [stderr] Downloaded drop-ptr v0.1.2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6b79802905ae4929bf68f71f05942ca3595d6f4288b93750ab253fb5232f5cd5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6b79802905ae4929bf68f71f05942ca3595d6f4288b93750ab253fb5232f5cd5"` [INFO] [stderr] Checking utf v0.1.5 [INFO] [stderr] Checking drop-ptr v0.1.2 [INFO] [stderr] Checking flags v0.1.3 [INFO] [stderr] Checking fallible v0.1.2 [INFO] [stderr] Compiling rsdl2-sys v0.1.0 [INFO] [stderr] Checking null-terminated v0.3.9 [INFO] [stderr] Checking rsdl2 v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lock.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use core::sync::atomic::{ATOMIC_BOOL_INIT, AtomicBool, Ordering as Memord}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lock.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | pub static lock: Lock = Lock(ATOMIC_BOOL_INIT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/event.rs:89:22 [INFO] [stderr] | [INFO] [stderr] 89 | let mut ev = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/video.rs:122:34 [INFO] [stderr] | [INFO] [stderr] 122 | let mut size: [int; 2] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/video.rs:184:34 [INFO] [stderr] | [INFO] [stderr] 184 | let mut size: [int; 2] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lock.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use core::sync::atomic::{ATOMIC_BOOL_INIT, AtomicBool, Ordering as Memord}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lock.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | pub static lock: Lock = Lock(ATOMIC_BOOL_INIT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/event.rs:89:22 [INFO] [stderr] | [INFO] [stderr] 89 | let mut ev = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/key.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / bitflags! { [INFO] [stderr] 15 | | pub struct Mod: u16 { [INFO] [stderr] 16 | | const LShift = KMOD_LSHIFT as _; [INFO] [stderr] 17 | | const RShift = KMOD_RSHIFT as _; [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:153:1 [INFO] [stderr] | [INFO] [stderr] 153 | / bitflags! { [INFO] [stderr] 154 | | pub struct WindowFlags: u32 { [INFO] [stderr] 155 | | const Fullscreen = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN as _; [INFO] [stderr] 156 | | const FullscreenDesktop = SDL_WindowFlags::SDL_WINDOW_FULLSCREEN_DESKTOP as _; [INFO] [stderr] ... | [INFO] [stderr] 175 | | } [INFO] [stderr] 176 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/video.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / bitflags! { [INFO] [stderr] 233 | | pub struct RendererFlags: u32 { [INFO] [stderr] 234 | | const Software = SDL_RendererFlags::SDL_RENDERER_SOFTWARE as _; [INFO] [stderr] 235 | | const Accelerated = SDL_RendererFlags::SDL_RENDERER_ACCELERATED as _; [INFO] [stderr] ... | [INFO] [stderr] 238 | | } [INFO] [stderr] 239 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/video.rs:122:34 [INFO] [stderr] | [INFO] [stderr] 122 | let mut size: [int; 2] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/video.rs:184:34 [INFO] [stderr] | [INFO] [stderr] 184 | let mut size: [int; 2] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 42 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0518`. [INFO] [stderr] error: could not compile `rsdl2`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 42 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0518`. [INFO] [stderr] error: could not compile `rsdl2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6b79802905ae4929bf68f71f05942ca3595d6f4288b93750ab253fb5232f5cd5"` [INFO] running `"docker" "rm" "-f" "6b79802905ae4929bf68f71f05942ca3595d6f4288b93750ab253fb5232f5cd5"` [INFO] [stdout] 6b79802905ae4929bf68f71f05942ca3595d6f4288b93750ab253fb5232f5cd5