[INFO] fetching crate cat_engine 1.0.0-alpha7... [INFO] checking cat_engine-1.0.0-alpha7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cat_engine 1.0.0-alpha7 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cat_engine 1.0.0-alpha7 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 cat_engine 1.0.0-alpha7 [INFO] finished tweaking crates.io crate cat_engine 1.0.0-alpha7 [INFO] tweaked toml for crates.io crate cat_engine 1.0.0-alpha7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cat_engine 1.0.0-alpha7 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eec70df4ed3dce69cc74ba26d4e36f624a590849323a31daf1ddd5fa58218928 [INFO] running `Command { std: "docker" "start" "-a" "eec70df4ed3dce69cc74ba26d4e36f624a590849323a31daf1ddd5fa58218928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eec70df4ed3dce69cc74ba26d4e36f624a590849323a31daf1ddd5fa58218928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec70df4ed3dce69cc74ba26d4e36f624a590849323a31daf1ddd5fa58218928", kill_on_drop: false }` [INFO] [stdout] eec70df4ed3dce69cc74ba26d4e36f624a590849323a31daf1ddd5fa58218928 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 913b7bb42d5528308feb1d28e1b99e9914865ebf524c866890a3947dc17ac34e [INFO] running `Command { std: "docker" "start" "-a" "913b7bb42d5528308feb1d28e1b99e9914865ebf524c866890a3947dc17ac34e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking cat_engine_basement v0.0.0-alpha7 [INFO] [stderr] Checking cat_engine v1.0.0-alpha7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:389:11 [INFO] [stdout] | [INFO] [stdout] 389 | #[cfg(not(feature="unsafe_release_heap_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [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 value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:430:7 [INFO] [stdout] | [INFO] [stdout] 430 | #[cfg(feature="unsafe_release_heap_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(not(feature="unsafe_release_stack_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:217:7 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature="unsafe_release_stack_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:389:11 [INFO] [stdout] | [INFO] [stdout] 389 | #[cfg(not(feature="unsafe_release_heap_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [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 value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:430:7 [INFO] [stdout] | [INFO] [stdout] 430 | #[cfg(feature="unsafe_release_heap_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(not(feature="unsafe_release_stack_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:217:7 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature="unsafe_release_stack_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &GLCore [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 99 | addr_of!(GLCore) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &GLCore [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 99 | addr_of!(GLCore) [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/texture/mod.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn from_path>(path:P)->Result{ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | match open(path){ [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/text/glyph.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 81 | texture:Texture2D, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | glyph:Glyph::raw( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | texture, [INFO] [stdout] 89 | | size, [INFO] [stdout] 90 | | offset, [INFO] [stdout] 91 | | advance_width [INFO] [stdout] 92 | | ), [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] [stderr] error: could not compile `cat_engine` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/texture/mod.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn from_path>(path:P)->Result{ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | match open(path){ [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/text/glyph.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 81 | texture:Texture2D, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | glyph:Glyph::raw( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | texture, [INFO] [stdout] 89 | | size, [INFO] [stdout] 90 | | offset, [INFO] [stdout] 91 | | advance_width [INFO] [stdout] 92 | | ), [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 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cat_engine` (lib) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "913b7bb42d5528308feb1d28e1b99e9914865ebf524c866890a3947dc17ac34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913b7bb42d5528308feb1d28e1b99e9914865ebf524c866890a3947dc17ac34e", kill_on_drop: false }` [INFO] [stdout] 913b7bb42d5528308feb1d28e1b99e9914865ebf524c866890a3947dc17ac34e