[INFO] fetching crate qudag-exchange 0.2.0... [INFO] checking qudag-exchange-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate qudag-exchange 0.2.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qudag-exchange 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90ec12889cc56bad2bfe86d1efa5f704242438b7cc4b9ff1c713ce2da21e8d92 [INFO] running `Command { std: "docker" "start" "-a" "90ec12889cc56bad2bfe86d1efa5f704242438b7cc4b9ff1c713ce2da21e8d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90ec12889cc56bad2bfe86d1efa5f704242438b7cc4b9ff1c713ce2da21e8d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ec12889cc56bad2bfe86d1efa5f704242438b7cc4b9ff1c713ce2da21e8d92", kill_on_drop: false }` [INFO] [stdout] 90ec12889cc56bad2bfe86d1efa5f704242438b7cc4b9ff1c713ce2da21e8d92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49347f9cf1f61cc3d8a2022fb0b3edcf4149e4c65d1be0ce877740802a403b6c [INFO] running `Command { std: "docker" "start" "-a" "49347f9cf1f61cc3d8a2022fb0b3edcf4149e4c65d1be0ce877740802a403b6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pqcrypto-traits v0.3.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Compiling blake3 v1.8.2 [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] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking metrics v0.21.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking qudag-crypto v0.5.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking qudag-dag v0.5.0 [INFO] [stderr] Checking qudag-vault-core v0.5.0 [INFO] [stderr] Checking qudag-exchange-core v0.4.0 [INFO] [stderr] Checking 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)]` 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 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)]` 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)]` 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: 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)]` 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: 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)]` 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: 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 `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] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [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] 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 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] 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)]` 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] For more information about this error, try `rustc --explain E0599`. [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[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] [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)]` 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> benches/exchange_benchmarks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/exchange_benchmarks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dashmap` [INFO] [stdout] --> benches/exchange_benchmarks.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `dashmap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dashmap`, use `cargo add dashmap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lru` [INFO] [stdout] --> benches/exchange_benchmarks.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | use lru::LruCache; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `lru` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lru`, use `cargo add lru` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> benches/exchange_benchmarks.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `parking_lot` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parking_lot`, use `cargo add parking_lot` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec` in the current scope [INFO] [stdout] --> benches/exchange_benchmarks.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 149 | / transactions [INFO] [stdout] 150 | | .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] 1 + use rayon::iter::IntoParallelRefIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 - .par_iter() [INFO] [stdout] 150 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_cpus` [INFO] [stdout] --> benches/exchange_benchmarks.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let num_threads = num_cpus::get(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `num_cpus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_cpus`, use `cargo add num_cpus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> benches/exchange_benchmarks.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | (0..num_threads).into_par_iter().for_each(|thread_id| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.10.0/src/iter/mod.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range<{integer}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoParallelIterator` which provides `into_par_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rayon::iter::IntoParallelIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 171 - (0..num_threads).into_par_iter().for_each(|thread_id| { [INFO] [stdout] 171 + (0..num_threads).into_iter().for_each(|thread_id| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> benches/exchange_benchmarks.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | (0..num_threads).into_par_iter().for_each(|thread_id| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.10.0/src/iter/mod.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range<{integer}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoParallelIterator` which provides `into_par_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rayon::iter::IntoParallelIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 184 - (0..num_threads).into_par_iter().for_each(|thread_id| { [INFO] [stdout] 184 + (0..num_threads).into_iter().for_each(|thread_id| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> benches/exchange_benchmarks.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn verify_transaction_signature(tx: &Transaction) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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` (bench "exchange_benchmarks") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "49347f9cf1f61cc3d8a2022fb0b3edcf4149e4c65d1be0ce877740802a403b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49347f9cf1f61cc3d8a2022fb0b3edcf4149e4c65d1be0ce877740802a403b6c", kill_on_drop: false }` [INFO] [stdout] 49347f9cf1f61cc3d8a2022fb0b3edcf4149e4c65d1be0ce877740802a403b6c