[INFO] fetching crate sp-api-proc-macro 20.0.0... [INFO] checking sp-api-proc-macro-20.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate sp-api-proc-macro 20.0.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate sp-api-proc-macro 20.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 sp-api-proc-macro 20.0.0 [INFO] finished tweaking crates.io crate sp-api-proc-macro 20.0.0 [INFO] tweaked toml for crates.io crate sp-api-proc-macro 20.0.0 written to /workspace/builds/worker-6-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 36 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 342caf4a95b926d451f2bad6dc28e24d37ffebb40b2b69d220340aaf50b619c3 [INFO] running `Command { std: "docker" "start" "-a" "342caf4a95b926d451f2bad6dc28e24d37ffebb40b2b69d220340aaf50b619c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "342caf4a95b926d451f2bad6dc28e24d37ffebb40b2b69d220340aaf50b619c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342caf4a95b926d451f2bad6dc28e24d37ffebb40b2b69d220340aaf50b619c3", kill_on_drop: false }` [INFO] [stdout] 342caf4a95b926d451f2bad6dc28e24d37ffebb40b2b69d220340aaf50b619c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 919b6e6bd2cdd53ea7e19b3cf7f39d705ea3fa0c041991ca559185bb0e298cc4 [INFO] running `Command { std: "docker" "start" "-a" "919b6e6bd2cdd53ea7e19b3cf7f39d705ea3fa0c041991ca559185bb0e298cc4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking file-guard v0.2.0 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking proc-macro-crate v3.2.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking sp-api-proc-macro v20.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::boxed::Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_impl_runtime_apis.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 368 | let mut result = Vec::with_capacity(impls.len()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 369 | let mut global_block_type: Option = None; [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | let mut self_ty: Option> = None; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | impls: quote!( #( #result )* ), [INFO] [stdout] | ----------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 418 | block_type: global_block_type.expect("There is a least one runtime api; qed"), [INFO] [stdout] 419 | self_ty: *self_ty.expect("There is at least one runtime api; qed"), [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: this value of type `std::boxed::Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_impl_runtime_apis.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 368 | let mut result = Vec::with_capacity(impls.len()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 369 | let mut global_block_type: Option = None; [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | let mut self_ty: Option> = None; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | impls: quote!( #( #result )* ), [INFO] [stdout] | ----------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 418 | block_type: global_block_type.expect("There is a least one runtime api; qed"), [INFO] [stdout] 419 | self_ty: *self_ty.expect("There is at least one runtime api; qed"), [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-api-proc-macro` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-api-proc-macro` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "919b6e6bd2cdd53ea7e19b3cf7f39d705ea3fa0c041991ca559185bb0e298cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "919b6e6bd2cdd53ea7e19b3cf7f39d705ea3fa0c041991ca559185bb0e298cc4", kill_on_drop: false }` [INFO] [stdout] 919b6e6bd2cdd53ea7e19b3cf7f39d705ea3fa0c041991ca559185bb0e298cc4