[INFO] cloning repository https://github.com/j-selby/oxretro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j-selby/oxretro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj-selby%2Foxretro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj-selby%2Foxretro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e036ccc38bde36404e2df2d6d0f5f372e3cebae6 [INFO] checking j-selby/oxretro against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj-selby%2Foxretro" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/j-selby/oxretro on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/j-selby/oxretro [INFO] finished tweaking git repo https://github.com/j-selby/oxretro [INFO] tweaked toml for git repo https://github.com/j-selby/oxretro written to /workspace/builds/worker-114/source/Cargo.toml [INFO] crate git repo https://github.com/j-selby/oxretro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96593c3612d2576cdf8742358b12d9a23f0f06f53a10d0723a2a3e079cd87dbd [INFO] running `Command { std: "docker" "start" "-a" "96593c3612d2576cdf8742358b12d9a23f0f06f53a10d0723a2a3e079cd87dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96593c3612d2576cdf8742358b12d9a23f0f06f53a10d0723a2a3e079cd87dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96593c3612d2576cdf8742358b12d9a23f0f06f53a10d0723a2a3e079cd87dbd", kill_on_drop: false }` [INFO] [stdout] 96593c3612d2576cdf8742358b12d9a23f0f06f53a10d0723a2a3e079cd87dbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b54701a6f8add5edf62c6219e9945145371223e175bf7a144f4e3f4f83cc56b4 [INFO] running `Command { std: "docker" "start" "-a" "b54701a6f8add5edf62c6219e9945145371223e175bf7a144f4e3f4f83cc56b4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling khronos_api v2.1.0 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking serde v1.0.33 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking fps_counter v1.0.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Compiling x11-dl v2.17.3 [INFO] [stderr] Compiling alsa-sys v0.1.1 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking cpal v0.8.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.33 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Checking bincode v1.0.0 [INFO] [stderr] Checking wayland-window v0.13.2 [INFO] [stderr] Checking winit v0.11.2 [INFO] [stderr] Checking oxretro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/cpal/mod.rs:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_done_callback(&self) -> Box bool + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> bool + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/cpal/mod.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn build(sample_rate: u32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_done_callback(&self) -> Box bool + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> bool + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn(u32) -> Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/mod.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn build(sample_rate: u32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | static AVAILABLE_BACKENDS: &'static [(&'static InputBackendInfo, fn() -> Box)] = &[ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn InputBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn build() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn InputBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/gl/mod.rs:190:46 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn build(width: u32, height: u32) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 31 | static AVAILABLE_RENDERERS: &'static [(&'static RendererInfo, fn(u32, u32) -> Box)] = &[ [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub renderer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub audio: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | renderer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | audio: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:185:60 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn poll(&self) -> Option<(ProtocolMessageType, Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(ProtocolMessageType)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | mut input: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Read + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | mut output: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Write + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | let input: &mut Read = &mut input; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | let output: &mut Write = &mut output; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cpal` [INFO] [stdout] --> src/audio/cpal/conversions/samples_rate.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | use cpal::SamplesRate; [INFO] [stdout] | ^^^^ help: a similar path exists: `super::cpal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/graphics/gl/mod.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | let mut tex = unsafe { 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/graphics/gl/mod.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 205 | let mut ebo = unsafe { 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/graphics/gl/mod.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | vb = 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/graphics/gl/mod.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/cpal/mod.rs:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_done_callback(&self) -> Box bool + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> bool + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/cpal/mod.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn build(sample_rate: u32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_done_callback(&self) -> Box bool + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> bool + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn(u32) -> Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio/mod.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn build(sample_rate: u32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | static AVAILABLE_BACKENDS: &'static [(&'static InputBackendInfo, fn() -> Box)] = &[ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn InputBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn build() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn InputBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/gl/mod.rs:190:46 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn build(width: u32, height: u32) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 31 | static AVAILABLE_RENDERERS: &'static [(&'static RendererInfo, fn(u32, u32) -> Box)] = &[ [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub renderer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub audio: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | renderer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Renderer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frontend/state.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | audio: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn AudioBackend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:185:60 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn poll(&self) -> Option<(ProtocolMessageType, Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(ProtocolMessageType)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | mut input: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Read + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | mut output: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Write + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | let input: &mut Read = &mut input; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core_protocol.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | let output: &mut Write = &mut output; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/graphics/gl/mod.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | let mut tex = unsafe { 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/graphics/gl/mod.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 205 | let mut ebo = unsafe { 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/graphics/gl/mod.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | vb = 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/graphics/gl/mod.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/graphics/gl/mod.rs:142:43 [INFO] [stdout] | [INFO] [stdout] 142 | ... self.keys.remove_item(&v); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/graphics/gl/mod.rs:142:43 [INFO] [stdout] | [INFO] [stdout] 142 | ... self.keys.remove_item(&v); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/retro_types.rs:452:36 [INFO] [stdout] | [INFO] [stdout] 452 | let options = options[1..].trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core_protocol.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core_protocol.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core_protocol.rs:323:35 [INFO] [stdout] | [INFO] [stdout] 323 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/retro_types.rs:452:36 [INFO] [stdout] | [INFO] [stdout] 452 | let options = options[1..].trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxretro` due to 2 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core_protocol.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core_protocol.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/core_protocol.rs:323:35 [INFO] [stdout] | [INFO] [stdout] 323 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b54701a6f8add5edf62c6219e9945145371223e175bf7a144f4e3f4f83cc56b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54701a6f8add5edf62c6219e9945145371223e175bf7a144f4e3f4f83cc56b4", kill_on_drop: false }` [INFO] [stdout] b54701a6f8add5edf62c6219e9945145371223e175bf7a144f4e3f4f83cc56b4