[INFO] fetching crate radiant-rs 0.13.1... [INFO] checking radiant-rs-0.13.1 against beta for pr-78714 [INFO] extracting crate radiant-rs 0.13.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate radiant-rs 0.13.1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate radiant-rs 0.13.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate radiant-rs 0.13.1 [INFO] tweaked toml for crates.io crate radiant-rs 0.13.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f303797ccf92f16a56da6a79d8f8afba827d7636d8ddf4de57a4d7bcd43a53c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f303797ccf92f16a56da6a79d8f8afba827d7636d8ddf4de57a4d7bcd43a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f303797ccf92f16a56da6a79d8f8afba827d7636d8ddf4de57a4d7bcd43a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f303797ccf92f16a56da6a79d8f8afba827d7636d8ddf4de57a4d7bcd43a53c", kill_on_drop: false }` [INFO] [stdout] 0f303797ccf92f16a56da6a79d8f8afba827d7636d8ddf4de57a4d7bcd43a53c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a081af703226dabb3d65194d1a2daa137317dcf9fd8afe7a551763d2d70b07eb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a081af703226dabb3d65194d1a2daa137317dcf9fd8afe7a551763d2d70b07eb", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking avec v0.1.0 [INFO] [stderr] Checking base64 v0.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking xml-rs v0.3.6 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking font-loader v0.6.0 [INFO] [stderr] Checking ordered-float v0.5.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking rusttype v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking tiled v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling palette v0.3.0 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking radiant-rs v0.13.1 [INFO] [stderr] Checking radiant-rs v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/input.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | (data.button[id - NUM_KEYS] == InputState::Pressed) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/input.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | (data.key[id] == InputState::Released) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/input.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | (data.button[id - NUM_KEYS] == InputState::Released) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DerefMut` is imported redundantly [INFO] [stdout] --> src/core/postprocessor/bloom.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 1 | use core::*; [INFO] [stdout] | ------- the item `DerefMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/prelude.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | pub use std::sync::atomic::{AtomicUsize, AtomicBool, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backends/glium.rs:986:68 [INFO] [stdout] | [INFO] [stdout] 986 | let dummy: $struct_name = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1018 | implement_wrapped_vertex!(Vertex, position, offset, rotation, color, bucket_id, texture_id, texture_uv, components); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backends/glium.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let owned_frame = mem::replace(frame, unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/layer.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | static LAYER_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/font.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | static FONT_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/rendercontext.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | static GENERATION: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking radiant-utils v0.3.0 [INFO] [stdout] warning: the type `&backends::glium::Vertex` does not permit zero-initialization [INFO] [stdout] --> src/backends/glium.rs:1002:69 [INFO] [stdout] | [INFO] [stdout] 1002 | let dummy: &$struct_name = unsafe { ::std::mem::transmute(0usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1018 | implement_wrapped_vertex!(Vertex, position, offset, rotation, color, bucket_id, texture_id, texture_uv, components); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&backends::glium::Vertex` does not permit zero-initialization [INFO] [stdout] --> src/backends/glium.rs:1002:69 [INFO] [stdout] | [INFO] [stdout] 1002 | let dummy: &$struct_name = unsafe { ::std::mem::transmute(0usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1018 | implement_wrapped_vertex!(Vertex, position, offset, rotation, color, bucket_id, texture_id, texture_uv, components); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `backends::glium::glium::Frame` does not permit being left uninitialized [INFO] [stdout] --> src/backends/glium.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let owned_frame = mem::replace(frame, unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull>` must be non-null (in this struct field) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/res/glium_utils.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/res/glium_utils.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> examples/demo_blobs.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | sprite.draw(&spark_layer, 0, (320., 180.), *Color::RED.scale(1.5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/workdir/src/core/color.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub fn scale(self: &mut Self, scaling: f32) -> &mut Color { [INFO] [stdout] 154 | | self.0 *= scaling; [INFO] [stdout] 155 | | self.1 *= scaling; [INFO] [stdout] 156 | | self.2 *= scaling; [INFO] [stdout] 157 | | self [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/core/color.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub const RED: Color = Color(1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> examples/demo_blobs.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | sprite.draw(&spark_layer, 0, (300., 200.), *Color::GREEN.scale(1.5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/workdir/src/core/color.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub fn scale(self: &mut Self, scaling: f32) -> &mut Color { [INFO] [stdout] 154 | | self.0 *= scaling; [INFO] [stdout] 155 | | self.1 *= scaling; [INFO] [stdout] 156 | | self.2 *= scaling; [INFO] [stdout] 157 | | self [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/core/color.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub const GREEN: Color = Color(0.0, 1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> examples/demo_blobs.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | sprite.draw(&spark_layer, 0, (340., 200.), *Color::BLUE.scale(1.5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/workdir/src/core/color.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub fn scale(self: &mut Self, scaling: f32) -> &mut Color { [INFO] [stdout] 154 | | self.0 *= scaling; [INFO] [stdout] 155 | | self.1 *= scaling; [INFO] [stdout] 156 | | self.2 *= scaling; [INFO] [stdout] 157 | | self [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/core/color.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BLUE: Color = Color(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> benches/sprite.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/input.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | (data.button[id - NUM_KEYS] == InputState::Pressed) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/input.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | (data.key[id] == InputState::Released) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/input.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | (data.button[id - NUM_KEYS] == InputState::Released) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DerefMut` is imported redundantly [INFO] [stdout] --> src/core/postprocessor/bloom.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 1 | use core::*; [INFO] [stdout] | ------- the item `DerefMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/res/glium_utils.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/res/glium_utils.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/prelude.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | pub use std::sync::atomic::{AtomicUsize, AtomicBool, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backends/glium.rs:986:68 [INFO] [stdout] | [INFO] [stdout] 986 | let dummy: $struct_name = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1018 | implement_wrapped_vertex!(Vertex, position, offset, rotation, color, bucket_id, texture_id, texture_uv, components); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/backends/glium.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let owned_frame = mem::replace(frame, unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/layer.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | static LAYER_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/font.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | static FONT_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/rendercontext.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | static GENERATION: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `black` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | display.clear_frame(Color::black()); [INFO] [stdout] | ^^^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `white` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | sprite.draw(&layer, i, (320., 200.), Color::white()); [INFO] [stdout] | ^^^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `red` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | sprite.draw(&layer, i, (0., 0.), Color::red()); [INFO] [stdout] | ^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `white` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:29:57 [INFO] [stdout] | [INFO] [stdout] 29 | sprite.draw(&layer, i, (320., 200.), Color::white()); [INFO] [stdout] | ^^^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `red` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | sprite.draw(&layer, i, (0., 0.), Color::red()); [INFO] [stdout] | ^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `black` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | display.clear_frame(Color::black()); [INFO] [stdout] | ^^^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `white` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | sprite.draw(&layer, i, (320., 200.), Color::white()); [INFO] [stdout] | ^^^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `red` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | sprite.draw(&layer, i, (0., 0.), Color::red()); [INFO] [stdout] | ^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `white` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:56:69 [INFO] [stdout] | [INFO] [stdout] 56 | sprite.draw_transformed(&layer, i, (320., 200.), Color::white(), 1.23, (2.34, 3.45)); [INFO] [stdout] | ^^^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `red` found for struct `radiant_rs::Color` in the current scope [INFO] [stdout] --> benches/sprite.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | sprite.draw_transformed(&layer, i, (0., 0.), Color::red(), 2.34, (0.67, 0.79)); [INFO] [stdout] | ^^^ function or associated item not found in `radiant_rs::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radiant-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the type `&backends::glium::Vertex` does not permit zero-initialization [INFO] [stdout] --> src/backends/glium.rs:1002:69 [INFO] [stdout] | [INFO] [stdout] 1002 | let dummy: &$struct_name = unsafe { ::std::mem::transmute(0usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1018 | implement_wrapped_vertex!(Vertex, position, offset, rotation, color, bucket_id, texture_id, texture_uv, components); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&backends::glium::Vertex` does not permit zero-initialization [INFO] [stdout] --> src/backends/glium.rs:1002:69 [INFO] [stdout] | [INFO] [stdout] 1002 | let dummy: &$struct_name = unsafe { ::std::mem::transmute(0usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1018 | implement_wrapped_vertex!(Vertex, position, offset, rotation, color, bucket_id, texture_id, texture_uv, components); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `backends::glium::glium::Frame` does not permit being left uninitialized [INFO] [stdout] --> src/backends/glium.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let owned_frame = mem::replace(frame, unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull>` must be non-null (in this struct field) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a081af703226dabb3d65194d1a2daa137317dcf9fd8afe7a551763d2d70b07eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a081af703226dabb3d65194d1a2daa137317dcf9fd8afe7a551763d2d70b07eb", kill_on_drop: false }` [INFO] [stdout] a081af703226dabb3d65194d1a2daa137317dcf9fd8afe7a551763d2d70b07eb