[INFO] fetching crate glsl-quasiquote 7.0.0... [INFO] checking glsl-quasiquote-7.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate glsl-quasiquote 7.0.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate glsl-quasiquote 7.0.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate glsl-quasiquote 7.0.0 [INFO] finished tweaking crates.io crate glsl-quasiquote 7.0.0 [INFO] tweaked toml for crates.io crate glsl-quasiquote 7.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b887df326ee8478ac7ab8f2338597a6d6bafc2f61d2c5543b45dc26fc9964d [INFO] running `Command { std: "docker" "start" "-a" "d2b887df326ee8478ac7ab8f2338597a6d6bafc2f61d2c5543b45dc26fc9964d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b887df326ee8478ac7ab8f2338597a6d6bafc2f61d2c5543b45dc26fc9964d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b887df326ee8478ac7ab8f2338597a6d6bafc2f61d2c5543b45dc26fc9964d", kill_on_drop: false }` [INFO] [stdout] d2b887df326ee8478ac7ab8f2338597a6d6bafc2f61d2c5543b45dc26fc9964d [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5406a068deb5f504c36f38561167b2c1e1ddac3e234c0660d896ec93353738ed [INFO] running `Command { std: "docker" "start" "-a" "5406a068deb5f504c36f38561167b2c1e1ddac3e234c0660d896ec93353738ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking proc-macro-faithful-display v0.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking glsl v7.0.0 [INFO] [stderr] Checking glsl-quasiquote v7.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenize.rs:672:11 [INFO] [stdout] | [INFO] [stdout] 672 | let fun = tokenize_function_identifier(fun); [INFO] [stdout] | ^^^ [INFO] [stdout] 673 | let args = args.iter().map(tokenize_expr); [INFO] [stdout] 674 | quote! { glsl::syntax::Expr::FunCall(#fun, vec![#(#args),*]) } [INFO] [stdout] | -------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenize.rs:791:11 [INFO] [stdout] | [INFO] [stdout] 791 | let qual = tokenize_type_qualifier(qual); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | quote! { glsl::syntax::Declaration::Global(#qual, vec![#(#identifiers),*]) } [INFO] [stdout] | ---------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenize.rs:672:11 [INFO] [stdout] | [INFO] [stdout] 672 | let fun = tokenize_function_identifier(fun); [INFO] [stdout] | ^^^ [INFO] [stdout] 673 | let args = args.iter().map(tokenize_expr); [INFO] [stdout] 674 | quote! { glsl::syntax::Expr::FunCall(#fun, vec![#(#args),*]) } [INFO] [stdout] | -------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenize.rs:1229:11 [INFO] [stdout] | [INFO] [stdout] 1229 | let ident = tokenize_identifier(ident); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | / quote! { [INFO] [stdout] 1234 | | glsl::syntax::PreprocessorDefine::FunctionLike { [INFO] [stdout] 1235 | | ident: #ident, [INFO] [stdout] 1236 | | args: vec![#(#args),*], [INFO] [stdout] 1237 | | value: #value [INFO] [stdout] 1238 | | } [INFO] [stdout] 1239 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_______| [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenize.rs:791:11 [INFO] [stdout] | [INFO] [stdout] 791 | let qual = tokenize_type_qualifier(qual); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | quote! { glsl::syntax::Declaration::Global(#qual, vec![#(#identifiers),*]) } [INFO] [stdout] | ---------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | let expr = Box::new(tokenize_expr(&e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:592:18 [INFO] [stdout] | [INFO] [stdout] 592 | .map(|e| Box::new(tokenize_expr(&e)).quote()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | let l = Box::new(tokenize_expr(l)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:647:15 [INFO] [stdout] | [INFO] [stdout] 647 | let r = Box::new(tokenize_expr(r)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:652:15 [INFO] [stdout] | [INFO] [stdout] 652 | let c = Box::new(tokenize_expr(c)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:653:15 [INFO] [stdout] | [INFO] [stdout] 653 | let s = Box::new(tokenize_expr(s)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:654:15 [INFO] [stdout] | [INFO] [stdout] 654 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:659:15 [INFO] [stdout] | [INFO] [stdout] 659 | let v = Box::new(tokenize_expr(v)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:661:15 [INFO] [stdout] | [INFO] [stdout] 661 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:666:15 [INFO] [stdout] | [INFO] [stdout] 666 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:678:15 [INFO] [stdout] | [INFO] [stdout] 678 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:690:15 [INFO] [stdout] | [INFO] [stdout] 690 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:695:15 [INFO] [stdout] | [INFO] [stdout] 695 | let a = Box::new(tokenize_expr(a)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | let b = Box::new(tokenize_expr(b)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:761:15 [INFO] [stdout] | [INFO] [stdout] 761 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:889:15 [INFO] [stdout] | [INFO] [stdout] 889 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:945:15 [INFO] [stdout] | [INFO] [stdout] 945 | let s = Box::new(tokenize_compound_statement(cst)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:950:15 [INFO] [stdout] | [INFO] [stdout] 950 | let s = Box::new(tokenize_simple_statement(sst)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1001:14 [INFO] [stdout] | [INFO] [stdout] 1001 | let cond = Box::new(tokenize_expr(&sst.cond)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1015:15 [INFO] [stdout] | [INFO] [stdout] 1015 | let e = Box::new(tokenize_statement(if_st)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1020:19 [INFO] [stdout] | [INFO] [stdout] 1020 | let if_st = Box::new(tokenize_statement(if_st)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1021:21 [INFO] [stdout] | [INFO] [stdout] 1021 | let else_st = Box::new(tokenize_statement(else_st)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1028:14 [INFO] [stdout] | [INFO] [stdout] 1028 | let head = Box::new(tokenize_expr(&sst.head)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1042:15 [INFO] [stdout] | [INFO] [stdout] 1042 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1054:18 [INFO] [stdout] | [INFO] [stdout] 1054 | let body = Box::new(tokenize_statement(body)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1059:18 [INFO] [stdout] | [INFO] [stdout] 1059 | let body = Box::new(tokenize_statement(body)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1060:18 [INFO] [stdout] | [INFO] [stdout] 1060 | let cond = Box::new(tokenize_expr(cond)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1067:18 [INFO] [stdout] | [INFO] [stdout] 1067 | let body = Box::new(tokenize_statement(body)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1076:15 [INFO] [stdout] | [INFO] [stdout] 1076 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1098:15 [INFO] [stdout] | [INFO] [stdout] 1098 | let d = Box::new(tokenize_declaration(d)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1109:14 [INFO] [stdout] | [INFO] [stdout] 1109 | .map(|e| Box::new(tokenize_expr(&e)).quote()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1128:18 [INFO] [stdout] | [INFO] [stdout] 1128 | .map(|e| Box::new(tokenize_expr(e)).quote()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenize.rs:1229:11 [INFO] [stdout] | [INFO] [stdout] 1229 | let ident = tokenize_identifier(ident); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | / quote! { [INFO] [stdout] 1234 | | glsl::syntax::PreprocessorDefine::FunctionLike { [INFO] [stdout] 1235 | | ident: #ident, [INFO] [stdout] 1236 | | args: vec![#(#args),*], [INFO] [stdout] 1237 | | value: #value [INFO] [stdout] 1238 | | } [INFO] [stdout] 1239 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_______| [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: aborting due to 3 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glsl-quasiquote` (lib) due to 4 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | let expr = Box::new(tokenize_expr(&e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:592:18 [INFO] [stdout] | [INFO] [stdout] 592 | .map(|e| Box::new(tokenize_expr(&e)).quote()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | let l = Box::new(tokenize_expr(l)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:647:15 [INFO] [stdout] | [INFO] [stdout] 647 | let r = Box::new(tokenize_expr(r)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:652:15 [INFO] [stdout] | [INFO] [stdout] 652 | let c = Box::new(tokenize_expr(c)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:653:15 [INFO] [stdout] | [INFO] [stdout] 653 | let s = Box::new(tokenize_expr(s)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:654:15 [INFO] [stdout] | [INFO] [stdout] 654 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:659:15 [INFO] [stdout] | [INFO] [stdout] 659 | let v = Box::new(tokenize_expr(v)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:661:15 [INFO] [stdout] | [INFO] [stdout] 661 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:666:15 [INFO] [stdout] | [INFO] [stdout] 666 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:678:15 [INFO] [stdout] | [INFO] [stdout] 678 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:690:15 [INFO] [stdout] | [INFO] [stdout] 690 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:695:15 [INFO] [stdout] | [INFO] [stdout] 695 | let a = Box::new(tokenize_expr(a)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | let b = Box::new(tokenize_expr(b)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:761:15 [INFO] [stdout] | [INFO] [stdout] 761 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:889:15 [INFO] [stdout] | [INFO] [stdout] 889 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:945:15 [INFO] [stdout] | [INFO] [stdout] 945 | let s = Box::new(tokenize_compound_statement(cst)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:950:15 [INFO] [stdout] | [INFO] [stdout] 950 | let s = Box::new(tokenize_simple_statement(sst)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1001:14 [INFO] [stdout] | [INFO] [stdout] 1001 | let cond = Box::new(tokenize_expr(&sst.cond)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1015:15 [INFO] [stdout] | [INFO] [stdout] 1015 | let e = Box::new(tokenize_statement(if_st)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1020:19 [INFO] [stdout] | [INFO] [stdout] 1020 | let if_st = Box::new(tokenize_statement(if_st)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1021:21 [INFO] [stdout] | [INFO] [stdout] 1021 | let else_st = Box::new(tokenize_statement(else_st)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1028:14 [INFO] [stdout] | [INFO] [stdout] 1028 | let head = Box::new(tokenize_expr(&sst.head)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1042:15 [INFO] [stdout] | [INFO] [stdout] 1042 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1054:18 [INFO] [stdout] | [INFO] [stdout] 1054 | let body = Box::new(tokenize_statement(body)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1059:18 [INFO] [stdout] | [INFO] [stdout] 1059 | let body = Box::new(tokenize_statement(body)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1060:18 [INFO] [stdout] | [INFO] [stdout] 1060 | let cond = Box::new(tokenize_expr(cond)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1067:18 [INFO] [stdout] | [INFO] [stdout] 1067 | let body = Box::new(tokenize_statement(body)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1076:15 [INFO] [stdout] | [INFO] [stdout] 1076 | let e = Box::new(tokenize_expr(e)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1098:15 [INFO] [stdout] | [INFO] [stdout] 1098 | let d = Box::new(tokenize_declaration(d)).quote(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glsl-quasiquote` (lib test) due to 4 previous errors; 34 warnings emitted [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1109:14 [INFO] [stdout] | [INFO] [stdout] 1109 | .map(|e| Box::new(tokenize_expr(&e)).quote()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tokenize.rs:1128:18 [INFO] [stdout] | [INFO] [stdout] 1128 | .map(|e| Box::new(tokenize_expr(e)).quote()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5406a068deb5f504c36f38561167b2c1e1ddac3e234c0660d896ec93353738ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5406a068deb5f504c36f38561167b2c1e1ddac3e234c0660d896ec93353738ed", kill_on_drop: false }` [INFO] [stdout] 5406a068deb5f504c36f38561167b2c1e1ddac3e234c0660d896ec93353738ed