[INFO] fetching crate starknet-macros 0.2.0... [INFO] checking starknet-macros-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate starknet-macros 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate starknet-macros 0.2.0 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 starknet-macros 0.2.0 [INFO] finished tweaking crates.io crate starknet-macros 0.2.0 [INFO] tweaked toml for crates.io crate starknet-macros 0.2.0 written to /workspace/builds/worker-1-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 61 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding lambdaworks-crypto v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding lambdaworks-math v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding serde_with v2.3.3 (latest: v3.9.0) [INFO] [stderr] Adding serde_with_macros v2.3.3 (latest: v3.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d24872ddc1b057ca0845e4baaa2a667238dd0dc384f052fa1981510e322dedc0 [INFO] running `Command { std: "docker" "start" "-a" "d24872ddc1b057ca0845e4baaa2a667238dd0dc384f052fa1981510e322dedc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d24872ddc1b057ca0845e4baaa2a667238dd0dc384f052fa1981510e322dedc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24872ddc1b057ca0845e4baaa2a667238dd0dc384f052fa1981510e322dedc0", kill_on_drop: false }` [INFO] [stdout] d24872ddc1b057ca0845e4baaa2a667238dd0dc384f052fa1981510e322dedc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 480266175a6633429d848b08e468c7306aedf7dc849fcb451545ba0272f9911e [INFO] running `Command { std: "docker" "start" "-a" "480266175a6633429d848b08e468c7306aedf7dc849fcb451545ba0272f9911e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling lambdaworks-math v0.7.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde_json_pythonic v0.1.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking starknet-types-core v0.1.5 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking starknet-curve v0.5.0 [INFO] [stderr] Compiling starknet-crypto-codegen v0.4.0 [INFO] [stderr] Checking starknet-crypto v0.7.1 [INFO] [stderr] Checking starknet-core v0.11.1 [INFO] [stderr] Checking starknet-macros v0.2.0 (/opt/rustwide/workdir) [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:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn selector(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 17 | / format!( [INFO] [stdout] 18 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 19 | | field_element_path(), [INFO] [stdout] 20 | | selector_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 24 | | ) [INFO] [stdout] 25 | | .parse() [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:38:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn short_string(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 38 | / format!( [INFO] [stdout] 39 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 40 | | field_element_path(), [INFO] [stdout] 41 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 45 | | ) [INFO] [stdout] 46 | | .parse() [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:64:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn felt(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 64 | / format!( [INFO] [stdout] 65 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 66 | | field_element_path(), [INFO] [stdout] 67 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 71 | | ) [INFO] [stdout] 72 | | .parse() [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:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn selector(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 17 | / format!( [INFO] [stdout] 18 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 19 | | field_element_path(), [INFO] [stdout] 20 | | selector_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 24 | | ) [INFO] [stdout] 25 | | .parse() [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:85:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn felt_dec(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 85 | / format!( [INFO] [stdout] 86 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 87 | | field_element_path(), [INFO] [stdout] 88 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 92 | | ) [INFO] [stdout] 93 | | .parse() [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:106:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn felt_hex(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 106 | / format!( [INFO] [stdout] 107 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 108 | | field_element_path(), [INFO] [stdout] 109 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | .parse() [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:38:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn short_string(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 38 | / format!( [INFO] [stdout] 39 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 40 | | field_element_path(), [INFO] [stdout] 41 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 45 | | ) [INFO] [stdout] 46 | | .parse() [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:64:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn felt(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 64 | / format!( [INFO] [stdout] 65 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 66 | | field_element_path(), [INFO] [stdout] 67 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 71 | | ) [INFO] [stdout] 72 | | .parse() [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:85:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn felt_dec(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 85 | / format!( [INFO] [stdout] 86 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 87 | | field_element_path(), [INFO] [stdout] 88 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 92 | | ) [INFO] [stdout] 93 | | .parse() [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:106:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn felt_hex(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let input = parse_macro_input!(input as LitStr); [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] ... [INFO] [stdout] 106 | / format!( [INFO] [stdout] 107 | | "{}::from_raw([{}, {}, {}, {}])", [INFO] [stdout] 108 | | field_element_path(), [INFO] [stdout] 109 | | felt_raw[0], [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | .parse() [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `starknet-macros` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `starknet-macros` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "480266175a6633429d848b08e468c7306aedf7dc849fcb451545ba0272f9911e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480266175a6633429d848b08e468c7306aedf7dc849fcb451545ba0272f9911e", kill_on_drop: false }` [INFO] [stdout] 480266175a6633429d848b08e468c7306aedf7dc849fcb451545ba0272f9911e