[INFO] fetching crate webblender 0.1.1... [INFO] checking webblender-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate webblender 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate webblender 0.1.1 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 webblender 0.1.1 [INFO] finished tweaking crates.io crate webblender 0.1.1 [INFO] tweaked toml for crates.io crate webblender 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding landon v0.1.4 (latest: v0.10.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding wasm-bindgen-futures v0.3.27 (latest: v0.4.43) [INFO] [stderr] Adding wasm-bindgen-test v0.2.50 (latest: v0.3.43) [INFO] [stderr] Adding wasm-bindgen-test-macro v0.2.50 (latest: v0.3.43) [INFO] [stderr] Adding yaml-rust v0.3.5 (latest: v0.4.5) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2282e0f7d095aadc12d514c8a3f3c9453c3fc7e08ca97f0db8300a2a3300df49 [INFO] running `Command { std: "docker" "start" "-a" "2282e0f7d095aadc12d514c8a3f3c9453c3fc7e08ca97f0db8300a2a3300df49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2282e0f7d095aadc12d514c8a3f3c9453c3fc7e08ca97f0db8300a2a3300df49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2282e0f7d095aadc12d514c8a3f3c9453c3fc7e08ca97f0db8300a2a3300df49", kill_on_drop: false }` [INFO] [stdout] 2282e0f7d095aadc12d514c8a3f3c9453c3fc7e08ca97f0db8300a2a3300df49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 118b4344dde01a8c5de3186908519055db009e29a0fcb253939acf13bdcb1bc5 [INFO] running `Command { std: "docker" "start" "-a" "118b4344dde01a8c5de3186908519055db009e29a0fcb253939acf13bdcb1bc5", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking landon v0.1.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [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 wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking webblender v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebGlProgram`, `WebGlShader`, and `WebGlUniformLocation` [INFO] [stdout] --> src/gl.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::{WebGl2RenderingContext, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/gl/shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGlUniformLocation` [INFO] [stdout] --> src/gl/shader.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{WebGl2RenderingContext, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebGlProgram`, `WebGlShader`, and `WebGlUniformLocation` [INFO] [stdout] --> src/gl.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::{WebGl2RenderingContext, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/gl/shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGlUniformLocation` [INFO] [stdout] --> src/gl/shader.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{WebGl2RenderingContext, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SourceHash` is never used [INFO] [stdout] --> src/gl/shader.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type SourceHash = HashMap; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ShaderHash` is never used [INFO] [stdout] --> src/gl/shader.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type ShaderHash = HashMap; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShaderController` is never constructed [INFO] [stdout] --> src/gl/shader.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ShaderController{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `init_source` are never used [INFO] [stdout] --> src/gl/shader.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl ShaderController{ [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn init_source(&mut self,gl: &WebGl2RenderingContext,mut source_init: F) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shader` is never constructed [INFO] [stdout] --> src/gl/shader.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Shader{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gl/shader.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Shader{ [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | //(vertex,frag) [INFO] [stdout] 36 | fn new(gl: &WebGl2RenderingContext,source: (String,String)) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_shader` is never used [INFO] [stdout] --> src/gl/shader.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn compile_shader( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link_program` is never used [INFO] [stdout] --> src/gl/shader.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn link_program( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dummy` is never read [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct App{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 2 | dummy: u32 [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:30:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(gl: WebGl2RenderingContext) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | gl: Rc::new(gl), [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] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(gl: WebGl2RenderingContext) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | program: None [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/gl.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | let document = web_sys::window().unwrap().document().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let canvas = document.get_element_by_id(id).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | let canvas: web_sys::HtmlCanvasElement = canvas.dyn_into::()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | [INFO] [stdout] 11 | / canvas [INFO] [stdout] 12 | | .get_context("webgl2")? [INFO] [stdout] 13 | | .unwrap() [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] --> src/gl/shader.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 38 | let vs=compile_shader(gl,WebGl2RenderingContext::VERTEX_SHADER,source.0.as_str()).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let fs=compile_shader(gl,WebGl2RenderingContext::FRAGMENT_SHADER,source.1.as_str()).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | program: link_program(gl,&vs,&fs).unwrap() [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] warning: type alias `SourceHash` is never used [INFO] [stdout] --> src/gl/shader.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type SourceHash = HashMap; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ShaderHash` is never used [INFO] [stdout] --> src/gl/shader.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type ShaderHash = HashMap; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShaderController` is never constructed [INFO] [stdout] --> src/gl/shader.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ShaderController{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `init_source` are never used [INFO] [stdout] --> src/gl/shader.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl ShaderController{ [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn init_source(&mut self,gl: &WebGl2RenderingContext,mut source_init: F) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shader` is never constructed [INFO] [stdout] --> src/gl/shader.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Shader{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gl/shader.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Shader{ [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | //(vertex,frag) [INFO] [stdout] 36 | fn new(gl: &WebGl2RenderingContext,source: (String,String)) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_shader` is never used [INFO] [stdout] --> src/gl/shader.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn compile_shader( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link_program` is never used [INFO] [stdout] --> src/gl/shader.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn link_program( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dummy` is never read [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct App{ [INFO] [stdout] | --- field in this struct [INFO] [stdout] 2 | dummy: u32 [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:30:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(gl: WebGl2RenderingContext) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | gl: Rc::new(gl), [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] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(gl: WebGl2RenderingContext) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | program: None [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; 13 warnings emitted [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/gl.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | let document = web_sys::window().unwrap().document().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let canvas = document.get_element_by_id(id).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | let canvas: web_sys::HtmlCanvasElement = canvas.dyn_into::()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | [INFO] [stdout] 11 | / canvas [INFO] [stdout] 12 | | .get_context("webgl2")? [INFO] [stdout] 13 | | .unwrap() [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] --> src/gl/shader.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 38 | let vs=compile_shader(gl,WebGl2RenderingContext::VERTEX_SHADER,source.0.as_str()).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let fs=compile_shader(gl,WebGl2RenderingContext::FRAGMENT_SHADER,source.1.as_str()).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | program: link_program(gl,&vs,&fs).unwrap() [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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webblender` (lib) due to 5 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `webblender` (lib test) due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "118b4344dde01a8c5de3186908519055db009e29a0fcb253939acf13bdcb1bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118b4344dde01a8c5de3186908519055db009e29a0fcb253939acf13bdcb1bc5", kill_on_drop: false }` [INFO] [stdout] 118b4344dde01a8c5de3186908519055db009e29a0fcb253939acf13bdcb1bc5