[INFO] fetching crate marlowe_lang 0.3.2... [INFO] checking marlowe_lang-0.3.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate marlowe_lang 0.3.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate marlowe_lang 0.3.2 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-2-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-2-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0845350f73b0eb8c75599aa0bc1b7cf351261ce4788244fda4ed0326db6933ba [INFO] running `Command { std: "docker" "start" "-a" "0845350f73b0eb8c75599aa0bc1b7cf351261ce4788244fda4ed0326db6933ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0845350f73b0eb8c75599aa0bc1b7cf351261ce4788244fda4ed0326db6933ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0845350f73b0eb8c75599aa0bc1b7cf351261ce4788244fda4ed0326db6933ba", kill_on_drop: false }` [INFO] [stdout] 0845350f73b0eb8c75599aa0bc1b7cf351261ce4788244fda4ed0326db6933ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 26411a523b053d05e3447955ce2e7abc0b86650081af03c720a5c7db917826e5 [INFO] running `Command { std: "docker" "start" "-a" "26411a523b053d05e3447955ce2e7abc0b86650081af03c720a5c7db917826e5", 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 syn v1.0.109 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling minicbor v0.20.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking time v0.3.23 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking clap_builder v4.3.13 [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] 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 `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] = 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, 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 `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] 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ContractInstance` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/tests/semantics.rs:495:22 [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] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 495 | let (a,b) = [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] 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: 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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `marlowe_lang` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `marlowe_lang` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "26411a523b053d05e3447955ce2e7abc0b86650081af03c720a5c7db917826e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26411a523b053d05e3447955ce2e7abc0b86650081af03c720a5c7db917826e5", kill_on_drop: false }` [INFO] [stdout] 26411a523b053d05e3447955ce2e7abc0b86650081af03c720a5c7db917826e5