[INFO] cloning repository https://github.com/mi4uu/r-squared-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mi4uu/r-squared-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmi4uu%2Fr-squared-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmi4uu%2Fr-squared-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49b756b12a421514ed283810f467e0bce9fff9a1 [INFO] testing mi4uu/r-squared-rust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmi4uu%2Fr-squared-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mi4uu/r-squared-rust [INFO] finished tweaking git repo https://github.com/mi4uu/r-squared-rust [INFO] tweaked toml for git repo https://github.com/mi4uu/r-squared-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mi4uu/r-squared-rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mi4uu/r-squared-rust 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7a2247d39fa95d0ca1b05916a4ef9cf024c5ebbd245356fd41fd28fd332b069 [INFO] running `Command { std: "docker" "start" "-a" "c7a2247d39fa95d0ca1b05916a4ef9cf024c5ebbd245356fd41fd28fd332b069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7a2247d39fa95d0ca1b05916a4ef9cf024c5ebbd245356fd41fd28fd332b069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a2247d39fa95d0ca1b05916a4ef9cf024c5ebbd245356fd41fd28fd332b069", kill_on_drop: false }` [INFO] [stdout] c7a2247d39fa95d0ca1b05916a4ef9cf024c5ebbd245356fd41fd28fd332b069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7844d876f09f8739ab84550cd444ca591d30d17aa7053d6a1e97938e253be024 [INFO] running `Command { std: "docker" "start" "-a" "7844d876f09f8739ab84550cd444ca591d30d17aa7053d6a1e97938e253be024", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling generic-array v1.2.0 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.11.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling secp256k1 v0.31.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling r-squared-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/chain/chain_validation.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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: `Cursor` [INFO] [stdout] --> src/serializer/fast_parser.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Cursor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/chain/account_login.rs:434:29 [INFO] [stdout] | [INFO] [stdout] 434 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/chain/account_login.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/chain/account_login.rs:450:29 [INFO] [stdout] | [INFO] [stdout] 450 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/brain_key.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/brain_key.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/aes.rs:282:23 [INFO] [stdout] | [INFO] [stdout] 282 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/aes.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/key_utils.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/key_utils.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/key_utils.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/aes.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/aes.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/aes.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ecc/address.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_url` [INFO] [stdout] --> src/chain/transaction_helper.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | api_url: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/ecc/brain_key.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let index = rng.gen_range(0..dictionary.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/ecc/aes.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | (0..16).map(|_| rng.gen()).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::SecretKey::from_slice`: Use `from_byte_array` instead. [INFO] [stdout] --> src/ecc/aes.rs:222:37 [INFO] [stdout] | [INFO] [stdout] 222 | let secret_key = SecretKey::from_slice(private_key) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/ecc/aes.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | rng.gen() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/ecc/aes.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | rng.gen() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::SecretKey::from_slice`: Use `from_byte_array` instead. [INFO] [stdout] --> src/ecc/private_key.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | let key = SecretKey::from_slice(bytes) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/ecc/key_utils.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | (0..length).map(|_| rng.gen()).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest instead [INFO] [stdout] --> src/ecc/public_key.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | let message = Message::from_slice(message_hash) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/ecc/key_utils.rs:170:43 [INFO] [stdout] | [INFO] [stdout] 170 | let random_byte: u8 = rng.gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest instead [INFO] [stdout] --> src/ecc/private_key.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | let message = Message::from_slice(message_hash) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::SecretKey::from_slice`: Use `from_byte_array` instead. [INFO] [stdout] --> src/ecc/private_key.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | if let Ok(zero_key) = SecretKey::from_slice(&zero_bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/ecc/address.rs:265:34 [INFO] [stdout] | [INFO] [stdout] 265 | let hash: [u8; 20] = rng.gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/ecc/aes.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | rng.gen() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/chain/account_login.rs:435:42 [INFO] [stdout] | [INFO] [stdout] 435 | let random_bytes: [u8; 16] = rng.gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/chain/account_login.rs:443:42 [INFO] [stdout] | [INFO] [stdout] 443 | let random_bytes: [u8; 32] = rng.gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/chain/account_login.rs:451:42 [INFO] [stdout] | [INFO] [stdout] 451 | let random_bytes: [u8; 32] = rng.gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/ecc/public_key.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use ripemd::{Ripemd160, Digest as RipemdDigest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ripemd::Digest` [INFO] [stdout] --> src/ecc/address.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ripemd::Digest as RipemdDigest; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/ecc/brain_key.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/ecc/hash.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use ripemd::{Ripemd160, Digest as RipemdDigest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/storage/storage_local.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/chain/number_utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageApi` [INFO] [stdout] --> src/storage/storage_local.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | StorageApi, StorageApiSync, StorageConfig, StorageMetadata, StorageBackend, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/storage/storage_local.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `credentials` [INFO] [stdout] --> src/chain/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn login(&mut self, credentials: &LoginCredentials) -> ChainResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_credentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_compressed` [INFO] [stdout] --> src/ecc/private_key.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let is_compressed = if decoded.len() == 38 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_compressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero_key` [INFO] [stdout] --> src/ecc/private_key.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | if let Ok(zero_key) = SecretKey::from_slice(&zero_bytes) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zero_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/serializer/serializer_operation.rs:574:36 [INFO] [stdout] | [INFO] [stdout] 574 | fn deserialize_account_options(data: &[u8], offset: &mut usize) -> SerializerResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/serializer/serializer_operation.rs:589:34 [INFO] [stdout] | [INFO] [stdout] 589 | fn deserialize_asset_options(data: &[u8], offset: &mut usize) -> SerializerResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fill_or_kill` [INFO] [stdout] --> src/serializer/serializer_validation.rs:96:95 [INFO] [stdout] | [INFO] [stdout] 96 | Operation::LimitOrderCreate { seller, amount_to_sell, min_to_receive, expiration, fill_or_kill, fee, extensions } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `fill_or_kill: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/serializer/serializer_validation.rs:117:100 [INFO] [stdout] | [INFO] [stdout] 117 | Operation::AccountCreate { registrar, referrer, referrer_percent, name, owner, active, options, fee, extensions } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `options: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_options` [INFO] [stdout] --> src/serializer/serializer_validation.rs:134:64 [INFO] [stdout] | [INFO] [stdout] 134 | Operation::AccountUpdate { account, owner, active, new_options, fee, extensions } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `new_options: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `common_options` [INFO] [stdout] --> src/serializer/serializer_validation.rs:148:65 [INFO] [stdout] | [INFO] [stdout] 148 | Operation::AssetCreate { issuer, symbol, precision, common_options, bitasset_opts, is_prediction_market, fee, extensions } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `common_options: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bitasset_opts` [INFO] [stdout] --> src/serializer/serializer_validation.rs:148:81 [INFO] [stdout] | [INFO] [stdout] 148 | Operation::AssetCreate { issuer, symbol, precision, common_options, bitasset_opts, is_prediction_market, fee, extensions } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `bitasset_opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_prediction_market` [INFO] [stdout] --> src/serializer/serializer_validation.rs:148:96 [INFO] [stdout] | [INFO] [stdout] 148 | Operation::AssetCreate { issuer, symbol, precision, common_options, bitasset_opts, is_prediction_market, fee, extensions } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `is_prediction_market: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_options` [INFO] [stdout] --> src/serializer/serializer_validation.rs:162:63 [INFO] [stdout] | [INFO] [stdout] 162 | Operation::AssetUpdate { issuer, asset_to_update, new_options, fee, extensions } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `new_options: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/serializer/serializer_validation.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | Operation::Custom { id, payer, required_auths, data, fee, extensions } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/serializer/serializer_validation.rs:547:38 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn comprehensive_validate(data: &T, type_name: &str) -> SerializerResult<()> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/ecc/mod.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn recover_public_key(message: &[u8], signature: &Signature) -> EccResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signing_data` [INFO] [stdout] --> src/chain/transaction_helper.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let signing_data = Self::serialize_for_signing(transaction, chain_id)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signing_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_properties` [INFO] [stdout] --> src/chain/chain_validation.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | chain_properties: &ChainProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authority` [INFO] [stdout] --> src/chain/transaction_helper.rs:439:25 [INFO] [stdout] | [INFO] [stdout] 439 | if let Some(authority) = authorities.get(&account_id) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequence` [INFO] [stdout] --> src/chain/account_login.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 112 | _sequence: u32, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_MAX_RETRIES` [INFO] [stdout] | [INFO] [stdout] 112 - sequence: u32, [INFO] [stdout] 112 + storage::constants::DEFAULT_MAX_RETRIES: u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidInput { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Configuration { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Other { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | InvalidPrivateKey { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | InvalidPublicKey { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | InvalidSignature { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | InvalidAddress { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | CryptoOperationFailed { operation: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | KeyDerivationFailed { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | EncryptionError { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | InvalidTransaction { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | TransactionBuildFailed { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | InvalidBlock { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | ChainStateError { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | InvalidObjectId { id: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | ObjectNotFound { id: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | ValidationError { field: String, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | ValidationError { field: String, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | CryptoOperationFailed { operation: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | SerializationFailed { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | DeserializationFailed { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | InvalidFormat { expected: String, actual: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:138:39 [INFO] [stdout] | [INFO] [stdout] 138 | InvalidFormat { expected: String, actual: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | BufferError { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | TypeConversionError { from: String, to: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | TypeConversionError { from: String, to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | BackendNotAvailable { backend: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | OperationFailed { operation: String, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | OperationFailed { operation: String, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | AuthenticationFailed { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | PermissionDenied { resource: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | ResourceNotFound { resource: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | ConnectionError { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | ConnectionRefused { address: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | DnsResolutionFailed { hostname: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | InvalidUrl { url: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | HttpError { status: u16, message: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 202 | HttpError { status: u16, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/ecc/address.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | Legacy { version: u8 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/ecc/private_key.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl PrivateKey { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn inner(&self) -> &SecretKey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `pkcs7_pad` and `pkcs7_unpad` are never used [INFO] [stdout] --> src/ecc/aes.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Aes { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | fn pkcs7_pad(data: &[u8], block_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn pkcs7_unpad(data: &[u8]) -> EccResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_size` is never read [INFO] [stdout] --> src/serializer/fast_parser.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct StreamingParser { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `serialize_object_id_vec` and `deserialize_object_id_vec` are never used [INFO] [stdout] --> src/serializer/serializer_operation.rs:470:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SerializerOperation { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 470 | fn serialize_object_id_vec(value: &[ObjectId], buffer: &mut Vec) -> SerializerResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 699 | fn deserialize_object_id_vec(data: &[u8], offset: &mut usize) -> SerializerResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_capacity` is never read [INFO] [stdout] --> src/serializer/serializer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Serializer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 19 | /// Buffer capacity for serialization operations [INFO] [stdout] 20 | buffer_capacity: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_hex` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn bytes_to_hex(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_bytes` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn hex_to_bytes(hex: &str) -> Result, hex::FromHexError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_key_length` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn validate_key_length(key: &[u8], expected_len: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/storage/mod.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn new(inner: S, max_cache_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "7844d876f09f8739ab84550cd444ca591d30d17aa7053d6a1e97938e253be024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7844d876f09f8739ab84550cd444ca591d30d17aa7053d6a1e97938e253be024", kill_on_drop: false }` [INFO] [stdout] 7844d876f09f8739ab84550cd444ca591d30d17aa7053d6a1e97938e253be024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09f14d1c076aedb07575c60650229ad6c9618860cc54306abb37c7d1a1aefe8f [INFO] running `Command { std: "docker" "start" "-a" "09f14d1c076aedb07575c60650229ad6c9618860cc54306abb37c7d1a1aefe8f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(loom)' --check-cfg 'cfg(mio_unsupported_force_poll_poll)' --check-cfg 'cfg(tokio_allow_from_blocking_fd)' --check-cfg 'cfg(tokio_internal_mt_counters)' --check-cfg 'cfg(tokio_no_parking_lot)' --check-cfg 'cfg(tokio_no_tuning_tests)' --check-cfg 'cfg(tokio_taskdump)' --check-cfg 'cfg(tokio_unstable)' --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="full"' --cfg 'feature="io-std"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="macros"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="parking_lot"' --cfg 'feature="process"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="signal"' --cfg 'feature="signal-hook-registry"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="test-util"' --cfg 'feature="time"' --cfg 'feature="tokio-macros"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-util", "libc", "macros", "mio", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "socket2", "sync", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=6776253a9d95fd38 -C extra-filename=-7fb691f856622bfd --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-4a513ea0f2e1d0e2.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-208bbb9d1157a818.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-e13c5548d7a17ad1.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-bedc6e0acd72ff2a.rmeta --extern signal_hook_registry=/opt/rustwide/target/debug/deps/libsignal_hook_registry-28460b60e926f6cb.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a88a45ba783e0ee2.rmeta --extern tokio_macros=/opt/rustwide/target/debug/deps/libtokio_macros-fbb233892c71af7d.so --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "09f14d1c076aedb07575c60650229ad6c9618860cc54306abb37c7d1a1aefe8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f14d1c076aedb07575c60650229ad6c9618860cc54306abb37c7d1a1aefe8f", kill_on_drop: false }` [INFO] [stdout] 09f14d1c076aedb07575c60650229ad6c9618860cc54306abb37c7d1a1aefe8f