[INFO] fetching crate radiant-rs 0.13.1... [INFO] checking radiant-rs-0.13.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8d5da57ae6bc8aaea141f9fbde435a11ec0033352e2e4ae10acce50efa5c5fe [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" "d8d5da57ae6bc8aaea141f9fbde435a11ec0033352e2e4ae10acce50efa5c5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8d5da57ae6bc8aaea141f9fbde435a11ec0033352e2e4ae10acce50efa5c5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d5da57ae6bc8aaea141f9fbde435a11ec0033352e2e4ae10acce50efa5c5fe", kill_on_drop: false }` [INFO] [stdout] d8d5da57ae6bc8aaea141f9fbde435a11ec0033352e2e4ae10acce50efa5c5fe [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e1d52e190d1fe2e60c05c7905d666d521567f57e28aa9cc92bd9e3f50c3da6 [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" "86e1d52e190d1fe2e60c05c7905d666d521567f57e28aa9cc92bd9e3f50c3da6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking avec v0.1.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking base64 v0.1.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking xml-rs v0.3.6 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking nix v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking tiled v0.4.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking font-loader v0.6.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking ordered-float v0.5.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking rusttype v0.5.2 [INFO] [stderr] Compiling palette v0.3.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking image v0.19.0 [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] [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] Checking radiant-utils v0.3.0 [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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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] 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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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: 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 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: 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" "86e1d52e190d1fe2e60c05c7905d666d521567f57e28aa9cc92bd9e3f50c3da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e1d52e190d1fe2e60c05c7905d666d521567f57e28aa9cc92bd9e3f50c3da6", kill_on_drop: false }` [INFO] [stdout] 86e1d52e190d1fe2e60c05c7905d666d521567f57e28aa9cc92bd9e3f50c3da6