[INFO] fetching crate rgb-std 0.11.0-beta.8... [INFO] checking rgb-std-0.11.0-beta.8 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rgb-std 0.11.0-beta.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rgb-std 0.11.0-beta.8 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] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rgb-std 0.11.0-beta.8 [INFO] finished tweaking crates.io crate rgb-std 0.11.0-beta.8 [INFO] tweaked toml for crates.io crate rgb-std 0.11.0-beta.8 written to /workspace/builds/worker-7-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 132 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 fluent-uri v0.1.4 (available: v0.2.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7280e32329c331c5dfb4d9a9552559323c57aab437d2fffd0001c03d66b3af84 [INFO] running `Command { std: "docker" "start" "-a" "7280e32329c331c5dfb4d9a9552559323c57aab437d2fffd0001c03d66b3af84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7280e32329c331c5dfb4d9a9552559323c57aab437d2fffd0001c03d66b3af84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7280e32329c331c5dfb4d9a9552559323c57aab437d2fffd0001c03d66b3af84", kill_on_drop: false }` [INFO] [stdout] 7280e32329c331c5dfb4d9a9552559323c57aab437d2fffd0001c03d66b3af84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1389f091a0d382a6b573c8788b14be94e94a6d18a69772a1afe1a772f1d5a2a9 [INFO] running `Command { std: "docker" "start" "-a" "1389f091a0d382a6b573c8788b14be94e94a6d18a69772a1afe1a772f1d5a2a9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking amplify_num v0.5.3 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking mnemonic v1.1.1 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.10.0 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking amplify_apfloat v0.3.1 [INFO] [stderr] Checking amplify_syn v2.0.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking fast32 v1.0.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking base85 v2.0.0 [INFO] [stderr] Compiling amplify_derive v4.0.1 [INFO] [stderr] Compiling strict_encoding_derive v2.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking amplify v4.7.0 [INFO] [stderr] Checking single_use_seals v0.11.0-beta.8 [INFO] [stderr] Compiling commit_encoding_derive v0.11.0-beta.8 [INFO] [stderr] Checking strict_encoding v2.7.0 [INFO] [stderr] Checking baid64 v0.2.2 [INFO] [stderr] Checking nonasync v0.1.2 [INFO] [stderr] Checking secp256k1-zkp v0.11.0 [INFO] [stderr] Checking ascii-armor v0.7.2 [INFO] [stderr] Checking vesper-lang v0.1.0 [INFO] [stderr] Checking strict_types v2.7.0 [INFO] [stderr] Checking commit_verify v0.11.0-beta.8 [INFO] [stderr] Checking aluvm v0.11.0-beta.8 [INFO] [stderr] Checking bp-consensus v0.11.0-beta.8 [INFO] [stderr] Checking bp-dbc v0.11.0-beta.8 [INFO] [stderr] Checking bp-invoice v0.11.0-beta.8 [INFO] [stderr] Checking bp-seals v0.11.0-beta.8 [INFO] [stderr] Checking bp-core v0.11.0-beta.8 [INFO] [stderr] Checking rgb-core v0.11.0-beta.8 [INFO] [stderr] Checking rgb-invoice v0.11.0-beta.8 [INFO] [stderr] Checking rgb-std v0.11.0-beta.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/persistence/stock.rs:496:48 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn contracts_by<'a, C: IfaceClass + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 496 | Item = > as IfaceWrapper>>::Info, [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/persistence/stock.rs:496:85 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn contracts_by<'a, C: IfaceClass + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 496 | Item = > as IfaceWrapper>>::Info, [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/persistence/stock.rs:496:48 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn contracts_by<'a, C: IfaceClass + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 496 | Item = > as IfaceWrapper>>::Info, [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/persistence/stock.rs:496:85 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn contracts_by<'a, C: IfaceClass + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 496 | Item = > as IfaceWrapper>>::Info, [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, StockError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence/stock.rs:1427:31 [INFO] [stdout] | [INFO] [stdout] 1416 | let mut stock = Stock::in_memory(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1427 | if let Ok(transfer) = stock.consign::(contract_id, [], Some(secret_seal)) { [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 `Result, StockError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence/stock.rs:1438:31 [INFO] [stdout] | [INFO] [stdout] 1434 | let stock = Stock::in_memory(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1438 | if let Ok(contract) = stock.export_contract(contract_id) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence/stock.rs:1448:29 [INFO] [stdout] | [INFO] [stdout] 1445 | let stock = Stock::in_memory(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1448 | if let Ok(schema) = stock.export_schema(schema_id) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence/stock.rs:1460:30 [INFO] [stdout] | [INFO] [stdout] 1455 | let stock = Stock::in_memory(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1460 | if let Ok(builder) = stock.blank_builder(contract_id, IfaceRef::Id(iface_id)) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence/stock.rs:1472:13 [INFO] [stdout] | [INFO] [stdout] 1467 | let stock = Stock::in_memory(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1472 | stock.blank_builder(contract_id, IfaceRef::Name(TypeName::from_str("RGB20").unwrap())) [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence/stock.rs:1487:30 [INFO] [stdout] | [INFO] [stdout] 1480 | let stock = Stock::in_memory(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1487 | if let Ok(builder) = stock.transition_builder( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1488 | | contract_id, [INFO] [stdout] 1489 | | IfaceRef::Id(iface_id), [INFO] [stdout] 1490 | | Some(FieldName::from_str("transfer").unwrap()), [INFO] [stdout] 1491 | | ) { [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: static `DEFAULT_TRANSFER_PATH` is never used [INFO] [stdout] --> src/containers/file.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | static DEFAULT_TRANSFER_PATH: &str = "asset/transfer.default"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `almost_default_transfer` is never used [INFO] [stdout] --> src/containers/file.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | fn almost_default_transfer() -> Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgb-std` (lib test) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1389f091a0d382a6b573c8788b14be94e94a6d18a69772a1afe1a772f1d5a2a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1389f091a0d382a6b573c8788b14be94e94a6d18a69772a1afe1a772f1d5a2a9", kill_on_drop: false }` [INFO] [stdout] 1389f091a0d382a6b573c8788b14be94e94a6d18a69772a1afe1a772f1d5a2a9