[INFO] cloning repository https://github.com/subaquatic-pierre/orion-chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/subaquatic-pierre/orion-chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Forion-chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Forion-chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f57d46f4313d670cad479ff56a11688960b611b4 [INFO] checking subaquatic-pierre/orion-chain against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Forion-chain" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/subaquatic-pierre/orion-chain on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/subaquatic-pierre/orion-chain [INFO] finished tweaking git repo https://github.com/subaquatic-pierre/orion-chain [INFO] tweaked toml for git repo https://github.com/subaquatic-pierre/orion-chain written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/subaquatic-pierre/orion-chain 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.ecdsa.feature [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base16ct v0.2.0 [INFO] [stderr] Downloaded primeorder v0.13.2 [INFO] [stderr] Downloaded rfc6979 v0.4.0 [INFO] [stderr] Downloaded http-body-util v0.1.0-rc.3 [INFO] [stderr] Downloaded ecdsa v0.16.8 [INFO] [stderr] Downloaded group v0.13.0 [INFO] [stderr] Downloaded crypto-bigint v0.5.2 [INFO] [stderr] Downloaded hyper v1.0.0-rc.4 [INFO] [stderr] Downloaded rustix v0.38.11 [INFO] [stderr] Downloaded k256 v0.13.1 [INFO] [stderr] Downloaded syn v2.0.31 [INFO] [stderr] Downloaded elliptic-curve v0.13.5 [INFO] [stderr] Downloaded p256 v0.13.2 [INFO] [stderr] Downloaded signature v2.1.0 [INFO] [stderr] Downloaded ff v0.13.0 [INFO] [stderr] Downloaded sec1 v0.7.3 [INFO] [stderr] Downloaded sha256 v1.4.0 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a720926e51bd93c704befa402459128eb85514f0d9dc21a3b9f7dcc6747efd7b [INFO] running `Command { std: "docker" "start" "-a" "a720926e51bd93c704befa402459128eb85514f0d9dc21a3b9f7dcc6747efd7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a720926e51bd93c704befa402459128eb85514f0d9dc21a3b9f7dcc6747efd7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a720926e51bd93c704befa402459128eb85514f0d9dc21a3b9f7dcc6747efd7b", kill_on_drop: false }` [INFO] [stdout] a720926e51bd93c704befa402459128eb85514f0d9dc21a3b9f7dcc6747efd7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e2173b2a4dac173b772733607e89a1b4ab308242821a4e1e6b44b9a68ced22 [INFO] running `Command { std: "docker" "start" "-a" "73e2173b2a4dac173b772733607e89a1b4ab308242821a4e1e6b44b9a68ced22", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.ecdsa.feature [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-body v1.0.0-rc.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking http-body-util v0.1.0-rc.3 [INFO] [stderr] Checking elliptic-curve v0.13.5 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking primeorder v0.13.2 [INFO] [stderr] Checking k256 v0.13.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking sha256 v1.4.0 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking hyper v1.0.0-rc.4 [INFO] [stderr] Checking orion-chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/lib.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockJson`, `TxsJson` [INFO] [stdout] --> src/api/handlers.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | api::types::{BlockJson, TxsJson}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex as StdMutex` [INFO] [stdout] --> src/api/server.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, Mutex as StdMutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/api/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/api/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/api/server.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::block::random_signed_block` [INFO] [stdout] --> src/api/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::core::block::random_signed_block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lock` [INFO] [stdout] --> src/api/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lock; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/core/block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/core/blockchain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hasher::Hasher`, `storage::MemoryStorage` [INFO] [stdout] --> src/core/blockchain.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | core::{hasher::Hasher, storage::MemoryStorage}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderManager`, `Header`, `storage::Storage` [INFO] [stdout] --> src/core/blockchain.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | header::{Header, HeaderManager}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 12 | storage::Storage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockJson`, `TxsJson` [INFO] [stdout] --> src/core/encoding.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::api::types::{BlockJson, TxsJson}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::Block` [INFO] [stdout] --> src/core/header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | block::Block, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header::HeaderManager` [INFO] [stdout] --> src/core/validator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | header::HeaderManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_header`, `utils::random_hash` [INFO] [stdout] --> src/network/node.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | header::{random_header, Header}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | crypto::{private_key::PrivateKey, utils::random_hash}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/network/rpc.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mpsc::Sender`, `net::SocketAddr` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | sync::{mpsc::Sender, Arc, Mutex, Once}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::RpcChanMsg` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | types::RpcChanMsg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/lib.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockJson`, `TxsJson` [INFO] [stdout] --> src/api/handlers.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | api::types::{BlockJson, TxsJson}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex as StdMutex` [INFO] [stdout] --> src/api/server.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, Mutex as StdMutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/api/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/api/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/api/server.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::block::random_signed_block` [INFO] [stdout] --> src/api/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::core::block::random_signed_block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lock` [INFO] [stdout] --> src/api/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lock; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/core/block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Read`, `Write` [INFO] [stdout] --> src/core/block.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | use std::io::{BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash`, `public_key::PublicKey`, `signature::Signature` [INFO] [stdout] --> src/core/block.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | hash::Hash, private_key::PrivateKey, public_key::PublicKey, signature::Signature, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrivateKey` is imported redundantly [INFO] [stdout] --> src/core/block.rs:419:21 [INFO] [stdout] | [INFO] [stdout] 419 | hash::Hash, private_key::PrivateKey, public_key::PublicKey, signature::Signature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | use super::*; [INFO] [stdout] | -------- the item `PrivateKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HexDecoding`, `HexEncoding`, `error::CoreError`, `hasher::Hasher`, `header::Header`, `util::timestamp` [INFO] [stdout] --> src/core/block.rs:424:48 [INFO] [stdout] | [INFO] [stdout] 424 | encoding::{ByteDecoding, ByteEncoding, HexDecoding, HexEncoding}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 425 | error::CoreError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 426 | hasher::Hasher, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 427 | header::Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 428 | transaction::Transaction, [INFO] [stdout] 429 | util::timestamp, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ByteDecoding` is imported redundantly [INFO] [stdout] --> src/core/block.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | encoding::{ByteDecoding, ByteEncoding, HexDecoding, HexEncoding}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | use super::*; [INFO] [stdout] | -------- the item `ByteDecoding` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ByteEncoding` is imported redundantly [INFO] [stdout] --> src/core/block.rs:424:34 [INFO] [stdout] | [INFO] [stdout] 424 | encoding::{ByteDecoding, ByteEncoding, HexDecoding, HexEncoding}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | use super::*; [INFO] [stdout] | -------- the item `ByteEncoding` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/core/block.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_tx` [INFO] [stdout] --> src/core/block.rs:434:41 [INFO] [stdout] | [INFO] [stdout] 434 | transaction::{random_signed_tx, random_tx}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/core/blockchain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hasher::Hasher`, `storage::MemoryStorage` [INFO] [stdout] --> src/core/blockchain.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | core::{hasher::Hasher, storage::MemoryStorage}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderManager`, `storage::Storage` [INFO] [stdout] --> src/core/blockchain.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | header::{Header, HeaderManager}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | storage::Storage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info` [INFO] [stdout] --> src/core/blockchain.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | use log::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `logger_init`, `validator` [INFO] [stdout] --> src/core/blockchain.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | validator, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | logger_init, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hasher` is imported redundantly [INFO] [stdout] --> src/core/blockchain.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | hasher::Hasher, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | use super::*; [INFO] [stdout] | -------- the item `Hasher` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/core/blockchain.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | crypto::{hash::Hash, utils::random_hash}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockJson`, `TxsJson` [INFO] [stdout] --> src/core/encoding.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::api::types::{BlockJson, TxsJson}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::Block` [INFO] [stdout] --> src/core/header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | block::Block, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash`, `public_key::PublicKey`, `signature::Signature` [INFO] [stdout] --> src/core/header.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | hash::Hash, public_key::PublicKey, signature::Signature, utils::random_hash, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `random_hash` is imported redundantly [INFO] [stdout] --> src/core/header.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 197 | use super::*; [INFO] [stdout] | -------- the item `random_hash` is already imported here [INFO] [stdout] 198 | use crate::crypto::{ [INFO] [stdout] 199 | hash::Hash, public_key::PublicKey, signature::Signature, utils::random_hash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header::HeaderManager` [INFO] [stdout] --> src/core/validator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | header::HeaderManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::CryptoError` [INFO] [stdout] --> src/crypto/address.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::crypto::{error::CryptoError, private_key::PrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/network/encoder.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_header`, `utils::random_hash` [INFO] [stdout] --> src/network/node.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | header::{random_header, Header}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | crypto::{private_key::PrivateKey, utils::random_hash}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/network/rpc.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/util.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/util.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mpsc::Sender`, `net::SocketAddr` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | sync::{mpsc::Sender, Arc, Mutex, Once}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::RpcChanMsg` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | types::RpcChanMsg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hasher::Hasher` [INFO] [stdout] --> src/core/validator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | hasher::Hasher, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hasher::Hasher` [INFO] [stdout] --> src/core/validator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | hasher::Hasher, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core/block.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_block_by_hash(&self, index: &str) -> Option<&Block> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core/block.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_block_by_hash(&self, index: &str) -> Option<&Block> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/core/block.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | for i in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/blockchain.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut bc = Blockchain::new(genesis_block, validator); [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/blockchain.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let mut bc = Blockchain::new_with_genesis(genesis_block); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_block` [INFO] [stdout] --> src/core/blockchain.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let last_block = blocks.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcp` [INFO] [stdout] --> src/network/rpc.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let tcp = lock!(self.tcp_controller); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_addr` [INFO] [stdout] --> src/network/rpc.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | peer_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priv_key` [INFO] [stdout] --> src/core/transaction.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let priv_key = PrivateKey::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priv_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/transaction.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut tx = Transaction::new(data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_1_hash` [INFO] [stdout] --> src/core/transaction.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let tx_1_hash = tx.hash(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_1_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/crypto/hash.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let hash = sha256::digest("Hello world, Data is cool"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/lib.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | RpcHandlerResponse::Transaction(tx) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/crypto/signature.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let pub_key = pvt_key.pub_key(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key_2` [INFO] [stdout] --> src/crypto/signature.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let pub_key_2 = pvt_key_2.pub_key(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeaderPointer` is never constructed [INFO] [stdout] --> src/core/block.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct HeaderPointer(*const Header); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockPointer` is never constructed [INFO] [stdout] --> src/core/block.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct BlockPointer(*const Block); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcp` [INFO] [stdout] --> src/network/rpc.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let tcp = lock!(self.tcp_controller); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_addr` [INFO] [stdout] --> src/network/rpc.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | peer_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/lib.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | RpcHandlerResponse::Transaction(tx) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeaderPointer` is never constructed [INFO] [stdout] --> src/core/block.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct HeaderPointer(*const Header); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockPointer` is never constructed [INFO] [stdout] --> src/core/block.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct BlockPointer(*const Block); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/core/blockchain.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_header_parse_hex` is never used [INFO] [stdout] --> src/core/header.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn test_header_parse_hex() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core/block.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | manager.add(block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 527 | let _ = manager.add(block); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core/transaction.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | tx.sign(priv_key.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 284 | let _ = tx.sign(priv_key.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core/transaction.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | tx.sign(priv_key.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 324 | let _ = tx.sign(priv_key.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/network/encoder.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | vec_writer.write_all(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 356 | let _ = vec_writer.write_all(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::warn` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::warn; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orion_chain::core::encoding::ByteEncoding` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use orion_chain::core::encoding::ByteEncoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orion_chain::core::transaction::random_signed_tx` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use orion_chain::core::transaction::random_signed_tx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orion_chain::crypto::utils::random_hash` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use orion_chain::crypto::utils::random_hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RPC`, `RpcHeader` [INFO] [stdout] --> src/main.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use orion_chain::network::rpc::{RpcHeader, RPC}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::warn` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::warn; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orion_chain::core::encoding::ByteEncoding` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use orion_chain::core::encoding::ByteEncoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orion_chain::core::transaction::random_signed_tx` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use orion_chain::core::transaction::random_signed_tx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orion_chain::crypto::utils::random_hash` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use orion_chain::crypto::utils::random_hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RPC`, `RpcHeader` [INFO] [stdout] --> src/main.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use orion_chain::network::rpc::{RpcHeader, RPC}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.61s [INFO] running `Command { std: "docker" "inspect" "73e2173b2a4dac173b772733607e89a1b4ab308242821a4e1e6b44b9a68ced22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e2173b2a4dac173b772733607e89a1b4ab308242821a4e1e6b44b9a68ced22", kill_on_drop: false }` [INFO] [stdout] 73e2173b2a4dac173b772733607e89a1b4ab308242821a4e1e6b44b9a68ced22 [INFO] checking subaquatic-pierre/orion-chain against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Forion-chain" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/subaquatic-pierre/orion-chain on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/subaquatic-pierre/orion-chain [INFO] finished tweaking git repo https://github.com/subaquatic-pierre/orion-chain [INFO] tweaked toml for git repo https://github.com/subaquatic-pierre/orion-chain written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/subaquatic-pierre/orion-chain 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.ecdsa.feature [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a3e024efd6c08d9d2edf0bb3273e20b3cee2b1b34a47c670ffb410c8b1e11f6 [INFO] running `Command { std: "docker" "start" "-a" "2a3e024efd6c08d9d2edf0bb3273e20b3cee2b1b34a47c670ffb410c8b1e11f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a3e024efd6c08d9d2edf0bb3273e20b3cee2b1b34a47c670ffb410c8b1e11f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3e024efd6c08d9d2edf0bb3273e20b3cee2b1b34a47c670ffb410c8b1e11f6", kill_on_drop: false }` [INFO] [stdout] 2a3e024efd6c08d9d2edf0bb3273e20b3cee2b1b34a47c670ffb410c8b1e11f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3883164fd52100c253bb502c2bb7f1ecc9f17f03ee176299df1c00c5909c0ad [INFO] running `Command { std: "docker" "start" "-a" "f3883164fd52100c253bb502c2bb7f1ecc9f17f03ee176299df1c00c5909c0ad", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.ecdsa.feature [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 335 | buf_get_impl!(self, u16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 355 | buf_get_impl!(self, u16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 378 | buf_get_impl!(self, u16::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 398 | buf_get_impl!(self, i16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 418 | buf_get_impl!(self, i16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 441 | buf_get_impl!(self, i16::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 461 | buf_get_impl!(self, u32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 481 | buf_get_impl!(self, u32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 504 | buf_get_impl!(self, u32::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 524 | buf_get_impl!(self, i32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 544 | buf_get_impl!(self, i32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 567 | buf_get_impl!(self, i32::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 587 | buf_get_impl!(self, u64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 607 | buf_get_impl!(self, u64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 630 | buf_get_impl!(self, u64::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 650 | buf_get_impl!(self, i64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 670 | buf_get_impl!(self, i64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 693 | buf_get_impl!(self, i64::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 713 | buf_get_impl!(self, u128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 733 | buf_get_impl!(self, u128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 756 | buf_get_impl!(self, u128::from_ne_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 776 | buf_get_impl!(self, i128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 796 | buf_get_impl!(self, i128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.4.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 819 | buf_get_impl!(self, i128::from_ne_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f3883164fd52100c253bb502c2bb7f1ecc9f17f03ee176299df1c00c5909c0ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3883164fd52100c253bb502c2bb7f1ecc9f17f03ee176299df1c00c5909c0ad", kill_on_drop: false }` [INFO] [stdout] f3883164fd52100c253bb502c2bb7f1ecc9f17f03ee176299df1c00c5909c0ad