[INFO] fetching crate inkpad 0.2.0... [INFO] checking inkpad-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate inkpad 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate inkpad 0.2.0 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] started tweaking crates.io crate inkpad 0.2.0 [INFO] finished tweaking crates.io crate inkpad 0.2.0 [INFO] tweaked toml for crates.io crate inkpad 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate inkpad 0.2.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5ea1dc98a74c4accc6d033c037b2de28369baa63ded5c2c8a210cc7c01152b2a [INFO] running `Command { std: "docker" "start" "-a" "5ea1dc98a74c4accc6d033c037b2de28369baa63ded5c2c8a210cc7c01152b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ea1dc98a74c4accc6d033c037b2de28369baa63ded5c2c8a210cc7c01152b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea1dc98a74c4accc6d033c037b2de28369baa63ded5c2c8a210cc7c01152b2a", kill_on_drop: false }` [INFO] [stdout] 5ea1dc98a74c4accc6d033c037b2de28369baa63ded5c2c8a210cc7c01152b2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bbe656fa308d0390ca035774b582f21403c13896f2e61b4b8f86b6f21e4349b0 [INFO] running `Command { std: "docker" "start" "-a" "bbe656fa308d0390ca035774b582f21403c13896f2e61b4b8f86b6f21e4349b0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking parity-wasm v0.42.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking wasmi-validation v0.4.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking inkpad-std v0.1.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking patract-wasmi v0.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking etc v0.1.16 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling inkpad-derive v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking inkpad-support v0.1.0 [INFO] [stderr] Checking inkpad-executor v0.1.0 [INFO] [stderr] Checking inkpad-sandbox v0.1.0 [INFO] [stderr] Checking inkpad-seal v0.1.0 [INFO] [stderr] Checking inkpad-runtime v0.1.0 [INFO] [stderr] Checking inkpad-ri v0.1.0 [INFO] [stderr] Checking inkpad v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CouldNotParseCommand(String); [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CouldNotParseCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ParseContractFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseContractFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DecodeAddressFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DecodeAddressFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Custom(String); [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Custom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/store.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 89 | let db = sled::open(etc.open(".inkpad/contracts")?.real_path()?)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let cache = db.open_tree(RUNTIME_CACHE)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 93 | | db, [INFO] [stdout] 94 | | cache, [INFO] [stdout] 95 | | frame: Vec::new(), [INFO] [stdout] 96 | | state: BTreeMap::new(), [INFO] [stdout] 97 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkpad` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CouldNotParseCommand(String); [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CouldNotParseCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ParseContractFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseContractFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DecodeAddressFailed(String); [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DecodeAddressFailed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/result.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Custom(String); [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Custom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/store.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 89 | let db = sled::open(etc.open(".inkpad/contracts")?.real_path()?)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let cache = db.open_tree(RUNTIME_CACHE)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 93 | | db, [INFO] [stdout] 94 | | cache, [INFO] [stdout] 95 | | frame: Vec::new(), [INFO] [stdout] 96 | | state: BTreeMap::new(), [INFO] [stdout] 97 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkpad` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bbe656fa308d0390ca035774b582f21403c13896f2e61b4b8f86b6f21e4349b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe656fa308d0390ca035774b582f21403c13896f2e61b4b8f86b6f21e4349b0", kill_on_drop: false }` [INFO] [stdout] bbe656fa308d0390ca035774b582f21403c13896f2e61b4b8f86b6f21e4349b0