[INFO] cloning repository https://github.com/vn-sg/Bitcoin-Client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vn-sg/Bitcoin-Client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvn-sg%2FBitcoin-Client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvn-sg%2FBitcoin-Client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d93e8d65041404782313ac476e61b5c31a26038 [INFO] testing vn-sg/Bitcoin-Client against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvn-sg%2FBitcoin-Client" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vn-sg/Bitcoin-Client [INFO] finished tweaking git repo https://github.com/vn-sg/Bitcoin-Client [INFO] tweaked toml for git repo https://github.com/vn-sg/Bitcoin-Client written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vn-sg/Bitcoin-Client on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vn-sg/Bitcoin-Client 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa88810353b8f3c2032f489ac0855d1d4957456185105711c37555073b3c74e1 [INFO] running `Command { std: "docker" "start" "-a" "fa88810353b8f3c2032f489ac0855d1d4957456185105711c37555073b3c74e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa88810353b8f3c2032f489ac0855d1d4957456185105711c37555073b3c74e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa88810353b8f3c2032f489ac0855d1d4957456185105711c37555073b3c74e1", kill_on_drop: false }` [INFO] [stdout] fa88810353b8f3c2032f489ac0855d1d4957456185105711c37555073b3c74e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0f6ce34bd3d0ec5e1b1b852b6373dc8a0049e01362a5d045b85851000528492e [INFO] running `Command { std: "docker" "start" "-a" "0f6ce34bd3d0ec5e1b1b852b6373dc8a0049e01362a5d045b85851000528492e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.115 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling stderrlog v0.5.1 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling tiny_http v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::types::address::Address` [INFO] [stdout] --> src/api/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::address::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::signature::KeyPair` [INFO] [stdout] --> src/blockchain/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ring::signature::KeyPair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_random_block_my` [INFO] [stdout] --> src/blockchain/mod.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::block::{Block, Header, Content, generate_random_block_my}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::key_pair` [INFO] [stdout] --> src/blockchain/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::key_pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SignedTransaction` and `Transaction` [INFO] [stdout] --> src/blockchain/mod.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::types::transaction::{SignedTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/types/block.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/types/block.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/types/hash.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/types/hash.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdDSAParameters` [INFO] [stdout] --> src/types/transaction.rs:4:82 [INFO] [stdout] | [INFO] [stdout] 4 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm, EdDSAParameters}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/types/transaction.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/miner/mod.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `TryRecvError`, and `unbounded` [INFO] [stdout] --> src/miner/worker.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crossbeam::channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/miner/worker.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::FromHex` [INFO] [stdout] --> src/miner/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex::FromHex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/miner/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/miner/mod.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::types::transaction::{SignedTransaction, Mempool, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/peer.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/peer.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/peer.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/server.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/server.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/server.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_utilities)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_utilities)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::key_pair` [INFO] [stdout] --> src/generator/tx_generator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::types::key_pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/generator/tx_generator.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generator::tx_generator::TxGenerator` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use generator::tx_generator::TxGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::key_pair` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use types::key_pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerificationAlgorithm` [INFO] [stdout] --> src/types/transaction.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm, EdDSAParameters}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng_gen` [INFO] [stdout] --> src/types/transaction.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let rng_gen = ring::rand::SystemRandom::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng_gen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/types/transaction.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Ok(b) => return true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/types/transaction.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | Err(error) => return false, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/miner/mod.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/worker.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/worker.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 136 | Message::Ping(nonce) => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 140 | Message::Pong(nonce) => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 143 | Message::NewBlockHashes(hashes) => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 155 | Message::GetBlocks(block_hashes) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 447 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let public_key = &all_public_keys[public_key_index]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Update` and `Exit` are never constructed [INFO] [stdout] --> src/generator/tx_generator.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum ControlSignal { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 18 | Start(u64), [INFO] [stdout] 19 | Update, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `treeList` should have a snake case name [INFO] [stdout] --> src/types/merkle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | treeList: Vec>, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tree_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc9wBzSL/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libstderrlog-7b3ab0ab4821bd47.rlib,libthread_local-c6b88a4b7954c5cd.rlib,libtermcolor-811ad993a566b17a.rlib,libbincode-a3e572d076d55ccc.rlib,libserde_json-4dc5a92f51be8705.rlib,libryu-653032556b772f2f.rlib,libitoa-158d7e21e599682f.rlib,libclap-babe150081e48348.rlib,libvec_map-f5624d319d58cb9d.rlib,libtextwrap-a7873b4ea0b7085e.rlib,libunicode_width-2222409b5ba3ddc6.rlib,libterm_size-e33312517eb26566.rlib,libstrsim-b8b77d7a062bc77b.rlib,libbitflags-e274cd04b58a060d.rlib,libatty-aefa5a359d0679ac.rlib,libansi_term-bdfff57b5fb49171.rlib,libasync_dup-0c391cef3f7a1440.rlib,libsimple_mutex-3abd600fd8e30448.rlib,libsmol-dc69e6488a0d048e.rlib,libasync_process-28a9422d97668cec.rlib,libsignal_hook-d99a2ce9281e2513.rlib,libsignal_hook_registry-cf063222ca8f7050.rlib,libasync_net-8a2d235c6179f49b.rlib,libasync_fs-7a3f9c0b931a691e.rlib,libasync_lock-d73e36981e3ba37a.rlib,libblocking-60e24fa9f6648409.rlib,libatomic_waker-3f97ef3c26c3e519.rlib,libasync_channel-a5d9f994074888ab.rlib,libevent_listener-60218a967f3c9fd1.rlib,libasync_io-26d71e3385472e63.rlib,libpolling-2f1c1c39b3d981b9.rlib,libsocket2-1399de24655c753e.rlib,libasync_executor-70c0697da59bd8ba.rlib,libfutures_lite-c1c7d126c9d73326.rlib,libfastrand-dd955576b10a9343.rlib,libwaker_fn-a5e48e138c7cfc0a.rlib,libparking-e8e3e9cca08ecc67.rlib,libconcurrent_queue-e34cfae5585d9dc0.rlib,libcache_padded-ae24b20c479f4d87.rlib,libasync_task-baec90002ae2781d.rlib,libfutures-d349d04fb457315d.rlib,libfutures_executor-d47853b5cb8a58dc.rlib,libfutures_util-e3f3a318dd3f7977.rlib,libmemchr-a2892755812de0fe.rlib,libfutures_io-7ae0e99413301de9.rlib,libslab-93074f6ff5a0b7db.rlib,libfutures_channel-26fbeaec407b7811.rlib,libpin_project_lite-049930466ef9967f.rlib,libfutures_sink-6cef213060d8424b.rlib,libfutures_task-8d01264ee8be7a4a.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-e674cac6d3f3e322.rlib,libhex-a52fd19e29921b8e.rlib,libcrossbeam-440fdfd20f256029.rlib,libcrossbeam_channel-12f261325a6101c9.rlib,libcrossbeam_deque-3de9bbdc684b92bb.rlib,libcrossbeam_queue-1bef77bf4e76269b.rlib,libcrossbeam_epoch-a99da1aea26dd1b2.rlib,libmemoffset-59f11e032c31b987.rlib,libscopeguard-73056285f12cb829.rlib,libcrossbeam_utils-cf4bba8312e60b1d.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,librand-a6e6aa0597df727f.rlib,librand_chacha-b4dfb40f62ecd724.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-e030b446be39ea36.rlib,libgetrandom-fefca6069ee3c50b.rlib,libring-1c74594214673f60.rlib,libspin-727e07ee1a68c4a1.rlib,libuntrusted-ac99e7922c585a09.rlib,libonce_cell-aa4d53ed7caf4352.rlib,liburl-4dc046bcdff1bf68.rlib,libidna-b27d6234464fcaf9.rlib,libunicode_normalization-b999db1f4766a6ba.rlib,libtinyvec-4bc788528a02b60f.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-fb711a4a1fa89e19.rlib,libform_urlencoded-08b32e4d9c417640.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libmatches-210e485a89affeee.rlib,libtiny_http-2b74b1eb331f0897.rlib,libchunked_transfer-9867de9712728cb6.rlib,libchrono-e1d1ec24dcc5b304.rlib,libnum_integer-776fc74e87f61fcf.rlib,libnum_traits-e5050f906ed56291.rlib,libtime-5de27bd0801f6eaf.rlib,liblibc-68f0b6e295b6c904.rlib,libascii-a28dc16a4d4517d9.rlib,liblog-ac2d7cc7e3389574.rlib,libcfg_if-66d55f6b302e88c8.rlib,libserde-920abcd5e7134344.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc9wBzSL/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/ring-06fdfba297fd69d6/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bitcoin-0e09a96b28e6f494" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-fefca6069ee3c50b.rlib(getrandom-fefca6069ee3c50b.getrandom.e4550e6580a9ec9-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.4/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hd1e3dc87fd204421E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` (bin "bitcoin") due to 1 previous error; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f6ce34bd3d0ec5e1b1b852b6373dc8a0049e01362a5d045b85851000528492e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6ce34bd3d0ec5e1b1b852b6373dc8a0049e01362a5d045b85851000528492e", kill_on_drop: false }` [INFO] [stdout] 0f6ce34bd3d0ec5e1b1b852b6373dc8a0049e01362a5d045b85851000528492e