[INFO] fetching crate nakamoto-p2p 0.2.1... [INFO] testing nakamoto-p2p-0.2.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate nakamoto-p2p 0.2.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate nakamoto-p2p 0.2.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nakamoto-p2p 0.2.1 [INFO] finished tweaking crates.io crate nakamoto-p2p 0.2.1 [INFO] tweaked toml for crates.io crate nakamoto-p2p 0.2.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6c049403dbdf216ea6bffe5eb2a6432d2af95ae5dd402814fc76556ed38d592 [INFO] running `Command { std: "docker" "start" "-a" "f6c049403dbdf216ea6bffe5eb2a6432d2af95ae5dd402814fc76556ed38d592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6c049403dbdf216ea6bffe5eb2a6432d2af95ae5dd402814fc76556ed38d592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c049403dbdf216ea6bffe5eb2a6432d2af95ae5dd402814fc76556ed38d592", kill_on_drop: false }` [INFO] [stdout] f6c049403dbdf216ea6bffe5eb2a6432d2af95ae5dd402814fc76556ed38d592 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3c6c1977400a57234f816dfd0172dbbc8e351a2f9d011c1bf25a8e4e24cbabb [INFO] running `Command { std: "docker" "start" "-a" "a3c6c1977400a57234f816dfd0172dbbc8e351a2f9d011c1bf25a8e4e24cbabb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling bitcoin_hashes v0.9.7 [INFO] [stderr] Compiling nonempty v0.5.0 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling secp256k1 v0.19.0 [INFO] [stderr] Compiling bitcoin v0.25.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling microserde-derive v0.1.13 [INFO] [stderr] Compiling microserde v0.1.13 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling nakamoto-common v0.2.0 [INFO] [stderr] Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `protocol_version` [INFO] [stdout] --> src/protocol.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | protocol_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/protocol.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | params: Params, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/protocol/connmgr.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | address: net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connmgr.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_address` [INFO] [stdout] --> src/protocol/connmgr.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | local_address: net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connmgr.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/protocol/connmgr.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | time: LocalTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connmgr.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/protocol/spvmgr.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | height: Height, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/spvmgr.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_active` [INFO] [stdout] --> src/protocol/spvmgr.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | last_active: LocalTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/spvmgr.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.51s [INFO] running `Command { std: "docker" "inspect" "a3c6c1977400a57234f816dfd0172dbbc8e351a2f9d011c1bf25a8e4e24cbabb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c6c1977400a57234f816dfd0172dbbc8e351a2f9d011c1bf25a8e4e24cbabb", kill_on_drop: false }` [INFO] [stdout] a3c6c1977400a57234f816dfd0172dbbc8e351a2f9d011c1bf25a8e4e24cbabb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 780b9aa684d497e2e1088a9ec521b66247fc4b6b877116ed1cba1327152be49f [INFO] running `Command { std: "docker" "start" "-a" "780b9aa684d497e2e1088a9ec521b66247fc4b6b877116ed1cba1327152be49f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck_macros v0.9.1 [INFO] [stdout] warning: field is never read: `protocol_version` [INFO] [stdout] --> src/protocol.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | protocol_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/protocol.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | params: Params, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/protocol/connmgr.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | address: net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connmgr.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_address` [INFO] [stdout] --> src/protocol/connmgr.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | local_address: net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connmgr.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/protocol/connmgr.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | time: LocalTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connmgr.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/protocol/spvmgr.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | height: Height, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/spvmgr.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_active` [INFO] [stdout] --> src/protocol/spvmgr.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | last_active: LocalTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/spvmgr.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] --> src/protocol/spvmgr.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | use nakamoto_chain::block::{cache::BlockCache, store}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 637 | use nakamoto_common::block::{cache::BlockCache, store}; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] --> src/protocol/spvmgr.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | use nakamoto_chain::filter::cache::FilterCache; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 638 | use nakamoto_common::filter::cache::FilterCache; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] --> src/protocol/tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use nakamoto_chain::block::cache::BlockCache; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 19 | use nakamoto_common::block::cache::BlockCache; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] --> src/protocol/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use nakamoto_chain::block::store; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 20 | use nakamoto_common::block::store; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_test` [INFO] [stdout] --> src/protocol/tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use nakamoto_test::block::cache::model; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nakamoto_test` [INFO] [stdout] --> src/protocol/spvmgr.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | use nakamoto_test::BITCOIN_HEADERS; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nakamoto_test` [INFO] [stdout] --> src/protocol/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use nakamoto_test::logger; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nakamoto_test` [INFO] [stdout] --> src/protocol/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use nakamoto_test::BITCOIN_HEADERS; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache` [INFO] [stdout] --> src/protocol/spvmgr.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | BlockCache::from(store::Memory::new(BITCOIN_HEADERS.clone()), params, &[]).unwrap() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BlockCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store` [INFO] [stdout] --> src/protocol/spvmgr.rs:691:30 [INFO] [stdout] | [INFO] [stdout] 691 | BlockCache::from(store::Memory::new(BITCOIN_HEADERS.clone()), params, &[]).unwrap() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilterCache` [INFO] [stdout] --> src/protocol/spvmgr.rs:697:25 [INFO] [stdout] | [INFO] [stdout] 697 | let cache = FilterCache::from(store::memory::Memory::genesis(network)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FilterCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store` [INFO] [stdout] --> src/protocol/spvmgr.rs:697:43 [INFO] [stdout] | [INFO] [stdout] 697 | let cache = FilterCache::from(store::memory::Memory::genesis(network)).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests/simulator.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | model::Cache, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests/simulator.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | model::FilterCache, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests/simulator.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | model::Cache, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests/simulator.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | model::FilterCache, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | Protocol>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | Protocol>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let cache = model::Cache::new(genesis); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let filters = model::FilterCache::new(FilterHeader::genesis(network)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | Protocol>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | Protocol>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | Protocol>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | Protocol>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let cache = model::Cache::new(genesis); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | let filters = model::FilterCache::new(FilterHeader::genesis(network)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | Builder>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:158:35 [INFO] [stdout] | [INFO] [stdout] 158 | Builder>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | let tree = model::Cache::from(chain); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | let filters = model::FilterCache::from(cfheaders); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | let tree = model::Cache::new(genesis); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | let filters = model::FilterCache::new(FilterHeader::default()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store` [INFO] [stdout] --> src/protocol/tests.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let store = store::Memory::new(BITCOIN_HEADERS.clone()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/protocol/tests.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | let filters = model::FilterCache::new(FilterHeader::genesis(Network::Mainnet)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache` [INFO] [stdout] --> src/protocol/tests.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | let alice_tree = BlockCache::from(alice_store, params.clone(), &[]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BlockCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache` [INFO] [stdout] --> src/protocol/tests.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | let bob_tree = BlockCache::from( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BlockCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store` [INFO] [stdout] --> src/protocol/tests.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | store::Memory::new(NonEmpty::new(*alice_tree.genesis())), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/protocol/tests.rs:760:30 [INFO] [stdout] | [INFO] [stdout] 760 | ) if addr == &remote [INFO] [stdout] | ^^^^^^^ expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 760 - ) if addr == &remote [INFO] [stdout] 760 + ) if addr == remote [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/protocol/tests.rs:775:30 [INFO] [stdout] | [INFO] [stdout] 775 | ) if addr == &remote [INFO] [stdout] | ^^^^^^^ expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 775 - ) if addr == &remote [INFO] [stdout] 775 + ) if addr == remote [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Store` [INFO] [stdout] --> src/protocol/tests.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | use nakamoto_common::block::store::{Genesis, Store}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nakamoto-p2p` due to 40 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "780b9aa684d497e2e1088a9ec521b66247fc4b6b877116ed1cba1327152be49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780b9aa684d497e2e1088a9ec521b66247fc4b6b877116ed1cba1327152be49f", kill_on_drop: false }` [INFO] [stdout] 780b9aa684d497e2e1088a9ec521b66247fc4b6b877116ed1cba1327152be49f