[INFO] cloning repository https://github.com/KayDevs/RustLuaECS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KayDevs/RustLuaECS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayDevs%2FRustLuaECS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayDevs%2FRustLuaECS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 622f1065e32677f4f434dc354d79034079fba3ae [INFO] checking KayDevs/RustLuaECS/622f1065e32677f4f434dc354d79034079fba3ae against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayDevs%2FRustLuaECS" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KayDevs/RustLuaECS on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KayDevs/RustLuaECS [INFO] finished tweaking git repo https://github.com/KayDevs/RustLuaECS [INFO] tweaked toml for git repo https://github.com/KayDevs/RustLuaECS written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KayDevs/RustLuaECS already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a82f3b20ff90aae869182c31d816ecd6107277815918f485eb02937768543efe [INFO] running `Command { std: "docker" "start" "-a" "a82f3b20ff90aae869182c31d816ecd6107277815918f485eb02937768543efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a82f3b20ff90aae869182c31d816ecd6107277815918f485eb02937768543efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82f3b20ff90aae869182c31d816ecd6107277815918f485eb02937768543efe", kill_on_drop: false }` [INFO] [stdout] a82f3b20ff90aae869182c31d816ecd6107277815918f485eb02937768543efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2050b649280e4e9f0ee11518d5c588ed11f2246d784d5af467137b67579ae298 [INFO] running `Command { std: "docker" "start" "-a" "2050b649280e4e9f0ee11518d5c588ed11f2246d784d5af467137b67579ae298", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling luasys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rlua v0.16.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling rust-embed-impl v4.3.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rust-embed v4.3.0 [INFO] [stderr] Checking sdl2 v0.32.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking rlua_serde v0.3.0 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() -> Result<(), 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_any(&self) -> &std::any::Any; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn as_any(&self) -> &dyn std::any::Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any_mut(&mut self) -> &mut std::any::Any; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any_mut(&mut self) -> &mut dyn std::any::Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn as_any(&self) -> &std::any::Any { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn as_any(&self) -> &dyn std::any::Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | fn as_any_mut(&mut self) -> &mut std::any::Any { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn as_any_mut(&mut self) -> &mut dyn std::any::Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:203:70 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn add_native_system(&self, ctx: rlua::Context, mut system: Box, system_name: &str, object_name: &str) { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 | pub fn add_native_system(&self, ctx: rlua::Context, mut system: Box, system_name: &str, object_name: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_renderer.rs:20:89 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(sdl_context: &Sdl, name: &str, width: u32, height: u32) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(sdl_context: &Sdl, name: &str, width: u32, height: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | std::any::Any::downcast_ref::(self.as_any()) [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | ::downcast_ref::(self.as_any()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | std::any::Any::downcast_mut::(self.as_any_mut()) [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | ::downcast_mut::(self.as_any_mut()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() -> Result<(), 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_any(&self) -> &std::any::Any; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn as_any(&self) -> &dyn std::any::Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any_mut(&mut self) -> &mut std::any::Any; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any_mut(&mut self) -> &mut dyn std::any::Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn as_any(&self) -> &std::any::Any { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn as_any(&self) -> &dyn std::any::Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | fn as_any_mut(&mut self) -> &mut std::any::Any { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn as_any_mut(&mut self) -> &mut dyn std::any::Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:203:70 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn add_native_system(&self, ctx: rlua::Context, mut system: Box, system_name: &str, object_name: &str) { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 | pub fn add_native_system(&self, ctx: rlua::Context, mut system: Box, system_name: &str, object_name: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl_renderer.rs:20:89 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(sdl_context: &Sdl, name: &str, width: u32, height: u32) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(sdl_context: &Sdl, name: &str, width: u32, height: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | std::any::Any::downcast_ref::(self.as_any()) [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | ::downcast_ref::(self.as_any()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | std::any::Any::downcast_mut::(self.as_any_mut()) [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | ::downcast_mut::(self.as_any_mut()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let mut animation = self.animations.get_mut(i).unwrap().animations.get_mut(¤t_animation).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/world.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait NativeSystem: Debug + Send + Sync + 'static { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn save(&self) -> serde_json::Value; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_native_system` is never used [INFO] [stdout] --> src/world.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | impl WorldRef { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 248 | //delegates [INFO] [stdout] 249 | pub fn read_native_system(&self, object_name: &str, f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sdl_renderer.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 21 | let video = sdl_context.video()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | video.text_input().stop(); [INFO] [stdout] 23 | let window = video.window(name, width, height) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let mut canvas = window.into_canvas() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let texture_creator = canvas.texture_creator(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(SdlRenderer{screen_width: width, screen_height: height, video, canvas, texture_creator, textures: HashMap::new()}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luasys` (bin "luasys") due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let mut animation = self.animations.get_mut(i).unwrap().animations.get_mut(¤t_animation).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/world.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait NativeSystem: Debug + Send + Sync + 'static { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn save(&self) -> serde_json::Value; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_native_system` is never used [INFO] [stdout] --> src/world.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | impl WorldRef { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 248 | //delegates [INFO] [stdout] 249 | pub fn read_native_system(&self, object_name: &str, f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sdl_renderer.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 21 | let video = sdl_context.video()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | video.text_input().stop(); [INFO] [stdout] 23 | let window = video.window(name, width, height) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let mut canvas = window.into_canvas() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let texture_creator = canvas.texture_creator(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(SdlRenderer{screen_width: width, screen_height: height, video, canvas, texture_creator, textures: HashMap::new()}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luasys` (bin "luasys" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2050b649280e4e9f0ee11518d5c588ed11f2246d784d5af467137b67579ae298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2050b649280e4e9f0ee11518d5c588ed11f2246d784d5af467137b67579ae298", kill_on_drop: false }` [INFO] [stdout] 2050b649280e4e9f0ee11518d5c588ed11f2246d784d5af467137b67579ae298