[INFO] fetching crate fisco-bcos-cli 0.4.0... [INFO] checking fisco-bcos-cli-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fisco-bcos-cli 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate fisco-bcos-cli 0.4.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 fisco-bcos-cli 0.4.0 [INFO] finished tweaking crates.io crate fisco-bcos-cli 0.4.0 [INFO] tweaked toml for crates.io crate fisco-bcos-cli 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate fisco-bcos-cli 0.4.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] 13a9548f14b0f03abd013720e41c506b2418e06e9beb8f4dabea32e53e806c44 [INFO] running `Command { std: "docker" "start" "-a" "13a9548f14b0f03abd013720e41c506b2418e06e9beb8f4dabea32e53e806c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a9548f14b0f03abd013720e41c506b2418e06e9beb8f4dabea32e53e806c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a9548f14b0f03abd013720e41c506b2418e06e9beb8f4dabea32e53e806c44", kill_on_drop: false }` [INFO] [stdout] 13a9548f14b0f03abd013720e41c506b2418e06e9beb8f4dabea32e53e806c44 [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] 57bcf5909f3fd735cdb0f5b20f96feb66d54f4ac635c08423b7ec921224c2479 [INFO] running `Command { std: "docker" "start" "-a" "57bcf5909f3fd735cdb0f5b20f96feb66d54f4ac635c08423b7ec921224c2479", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uint v0.9.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking wedpr_l_macros v1.0.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking yasna v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking wedpr_l_libsm v0.3.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling tassl-src v0.1.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling fisco-bcos-service v0.4.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking fd-lock v2.0.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking sqlparser v0.12.0 [INFO] [stderr] Checking secp256k1 v0.19.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking fancy-regex v0.7.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking wedpr_l_utils v1.1.0 [INFO] [stderr] Checking wedpr_l_crypto_hash_sm3 v1.1.0 [INFO] [stderr] Checking wedpr_l_crypto_hash_keccak256 v1.1.0 [INFO] [stderr] Checking wedpr_l_crypto_signature_secp256k1 v1.1.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking wedpr_l_crypto_signature_sm2 v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking rustyline v8.2.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ethbloom v0.11.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethereum-types v0.12.1 [INFO] [stderr] Checking keccak-hash v0.8.0 [INFO] [stderr] Checking ethabi v14.1.0 [INFO] [stderr] Checking fisco-bcos-cli v0.4.0 (/opt/rustwide/workdir) [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/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(path) = home::home_dir() { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________________________________________| [INFO] [stdout] 52 | || rl.save_history(path.join(".fisco_bcos_history").as_path()).unwrap(); [INFO] [stdout] 53 | || } [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] = 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/cli.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn convert_str_to_number(value: &str, default: T) -> T { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | String::from(value).parse::().unwrap_or(default) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fisco-bcos-cli` (bin "fisco-bcos-cli") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(path) = home::home_dir() { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________________________________________| [INFO] [stdout] 52 | || rl.save_history(path.join(".fisco_bcos_history").as_path()).unwrap(); [INFO] [stdout] 53 | || } [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] = 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/cli.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn convert_str_to_number(value: &str, default: T) -> T { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | String::from(value).parse::().unwrap_or(default) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fisco-bcos-cli` (bin "fisco-bcos-cli" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "57bcf5909f3fd735cdb0f5b20f96feb66d54f4ac635c08423b7ec921224c2479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bcf5909f3fd735cdb0f5b20f96feb66d54f4ac635c08423b7ec921224c2479", kill_on_drop: false }` [INFO] [stdout] 57bcf5909f3fd735cdb0f5b20f96feb66d54f4ac635c08423b7ec921224c2479