[INFO] fetching crate xrpl-rs 0.1.7... [INFO] checking xrpl-rs-0.1.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate xrpl-rs 0.1.7 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate xrpl-rs 0.1.7 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 xrpl-rs 0.1.7 [INFO] finished tweaking crates.io crate xrpl-rs 0.1.7 [INFO] tweaked toml for crates.io crate xrpl-rs 0.1.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate xrpl-rs 0.1.7 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] 317c7d47ceffc7a446175e3db1f9fd39a9b0a53270edb280bb12524acf330ec8 [INFO] running `Command { std: "docker" "start" "-a" "317c7d47ceffc7a446175e3db1f9fd39a9b0a53270edb280bb12524acf330ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "317c7d47ceffc7a446175e3db1f9fd39a9b0a53270edb280bb12524acf330ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317c7d47ceffc7a446175e3db1f9fd39a9b0a53270edb280bb12524acf330ec8", kill_on_drop: false }` [INFO] [stdout] 317c7d47ceffc7a446175e3db1f9fd39a9b0a53270edb280bb12524acf330ec8 [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] 6a3572470f3749dc443dc0594923f788a6a597c6c2ac98c38a31990bb2d8766b [INFO] running `Command { std: "docker" "start" "-a" "6a3572470f3749dc443dc0594923f788a6a597c6c2ac98c38a31990bb2d8766b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.35 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking signature v1.5.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking ed25519 v1.5.2 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking sha256 v1.0.3 [INFO] [stderr] Checking ripemd v0.1.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking simple_logger v2.1.0 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking websocket-base v0.26.2 [INFO] [stderr] Checking websocket v0.26.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking secp256k1 v0.21.3 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tungstenite v0.17.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-tungstenite v0.17.1 [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rust_decimal v1.19.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking serde_with v1.13.0 [INFO] [stderr] Checking serde-xrpl v0.1.2 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking xrpl-rs v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountRoot`, `Address`, `LedgerEntry`, `LedgerInfo`, `PaginationInfo`, and `SignerList` [INFO] [stdout] --> src/types/fee.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Address, CurrencyAmount, LedgerInfo, PaginationInfo, SignerList, AccountRoot, LedgerEntry}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountRoot`, `Address`, `CurrencyAmount`, `LedgerEntry`, `LedgerInfo`, `PaginationInfo`, and `SignerList` [INFO] [stdout] --> src/types/channels.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Address, CurrencyAmount, LedgerInfo, PaginationInfo, SignerList, AccountRoot, LedgerEntry, BigInt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transaction::types::Transaction` [INFO] [stdout] --> src/types/tx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transaction::types::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountRoot`, `Address`, `LedgerEntry`, `LedgerInfo`, `PaginationInfo`, and `SignerList` [INFO] [stdout] --> src/types/fee.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Address, CurrencyAmount, LedgerInfo, PaginationInfo, SignerList, AccountRoot, LedgerEntry}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/types/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountRoot`, `Address`, `CurrencyAmount`, `LedgerEntry`, `LedgerInfo`, `PaginationInfo`, and `SignerList` [INFO] [stdout] --> src/types/channels.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Address, CurrencyAmount, LedgerInfo, PaginationInfo, SignerList, AccountRoot, LedgerEntry, BigInt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/types/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/types/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/types/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transaction::types::Transaction` [INFO] [stdout] --> src/types/tx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transaction::types::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/types/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/types/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/types/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/types/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/utils/testnet/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> src/wallet/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/wallet/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | rand::rngs::OsRng, All, Error as Secp256k1Error, KeyPair as Secp256k1KeyPair, Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/wallet/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PaymentChannelClaim` [INFO] [stdout] --> src/wallet/mod.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::transaction::types::{PaymentChannelClaim, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/utils/testnet/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> src/wallet/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/wallet/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | rand::rngs::OsRng, All, Error as Secp256k1Error, KeyPair as Secp256k1KeyPair, Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/wallet/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PaymentChannelClaim` [INFO] [stdout] --> src/wallet/mod.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::transaction::types::{PaymentChannelClaim, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> src/transports.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct HTTP { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 83 | counter: AtomicU64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/transports.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct PendingRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 149 | id: RequestId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `secret` is never read [INFO] [stdout] --> src/wallet/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_secret` is never used [INFO] [stdout] --> src/wallet/mod.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode_secret(secret: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/transports.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 99 | params: Params, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | ) -> Result { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 101 | | let json_str = serde_json::to_string(&JsonRPCRequest { [INFO] [stdout] 102 | | method: method.to_owned(), [INFO] [stdout] 103 | | params: vec![params], [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [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/transports.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(sender: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | Self { [INFO] [stdout] 170 | counter: Arc::new(AtomicU64::new(1u64)), [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/transports.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(sender: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | pending_requests: Arc::new(Mutex::new(HashMap::new())), [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/transports.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(sender: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | subscriptions: Arc::new(Mutex::new(Vec::new())), [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/transports.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 186 | params: Params, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | ) -> Result { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 188 | | let mut sender = self.sender.clone(); [INFO] [stdout] 189 | | let id = self.counter.fetch_add(1u64, Ordering::Relaxed); [INFO] [stdout] 190 | | let (s, r) = mpsc::channel(1); [INFO] [stdout] ... | [INFO] [stdout] 219 | | } [INFO] [stdout] 220 | | } [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/transports.rs:287:85 [INFO] [stdout] | [INFO] [stdout] 287 | ... .map(|p| p.get(&res.get_id().unwrap()).and_then(|p|Some(p.clone()))).unwrap(); [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/types/account.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | #[derive(Debug, Serialize, Deserialize, Eq, PartialEq, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types/submit.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Serialize, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types/subscribe.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xrpl-rs` (lib) due to 10 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> src/transports.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct HTTP { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 83 | counter: AtomicU64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/transports.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct PendingRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 149 | id: RequestId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `secret` is never read [INFO] [stdout] --> src/wallet/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_secret` is never used [INFO] [stdout] --> src/wallet/mod.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode_secret(secret: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/transports.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 99 | params: Params, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | ) -> Result { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 101 | | let json_str = serde_json::to_string(&JsonRPCRequest { [INFO] [stdout] 102 | | method: method.to_owned(), [INFO] [stdout] 103 | | params: vec![params], [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [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/transports.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(sender: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | Self { [INFO] [stdout] 170 | counter: Arc::new(AtomicU64::new(1u64)), [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/transports.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(sender: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | pending_requests: Arc::new(Mutex::new(HashMap::new())), [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/transports.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(sender: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | subscriptions: Arc::new(Mutex::new(Vec::new())), [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/transports.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 186 | params: Params, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | ) -> Result { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 188 | | let mut sender = self.sender.clone(); [INFO] [stdout] 189 | | let id = self.counter.fetch_add(1u64, Ordering::Relaxed); [INFO] [stdout] 190 | | let (s, r) = mpsc::channel(1); [INFO] [stdout] ... | [INFO] [stdout] 219 | | } [INFO] [stdout] 220 | | } [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/transports.rs:287:85 [INFO] [stdout] | [INFO] [stdout] 287 | ... .map(|p| p.get(&res.get_id().unwrap()).and_then(|p|Some(p.clone()))).unwrap(); [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/types/account.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | #[derive(Debug, Serialize, Deserialize, Eq, PartialEq, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types/submit.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Serialize, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types/subscribe.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | match res { [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 249 | || Err(e) => { [INFO] [stdout] 250 | || eprintln!("test failed: {:?}", e); [INFO] [stdout] 251 | || } [INFO] [stdout] ... || [INFO] [stdout] 254 | || } [INFO] [stdout] 255 | || } [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xrpl-rs` (lib test) due to 11 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6a3572470f3749dc443dc0594923f788a6a597c6c2ac98c38a31990bb2d8766b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3572470f3749dc443dc0594923f788a6a597c6c2ac98c38a31990bb2d8766b", kill_on_drop: false }` [INFO] [stdout] 6a3572470f3749dc443dc0594923f788a6a597c6c2ac98c38a31990bb2d8766b