[INFO] cloning repository https://github.com/AcrylicShrimp/shader-pack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AcrylicShrimp/shader-pack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcrylicShrimp%2Fshader-pack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcrylicShrimp%2Fshader-pack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9385e197ec1f621a0a3cb816cdd8474ffdc3ee5a [INFO] checking AcrylicShrimp/shader-pack/9385e197ec1f621a0a3cb816cdd8474ffdc3ee5a 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%2FAcrylicShrimp%2Fshader-pack" "/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/AcrylicShrimp/shader-pack 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/AcrylicShrimp/shader-pack [INFO] finished tweaking git repo https://github.com/AcrylicShrimp/shader-pack [INFO] tweaked toml for git repo https://github.com/AcrylicShrimp/shader-pack written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AcrylicShrimp/shader-pack 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-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] ce10e42afdb5c5a51894b6761639ef594ba84934e1aca0574931bbecd1b9045c [INFO] running `Command { std: "docker" "start" "-a" "ce10e42afdb5c5a51894b6761639ef594ba84934e1aca0574931bbecd1b9045c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce10e42afdb5c5a51894b6761639ef594ba84934e1aca0574931bbecd1b9045c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce10e42afdb5c5a51894b6761639ef594ba84934e1aca0574931bbecd1b9045c", kill_on_drop: false }` [INFO] [stdout] ce10e42afdb5c5a51894b6761639ef594ba84934e1aca0574931bbecd1b9045c [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] 2ac61599fbced3753bb3d61cdf9a63625d56e5582aa60fd36e3e27d019ee8fb2 [INFO] running `Command { std: "docker" "start" "-a" "2ac61599fbced3753bb3d61cdf9a63625d56e5582aa60fd36e3e27d019ee8fb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking shader-pack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/lib.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn compile_shader_pack(source: &str) -> Compiled { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/diagnostics/sender.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn warning_sub(&self, code: u32, span: Span, message: String, sub_items: Vec) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | / self.sender [INFO] [stdout] 80 | | .send(Item { [INFO] [stdout] 81 | | code, [INFO] [stdout] 82 | | level: ItemLevel::Warning, [INFO] [stdout] ... | [INFO] [stdout] 88 | | sub_items, [INFO] [stdout] 89 | | }) [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/diagnostics/sender.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn error_sub(&self, code: u32, span: Span, message: String, sub_items: Vec) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | / self.sender [INFO] [stdout] 122 | | .send(Item { [INFO] [stdout] 123 | | code, [INFO] [stdout] 124 | | level: ItemLevel::Error, [INFO] [stdout] ... | [INFO] [stdout] 130 | | sub_items, [INFO] [stdout] 131 | | }) [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/parse/lexer.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 17 | let mut iter = unglued_token_iter(file); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | iter_from_fn(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | let mut token = current.take()?; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | while let Some(next_token) = &next { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Some(token) [INFO] [stdout] 39 | | }) [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/parse/lexer.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 44 | let mut iter = low_token_iter(file.content()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | iter_from_fn(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | let token = iter.next()?; [INFO] [stdout] 48 | | let length = token.len; [INFO] [stdout] 49 | | let token = from_low_token(token, span_low, file); [INFO] [stdout] ... | [INFO] [stdout] 52 | | Some(token) [INFO] [stdout] 53 | | }) [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/symbol.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from_str(str: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | STR_INTERNER.lock().intern(str) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shader-pack` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/lib.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn compile_shader_pack(source: &str) -> Compiled { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/diagnostics/sender.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn warning_sub(&self, code: u32, span: Span, message: String, sub_items: Vec) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | / self.sender [INFO] [stdout] 80 | | .send(Item { [INFO] [stdout] 81 | | code, [INFO] [stdout] 82 | | level: ItemLevel::Warning, [INFO] [stdout] ... | [INFO] [stdout] 88 | | sub_items, [INFO] [stdout] 89 | | }) [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/diagnostics/sender.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn error_sub(&self, code: u32, span: Span, message: String, sub_items: Vec) { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | / self.sender [INFO] [stdout] 122 | | .send(Item { [INFO] [stdout] 123 | | code, [INFO] [stdout] 124 | | level: ItemLevel::Error, [INFO] [stdout] ... | [INFO] [stdout] 130 | | sub_items, [INFO] [stdout] 131 | | }) [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/parse/lexer.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 17 | let mut iter = unglued_token_iter(file); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | iter_from_fn(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | let mut token = current.take()?; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | while let Some(next_token) = &next { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Some(token) [INFO] [stdout] 39 | | }) [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/parse/lexer.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 44 | let mut iter = low_token_iter(file.content()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | iter_from_fn(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | let token = iter.next()?; [INFO] [stdout] 48 | | let length = token.len; [INFO] [stdout] 49 | | let token = from_low_token(token, span_low, file); [INFO] [stdout] ... | [INFO] [stdout] 52 | | Some(token) [INFO] [stdout] 53 | | }) [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/symbol.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from_str(str: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | STR_INTERNER.lock().intern(str) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shader-pack` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2ac61599fbced3753bb3d61cdf9a63625d56e5582aa60fd36e3e27d019ee8fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac61599fbced3753bb3d61cdf9a63625d56e5582aa60fd36e3e27d019ee8fb2", kill_on_drop: false }` [INFO] [stdout] 2ac61599fbced3753bb3d61cdf9a63625d56e5582aa60fd36e3e27d019ee8fb2