[INFO] fetching crate marlowe_lang 0.3.2... [INFO] checking marlowe_lang-0.3.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate marlowe_lang 0.3.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate marlowe_lang 0.3.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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate marlowe_lang 0.3.2 [INFO] finished tweaking crates.io crate marlowe_lang 0.3.2 [INFO] tweaked toml for crates.io crate marlowe_lang 0.3.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate marlowe_lang 0.3.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 02867646fdb72831687bc3fafdec08b0b56e15286a2938f808bad96cc9da8c78 [INFO] running `Command { std: "docker" "start" "-a" "02867646fdb72831687bc3fafdec08b0b56e15286a2938f808bad96cc9da8c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02867646fdb72831687bc3fafdec08b0b56e15286a2938f808bad96cc9da8c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02867646fdb72831687bc3fafdec08b0b56e15286a2938f808bad96cc9da8c78", kill_on_drop: false }` [INFO] [stdout] 02867646fdb72831687bc3fafdec08b0b56e15286a2938f808bad96cc9da8c78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dff15d734d5e508c41842c23b62798179814ad7112b1afbcc4baa2b1a97e5611 [INFO] running `Command { std: "docker" "start" "-a" "dff15d734d5e508c41842c23b62798179814ad7112b1afbcc4baa2b1a97e5611", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling minicbor v0.20.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking time v0.3.23 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap_builder v4.3.13 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling plutus_data_derive v0.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling pest v2.7.1 [INFO] [stderr] Checking clap v4.3.13 [INFO] [stderr] Compiling pest_meta v2.7.1 [INFO] [stderr] Compiling pest_generator v2.7.1 [INFO] [stderr] Compiling pest_derive v2.7.1 [INFO] [stderr] Checking pallas-codec v0.18.1 [INFO] [stderr] Checking serde_stacker v0.1.10 [INFO] [stderr] Checking pallas-crypto v0.18.1 [INFO] [stderr] Checking pallas-multiplexer v0.18.1 [INFO] [stderr] Checking pallas-addresses v0.18.1 [INFO] [stderr] Checking pallas-miniprotocols v0.18.1 [INFO] [stderr] Checking pallas-primitives v0.18.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking pallas-traverse v0.18.1 [INFO] [stderr] Checking pallas v0.18.1 [INFO] [stderr] Checking plutus_data v0.0.91 [INFO] [stderr] Checking marlowe_lang v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[macro_use] extern crate pest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[macro_use] extern crate pest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/parsing/marlowe.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 58 | let mut call_stack : Vec = vec![ [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let mut result_stack : Vec = vec![]; [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 473 | match result_stack.pop() { [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::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/serialization/json.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn serialize(json:T) -> Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | where T : serde::Serialize { [INFO] [stdout] 6 | match serde_json::to_string_pretty(&json) { [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 `std::result::Result>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/serialization/cborhex.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn serialize(data:T) -> Result where T:plutus_data::ToPlutusData{ [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3 | match plutus_data::to_hex( [INFO] [stdout] | ___________^ [INFO] [stdout] 4 | | &(data.to_plutus_data(&[])?) [INFO] [stdout] 5 | | ) { [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 `std::result::Result, Box>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/serialization/cborhex.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_bytes(data:T) -> Result,String> where T:plutus_data::ToPlutusData{ [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | match plutus_data::to_bytes( [INFO] [stdout] | ___________^ [INFO] [stdout] 14 | | &(data.to_plutus_data(&[])?) [INFO] [stdout] 15 | | ) { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/parsing/marlowe.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 58 | let mut call_stack : Vec = vec![ [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let mut result_stack : Vec = vec![]; [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 473 | match result_stack.pop() { [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: struct `TimeoutVisitor` is never constructed [INFO] [stdout] --> src/lib/deserialization/json.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct TimeoutVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/tests/core.rs:220:93 [INFO] [stdout] | [INFO] [stdout] 192 | fn modify(contract:Contract) -> Contract { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | Contract::Pay { from_account: party, to: payee, token: currency, pay: amount, then: continue_as } => [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: unused variable: `deserialized` [INFO] [stdout] --> src/lib/tests/serialization.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | let deserialized : crate::types::marlowe::InputAction = crate::deserialization::json::deserialize(j.into()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialized` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `types::marlowe::AccMap<(types::marlowe::Party, types::marlowe::Token), u128>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/tests/semantics.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 57 | let wait_for_choice_contract = Contract::When { [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let machine = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | let machine_of_first_kind = machine.0.apply_input_choice( [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let machine_of_second_kind = machine_of_second_kind.expect("nisse should be able to apply a second choice.").process().expect("should... [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let accs = machine_of_second_kind.0.as_datum().state.accounts; [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/tests/semantics.rs:482:59 [INFO] [stdout] | [INFO] [stdout] 429 | let test_case = PossiblyMerkleizedCase::Raw { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let contract = Contract::When { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | let deserialized_from_json = Contract::from_json(&json).expect("deserialize from json"); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 450 | let deserialized_from_dsl = Contract::from_dsl(&dsl, vec![]).expect("from dsl"); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | let machine = // 100 initial lovelace [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 479 | let (_instance,state) = machine.process().unwrap(); [INFO] [stdout] | --------- ----- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | crate::semantics::MachineState::WaitingForInput { expected, timeout } => { [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 `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/serialization/json.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn serialize(json:T) -> Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | where T : serde::Serialize { [INFO] [stdout] 6 | match serde_json::to_string_pretty(&json) { [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `marlowe_lang` (lib) due to 5 previous errors; 2 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/lib/serialization/cborhex.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn serialize(data:T) -> Result where T:plutus_data::ToPlutusData{ [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3 | match plutus_data::to_hex( [INFO] [stdout] | ___________^ [INFO] [stdout] 4 | | &(data.to_plutus_data(&[])?) [INFO] [stdout] 5 | | ) { [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 `std::result::Result, Box>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/serialization/cborhex.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_bytes(data:T) -> Result,String> where T:plutus_data::ToPlutusData{ [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | match plutus_data::to_bytes( [INFO] [stdout] | ___________^ [INFO] [stdout] 14 | | &(data.to_plutus_data(&[])?) [INFO] [stdout] 15 | | ) { [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: struct `TimeoutVisitor` is never constructed [INFO] [stdout] --> src/lib/deserialization/json.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct TimeoutVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/lib/parsing/fmt.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | format!("{}",fmt(s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `marlowe_lang` (lib test) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dff15d734d5e508c41842c23b62798179814ad7112b1afbcc4baa2b1a97e5611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff15d734d5e508c41842c23b62798179814ad7112b1afbcc4baa2b1a97e5611", kill_on_drop: false }` [INFO] [stdout] dff15d734d5e508c41842c23b62798179814ad7112b1afbcc4baa2b1a97e5611