[INFO] fetching crate fna3d 0.1.5... [INFO] checking fna3d-0.1.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fna3d 0.1.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate fna3d 0.1.5 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 crates.io crate fna3d 0.1.5 [INFO] finished tweaking crates.io crate fna3d 0.1.5 [INFO] tweaked toml for crates.io crate fna3d 0.1.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate fna3d 0.1.5 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e1aba3f3fd44138c8b6cbcb5b0f618f25c772675b1bd2a56194a5743b1fc43fb [INFO] running `Command { std: "docker" "start" "-a" "e1aba3f3fd44138c8b6cbcb5b0f618f25c772675b1bd2a56194a5743b1fc43fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1aba3f3fd44138c8b6cbcb5b0f618f25c772675b1bd2a56194a5743b1fc43fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1aba3f3fd44138c8b6cbcb5b0f618f25c772675b1bd2a56194a5743b1fc43fb", kill_on_drop: false }` [INFO] [stdout] e1aba3f3fd44138c8b6cbcb5b0f618f25c772675b1bd2a56194a5743b1fc43fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 861a02935bbcdae64db6fde20b5653625a49d14f9093f9532b4374a0a3a8ae55 [INFO] running `Command { std: "docker" "start" "-a" "861a02935bbcdae64db6fde20b5653625a49d14f9093f9532b4374a0a3a8ae55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling fna3d-sys v0.1.8 [INFO] [stderr] Checking fna3d v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> examples/common/batch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> examples/common/batch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> examples/common/batch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vid` and `params` are never read [INFO] [stdout] --> examples/common/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Init { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | pub sdl: sdl2::Sdl, [INFO] [stdout] 28 | pub vid: sdl2::VideoSubsystem, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | pub win: sdl2::video::Window, [INFO] [stdout] 30 | pub params: fna3d::PresentationParameters, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/batch.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QuadData(pub [Vertex; 4]); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `QuadData` 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: fields `vbind` and `quads` are never read [INFO] [stdout] --> examples/common/batch.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Batch { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | vbind: fna3d::VertexBufferBinding, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | ibuf: *mut fna3d::Buffer, [INFO] [stdout] 24 | quads: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Batch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_quad_mut`, `push_quad`, and `draw_calls` are never used [INFO] [stdout] --> examples/common/batch.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Batch { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(device: &fna3d::Device) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub unsafe fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn draw_calls(&self) -> DrawCallIterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tex`, `lo`, and `hi` are never read [INFO] [stdout] --> examples/common/batch.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct DrawCall { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 127 | pub tex: *mut fna3d::Texture, [INFO] [stdout] | ^^^ [INFO] [stdout] 128 | /// low quad index (inclusive) [INFO] [stdout] 129 | pub lo: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | /// high quad index (exclusive) [INFO] [stdout] 131 | pub hi: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `n_quads`, `n_verts`, `n_indices`, `n_triangles`, `base_vtx`, and `base_idx` are never used [INFO] [stdout] --> examples/common/batch.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl DrawCall { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 135 | pub fn n_quads(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn n_verts(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn n_triangles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn base_vtx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn base_idx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_batch` is never used [INFO] [stdout] --> examples/common/batch.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a> DrawCallIterator<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 168 | fn from_batch(batch: &'a Batch) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Batcher` is never constructed [INFO] [stdout] --> examples/common/batch.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct Batcher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_quad_mut`, `push_quad`, `flush_if_satured`, `flush`, and `draw` are never used [INFO] [stdout] --> examples/common/batch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl Batcher { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn flush_if_satured(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn draw(&self, call: &DrawCall) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHADER` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SHADER: &[u8] = include_bytes!("SpriteEffect.fxb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICON` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ICON: &[u8] = include_bytes!("deadly-strike.png"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CASTLE` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CASTLE: &[u8] = include_bytes!("castle.png"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w` and `h` are never read [INFO] [stdout] --> examples/common/gfx.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Texture2dDrop { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub w: u32, [INFO] [stdout] | ^ [INFO] [stdout] 17 | pub h: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture2dDrop` 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: associated functions `from_encoded_bytes` and `from_decoded_bytes` are never used [INFO] [stdout] --> examples/common/gfx.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Texture2dDrop { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 27 | /// For use with `include_bytes!` [INFO] [stdout] 28 | pub fn from_encoded_bytes(device: &fna3d::Device, bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_decoded_bytes(device: &fna3d::Device, w: u32, h: u32, pixels: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ELEMS`, and `DECLARATION` are never used [INFO] [stdout] --> examples/common/gfx.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Vertex { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 100 | pub fn new(dst: [f32; 3], uv: [f32; 2], color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | const ELEMS: &'static [fna3d::VertexElement; 3] = &[ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub const DECLARATION: fna3d::VertexDeclaration = fna3d::VertexDeclaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effect_data` is never read [INFO] [stdout] --> examples/common/gfx.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct Shader2d { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | effect_data: *mut fna3d::mojo::Effect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader2d` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_mat`, and `apply_to_device` are never used [INFO] [stdout] --> examples/common/gfx.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl Shader2d { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 159 | /// Create SpriteEffect from FNA3D device and the screen size [INFO] [stdout] 160 | pub fn new(device: &fna3d::Device, w: u32, h: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn set_mat( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn apply_to_device(&self) { [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] --> examples/common/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 46 | let (sdl, vid, win) = { [INFO] [stdout] | --- --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] ... [INFO] [stdout] 50 | let sdl = sdl2::init().map_err(Error::msg)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let vid = sdl.video().map_err(Error::msg)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let win = vid [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let (params, device) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let device = fna3d::Device::from_params(params, do_debug); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(Init { [INFO] [stdout] | ________^ [INFO] [stdout] 97 | | sdl, [INFO] [stdout] 98 | | vid, [INFO] [stdout] 99 | | win, [INFO] [stdout] 100 | | params, [INFO] [stdout] 101 | | device, [INFO] [stdout] 102 | | }) [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] | | 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] | [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/common/batch.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 207 | | batch: Batch::new(device)?, [INFO] [stdout] 208 | | shader, [INFO] [stdout] 209 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> examples/common/gfx.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 168 | | device: device.clone(), [INFO] [stdout] 169 | | effect, [INFO] [stdout] 170 | | effect_data, [INFO] [stdout] 171 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fna3d` (example "clear") due to 4 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/batch.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QuadData(pub [Vertex; 4]); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `QuadData` 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: method `next_quad_mut` is never used [INFO] [stdout] --> examples/common/batch.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl Batch { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `n_indices` is never used [INFO] [stdout] --> examples/common/batch.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl DrawCall { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_quad_mut` is never used [INFO] [stdout] --> examples/common/batch.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl Batcher { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w` and `h` are never read [INFO] [stdout] --> examples/common/gfx.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Texture2dDrop { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub w: u32, [INFO] [stdout] | ^ [INFO] [stdout] 17 | pub h: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture2dDrop` 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: associated function `new` is never used [INFO] [stdout] --> examples/common/gfx.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 100 | pub fn new(dst: [f32; 3], uv: [f32; 2], color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effect_data` is never read [INFO] [stdout] --> examples/common/gfx.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct Shader2d { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | effect_data: *mut fna3d::mojo::Effect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader2d` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> examples/batcher.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(init: common::Init, shader: Shader2d) -> Result { [INFO] [stdout] | ------------------ ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | // GPU texture [INFO] [stdout] 70 | let deadly_strike = Texture2dDrop::from_encoded_bytes(&init.device, embedded::ICON); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let castle = Texture2dDrop::from_encoded_bytes(&init.device, embedded::CASTLE); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | let batcher = Batcher::new(&init.device, shader)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 76 | | init, [INFO] [stdout] 77 | | batcher, [INFO] [stdout] 78 | | deadly_strike, [INFO] [stdout] 79 | | castle, [INFO] [stdout] 80 | | }) [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] | [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/common/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 46 | let (sdl, vid, win) = { [INFO] [stdout] | --- --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] ... [INFO] [stdout] 50 | let sdl = sdl2::init().map_err(Error::msg)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let vid = sdl.video().map_err(Error::msg)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let win = vid [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let (params, device) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let device = fna3d::Device::from_params(params, do_debug); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(Init { [INFO] [stdout] | ________^ [INFO] [stdout] 97 | | sdl, [INFO] [stdout] 98 | | vid, [INFO] [stdout] 99 | | win, [INFO] [stdout] 100 | | params, [INFO] [stdout] 101 | | device, [INFO] [stdout] 102 | | }) [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] | | 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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> examples/common/batch.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 207 | | batch: Batch::new(device)?, [INFO] [stdout] 208 | | shader, [INFO] [stdout] 209 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> examples/common/gfx.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 168 | | device: device.clone(), [INFO] [stdout] 169 | | effect, [INFO] [stdout] 170 | | effect_data, [INFO] [stdout] 171 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fna3d` (example "batcher") due to 5 previous errors; 8 warnings emitted [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/batch.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QuadData(pub [Vertex; 4]); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `QuadData` 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: fields `vbind` and `quads` are never read [INFO] [stdout] --> examples/common/batch.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Batch { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | vbind: fna3d::VertexBufferBinding, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | ibuf: *mut fna3d::Buffer, [INFO] [stdout] 24 | quads: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Batch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_quad_mut`, `push_quad`, and `draw_calls` are never used [INFO] [stdout] --> examples/common/batch.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Batch { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(device: &fna3d::Device) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub unsafe fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn draw_calls(&self) -> DrawCallIterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tex`, `lo`, and `hi` are never read [INFO] [stdout] --> examples/common/batch.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct DrawCall { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 127 | pub tex: *mut fna3d::Texture, [INFO] [stdout] | ^^^ [INFO] [stdout] 128 | /// low quad index (inclusive) [INFO] [stdout] 129 | pub lo: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | /// high quad index (exclusive) [INFO] [stdout] 131 | pub hi: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `n_quads`, `n_verts`, `n_indices`, `n_triangles`, `base_vtx`, and `base_idx` are never used [INFO] [stdout] --> examples/common/batch.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl DrawCall { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 135 | pub fn n_quads(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn n_verts(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn n_triangles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn base_vtx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn base_idx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_batch` is never used [INFO] [stdout] --> examples/common/batch.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a> DrawCallIterator<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 168 | fn from_batch(batch: &'a Batch) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Batcher` is never constructed [INFO] [stdout] --> examples/common/batch.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct Batcher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_quad_mut`, `push_quad`, `flush_if_satured`, `flush`, and `draw` are never used [INFO] [stdout] --> examples/common/batch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl Batcher { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn flush_if_satured(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn draw(&self, call: &DrawCall) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CASTLE` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CASTLE: &[u8] = include_bytes!("castle.png"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effect_data` is never read [INFO] [stdout] --> examples/common/gfx.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct Shader2d { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | effect_data: *mut fna3d::mojo::Effect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader2d` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> examples/texture.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(init: common::Init) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | // GPU texture [INFO] [stdout] 71 | let tex = Texture2dDrop::from_encoded_bytes(&init.device, embedded::ICON); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | let draw = DrawData::new(init.device.clone(), verts.len() as u32)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | [INFO] [stdout] 91 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 92 | | init, [INFO] [stdout] 93 | | draw, [INFO] [stdout] 94 | | verts, [INFO] [stdout] 95 | | tex, [INFO] [stdout] 96 | | }) [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] | [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/texture.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(device: fna3d::Device, n_verts: u32) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | let shader = Shader2d::new(&device, W, H)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 167 | | device, [INFO] [stdout] 168 | | shader, [INFO] [stdout] 169 | | vbuf, [INFO] [stdout] 170 | | vbind, [INFO] [stdout] 171 | | ibuf, [INFO] [stdout] 172 | | }) [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] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> examples/common/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 46 | let (sdl, vid, win) = { [INFO] [stdout] | --- --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] ... [INFO] [stdout] 50 | let sdl = sdl2::init().map_err(Error::msg)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let vid = sdl.video().map_err(Error::msg)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let win = vid [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let (params, device) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let device = fna3d::Device::from_params(params, do_debug); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(Init { [INFO] [stdout] | ________^ [INFO] [stdout] 97 | | sdl, [INFO] [stdout] 98 | | vid, [INFO] [stdout] 99 | | win, [INFO] [stdout] 100 | | params, [INFO] [stdout] 101 | | device, [INFO] [stdout] 102 | | }) [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] | | 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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> examples/common/batch.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 207 | | batch: Batch::new(device)?, [INFO] [stdout] 208 | | shader, [INFO] [stdout] 209 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> examples/common/gfx.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 168 | | device: device.clone(), [INFO] [stdout] 169 | | effect, [INFO] [stdout] 170 | | effect_data, [INFO] [stdout] 171 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fna3d` (example "texture") due to 6 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "861a02935bbcdae64db6fde20b5653625a49d14f9093f9532b4374a0a3a8ae55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861a02935bbcdae64db6fde20b5653625a49d14f9093f9532b4374a0a3a8ae55", kill_on_drop: false }` [INFO] [stdout] 861a02935bbcdae64db6fde20b5653625a49d14f9093f9532b4374a0a3a8ae55