[INFO] fetching crate crayon 0.7.1... [INFO] testing crayon-0.7.1 against try#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] extracting crate crayon 0.7.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate crayon 0.7.1 on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crayon 0.7.1 [INFO] finished tweaking crates.io crate crayon 0.7.1 [INFO] tweaked toml for crates.io crate crayon 0.7.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a773090bed089984c2ab8a5d8c833d26cdf6fcb1c17877ed9973f2455a563f8a [INFO] running `Command { std: "docker" "start" "-a" "a773090bed089984c2ab8a5d8c833d26cdf6fcb1c17877ed9973f2455a563f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a773090bed089984c2ab8a5d8c833d26cdf6fcb1c17877ed9973f2455a563f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a773090bed089984c2ab8a5d8c833d26cdf6fcb1c17877ed9973f2455a563f8a", kill_on_drop: false }` [INFO] [stdout] a773090bed089984c2ab8a5d8c833d26cdf6fcb1c17877ed9973f2455a563f8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b57e18b892552b44d85e3751f7d0745011976ea108af34ea19b30ed71f4000 [INFO] running `Command { std: "docker" "start" "-a" "d3b57e18b892552b44d85e3751f7d0745011976ea108af34ea19b30ed71f4000", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.3.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling winit v0.17.2 [INFO] [stderr] Compiling crayon v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/utils/object_pool.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | let mut v = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/utils/object_pool.rs:103:55 [INFO] [stdout] | [INFO] [stdout] 103 | std::mem::swap(&mut v, &mut std::mem::uninitialized()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | let mut val = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | let mut val = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | let mut val = 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/sched/scheduler.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [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/sched/scheduler.rs:353:43 [INFO] [stdout] | [INFO] [stdout] 353 | static COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 353 | static COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/ins.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | ins: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ins: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/lifecycle.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | last_frame_lifecycles: Mutex>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | last_frame_lifecycles: Mutex>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/lifecycle.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | lifecycles: Mutex>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | lifecycles: Mutex>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/res/vfs/mod.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | schemas: FastHashMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | schemas: FastHashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | marker: PhantomData) + Send + Sync + 's>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | marker: PhantomData) + Send + Sync + 's>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | panic: AtomicPtr>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | panic: AtomicPtr>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/job.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Panic(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Panic(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/system.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = dyn Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/system.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box) + Send + Sync; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/mod.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/mod.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_headless() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_headless() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/frame.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | visitor: &mut Visitor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | visitor: &mut dyn Visitor, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/res/vfs/mod.rs:36:68 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn locate>(&self, schema: T1) -> Result, failure::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn locate>(&self, schema: T1) -> Result, failure::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scheduler.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn handle_panic(&self, err: Box<::std::any::Any + Send>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | pub fn handle_panic(&self, err: Box) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/unwind.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn resume_unwinding(payload: Box) -> ! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn resume_unwinding(payload: Box) -> ! { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window/backends/mod.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_headless() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_headless() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window/backends/glutin/mod.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(params: WindowParams) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(params: WindowParams) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let value: Box> = mem::transmute(panic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | let value: Box> = mem::transmute(panic); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct GLSurfaceData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | handle: SurfaceHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLSurfaceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct GLTextureData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 83 | handle: TextureHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLTextureData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct GLRenderTextureData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 91 | handle: RenderTextureHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLRenderTextureData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&mut T` does not permit being left uninitialized [INFO] [stdout] --> src/utils/object_pool.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | std::mem::swap(&mut v, &mut std::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: references must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:321:27 [INFO] [stdout] | [INFO] [stdout] 321 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.26s [INFO] running `Command { std: "docker" "inspect" "d3b57e18b892552b44d85e3751f7d0745011976ea108af34ea19b30ed71f4000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b57e18b892552b44d85e3751f7d0745011976ea108af34ea19b30ed71f4000", kill_on_drop: false }` [INFO] [stdout] d3b57e18b892552b44d85e3751f7d0745011976ea108af34ea19b30ed71f4000 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a71a0438028035d39c4dcd7f8e653dcada9426a02e85bbe0a5132eede642026 [INFO] running `Command { std: "docker" "start" "-a" "2a71a0438028035d39c4dcd7f8e653dcada9426a02e85bbe0a5132eede642026", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/utils/object_pool.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | let mut v = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/utils/object_pool.rs:103:55 [INFO] [stdout] | [INFO] [stdout] 103 | std::mem::swap(&mut v, &mut std::mem::uninitialized()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | let mut val = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | let mut val = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | let mut val = 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/sched/scheduler.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [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/sched/scheduler.rs:353:43 [INFO] [stdout] | [INFO] [stdout] 353 | static COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 353 | static COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/ins.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | ins: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ins: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/lifecycle.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | last_frame_lifecycles: Mutex>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | last_frame_lifecycles: Mutex>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/lifecycle.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | lifecycles: Mutex>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | lifecycles: Mutex>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/res/vfs/mod.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | schemas: FastHashMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | schemas: FastHashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | marker: PhantomData) + Send + Sync + 's>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | marker: PhantomData) + Send + Sync + 's>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | panic: AtomicPtr>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | panic: AtomicPtr>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/job.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Panic(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Panic(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/system.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = dyn Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/system.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box) + Send + Sync; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/mod.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/mod.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_headless() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_headless() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/frame.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | visitor: &mut Visitor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | visitor: &mut dyn Visitor, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/res/vfs/mod.rs:36:68 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn locate>(&self, schema: T1) -> Result, failure::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn locate>(&self, schema: T1) -> Result, failure::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scheduler.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn handle_panic(&self, err: Box<::std::any::Any + Send>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | pub fn handle_panic(&self, err: Box) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/unwind.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn resume_unwinding(payload: Box) -> ! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn resume_unwinding(payload: Box) -> ! { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window/backends/mod.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_headless() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_headless() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window/backends/glutin/mod.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(params: WindowParams) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(params: WindowParams) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let value: Box> = mem::transmute(panic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | let value: Box> = mem::transmute(panic); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct GLSurfaceData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | handle: SurfaceHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLSurfaceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct GLTextureData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 83 | handle: TextureHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLTextureData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct GLRenderTextureData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 91 | handle: RenderTextureHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLRenderTextureData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&mut T` does not permit being left uninitialized [INFO] [stdout] --> src/utils/object_pool.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | std::mem::swap(&mut v, &mut std::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: references must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:321:27 [INFO] [stdout] | [INFO] [stdout] 321 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling crayon v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/utils/object_pool.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | let mut v = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/utils/object_pool.rs:103:55 [INFO] [stdout] | [INFO] [stdout] 103 | std::mem::swap(&mut v, &mut std::mem::uninitialized()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | let mut val = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | let mut val = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | let mut val = 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/sched/scheduler.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [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/sched/scheduler.rs:353:43 [INFO] [stdout] | [INFO] [stdout] 353 | static COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 353 | static COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/ins.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | ins: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ins: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/lifecycle.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | last_frame_lifecycles: Mutex>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | last_frame_lifecycles: Mutex>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/lifecycle.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | lifecycles: Mutex>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | lifecycles: Mutex>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/res/vfs/mod.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | schemas: FastHashMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | schemas: FastHashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | marker: PhantomData) + Send + Sync + 's>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | marker: PhantomData) + Send + Sync + 's>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | panic: AtomicPtr>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | panic: AtomicPtr>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/job.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Panic(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Panic(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/system.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = dyn Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/system.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box<::std::any::Any + Send>) + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PanicHandler = Fn(Box) + Send + Sync; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/mod.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/mod.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_headless() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_headless() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/video/backends/frame.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | visitor: &mut Visitor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | visitor: &mut dyn Visitor, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/res/vfs/mod.rs:36:68 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn locate>(&self, schema: T1) -> Result, failure::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn locate>(&self, schema: T1) -> Result, failure::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scheduler.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn handle_panic(&self, err: Box<::std::any::Any + Send>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | pub fn handle_panic(&self, err: Box) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/unwind.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn resume_unwinding(payload: Box) -> ! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn resume_unwinding(payload: Box) -> ! { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window/backends/mod.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_headless() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_headless() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window/backends/glutin/mod.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(params: WindowParams) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(params: WindowParams) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched/scope.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let value: Box> = mem::transmute(panic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | let value: Box> = mem::transmute(panic); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct GLSurfaceData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | handle: SurfaceHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLSurfaceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct GLTextureData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 83 | handle: TextureHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLTextureData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/video/backends/gl/visitor.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct GLRenderTextureData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 91 | handle: RenderTextureHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GLRenderTextureData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&mut T` does not permit being left uninitialized [INFO] [stdout] --> src/utils/object_pool.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | std::mem::swap(&mut v, &mut std::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: references must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/video/backends/gl/capabilities.rs:321:27 [INFO] [stdout] | [INFO] [stdout] 321 | let mut val = 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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustc4UeF94/symbols.o" "/opt/rustwide/target/debug/examples/texture-74f8181f4cdc14ab.texture.a1efcadeb89ee74-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/texture-74f8181f4cdc14ab.texture.a1efcadeb89ee74-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/texture-74f8181f4cdc14ab.texture.a1efcadeb89ee74-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/texture-74f8181f4cdc14ab.texture.a1efcadeb89ee74-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/texture-74f8181f4cdc14ab.3zy7yxwgnkay1iei.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-d0ee375d7068a2db.rlib" "/opt/rustwide/target/debug/deps/libregex-535503b0639f3019.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-9b7bbcbd09e35cad.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-d2b874132e1f4c42.rlib" "/opt/rustwide/target/debug/deps/libatty-2d4360a5d74310b0.rlib" "/opt/rustwide/target/debug/deps/libhumantime-6b4a9e72baef449a.rlib" "/opt/rustwide/target/debug/deps/libquick_error-4dcf0653a6459577.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-0f96140db93c9bb1.rlib" "/opt/rustwide/target/debug/deps/libcrayon-9461c4ef32bcace9.rlib" "/opt/rustwide/target/debug/deps/libuuid-f17b5aa7448c30de.rlib" "/opt/rustwide/target/debug/deps/libbincode-7b9e3cd423e0da27.rlib" "/opt/rustwide/target/debug/deps/libinlinable_string-082ce9ec3b471340.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-7fa24a1acf828266.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-1480f47f3b533f73.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-31b318653adc7736.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-676d52922f36fccf.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-f5b06574f9f16080.rlib" "/opt/rustwide/target/debug/deps/libnodrop-6ccfce5decc088e0.rlib" "/opt/rustwide/target/debug/deps/libserde_json-865de21d139bdf83.rlib" "/opt/rustwide/target/debug/deps/libryu-e4c34be08d1ccb5f.rlib" "/opt/rustwide/target/debug/deps/libitoa-8cff2c82b5d907d6.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-03d4129d5a869f1c.rlib" "/opt/rustwide/target/debug/deps/libcgmath-4026c31dc92e0114.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-5f71f33b0c8bcb85.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7ed164b7ea9c9f23.rlib" "/opt/rustwide/target/debug/deps/librand-f31b9e0ce7791dc1.rlib" "/opt/rustwide/target/debug/deps/libapprox-d415ac15a015ea24.rlib" "/opt/rustwide/target/debug/deps/libfailure-b4a71c8ffaa041b0.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-9b8c5e418146f4cc.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-1a5658e494a86b39.rlib" "/opt/rustwide/target/debug/deps/libadler-2aba5bf02d0ff9aa.rlib" "/opt/rustwide/target/debug/deps/libobject-38f40694ebb4e06f.rlib" "/opt/rustwide/target/debug/deps/libmemchr-f2bfb15f1a627319.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-5781eb76395c1f65.rlib" "/opt/rustwide/target/debug/deps/libgimli-f77fd12b164f71e1.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-291fe1b0f3718e53.rlib" "/opt/rustwide/target/debug/deps/libglutin-3c9482f5f5c8c935.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-70b8e2f8d5bcba9f.rlib" "/opt/rustwide/target/debug/deps/libwinit-af3f2d0643951dd5.rlib" "/opt/rustwide/target/debug/deps/libsmithay_client_toolkit-295b6136e71d4dbc.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-5cfc24c0703bc11f.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-5fa2da06476bf25e.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-fc1a940a2eea8418.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-e146f7f104a2b78b.rlib" "/opt/rustwide/target/debug/deps/libdowncast_rs-3787d968a374cd16.rlib" "/opt/rustwide/target/debug/deps/libnix-9786c32a3c33fc9e.rlib" "/opt/rustwide/target/debug/deps/libvoid-4f1945a467b4a6b0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-2ef983758742afd7.rlib" "/opt/rustwide/target/debug/deps/libmemmap-60a49e25f9c495e1.rlib" "/opt/rustwide/target/debug/deps/libdlib-9bca55af7904fc4d.rlib" "/opt/rustwide/target/debug/deps/liblibloading-315be1c1efc0bbaa.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-d4664edabea63f35.rlib" "/opt/rustwide/target/debug/deps/libbitflags-1d31dfe9f72fab4b.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-d4bb3f39ff3f4cb2.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-eb723250bc21aa16.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-6d122c914e4fb27a.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-cc5161a9dda0c61b.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-0698357a078441f0.rlib" "/opt/rustwide/target/debug/deps/libserde-8cc75260c6ac9891.rlib" "/opt/rustwide/target/debug/deps/librand-0fcb59da908471b8.rlib" "/opt/rustwide/target/debug/deps/librand_core-2fb6eff5c15d46de.rlib" "/opt/rustwide/target/debug/deps/librand_core-12458569fd482474.rlib" "/opt/rustwide/target/debug/deps/liblock_api-6c891980276769cd.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-663b76cc8416b1ca.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-225b3d09e5938fc4.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-e37b0b7b38051c43.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-4b2e79ad402bc0af.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-7302fb7e29d0287e.rlib" "/opt/rustwide/target/debug/deps/liblog-27705ca7a13934be.rlib" "/opt/rustwide/target/debug/deps/libshared_library-8d9502f7778951d2.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-d0c2dc85fa90a848.rlib" "/opt/rustwide/target/debug/deps/liblibc-7e42ff6b47bf03e9.rlib" "/opt/rustwide/target/debug/deps/libgl-155d53c956be502b.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-75b9617f92376d41.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9c9c1db573a7335d.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-943c5a031ea59756.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-52b0294e28e85f0c.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-b7fbc62efa77abb9.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-102731a77dbccbc8.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1c48511ebb1a200e.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-c6b390a5b2a049a2.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-0a8aa27d5bf1bc44.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d75813e4f4f6bafa.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-0804a6feb3ed38ea.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-6772c722dc231412.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-c941e8f182e10925.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-c7fab2ff20d1f2cd.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ae318380f963b832.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7c042ecce9932705.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c8fdd0d8f03b0225.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-91facdcc9286d01d.rlib" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-86f479762cd41464.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecd7b559f89c73ac8f1d318f7501006f37b944b2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/texture-74f8181f4cdc14ab" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crayon` (example "texture") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a71a0438028035d39c4dcd7f8e653dcada9426a02e85bbe0a5132eede642026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a71a0438028035d39c4dcd7f8e653dcada9426a02e85bbe0a5132eede642026", kill_on_drop: false }` [INFO] [stdout] 2a71a0438028035d39c4dcd7f8e653dcada9426a02e85bbe0a5132eede642026