[INFO] fetching crate qudag-exchange 0.2.0... [INFO] testing qudag-exchange-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate qudag-exchange 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate qudag-exchange 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate qudag-exchange 0.2.0 [INFO] tweaked toml for crates.io crate qudag-exchange 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qudag-exchange 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qudag-exchange 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72c22126b210c176d96742a5483dae3dfb473df50758ff4c154a9a511b543b54 [INFO] running `Command { std: "docker" "start" "-a" "72c22126b210c176d96742a5483dae3dfb473df50758ff4c154a9a511b543b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72c22126b210c176d96742a5483dae3dfb473df50758ff4c154a9a511b543b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c22126b210c176d96742a5483dae3dfb473df50758ff4c154a9a511b543b54", kill_on_drop: false }` [INFO] [stdout] 72c22126b210c176d96742a5483dae3dfb473df50758ff4c154a9a511b543b54 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c3992de1a1e746c97887cbe25228b73206ec60cc3dc4f16cc4201e6c881095 [INFO] running `Command { std: "docker" "start" "-a" "86c3992de1a1e746c97887cbe25228b73206ec60cc3dc4f16cc4201e6c881095", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pqcrypto-traits v0.3.5 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Compiling pqcrypto-hqc v0.2.1 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Compiling pqcrypto-kyber v0.5.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling metrics v0.21.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling qudag-crypto v0.5.0 [INFO] [stderr] Compiling qudag-dag v0.5.0 [INFO] [stderr] Compiling qudag-vault-core v0.5.0 [INFO] [stderr] Compiling qudag-exchange-core v0.4.0 [INFO] [stderr] Compiling qudag-exchange v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZeroizeOnDrop` [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn with_config(config: ExchangeConfig) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn create_account(&self, name: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/lib.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn create_account(&self, name: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/lib.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn get_balance>(&self, account: A) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/lib.rs:262:44 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn submit_transaction(&self, transaction: Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/lib.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | tx_id: &TransactionId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirmations` [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | confirmations: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirmations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> src/lib.rs:548:30 [INFO] [stdout] | [INFO] [stdout] 548 | pub async fn stop(&self, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Exchange { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 87 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exchange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `network`, `consensus`, `ledger`, and `config` are never read [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct ExchangeInner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 91 | network: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 92 | consensus: ConsensusAdapter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | ledger: Ledger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | config: ExchangeConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/lib.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 470 | pub struct Provider { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 471 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account` is never read [INFO] [stdout] --> src/lib.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 474 | struct ProviderInner { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 475 | account: Account, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_job_duration` is never read [INFO] [stdout] --> src/lib.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 596 | pub struct ProviderBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 601 | min_job_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exchange` is never read [INFO] [stdout] --> src/lib.rs:748:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub struct Market { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 748 | exchange: Exchange, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "86c3992de1a1e746c97887cbe25228b73206ec60cc3dc4f16cc4201e6c881095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c3992de1a1e746c97887cbe25228b73206ec60cc3dc4f16cc4201e6c881095", kill_on_drop: false }` [INFO] [stdout] 86c3992de1a1e746c97887cbe25228b73206ec60cc3dc4f16cc4201e6c881095 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d33675b4fac23ccaf51da6df5c0923d2db9be922ae022244457c5ba3398160f [INFO] running `Command { std: "docker" "start" "-a" "8d33675b4fac23ccaf51da6df5c0923d2db9be922ae022244457c5ba3398160f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZeroizeOnDrop` [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn with_config(config: ExchangeConfig) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn create_account(&self, name: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/lib.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn create_account(&self, name: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/lib.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn get_balance>(&self, account: A) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/lib.rs:262:44 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn submit_transaction(&self, transaction: Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/lib.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | tx_id: &TransactionId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirmations` [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | confirmations: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirmations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> src/lib.rs:548:30 [INFO] [stdout] | [INFO] [stdout] 548 | pub async fn stop(&self, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Exchange { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 87 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exchange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `network`, `consensus`, `ledger`, and `config` are never read [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct ExchangeInner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 91 | network: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 92 | consensus: ConsensusAdapter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | ledger: Ledger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | config: ExchangeConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/lib.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 470 | pub struct Provider { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 471 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `account` is never read [INFO] [stdout] --> src/lib.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 474 | struct ProviderInner { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 475 | account: Account, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_job_duration` is never read [INFO] [stdout] --> src/lib.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 596 | pub struct ProviderBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 601 | min_job_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exchange` is never read [INFO] [stdout] --> src/lib.rs:748:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub struct Market { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 748 | exchange: Exchange, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling qudag-exchange v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/performance_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZeroizeOnDrop` [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn with_config(config: ExchangeConfig) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn create_account(&self, name: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/lib.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn create_account(&self, name: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/lib.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn get_balance>(&self, account: A) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/lib.rs:262:44 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn submit_transaction(&self, transaction: Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/lib.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | tx_id: &TransactionId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirmations` [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | confirmations: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirmations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> src/lib.rs:548:30 [INFO] [stdout] | [INFO] [stdout] 548 | pub async fn stop(&self, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/performance_tests.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/performance_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Layout`, `alloc`, and `dealloc` [INFO] [stdout] --> tests/performance_tests.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | use std::alloc::{alloc, dealloc, Layout}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for struct `qudag_exchange_core::Account` in the current scope [INFO] [stdout] --> src/lib.rs:854:26 [INFO] [stdout] | [INFO] [stdout] 854 | assert!(!account.address().is_empty()); [INFO] [stdout] | ^^^^^^^ method not found in `qudag_exchange_core::Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/error.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut error = SecureError::new("sensitive data".to_string()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exchange` [INFO] [stdout] --> src/lib.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 846 | let exchange = Exchange::new("testnet").await.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/performance_tests.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 63 | let results: Vec = transactions [INFO] [stdout] | ______________________________- [INFO] [stdout] 64 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.10.0/src/iter/mod.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn par_iter(&'data self) -> Self::Iter; [INFO] [stdout] | -------- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoParallelRefIterator` which provides `par_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use rayon::iter::IntoParallelRefIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 - .par_iter() [INFO] [stdout] 64 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-exchange` (lib test) due to 1 previous error; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/performance_tests.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account_id` [INFO] [stdout] --> tests/performance_tests.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let account_id = generate_random_account_id(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_id` [INFO] [stdout] --> tests/performance_tests.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|thread_id| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-exchange` (test "performance_tests") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d33675b4fac23ccaf51da6df5c0923d2db9be922ae022244457c5ba3398160f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d33675b4fac23ccaf51da6df5c0923d2db9be922ae022244457c5ba3398160f", kill_on_drop: false }` [INFO] [stdout] 8d33675b4fac23ccaf51da6df5c0923d2db9be922ae022244457c5ba3398160f