[INFO] fetching crate mod3d-gl-wasm-example 0.1.0... [INFO] checking mod3d-gl-wasm-example-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mod3d-gl-wasm-example 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate mod3d-gl-wasm-example 0.1.0 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 mod3d-gl-wasm-example 0.1.0 [INFO] finished tweaking crates.io crate mod3d-gl-wasm-example 0.1.0 [INFO] tweaked toml for crates.io crate mod3d-gl-wasm-example 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 23787cc26ecfa00ac16d529193aa326b7b5fdb776efd72ffd0979e19496622e0 [INFO] running `Command { std: "docker" "start" "-a" "23787cc26ecfa00ac16d529193aa326b7b5fdb776efd72ffd0979e19496622e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23787cc26ecfa00ac16d529193aa326b7b5fdb776efd72ffd0979e19496622e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23787cc26ecfa00ac16d529193aa326b7b5fdb776efd72ffd0979e19496622e0", kill_on_drop: false }` [INFO] [stdout] 23787cc26ecfa00ac16d529193aa326b7b5fdb776efd72ffd0979e19496622e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 21ea58603858a99e534f78a740ecc7b36949e4660a4abbadd65fedd69b383f3d [INFO] running `Command { std: "docker" "start" "-a" "21ea58603858a99e534f78a740ecc7b36949e4660a4abbadd65fedd69b383f3d", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking indent-display v0.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking geo-nd v0.5.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking mod3d-base v0.1.0 [INFO] [stderr] Checking mod3d-gltf v0.1.0 [INFO] [stderr] Checking mod3d-gl v0.1.0 [INFO] [stderr] Checking mod3d-gl-wasm-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WebGlVertexArrayObject` [INFO] [stdout] --> src/inner.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use web_sys::{WebGl2RenderingContext, WebGlVertexArrayObject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mod3d_gl::Gl` [INFO] [stdout] --> src/inner.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mod3d_gl::Gl; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlProgram` [INFO] [stdout] --> src/inner.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use mod3d_gl::{GlProgram, Model3DWebGL}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/objects.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | use image::io::Reader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/objects.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | "image/jpeg" => Reader::with_format(buffer, ImageFormat::Jpeg), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/objects.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | "image/png" => Reader::with_format(buffer, ImageFormat::Png), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGlVertexArrayObject` [INFO] [stdout] --> src/inner.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use web_sys::{WebGl2RenderingContext, WebGlVertexArrayObject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mod3d_gl::Gl` [INFO] [stdout] --> src/inner.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mod3d_gl::Gl; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlProgram` [INFO] [stdout] --> src/inner.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use mod3d_gl::{GlProgram, Model3DWebGL}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut world_data = [WorldData::default(); 1]; [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: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/objects.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | use image::io::Reader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/objects.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | "image/jpeg" => Reader::with_format(buffer, ImageFormat::Jpeg), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/objects.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | "image/png" => Reader::with_format(buffer, ImageFormat::Png), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Program` is never used [INFO] [stdout] --> src/inner.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type Program = ::Program; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material_gl` is never read [INFO] [stdout] --> src/model.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Base { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | material_gl: UniformBuffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `view_transformation` is never read [INFO] [stdout] --> src/model.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | view_transformation: mod3d_base::Transformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JSON` is never used [INFO] [stdout] --> src/objects.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const JSON: &str = r##" [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/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(canvas: HtmlCanvasElement) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | console_error_panic_hook::set_once(); [INFO] [stdout] 52 | let inner = Inner::new(canvas)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | Ok(Self { inner }) [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] = 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] --> src/inner.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(canvas: HtmlCanvasElement) -> Result, JsValue> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let context = canvas [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let model3d = Model3DWebGL::new(context); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let f = None; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | let inner = Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(inner.into()) [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] | [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] --> src/model.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 74 | let shader_program = shader.compile(gl, &|f| read_file(files, f))?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let material_gl = gl [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | let world_gl = gl [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let objects = { objects::new_of_glb(gl, glb, node_names).unwrap() }; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 101 | | objects, [INFO] [stdout] 102 | | shader_program, [INFO] [stdout] 103 | | material_gl, [INFO] [stdout] 104 | | world_gl, [INFO] [stdout] 105 | | }) [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] | [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] --> src/model.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 113 | let instantiables = ShaderInstantiable::new(gl, &self.shader_program, &self.objects) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | .map_err(|_| "Failed to create shader instantiable".to_string())?; [INFO] [stdout] 115 | Ok(Instantiable:: { instantiables }) [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] [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/objects.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 178 | let buffer_data = od.gen_buffer_data::<_, _, G>(&|x| &buffers[x]); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let buffer_accessors = od.gen_accessors(&gltf, &|x| &buffer_data[x]); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let vertices = od.gen_vertices(&gltf, &|x| &buffer_accessors[x]); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let textures: Vec> = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | obj.into_instantiable(render_context).map_err(|(_, e)| e) [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 `mod3d-gl-wasm-example` (lib test) due to 6 previous errors; 11 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/model.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut world_data = [WorldData::default(); 1]; [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: type alias `Program` is never used [INFO] [stdout] --> src/inner.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type Program = ::Program; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material_gl` is never read [INFO] [stdout] --> src/model.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Base { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | material_gl: UniformBuffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `view_transformation` is never read [INFO] [stdout] --> src/model.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | view_transformation: mod3d_base::Transformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JSON` is never used [INFO] [stdout] --> src/objects.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const JSON: &str = r##" [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/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(canvas: HtmlCanvasElement) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | console_error_panic_hook::set_once(); [INFO] [stdout] 52 | let inner = Inner::new(canvas)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | Ok(Self { inner }) [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] = 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] --> src/inner.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(canvas: HtmlCanvasElement) -> Result, JsValue> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let context = canvas [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let model3d = Model3DWebGL::new(context); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let f = None; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | let inner = Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(inner.into()) [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] | [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] --> src/model.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 74 | let shader_program = shader.compile(gl, &|f| read_file(files, f))?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let material_gl = gl [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | let world_gl = gl [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let objects = { objects::new_of_glb(gl, glb, node_names).unwrap() }; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 101 | | objects, [INFO] [stdout] 102 | | shader_program, [INFO] [stdout] 103 | | material_gl, [INFO] [stdout] 104 | | world_gl, [INFO] [stdout] 105 | | }) [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] | [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] --> src/model.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 113 | let instantiables = ShaderInstantiable::new(gl, &self.shader_program, &self.objects) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | .map_err(|_| "Failed to create shader instantiable".to_string())?; [INFO] [stdout] 115 | Ok(Instantiable:: { instantiables }) [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] [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/objects.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 178 | let buffer_data = od.gen_buffer_data::<_, _, G>(&|x| &buffers[x]); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let buffer_accessors = od.gen_accessors(&gltf, &|x| &buffer_data[x]); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let vertices = od.gen_vertices(&gltf, &|x| &buffer_accessors[x]); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let textures: Vec> = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | obj.into_instantiable(render_context).map_err(|(_, e)| e) [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 `mod3d-gl-wasm-example` (lib) due to 6 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21ea58603858a99e534f78a740ecc7b36949e4660a4abbadd65fedd69b383f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ea58603858a99e534f78a740ecc7b36949e4660a4abbadd65fedd69b383f3d", kill_on_drop: false }` [INFO] [stdout] 21ea58603858a99e534f78a740ecc7b36949e4660a4abbadd65fedd69b383f3d