[INFO] fetching crate bonfida-autobindings 0.6.2... [INFO] checking bonfida-autobindings-0.6.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate bonfida-autobindings 0.6.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bonfida-autobindings 0.6.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bonfida-autobindings 0.6.2 [INFO] finished tweaking crates.io crate bonfida-autobindings 0.6.2 [INFO] tweaked toml for crates.io crate bonfida-autobindings 0.6.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate bonfida-autobindings 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2fb964d7aeb898f2f806c11425e7d328de8c577cfb1f5562cde84d4ba6acb61 [INFO] running `Command { std: "docker" "start" "-a" "a2fb964d7aeb898f2f806c11425e7d328de8c577cfb1f5562cde84d4ba6acb61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2fb964d7aeb898f2f806c11425e7d328de8c577cfb1f5562cde84d4ba6acb61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2fb964d7aeb898f2f806c11425e7d328de8c577cfb1f5562cde84d4ba6acb61", kill_on_drop: false }` [INFO] [stdout] a2fb964d7aeb898f2f806c11425e7d328de8c577cfb1f5562cde84d4ba6acb61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf4f6bfa08886518454abd0fea55d9bea7835505a65e46a1b1d2ad3c156f883 [INFO] running `Command { std: "docker" "start" "-a" "abf4f6bfa08886518454abd0fea55d9bea7835505a65e46a1b1d2ad3c156f883", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bs58 v0.5.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rand_core v0.6.4 [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 rand_chacha v0.3.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking cargo_toml v0.11.8 [INFO] [stderr] Checking anchor-syn v0.29.0 [INFO] [stderr] Checking bonfida-autobindings v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LitInt` [INFO] [stdout] --> src/lib.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | Item, ItemEnum, ItemStruct, Lit, LitInt, Path, Type, TypeArray, TypePath, TypeReference, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_vec` [INFO] [stdout] --> src/js_generate.rs:9:75 [INFO] [stdout] | [INFO] [stdout] 9 | find_struct, get_constraints, get_struct_fields, is_option, is_slice, is_vec, padding_len, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LitInt` [INFO] [stdout] --> src/lib.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | Item, ItemEnum, ItemStruct, Lit, LitInt, Path, Type, TypeArray, TypePath, TypeReference, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_vec` [INFO] [stdout] --> src/js_generate.rs:9:75 [INFO] [stdout] | [INFO] [stdout] 9 | find_struct, get_constraints, get_struct_fields, is_option, is_slice, is_vec, padding_len, [INFO] [stdout] | ^^^^^^ [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/test.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 301 | let mut inputs = vec![TestInput { [INFO] [stdout] | ______________________________- [INFO] [stdout] 302 | | js: if let Type::Path(TypePath { [INFO] [stdout] 303 | | qself: _, [INFO] [stdout] 304 | | path: [INFO] [stdout] ... | [INFO] [stdout] 309 | | }) = *(elem.to_owned()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 322 | | py: "[".to_owned(), [INFO] [stdout] 323 | | }]; [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 `std::boxed::Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 301 | let mut inputs = vec![TestInput { [INFO] [stdout] | ______________________________- [INFO] [stdout] 302 | | js: if let Type::Path(TypePath { [INFO] [stdout] 303 | | qself: _, [INFO] [stdout] 304 | | path: [INFO] [stdout] ... | [INFO] [stdout] 309 | | }) = *(elem.to_owned()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 322 | | py: "[".to_owned(), [INFO] [stdout] 323 | | }]; [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] warning: function `is_vec` is never used [INFO] [stdout] --> src/lib.rs:433:4 [INFO] [stdout] | [INFO] [stdout] 433 | fn is_vec(ty: &Type) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_vec` is never used [INFO] [stdout] --> src/lib.rs:433:4 [INFO] [stdout] | [INFO] [stdout] 433 | fn is_vec(ty: &Type) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bonfida-autobindings` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bonfida-autobindings` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "abf4f6bfa08886518454abd0fea55d9bea7835505a65e46a1b1d2ad3c156f883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf4f6bfa08886518454abd0fea55d9bea7835505a65e46a1b1d2ad3c156f883", kill_on_drop: false }` [INFO] [stdout] abf4f6bfa08886518454abd0fea55d9bea7835505a65e46a1b1d2ad3c156f883