[INFO] cloning repository https://github.com/Foxcirc/lsg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Foxcirc/lsg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxcirc%2Flsg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxcirc%2Flsg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 857ac08e783e75fde382ce15e267d820ce6b21cd [INFO] checking Foxcirc/lsg/857ac08e783e75fde382ce15e267d820ce6b21cd against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxcirc%2Flsg" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Foxcirc/lsg on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Foxcirc/lsg [INFO] finished tweaking git repo https://github.com/Foxcirc/lsg [INFO] tweaked toml for git repo https://github.com/Foxcirc/lsg written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Foxcirc/lsg 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] [stderr] warning: /workspace/builds/worker-4-tc2/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09d332372a4b97cc39524e45fd52e672d2b0c323586af28dcdfd94ca08cdaa19 [INFO] running `Command { std: "docker" "start" "-a" "09d332372a4b97cc39524e45fd52e672d2b0c323586af28dcdfd94ca08cdaa19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09d332372a4b97cc39524e45fd52e672d2b0c323586af28dcdfd94ca08cdaa19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d332372a4b97cc39524e45fd52e672d2b0c323586af28dcdfd94ca08cdaa19", kill_on_drop: false }` [INFO] [stdout] 09d332372a4b97cc39524e45fd52e672d2b0c323586af28dcdfd94ca08cdaa19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47937b68945e594db1c9997a9b1e5f46e50dab0af1eac1689220e78e236d3a2e [INFO] running `Command { std: "docker" "start" "-a" "47937b68945e594db1c9997a9b1e5f46e50dab0af1eac1689220e78e236d3a2e", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking memmap2 v0.8.0 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking xkbcommon v0.7.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Checking wayland-egl v0.32.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking async-signals v0.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking egl v0.1.0 (/opt/rustwide/workdir/egl) [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking gl v0.1.0 (/opt/rustwide/workdir/gl) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> egl/src/lib.rs:159:52 [INFO] [stdout] | [INFO] [stdout] 159 | egl::CONTEXT_OPENGL_DEBUG, if cfg!(debug) { 1 } else { 0 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> egl/src/lib.rs:254:52 [INFO] [stdout] | [INFO] [stdout] 254 | egl::CONTEXT_OPENGL_DEBUG, if cfg!(debug) { 1 } else { 0 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> egl/src/lib.rs:159:52 [INFO] [stdout] | [INFO] [stdout] 159 | egl::CONTEXT_OPENGL_DEBUG, if cfg!(debug) { 1 } else { 0 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> egl/src/lib.rs:254:52 [INFO] [stdout] | [INFO] [stdout] 254 | egl::CONTEXT_OPENGL_DEBUG, if cfg!(debug) { 1 } else { 0 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> egl/src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 247 | todo!("surfaceless context"); [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 248 | / let context = { [INFO] [stdout] 249 | | let attribs = [ [INFO] [stdout] 250 | | egl::CONTEXT_MAJOR_VERSION, 4, [INFO] [stdout] 251 | | egl::CONTEXT_MINOR_VERSION, 3, [INFO] [stdout] ... | [INFO] [stdout] 257 | | instance.lib.create_context(instance.display, config, None, &attribs).unwrap() [INFO] [stdout] 258 | | }; [INFO] [stdout] | |__________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> egl/src/lib.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) fn new(instance: &Instance, config: egl::Config) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> egl/src/lib.rs:245:44 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) fn new(instance: &Instance, config: egl::Config) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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] --> egl/src/lib.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 85 | let lib = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let loaded = egl::DynamicInstance::::load_required() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 110 | | lib, [INFO] [stdout] 111 | | swap_buffers_with_damage, [INFO] [stdout] 112 | | display: egl_display, [INFO] [stdout] 113 | | }) [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] = 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] --> egl/src/lib.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 317 | let inner = SurfacelessContext::new(instance, config)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | [INFO] [stdout] 319 | Ok(Self { inner }) [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] --> egl/src/lib.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 366 | let wl_egl_surface = unsafe { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let inner = BaseContext::new(instance, surface, config, size, share)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | [INFO] [stdout] 390 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 391 | | inner, [INFO] [stdout] 392 | | wl_egl_surface, [INFO] [stdout] 393 | | }) [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] --> egl/src/lib.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 458 | let inner = BaseContext::new(instance, surface, config, size, share)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 459 | [INFO] [stdout] 460 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 461 | | inner, [INFO] [stdout] 462 | | }) [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] warning: unreachable statement [INFO] [stdout] --> egl/src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 247 | todo!("surfaceless context"); [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 248 | / let context = { [INFO] [stdout] 249 | | let attribs = [ [INFO] [stdout] 250 | | egl::CONTEXT_MAJOR_VERSION, 4, [INFO] [stdout] 251 | | egl::CONTEXT_MINOR_VERSION, 3, [INFO] [stdout] ... | [INFO] [stdout] 257 | | instance.lib.create_context(instance.display, config, None, &attribs).unwrap() [INFO] [stdout] 258 | | }; [INFO] [stdout] | |__________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `egl` (lib test) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> egl/src/lib.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) fn new(instance: &Instance, config: egl::Config) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> egl/src/lib.rs:245:44 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) fn new(instance: &Instance, config: egl::Config) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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] --> egl/src/lib.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 85 | let lib = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let loaded = egl::DynamicInstance::::load_required() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 110 | | lib, [INFO] [stdout] 111 | | swap_buffers_with_damage, [INFO] [stdout] 112 | | display: egl_display, [INFO] [stdout] 113 | | }) [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] = 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] --> egl/src/lib.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 317 | let inner = SurfacelessContext::new(instance, config)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | [INFO] [stdout] 319 | Ok(Self { inner }) [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] --> egl/src/lib.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 366 | let wl_egl_surface = unsafe { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let inner = BaseContext::new(instance, surface, config, size, share)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | [INFO] [stdout] 390 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 391 | | inner, [INFO] [stdout] 392 | | wl_egl_surface, [INFO] [stdout] 393 | | }) [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] --> egl/src/lib.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 458 | let inner = BaseContext::new(instance, surface, config, size, share)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 459 | [INFO] [stdout] 460 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 461 | | inner, [INFO] [stdout] 462 | | }) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `egl` (lib) due to 5 previous errors; 5 warnings emitted [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> gl/src/lib.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct AttribLocation { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 294 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttribLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> gl/src/lib.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct AttribLocation { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 294 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttribLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "47937b68945e594db1c9997a9b1e5f46e50dab0af1eac1689220e78e236d3a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47937b68945e594db1c9997a9b1e5f46e50dab0af1eac1689220e78e236d3a2e", kill_on_drop: false }` [INFO] [stdout] 47937b68945e594db1c9997a9b1e5f46e50dab0af1eac1689220e78e236d3a2e