[INFO] cloning repository https://github.com/Slixe/xelis-blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Slixe/xelis-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlixe%2Fxelis-blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlixe%2Fxelis-blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d969d7f1f8fc2d4e82a9f3a6e5223dd97740f545 [INFO] testing Slixe/xelis-blockchain against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlixe%2Fxelis-blockchain" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Slixe/xelis-blockchain on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Slixe/xelis-blockchain [INFO] finished tweaking git repo https://github.com/Slixe/xelis-blockchain [INFO] tweaked toml for git repo https://github.com/Slixe/xelis-blockchain written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Slixe/xelis-blockchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded argh_shared v0.1.7 [INFO] [stderr] Downloaded argh v0.1.7 [INFO] [stderr] Downloaded argh_derive v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a7a8c5e7b0118c624117c9085719cef34fffd767961dd646cabf361b174fad7 [INFO] running `Command { std: "docker" "start" "-a" "4a7a8c5e7b0118c624117c9085719cef34fffd767961dd646cabf361b174fad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a7a8c5e7b0118c624117c9085719cef34fffd767961dd646cabf361b174fad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7a8c5e7b0118c624117c9085719cef34fffd767961dd646cabf361b174fad7", kill_on_drop: false }` [INFO] [stdout] 4a7a8c5e7b0118c624117c9085719cef34fffd767961dd646cabf361b174fad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11479cbcb81c44bc84f5b0d591ba5578f4a79b4a0bec0c0b003160c3064457d8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "11479cbcb81c44bc84f5b0d591ba5578f4a79b4a0bec0c0b003160c3064457d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling argh_shared v0.1.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling fern v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling argh_derive v0.1.7 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling argh v0.1.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling xelis-blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/cmd/wallet/main.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xelis-blockchain` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `P2P_PING_DELAY` [INFO] [stdout] --> src/p2p/server.rs:1:135 [INFO] [stdout] | [INFO] [stdout] 1 | ..._SYNC_TIMEOUT_SECS, CHAIN_SYNC_MAX_BLOCK, CHAIN_SYNC_DELAY, P2P_PING_DELAY}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::packet::request_chain::RequestChain` [INFO] [stdout] --> src/p2p/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::packet::request_chain::RequestChain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rx`, `Tx` [INFO] [stdout] --> src/p2p/server.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use super::connection::{Rx, Tx, State, Connection}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::packet::ping::Ping` [INFO] [stdout] --> src/p2p/server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::packet::ping::Ping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/p2p/server.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::sync::{mpsc, Mutex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/p2p/packet/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blockchain` [INFO] [stdout] --> src/p2p/server.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_chain(&mut self, blockchain: &Arc) -> Result<(), BlockchainError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_coin` [INFO] [stdout] --> src/globals.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn format_coin(value: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_BLOCK_REWIND` [INFO] [stdout] --> src/config.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const MAX_BLOCK_REWIND: usize = 5; // maximum 5 blocks can be rewinded [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `P2P_PING_DELAY` [INFO] [stdout] --> src/config.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub const P2P_PING_DELAY: u64 = 10; // 10s between each handshake update [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/crypto/hash.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn to_bytes(self) -> [u8; HASH_SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PrivateKey` [INFO] [stdout] --> src/crypto/key.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PrivateKey(ed25519_dalek::SecretKey); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `KeyPair` [INFO] [stdout] --> src/crypto/key.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct KeyPair { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign` [INFO] [stdout] --> src/crypto/key.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn sign(&self, data: &[u8], public_key: &PublicKey) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/crypto/key.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_keys` [INFO] [stdout] --> src/crypto/key.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn from_keys(public_key: PublicKey, private_key: PrivateKey) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_public_key` [INFO] [stdout] --> src/crypto/key.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn get_public_key(&self) -> &PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign` [INFO] [stdout] --> src/crypto/key.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn sign(&self, data: &[u8]) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_public_key` [INFO] [stdout] --> src/crypto/address.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_public_key(&self) -> &PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Wallet` [INFO] [stdout] --> src/wallet/wallet.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/wallet/wallet.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_address` [INFO] [stdout] --> src/wallet/wallet.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_address(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_transaction` [INFO] [stdout] --> src/wallet/wallet.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_transaction(&self, data: TransactionData) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_transactions` [INFO] [stdout] --> src/wallet/wallet.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_transactions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_balance` [INFO] [stdout] --> src/wallet/wallet.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_nonce` [INFO] [stdout] --> src/core/block.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_nonce(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_extra_nonce` [INFO] [stdout] --> src/core/block.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_extra_nonce(&self) -> &[u8; EXTRA_NONCE_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_txs_count` [INFO] [stdout] --> src/core/block.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_txs_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_balance` [INFO] [stdout] --> src/core/blockchain.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_nonce` [INFO] [stdout] --> src/core/blockchain.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_nonce(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UploadSmartContract` [INFO] [stdout] --> src/core/transaction.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | UploadSmartContract(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TransactionData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/transaction.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(serde::Serialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_registration` [INFO] [stdout] --> src/core/transaction.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn new_registration(owner: PublicKey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_signature` [INFO] [stdout] --> src/core/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_signature(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign_transaction` [INFO] [stdout] --> src/core/transaction.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn sign_transaction(&mut self, pair: &KeyPair) -> Result<(), BlockchainError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_hash` [INFO] [stdout] --> src/core/transaction.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn calculate_hash(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidTxRegistrationSignature` [INFO] [stdout] --> src/core/error.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | InvalidTxRegistrationSignature(Hash), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockchainError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/error.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IsSyncing` [INFO] [stdout] --> src/core/error.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | IsSyncing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockchainError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/error.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEnoughBlocks` [INFO] [stdout] --> src/core/error.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | NotEnoughBlocks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockchainError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/error.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/core/error.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Unknown [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockchainError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/error.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NewJob` [INFO] [stdout] --> src/core/thread_pool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NewJob(Job), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/thread_pool.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/core/thread_pool.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn execute(&self, f: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/core/thread_pool.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/thread_pool.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn new(receiver: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_last_n_blocks` [INFO] [stdout] --> src/core/storage.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove_last_n_blocks(&mut self, n: usize) -> Result<(), BlockchainError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_stream` [INFO] [stdout] --> src/p2p/connection.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_stream(&self) -> &Mutex { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_state` [INFO] [stdout] --> src/p2p/connection.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_state(&self) -> &State { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_top_block_hash` [INFO] [stdout] --> src/p2p/peer.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_top_block_hash(&self) -> &Mutex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_peer` [INFO] [stdout] --> src/p2p/server.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn add_peer(&mut self, peer: u64, asked: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_peer` [INFO] [stdout] --> src/p2p/server.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn remove_peer(&mut self, peer: &u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_syncing` [INFO] [stdout] --> src/p2p/server.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn is_syncing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_sync` [INFO] [stdout] --> src/p2p/server.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn can_sync(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_sync` [INFO] [stdout] --> src/p2p/server.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn start_sync(&mut self, hash: Hash) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/p2p/server.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | pub async fn stop(&self) -> Result<(), P2pError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChannelNotFound` [INFO] [stdout] --> src/p2p/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ChannelNotFound(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `P2pError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PeerNotFound` [INFO] [stdout] --> src/p2p/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | PeerNotFound(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `P2pError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RequestChain` [INFO] [stdout] --> src/p2p/packet/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | RequestChain(&'a RequestChain), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/p2p/packet/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Ping(&'a Ping) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close_all` [INFO] [stdout] --> src/p2p/peer_list.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn close_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/p2p/packet/request_chain.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(start: u64, end: u64, top_hash: Hash) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_top_hash` [INFO] [stdout] --> src/p2p/packet/request_chain.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_top_hash(&self) -> &Hash { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/p2p/packet/ping.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(block_top_hash: Hash, block_height: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "11479cbcb81c44bc84f5b0d591ba5578f4a79b4a0bec0c0b003160c3064457d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11479cbcb81c44bc84f5b0d591ba5578f4a79b4a0bec0c0b003160c3064457d8", kill_on_drop: false }` [INFO] [stdout] 11479cbcb81c44bc84f5b0d591ba5578f4a79b4a0bec0c0b003160c3064457d8