[INFO] fetching crate xrpl-rs 0.1.0... [INFO] building xrpl-rs-0.1.0 against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] extracting crate xrpl-rs 0.1.0 into /workspace/builds/worker-30/source [INFO] validating manifest of crates.io crate xrpl-rs 0.1.0 on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xrpl-rs 0.1.0 [INFO] finished tweaking crates.io crate xrpl-rs 0.1.0 [INFO] tweaked toml for crates.io crate xrpl-rs 0.1.0 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate crates.io crate xrpl-rs 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tls v0.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.35 [INFO] [stderr] Downloaded secp256k1 v0.21.1 [INFO] [stderr] Downloaded websocket v0.26.2 [INFO] [stderr] Downloaded h2 v0.3.9 [INFO] [stderr] Downloaded reqwest v0.11.8 [INFO] [stderr] Downloaded rust_decimal v1.19.0 [INFO] [stderr] Downloaded sha256 v1.0.3 [INFO] [stderr] Downloaded websocket-base v0.26.2 [INFO] [stderr] Downloaded serde-xrpl v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67db5c137db30f3f8ff4ff477ce153dbc5fb7cd59446935f2ef7bab64ae38ea7 [INFO] running `Command { std: "docker" "start" "-a" "67db5c137db30f3f8ff4ff477ce153dbc5fb7cd59446935f2ef7bab64ae38ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67db5c137db30f3f8ff4ff477ce153dbc5fb7cd59446935f2ef7bab64ae38ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67db5c137db30f3f8ff4ff477ce153dbc5fb7cd59446935f2ef7bab64ae38ea7", kill_on_drop: false }` [INFO] [stdout] 67db5c137db30f3f8ff4ff477ce153dbc5fb7cd59446935f2ef7bab64ae38ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c178456ba452791d3cfa4679e54be271852e816981a29410356fa2320fd2071 [INFO] running `Command { std: "docker" "start" "-a" "4c178456ba452791d3cfa4679e54be271852e816981a29410356fa2320fd2071", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.35 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bitcoin_hashes v0.10.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha2 v0.10.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling sha256 v1.0.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling secp256k1 v0.21.1 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket-base v0.26.2 [INFO] [stderr] Compiling websocket v0.26.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling rust_decimal v1.19.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling serde-xrpl v0.1.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling xrpl-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Error` [INFO] [stdout] --> src/transports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as APIError` [INFO] [stdout] --> src/transports.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use super::types::{Response,Result as APIResult, Error as APIError, RequestId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::Context` [INFO] [stdout] --> src/transports.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | task::Context, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/transports.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/transports.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/transports.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#async::Client as WSClient` [INFO] [stdout] --> src/transports.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | r#async::Client as WSClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountRoot`, `Address`, `LedgerEntry`, `LedgerInfo`, `PaginationInfo`, `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: `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 variable: `e` [INFO] [stdout] --> src/signing/mod.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | self.fee = Some(drops.try_into().map_err(|e| Error::InvalidDrops)?); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/signing/mod.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | self.max_fee = drops.try_into().map_err(|e| Error::InvalidDrops)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/transports.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/transports.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | params: Params, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_secret` [INFO] [stdout] --> src/signing/mod.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn decode_secret(secret: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `counter` [INFO] [stdout] --> src/transports.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | counter: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender` [INFO] [stdout] --> src/transports.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.60s [INFO] running `Command { std: "docker" "inspect" "4c178456ba452791d3cfa4679e54be271852e816981a29410356fa2320fd2071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c178456ba452791d3cfa4679e54be271852e816981a29410356fa2320fd2071", kill_on_drop: false }` [INFO] [stdout] 4c178456ba452791d3cfa4679e54be271852e816981a29410356fa2320fd2071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f00be420c354cb116455b68f69a123e7557ea12d26984dba79169f547d07f0c5 [INFO] running `Command { std: "docker" "start" "-a" "f00be420c354cb116455b68f69a123e7557ea12d26984dba79169f547d07f0c5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Error` [INFO] [stdout] --> src/transports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as APIError` [INFO] [stdout] --> src/transports.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use super::types::{Response,Result as APIResult, Error as APIError, RequestId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::Context` [INFO] [stdout] --> src/transports.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | task::Context, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/transports.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/transports.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/transports.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#async::Client as WSClient` [INFO] [stdout] --> src/transports.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | r#async::Client as WSClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountRoot`, `Address`, `LedgerEntry`, `LedgerInfo`, `PaginationInfo`, `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] [stderr] Compiling xrpl-rs v0.1.0 (/opt/rustwide/workdir) [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 variable: `e` [INFO] [stdout] --> src/signing/mod.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | self.fee = Some(drops.try_into().map_err(|e| Error::InvalidDrops)?); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/signing/mod.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | self.max_fee = drops.try_into().map_err(|e| Error::InvalidDrops)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/transports.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/transports.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | params: Params, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_secret` [INFO] [stdout] --> src/signing/mod.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn decode_secret(secret: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `counter` [INFO] [stdout] --> src/transports.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | counter: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender` [INFO] [stdout] --> src/transports.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message`, `PublicKey`, `Secp256k1`, `SecretKey` [INFO] [stdout] --> examples/account_submit_payment.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> examples/account_submit_payment.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha512` [INFO] [stdout] --> examples/account_submit_payment.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use sha2::{Digest, Sha512}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signer`, `TransactionType`, `Transaction` [INFO] [stdout] --> examples/account_submit_payment.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | signing::{Signer, Wallet}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | transaction::types::{Payment, Transaction, TransactionType}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> examples/account_submit_payment.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sha2::{Digest, Sha512}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Error` [INFO] [stdout] --> src/transports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as APIError` [INFO] [stdout] --> src/transports.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use super::types::{Response,Result as APIResult, Error as APIError, RequestId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::Context` [INFO] [stdout] --> src/transports.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | task::Context, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/transports.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/transports.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/transports.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#async::Client as WSClient` [INFO] [stdout] --> src/transports.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | r#async::Client as WSClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountRoot`, `Address`, `LedgerEntry`, `LedgerInfo`, `PaginationInfo`, `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: `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 variable: `e` [INFO] [stdout] --> src/signing/mod.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | self.fee = Some(drops.try_into().map_err(|e| Error::InvalidDrops)?); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/signing/mod.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | self.max_fee = drops.try_into().map_err(|e| Error::InvalidDrops)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/transports.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/transports.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | params: Params, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_secret` [INFO] [stdout] --> src/signing/mod.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn decode_secret(secret: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `counter` [INFO] [stdout] --> src/transports.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | counter: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender` [INFO] [stdout] --> src/transports.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.84s [INFO] running `Command { std: "docker" "inspect" "f00be420c354cb116455b68f69a123e7557ea12d26984dba79169f547d07f0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f00be420c354cb116455b68f69a123e7557ea12d26984dba79169f547d07f0c5", kill_on_drop: false }` [INFO] [stdout] f00be420c354cb116455b68f69a123e7557ea12d26984dba79169f547d07f0c5