[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] checking vn-sg/Bitcoin-Client against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvn-sg%2FBitcoin-Client" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vn-sg/Bitcoin-Client on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 568804c16d81359037d2e41a16c99189523d49462cbdf2b868cce818bbe2b2fd [INFO] running `Command { std: "docker" "start" "-a" "568804c16d81359037d2e41a16c99189523d49462cbdf2b868cce818bbe2b2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "568804c16d81359037d2e41a16c99189523d49462cbdf2b868cce818bbe2b2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568804c16d81359037d2e41a16c99189523d49462cbdf2b868cce818bbe2b2fd", kill_on_drop: false }` [INFO] [stdout] 568804c16d81359037d2e41a16c99189523d49462cbdf2b868cce818bbe2b2fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84fe96afc198da00c908a92c3dff8a713e301f78d8bff5037378df35e7959ba0 [INFO] running `Command { std: "docker" "start" "-a" "84fe96afc198da00c908a92c3dff8a713e301f78d8bff5037378df35e7959ba0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.115 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking async-task v4.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking simple-mutex v1.1.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking async-dup v1.2.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking async-process v1.3.0 [INFO] [stderr] Checking stderrlog v0.5.1 [INFO] [stderr] Checking async-net v1.6.1 [INFO] [stderr] Checking async-fs v1.5.0 [INFO] [stderr] Checking tiny_http v0.9.0 [INFO] [stderr] Checking smol v1.2.5 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling ntest_test_cases v0.7.3 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 201 - Ok(b) => return true, [INFO] [stdout] 201 + Ok(types::transaction::_) => return true, [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 201 | Ok(_b) => return true, [INFO] [stdout] | + [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:13 [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: value assigned to `count` is never read [INFO] [stdout] --> src/miner/mod.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | count += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ntest_timeout v0.7.3 [INFO] [stderr] Checking ntest v0.7.3 [INFO] [stderr] [INFO] [stderr] thread 'rustc' (1496) panicked at /rustc-dev/66388cc165a6c4ac98c074dc9f0281ff23528c55/compiler/rustc_ast/src/attr/mod.rs:302:36: [INFO] [stderr] attribute is missing tokens: Attribute { kind: Normal(NormalAttr { item: AttrItem { unsafety: Default, path: Path { span: src/miner/mod.rs:267:5: 267:12 (#535), segments: [PathSegment { ident: #535, id: NodeId(4294967040), args: None }], tokens: None }, args: Unparsed(Empty), tokens: None }, tokens: None }), id: AttrId(330), style: Outer, span: src/miner/mod.rs:267:5: 267:12 (#535) } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x76e3c4c2bfa3 - <::print::DisplayBacktrace as core[75ca2badb63c4514]::fmt::Display>::fmt [INFO] [stderr] 1: 0x76e3c520fb48 - core[75ca2badb63c4514]::fmt::write [INFO] [stderr] 2: 0x76e3c4c42226 - ::write_fmt [INFO] [stderr] 3: 0x76e3c4c01b98 - std[7d609349af90bec6]::panicking::default_hook::{closure#0} [INFO] [stderr] 4: 0x76e3c4c1f833 - std[7d609349af90bec6]::panicking::default_hook [INFO] [stderr] 5: 0x76e3c3c0236a - std[7d609349af90bec6]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 6: 0x76e3c4c1fb12 - std[7d609349af90bec6]::panicking::panic_with_hook [INFO] [stderr] 7: 0x76e3c4c01c58 - std[7d609349af90bec6]::panicking::panic_handler::{closure#0} [INFO] [stderr] 8: 0x76e3c4bf89a9 - std[7d609349af90bec6]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] 9: 0x76e3c4c0372d - __rustc[69841a6cbc58d81d]::rust_begin_unwind [INFO] [stderr] 10: 0x76e3c1838f9c - core[75ca2badb63c4514]::panicking::panic_fmt [INFO] [stderr] 11: 0x76e3c5fe0110 - ::token_trees [INFO] [stderr] 12: 0x76e3c681c314 - ::fully_expand_fragment [INFO] [stderr] 13: 0x76e3c67e65d2 - ::expand_crate [INFO] [stderr] 14: 0x76e3c58f0af3 - rustc_interface[903e43df8d6bd657]::passes::configure_and_expand [INFO] [stderr] 15: 0x76e3c6407658 - rustc_interface[903e43df8d6bd657]::passes::resolver_for_lowering_raw [INFO] [stderr] 16: 0x76e3c64073cd - rustc_query_impl[8c5349e00d64015e]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 17: 0x76e3c64073a7 - >::call_once [INFO] [stderr] 18: 0x76e3c63ecb5f - rustc_query_system[d45be4fb383a0235]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[8c5349e00d64015e]::plumbing::QueryCtxt, false> [INFO] [stderr] 19: 0x76e3c63ec6bc - rustc_query_impl[8c5349e00d64015e]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 20: 0x76e3c657127b - , rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[75ca2badb63c4514]::ops::function::FnOnce<(&rustc_session[1e6875ba352dc1ba]::session::Session, rustc_middle[2342951a64deba5]::ty::context::CurrentGcx, alloc[d7482eb0f1d19161]::sync::Arc, &std[7d609349af90bec6]::sync::once_lock::OnceLock, &rustc_data_structures[c82a87ce5cdbfc92]::sync::worker_local::WorkerLocal, &rustc_data_structures[c82a87ce5cdbfc92]::sync::worker_local::WorkerLocal, rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stderr] 21: 0x76e3c645ac98 - rustc_interface[903e43df8d6bd657]::interface::run_compiler::<(), rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 22: 0x76e3c62eac4e - std[7d609349af90bec6]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 23: 0x76e3c62eaa20 - ::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[75ca2badb63c4514]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 24: 0x76e3c62ed138 - ::new::thread_start [INFO] [stderr] 25: 0x76e3bfe8aaa4 - [INFO] [stderr] 26: 0x76e3bff17a64 - clone [INFO] [stderr] 27: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2026-01-10T01_18_25-1494.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.94.0-nightly (66388cc16 2026-01-08) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [resolver_for_lowering_raw] getting the resolver for lowering [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `bitcoin` (bin "bitcoin" test) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/66388cc165a6c4ac98c074dc9f0281ff23528c55/bin/rustc --crate-name bitcoin --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "test-utilities"))' -C metadata=30eb0322963e6ebb -C extra-filename=-ea4281e9a0aa36a5 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_dup=/opt/rustwide/target/debug/deps/libasync_dup-f7974b4099cebef4.rmeta --extern bincode=/opt/rustwide/target/debug/deps/libbincode-67ff6feb9e06dbc5.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-ed3bd09a2bbbf173.rmeta --extern crossbeam=/opt/rustwide/target/debug/deps/libcrossbeam-f0a3327e5760ed03.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-bce6873ea43d06dd.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-4852862d92867e36.rmeta --extern hex_literal=/opt/rustwide/target/debug/deps/libhex_literal-addea35a4e597ad7.so --extern log=/opt/rustwide/target/debug/deps/liblog-f26ca2dab18111a8.rmeta --extern ntest=/opt/rustwide/target/debug/deps/libntest-fc8fd865295d9295.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-6ec5b6dd1812f0f6.rmeta --extern ring=/opt/rustwide/target/debug/deps/libring-5a4c5ded0b803406.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-671c8beb278c90eb.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-e3b16b2c20d5f801.rmeta --extern slab=/opt/rustwide/target/debug/deps/libslab-d5b451947f886095.rmeta --extern smol=/opt/rustwide/target/debug/deps/libsmol-e7020f447af6c1b6.rmeta --extern stderrlog=/opt/rustwide/target/debug/deps/libstderrlog-05258187544c17c0.rmeta --extern tiny_http=/opt/rustwide/target/debug/deps/libtiny_http-4aa86732bb6728b4.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-e2ffafe1261237ab.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-092d9af7b77cee6e/out` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "84fe96afc198da00c908a92c3dff8a713e301f78d8bff5037378df35e7959ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84fe96afc198da00c908a92c3dff8a713e301f78d8bff5037378df35e7959ba0", kill_on_drop: false }` [INFO] [stdout] 84fe96afc198da00c908a92c3dff8a713e301f78d8bff5037378df35e7959ba0