[INFO] fetching crate colorthis 0.1.1... [INFO] checking colorthis-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate colorthis 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate colorthis 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate colorthis 0.1.1 [INFO] finished tweaking crates.io crate colorthis 0.1.1 [INFO] tweaked toml for crates.io crate colorthis 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0c7b3effe9f8946b157a8b1d0abcba7b573309dc775a88e787fcf2a0f185d819 [INFO] running `Command { std: "docker" "start" "-a" "0c7b3effe9f8946b157a8b1d0abcba7b573309dc775a88e787fcf2a0f185d819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c7b3effe9f8946b157a8b1d0abcba7b573309dc775a88e787fcf2a0f185d819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7b3effe9f8946b157a8b1d0abcba7b573309dc775a88e787fcf2a0f185d819", kill_on_drop: false }` [INFO] [stdout] 0c7b3effe9f8946b157a8b1d0abcba7b573309dc775a88e787fcf2a0f185d819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f229814b3fe8af5f9d3f3e21d70067bc375f0d127c9469b1989d970f4aae91eb [INFO] running `Command { std: "docker" "start" "-a" "f229814b3fe8af5f9d3f3e21d70067bc375f0d127c9469b1989d970f4aae91eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking parse-color v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking litrs v0.4.1 [INFO] [stderr] Checking colorthis v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `PathSep` is never used [INFO] [stdout] --> src/path.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum PathSep { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/path.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PathSep { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn write_to(&self, tokens: &mut TokenStream) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_sep` is never used [INFO] [stdout] --> src/path.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn extract_sep(iter: &mut proc_macro2::token_stream::IntoIter) -> PathSep{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_end_of_stream` is never used [INFO] [stdout] --> src/parse.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_end_of_stream(mut stream: proc_macro2::token_stream::IntoIter) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ident` is never constructed [INFO] [stdout] --> src/parse.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 142 | enum KnownToken{ [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 145 | Ident(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KnownToken` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn rgb(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 213 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | / match rgba { [INFO] [stdout] 218 | | ColorResult::Integers(ints) => { [INFO] [stdout] 219 | | let items = ints.to_int3(); [INFO] [stdout] 220 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 258 | | } [INFO] [stdout] 259 | | }.into() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn rgba(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 274 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | / match rgba { [INFO] [stdout] 279 | | ColorResult::Integers(ints) => { [INFO] [stdout] 280 | | let items = ints.to_int4(); [INFO] [stdout] 281 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 319 | | } [INFO] [stdout] 320 | | }.into() [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/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn rgbf(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 335 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | / match rgba { [INFO] [stdout] 340 | | ColorResult::Integers(ints) => { [INFO] [stdout] 341 | | let items = ints.to_float3(); [INFO] [stdout] 342 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 380 | | }, [INFO] [stdout] 381 | | }.into() [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/lib.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn rgbaf(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 396 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | / match rgba { [INFO] [stdout] 401 | | ColorResult::Integers(ints) => { [INFO] [stdout] 402 | | let items = ints.to_float4(); [INFO] [stdout] 403 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 441 | | } [INFO] [stdout] 442 | | }.into() [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/path.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn extract_path(tokens: TokenStream) -> (TokenStream, TokenTree, Option) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut tokens = tokens.into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let mut path = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let path = loop { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Some(other) => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let color = match tokens.next(){ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Some(x) => x, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let fields = match tokens.next() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Some(TokenTree::Group(g)) if g.delimiter() == Delimiter::Brace => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Some(tt) => abort!(tt.span(), "Expected {fields}."), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | (path, color, Some(fields)) [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.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_end_of_stream(mut stream: proc_macro2::token_stream::IntoIter) -> bool { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | match stream.next() { [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: enum `PathSep` is never used [INFO] [stdout] --> src/path.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum PathSep { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/path.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PathSep { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn write_to(&self, tokens: &mut TokenStream) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_sep` is never used [INFO] [stdout] --> src/path.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn extract_sep(iter: &mut proc_macro2::token_stream::IntoIter) -> PathSep{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_end_of_stream` is never used [INFO] [stdout] --> src/parse.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_end_of_stream(mut stream: proc_macro2::token_stream::IntoIter) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ident` is never constructed [INFO] [stdout] --> src/parse.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 142 | enum KnownToken{ [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 145 | Ident(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KnownToken` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn rgb(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 213 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | / match rgba { [INFO] [stdout] 218 | | ColorResult::Integers(ints) => { [INFO] [stdout] 219 | | let items = ints.to_int3(); [INFO] [stdout] 220 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 258 | | } [INFO] [stdout] 259 | | }.into() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn rgba(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 274 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | / match rgba { [INFO] [stdout] 279 | | ColorResult::Integers(ints) => { [INFO] [stdout] 280 | | let items = ints.to_int4(); [INFO] [stdout] 281 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 319 | | } [INFO] [stdout] 320 | | }.into() [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/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn rgbf(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 335 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | / match rgba { [INFO] [stdout] 340 | | ColorResult::Integers(ints) => { [INFO] [stdout] 341 | | let items = ints.to_float3(); [INFO] [stdout] 342 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 380 | | }, [INFO] [stdout] 381 | | }.into() [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/lib.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn rgbaf(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 396 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | / match rgba { [INFO] [stdout] 401 | | ColorResult::Integers(ints) => { [INFO] [stdout] 402 | | let items = ints.to_float4(); [INFO] [stdout] 403 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 441 | | } [INFO] [stdout] 442 | | }.into() [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/path.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn extract_path(tokens: TokenStream) -> (TokenStream, TokenTree, Option) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut tokens = tokens.into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let mut path = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let path = loop { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Some(other) => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let color = match tokens.next(){ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Some(x) => x, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let fields = match tokens.next() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Some(TokenTree::Group(g)) if g.delimiter() == Delimiter::Brace => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Some(tt) => abort!(tt.span(), "Expected {fields}."), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | (path, color, Some(fields)) [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.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_end_of_stream(mut stream: proc_macro2::token_stream::IntoIter) -> bool { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | match stream.next() { [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `colorthis` (lib) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `PathSep` is never used [INFO] [stdout] --> src/path.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum PathSep { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `colorthis` (lib test) due to 7 previous errors; 5 warnings emitted [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/path.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PathSep { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn write_to(&self, tokens: &mut TokenStream) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_sep` is never used [INFO] [stdout] --> src/path.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn extract_sep(iter: &mut proc_macro2::token_stream::IntoIter) -> PathSep{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_end_of_stream` is never used [INFO] [stdout] --> src/parse.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_end_of_stream(mut stream: proc_macro2::token_stream::IntoIter) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ident` is never constructed [INFO] [stdout] --> src/parse.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 142 | enum KnownToken{ [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 145 | Ident(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KnownToken` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn rgb(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 213 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | / match rgba { [INFO] [stdout] 218 | | ColorResult::Integers(ints) => { [INFO] [stdout] 219 | | let items = ints.to_int3(); [INFO] [stdout] 220 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 258 | | } [INFO] [stdout] 259 | | }.into() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn rgba(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 274 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | / match rgba { [INFO] [stdout] 279 | | ColorResult::Integers(ints) => { [INFO] [stdout] 280 | | let items = ints.to_int4(); [INFO] [stdout] 281 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 319 | | } [INFO] [stdout] 320 | | }.into() [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/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn rgbf(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 335 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | / match rgba { [INFO] [stdout] 340 | | ColorResult::Integers(ints) => { [INFO] [stdout] 341 | | let items = ints.to_float3(); [INFO] [stdout] 342 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 380 | | }, [INFO] [stdout] 381 | | }.into() [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/lib.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn rgbaf(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let (path, color, args) = extract_path(tokens.into()); [INFO] [stdout] | ---- ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 396 | let mut rgba = parse_color(color); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | / match rgba { [INFO] [stdout] 401 | | ColorResult::Integers(ints) => { [INFO] [stdout] 402 | | let items = ints.to_float4(); [INFO] [stdout] 403 | | quote!(#path (#(#items),*)) [INFO] [stdout] ... | [INFO] [stdout] 441 | | } [INFO] [stdout] 442 | | }.into() [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/path.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn extract_path(tokens: TokenStream) -> (TokenStream, TokenTree, Option) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut tokens = tokens.into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let mut path = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let path = loop { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Some(other) => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let color = match tokens.next(){ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Some(x) => x, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let fields = match tokens.next() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Some(TokenTree::Group(g)) if g.delimiter() == Delimiter::Brace => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Some(tt) => abort!(tt.span(), "Expected {fields}."), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | (path, color, Some(fields)) [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.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_end_of_stream(mut stream: proc_macro2::token_stream::IntoIter) -> bool { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | match stream.next() { [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `colorthis` (lib) due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f229814b3fe8af5f9d3f3e21d70067bc375f0d127c9469b1989d970f4aae91eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f229814b3fe8af5f9d3f3e21d70067bc375f0d127c9469b1989d970f4aae91eb", kill_on_drop: false }` [INFO] [stdout] f229814b3fe8af5f9d3f3e21d70067bc375f0d127c9469b1989d970f4aae91eb