[INFO] fetching crate scrypto-derive 1.2.0... [INFO] checking scrypto-derive-1.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate scrypto-derive 1.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate scrypto-derive 1.2.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 scrypto-derive 1.2.0 [INFO] finished tweaking crates.io crate scrypto-derive 1.2.0 [INFO] tweaked toml for crates.io crate scrypto-derive 1.2.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding bech32 v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding bnum v0.11.0 (available: v0.12.0) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (available: v4.1.3) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.1.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding regex v1.9.3 (available: v1.10.6) [INFO] [stderr] Adding regex-automata v0.3.9 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding secp256k1 v0.28.2 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.9.2 (available: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding signature v1.6.4 (available: v2.2.0) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7868dcdbfcb3c7f2f3c8976cf690f1c7488ea4ba1e55e1952c6a7522c640637b [INFO] running `Command { std: "docker" "start" "-a" "7868dcdbfcb3c7f2f3c8976cf690f1c7488ea4ba1e55e1952c6a7522c640637b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7868dcdbfcb3c7f2f3c8976cf690f1c7488ea4ba1e55e1952c6a7522c640637b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7868dcdbfcb3c7f2f3c8976cf690f1c7488ea4ba1e55e1952c6a7522c640637b", kill_on_drop: false }` [INFO] [stdout] 7868dcdbfcb3c7f2f3c8976cf690f1c7488ea4ba1e55e1952c6a7522c640637b [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 120db9bd63ba812606fe221fb65ba173d8359eabb4f7417bc80e2d9ad6645cb4 [INFO] running `Command { std: "docker" "start" "-a" "120db9bd63ba812606fe221fb65ba173d8359eabb4f7417bc80e2d9ad6645cb4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling const-sha1 v0.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bnum v0.11.0 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling sbor-derive-common v1.2.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling sbor-derive v1.2.0 [INFO] [stderr] Compiling radix-sbor-derive v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking radix-rust v1.2.0 [INFO] [stderr] Checking sbor v1.2.0 [INFO] [stderr] Checking radix-common v1.2.0 [INFO] [stderr] Checking radix-blueprint-schema-init v1.2.0 [INFO] [stderr] Checking scrypto-derive v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_generated_code(kind: &str, code: S) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | if let Ok(mut proc) = Command::new("rustfmt") [INFO] [stdout] | ___________________________^ [INFO] [stdout] 8 | | .arg("--emit=stdout") [INFO] [stdout] 9 | | .arg("--edition=2021") [INFO] [stdout] 10 | | .stdin(Stdio::piped()) [INFO] [stdout] 11 | | .stdout(Stdio::piped()) [INFO] [stdout] 12 | | .stderr(Stdio::null()) [INFO] [stdout] 13 | | .spawn() [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] warning: fields `vis`, `mod_token`, `brace`, and `semi` are never read [INFO] [stdout] --> src/ast.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BlueprintMod { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub mod_token: Token![mod], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub module_ident: Ident, [INFO] [stdout] 29 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub semi: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren_token` is never read [INFO] [stdout] --> src/ast.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct EventsInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 93 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren_token` is never read [INFO] [stdout] --> src/ast.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct TypesInner { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 108 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> src/blueprint.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GlobalComponent { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 21 | pub ident: Ident, [INFO] [stdout] 22 | pub comma: Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi_token` is never read [INFO] [stdout] --> src/blueprint.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ImportBlueprintFn { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 40 | pub sig: Signature, [INFO] [stdout] 41 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comma0` and `brace` are never read [INFO] [stdout] --> src/blueprint.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ImportBlueprint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 53 | pub package: Expr, [INFO] [stdout] 54 | pub comma0: Comma, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scrypto-derive` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_generated_code(kind: &str, code: S) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | if let Ok(mut proc) = Command::new("rustfmt") [INFO] [stdout] | ___________________________^ [INFO] [stdout] 8 | | .arg("--emit=stdout") [INFO] [stdout] 9 | | .arg("--edition=2021") [INFO] [stdout] 10 | | .stdin(Stdio::piped()) [INFO] [stdout] 11 | | .stdout(Stdio::piped()) [INFO] [stdout] 12 | | .stderr(Stdio::null()) [INFO] [stdout] 13 | | .spawn() [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] warning: fields `vis`, `mod_token`, `brace`, and `semi` are never read [INFO] [stdout] --> src/ast.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BlueprintMod { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub mod_token: Token![mod], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub module_ident: Ident, [INFO] [stdout] 29 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub semi: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren_token` is never read [INFO] [stdout] --> src/ast.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct EventsInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 93 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren_token` is never read [INFO] [stdout] --> src/ast.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct TypesInner { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 108 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> src/blueprint.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GlobalComponent { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 21 | pub ident: Ident, [INFO] [stdout] 22 | pub comma: Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi_token` is never read [INFO] [stdout] --> src/blueprint.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ImportBlueprintFn { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 40 | pub sig: Signature, [INFO] [stdout] 41 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comma0` and `brace` are never read [INFO] [stdout] --> src/blueprint.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ImportBlueprint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 53 | pub package: Expr, [INFO] [stdout] 54 | pub comma0: Comma, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scrypto-derive` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "120db9bd63ba812606fe221fb65ba173d8359eabb4f7417bc80e2d9ad6645cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120db9bd63ba812606fe221fb65ba173d8359eabb4f7417bc80e2d9ad6645cb4", kill_on_drop: false }` [INFO] [stdout] 120db9bd63ba812606fe221fb65ba173d8359eabb4f7417bc80e2d9ad6645cb4