[INFO] fetching crate rgb-core 0.11.0-beta.7... [INFO] checking rgb-core-0.11.0-beta.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rgb-core 0.11.0-beta.7 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rgb-core 0.11.0-beta.7 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] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rgb-core 0.11.0-beta.7 [INFO] finished tweaking crates.io crate rgb-core 0.11.0-beta.7 [INFO] tweaked toml for crates.io crate rgb-core 0.11.0-beta.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rgb-core 0.11.0-beta.7 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d678c46e1d0ac179c65d30f40300ee25a71144590d4ef05e103b840b8cebc336 [INFO] running `Command { std: "docker" "start" "-a" "d678c46e1d0ac179c65d30f40300ee25a71144590d4ef05e103b840b8cebc336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d678c46e1d0ac179c65d30f40300ee25a71144590d4ef05e103b840b8cebc336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d678c46e1d0ac179c65d30f40300ee25a71144590d4ef05e103b840b8cebc336", kill_on_drop: false }` [INFO] [stdout] d678c46e1d0ac179c65d30f40300ee25a71144590d4ef05e103b840b8cebc336 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08fe10244adb0a49339cc89c2a4f97f3c856219ce0c7f8dec8a628734714e0a4 [INFO] running `Command { std: "docker" "start" "-a" "08fe10244adb0a49339cc89c2a4f97f3c856219ce0c7f8dec8a628734714e0a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking amplify_num v0.5.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking mnemonic v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.10.0 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Checking amplify_apfloat v0.3.1 [INFO] [stderr] Checking amplify_syn v2.0.1 [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 sha2 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking base85 v2.0.0 [INFO] [stderr] Compiling amplify_derive v4.0.1 [INFO] [stderr] Compiling strict_encoding_derive v2.7.0-rc.1 [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.0 [INFO] [stderr] Checking amplify v4.7.0 [INFO] [stderr] Checking single_use_seals v0.11.0-beta.7 [INFO] [stderr] Checking strict_encoding v2.7.0-rc.1 [INFO] [stderr] Checking baid64 v0.2.2 [INFO] [stderr] Compiling commit_encoding_derive v0.11.0-beta.7 [INFO] [stderr] Checking ascii-armor v0.7.1 [INFO] [stderr] Checking vesper-lang v0.1.0 [INFO] [stderr] Checking strict_types v2.7.0-rc.1 [INFO] [stderr] Checking aluvm v0.11.0-beta.7 [INFO] [stderr] Checking secp256k1-zkp v0.11.0 [INFO] [stderr] Checking commit_verify v0.11.0-beta.7 [INFO] [stderr] Checking bp-consensus v0.11.0-beta.7 [INFO] [stderr] Checking bp-dbc v0.11.0-beta.7 [INFO] [stderr] Checking bp-seals v0.11.0-beta.7 [INFO] [stderr] Checking bp-core v0.11.0-beta.7 [INFO] [stderr] Checking rgb-core v0.11.0-beta.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | Self::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | Self::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | Self::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/contract.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/contract.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [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/operation/fungible.rs:375:43 [INFO] [stdout] | [INFO] [stdout] 375 | writer.write_tuple::(|w| Ok(w.write_field(&self.0.serialize())?.complete())) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operation/fungible.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / secp256k1_zkp::PedersenCommitment::from_slice(&commitment) [INFO] [stdout] 384 | | .map_err(|_| { [INFO] [stdout] 385 | | DecodeError::DataIntegrityError(s!("invalid pedersen commitment data")) [INFO] [stdout] 386 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________| [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/operation/xchain.rs:274:16 [INFO] [stdout] | [INFO] [stdout] 269 | writer.write_union::(|w| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | let w = w [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(match self { [INFO] [stdout] | ________________^ [INFO] [stdout] 275 | | XChain::Bitcoin(t) => w.write_newtype(vname!(Self::ALL_VARIANTS[0].1), t)?, [INFO] [stdout] 276 | | XChain::Liquid(t) => w.write_newtype(vname!(Self::ALL_VARIANTS[1].1), t)?, [INFO] [stdout] 277 | | XChain::Other(_) => unreachable!(), [INFO] [stdout] 278 | | } [INFO] [stdout] 279 | | .complete()) [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/operation/xchain.rs:289:34 [INFO] [stdout] | [INFO] [stdout] 289 | r.read_tuple(|r| r.read_field().map(Self::Bitcoin)) [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/operation/xchain.rs:291:67 [INFO] [stdout] | [INFO] [stdout] 291 | x if x == Self::ALL_VARIANTS[1].1 => r.read_tuple(|r| r.read_field().map(Self::Liquid)), [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/schema/occurrences.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 137 | writer.write_struct::(|w| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | Ok(w.write_field(fname!("min"), &self.min_value())? [INFO] [stdout] | ________________^ [INFO] [stdout] 139 | | .write_field(fname!("max"), &self.max_value())? [INFO] [stdout] 140 | | .complete()) [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/validation/validator.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 153 | fn init(consignment: &'consignment C, resolver: &'resolver R, context: S::Context<'_>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | contract_state: Rc::new(RefCell::new(S::init(context))), [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/validation/status.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | Self { [INFO] [stdout] 115 | failures: iter.into_iter().collect(), [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/vm/contract.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 534 | let (ord, item) = self.iter.prev()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | Some((ord, item)) [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will 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] [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:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let ffv = reader.read_tuple(|r| r.read_field().map(Self))?; [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 10 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgb-core` (lib test) due to 11 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | Self::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | Self::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | Self::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/operation/xchain.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/contract.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/contract.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | XChain::Other(_) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `xchain::Impossible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [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/operation/fungible.rs:375:43 [INFO] [stdout] | [INFO] [stdout] 375 | writer.write_tuple::(|w| Ok(w.write_field(&self.0.serialize())?.complete())) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operation/fungible.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / secp256k1_zkp::PedersenCommitment::from_slice(&commitment) [INFO] [stdout] 384 | | .map_err(|_| { [INFO] [stdout] 385 | | DecodeError::DataIntegrityError(s!("invalid pedersen commitment data")) [INFO] [stdout] 386 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________| [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/operation/xchain.rs:274:16 [INFO] [stdout] | [INFO] [stdout] 269 | writer.write_union::(|w| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | let w = w [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(match self { [INFO] [stdout] | ________________^ [INFO] [stdout] 275 | | XChain::Bitcoin(t) => w.write_newtype(vname!(Self::ALL_VARIANTS[0].1), t)?, [INFO] [stdout] 276 | | XChain::Liquid(t) => w.write_newtype(vname!(Self::ALL_VARIANTS[1].1), t)?, [INFO] [stdout] 277 | | XChain::Other(_) => unreachable!(), [INFO] [stdout] 278 | | } [INFO] [stdout] 279 | | .complete()) [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/operation/xchain.rs:289:34 [INFO] [stdout] | [INFO] [stdout] 289 | r.read_tuple(|r| r.read_field().map(Self::Bitcoin)) [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/operation/xchain.rs:291:67 [INFO] [stdout] | [INFO] [stdout] 291 | x if x == Self::ALL_VARIANTS[1].1 => r.read_tuple(|r| r.read_field().map(Self::Liquid)), [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/schema/occurrences.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 137 | writer.write_struct::(|w| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | Ok(w.write_field(fname!("min"), &self.min_value())? [INFO] [stdout] | ________________^ [INFO] [stdout] 139 | | .write_field(fname!("max"), &self.max_value())? [INFO] [stdout] 140 | | .complete()) [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/validation/validator.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 153 | fn init(consignment: &'consignment C, resolver: &'resolver R, context: S::Context<'_>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | contract_state: Rc::new(RefCell::new(S::init(context))), [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/validation/status.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | Self { [INFO] [stdout] 115 | failures: iter.into_iter().collect(), [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/vm/contract.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 534 | let (ord, item) = self.iter.prev()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | Some((ord, item)) [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will 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] [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:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let ffv = reader.read_tuple(|r| r.read_field().map(Self))?; [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 10 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgb-core` (lib) due to 11 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08fe10244adb0a49339cc89c2a4f97f3c856219ce0c7f8dec8a628734714e0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08fe10244adb0a49339cc89c2a4f97f3c856219ce0c7f8dec8a628734714e0a4", kill_on_drop: false }` [INFO] [stdout] 08fe10244adb0a49339cc89c2a4f97f3c856219ce0c7f8dec8a628734714e0a4