[INFO] fetching crate web30 1.4.0... [INFO] checking web30-1.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate web30 1.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate web30 1.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 web30 1.4.0 [INFO] finished tweaking crates.io crate web30 1.4.0 [INFO] tweaked toml for crates.io crate web30 1.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bnum v0.5.0 (latest: v0.11.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding env_logger v0.10.2 (latest: v0.11.5) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding secp256k1 v0.28.2 (latest: v0.29.0) [INFO] [stderr] Adding secp256k1-sys v0.9.2 (latest: v0.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ba327a9f23004b5d631951ce17bc940fd5f4aef5c65b6422a8e3f82d517433bc [INFO] running `Command { std: "docker" "start" "-a" "ba327a9f23004b5d631951ce17bc940fd5f4aef5c65b6422a8e3f82d517433bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba327a9f23004b5d631951ce17bc940fd5f4aef5c65b6422a8e3f82d517433bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba327a9f23004b5d631951ce17bc940fd5f4aef5c65b6422a8e3f82d517433bc", kill_on_drop: false }` [INFO] [stdout] ba327a9f23004b5d631951ce17bc940fd5f4aef5c65b6422a8e3f82d517433bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 48b4a4a6224fd4a9f8f3d20734c5ff54614dfd5b386b88b6c2624e37b6bc3fed [INFO] running `Command { std: "docker" "start" "-a" "48b4a4a6224fd4a9f8f3d20734c5ff54614dfd5b386b88b6c2624e37b6bc3fed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking bnum v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking num256 v0.5.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clarity v1.4.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking awc v3.5.1 [INFO] [stderr] Checking web30 v1.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/client.rs:868:21 [INFO] [stdout] | [INFO] [stdout] 865 | let runner = System::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 866 | let web3 = Web3::new("https://eth.althea.net", Duration::from_secs(30)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 867 | let web3_xdai = Web3::new("https://dai.althea.net", Duration::from_secs(30)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 868 | runner.block_on(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 869 | | assert_eq!(Some(Uint256::from(1u8)), web3.eth_chainid().await.unwrap()); [INFO] [stdout] 870 | | assert_eq!( [INFO] [stdout] 871 | | Some(Uint256::from(100u8)), [INFO] [stdout] 872 | | web3_xdai.eth_chainid().await.unwrap() [INFO] [stdout] 873 | | ); [INFO] [stdout] 874 | | }) [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/client.rs:883:21 [INFO] [stdout] | [INFO] [stdout] 880 | let runner = System::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 881 | let web3_xdai = Web3::new("https://dai.althea.net", Duration::from_secs(30)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 882 | let web3 = Web3::new("https://eth.althea.net", Duration::from_secs(30)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 883 | runner.block_on(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 884 | | assert_eq!(1u64, web3.net_version().await.unwrap()); [INFO] [stdout] 885 | | assert_eq!(100u64, web3_xdai.net_version().await.unwrap()); [INFO] [stdout] 886 | | }) [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/client.rs:897:21 [INFO] [stdout] | [INFO] [stdout] 892 | let runner = System::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 893 | let web3 = Web3::new("https://eth.althea.net", Duration::from_secs(30)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 897 | runner.block_on(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 898 | | let val = web3.eth_get_transaction_by_hash(txid1).await; [INFO] [stdout] 899 | | let val = val.expect("Actix failure"); [INFO] [stdout] 900 | | let response = val.expect("Failed to parse transaction response"); [INFO] [stdout] 901 | | assert!(response.get_block_number().unwrap() > 10u32.into()); [INFO] [stdout] 902 | | }) [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/erc20_utils.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 317 | let runner = System::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | let web3 = Web3::new("https://eth.althea.net", Duration::from_secs(30)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | runner.block_on(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 327 | | assert_eq!( [INFO] [stdout] 328 | | web3.get_erc20_decimals(dai_address, caller_address) [INFO] [stdout] 329 | | .await [INFO] [stdout] ... | [INFO] [stdout] 351 | | ); [INFO] [stdout] 352 | | }) [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/erc721_utils.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 296 | let runner = System::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let web3 = Web3::new("https://eth.althea.net", Duration::from_secs(30)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | runner.block_on(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 309 | | let num: Uint256 = 1000u32.into(); [INFO] [stdout] 310 | | assert!( [INFO] [stdout] 311 | | web3.get_erc721_supply(bayc_address, caller_address) [INFO] [stdout] ... | [INFO] [stdout] 333 | | ); [INFO] [stdout] 334 | | }) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web30` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "48b4a4a6224fd4a9f8f3d20734c5ff54614dfd5b386b88b6c2624e37b6bc3fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b4a4a6224fd4a9f8f3d20734c5ff54614dfd5b386b88b6c2624e37b6bc3fed", kill_on_drop: false }` [INFO] [stdout] 48b4a4a6224fd4a9f8f3d20734c5ff54614dfd5b386b88b6c2624e37b6bc3fed