[INFO] fetching crate ckb-network 0.103.0... [INFO] testing ckb-network-0.103.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate ckb-network 0.103.0 into /workspace/builds/worker-83/source [INFO] validating manifest of crates.io crate ckb-network 0.103.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-network 0.103.0 [INFO] finished tweaking crates.io crate ckb-network 0.103.0 [INFO] tweaked toml for crates.io crate ckb-network 0.103.0 written to /workspace/builds/worker-83/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c81c191ee1d1d13ae93a595c393f57d4a455220757fbe8ada066c388f383ed40 [INFO] running `Command { std: "docker" "start" "-a" "c81c191ee1d1d13ae93a595c393f57d4a455220757fbe8ada066c388f383ed40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c81c191ee1d1d13ae93a595c393f57d4a455220757fbe8ada066c388f383ed40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81c191ee1d1d13ae93a595c393f57d4a455220757fbe8ada066c388f383ed40", kill_on_drop: false }` [INFO] [stdout] c81c191ee1d1d13ae93a595c393f57d4a455220757fbe8ada066c388f383ed40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afada5bdff0ab4fb687bdaebca5eacd69749d35318569a0d9ee3004a55ff3ed9 [INFO] running `Command { std: "docker" "start" "-a" "afada5bdff0ab4fb687bdaebca5eacd69749d35318569a0d9ee3004a55ff3ed9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling tentacle-secio v0.5.3 [INFO] [stderr] Compiling eaglesong v0.1.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling ckb-constant v0.103.0 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling ckb-build-info v0.103.0 [INFO] [stderr] Compiling ckb-spawn v0.103.0 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling ckb-logger v0.103.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling bloom-filters v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling faketime v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling ckb-hash v0.103.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling includedir v0.6.0 [INFO] [stderr] Compiling ckb-util v0.103.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling includedir_codegen v0.6.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling ckb-channel v0.103.0 [INFO] [stderr] Compiling ckb-system-scripts v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling ckb-fixed-hash-core v0.103.0 [INFO] [stderr] Compiling numext-fixed-uint-core v0.1.6 [INFO] [stderr] Compiling ckb-occupied-capacity-core v0.103.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ckb-metrics-config v0.103.0 [INFO] [stderr] Compiling ckb-logger-config v0.103.0 [INFO] [stderr] Compiling serde_plain v0.3.0 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.103.0 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.103.0 [INFO] [stderr] Compiling molecule v0.7.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tentacle-multiaddr v0.3.2 [INFO] [stderr] Compiling ckb-occupied-capacity v0.103.0 [INFO] [stderr] Compiling ckb-error v0.103.0 [INFO] [stderr] Compiling ckb-fixed-hash v0.103.0 [INFO] [stderr] Compiling ckb-crypto v0.103.0 [INFO] [stderr] Compiling attohttpc v0.10.1 [INFO] [stderr] Compiling igd v0.11.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling ckb-stop-handler v0.103.0 [INFO] [stderr] Compiling tokio-yamux v0.3.5 [INFO] [stderr] Compiling tentacle v0.4.0-alpha.4 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Compiling numext-fixed-uint v0.1.6 [INFO] [stderr] Compiling ckb-rational v0.103.0 [INFO] [stderr] Compiling ckb-types v0.103.0 [INFO] [stderr] Compiling ckb-jsonrpc-types v0.103.0 [INFO] [stderr] Compiling ckb-dao-utils v0.103.0 [INFO] [stderr] Compiling ckb-pow v0.103.0 [INFO] [stderr] Compiling ckb-traits v0.103.0 [INFO] [stderr] Compiling ckb-resource v0.103.0 [INFO] [stderr] Compiling ckb-chain-spec v0.103.0 [INFO] [stderr] Compiling ckb-app-config v0.103.0 [INFO] [stderr] Compiling ckb-network v0.103.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "afada5bdff0ab4fb687bdaebca5eacd69749d35318569a0d9ee3004a55ff3ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afada5bdff0ab4fb687bdaebca5eacd69749d35318569a0d9ee3004a55ff3ed9", kill_on_drop: false }` [INFO] [stdout] afada5bdff0ab4fb687bdaebca5eacd69749d35318569a0d9ee3004a55ff3ed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d319bb359be8b982cb8e549ec722db45178880466eecd426950c04bd123ad3c1 [INFO] running `Command { std: "docker" "start" "-a" "d319bb359be8b982cb8e549ec722db45178880466eecd426950c04bd123ad3c1", kill_on_drop: false }` [INFO] [stderr] Compiling ckb-network v0.103.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/tests/addr_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use proptest::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/protocols/tests/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> src/tests/addr_manager.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `once_cell` [INFO] [stdout] --> src/protocols/tests/mod.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | static RT: once_cell::sync::OnceCell = [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `once_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `num_cpus` [INFO] [stdout] --> src/protocols/tests/mod.rs:223:43 [INFO] [stdout] | [INFO] [stdout] 223 | let num_threads = ::std::cmp::max(num_cpus::get(), 4); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `num_cpus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests/peer_store_db.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests/peer_store_db.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests/peer_store_db.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests/peer_store_db.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests/peer_store_db.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests/peer_store_db.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `once_cell` [INFO] [stdout] --> src/protocols/tests/mod.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^ not found in `once_cell::sync` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::lazy::OnceCell; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tokio::sync::OnceCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::lazy::OnceCell; [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::sync::OnceCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PeerId`, `addr_manager::AddrManager`, `multiaddr::Multiaddr`, `types::AddrInfo` [INFO] [stdout] --> src/tests/addr_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | multiaddr::Multiaddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | peer_store::{addr_manager::AddrManager, types::AddrInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | PeerId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::Ipv4Addr` [INFO] [stdout] --> src/tests/addr_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::Ipv4Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb-network` due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d319bb359be8b982cb8e549ec722db45178880466eecd426950c04bd123ad3c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d319bb359be8b982cb8e549ec722db45178880466eecd426950c04bd123ad3c1", kill_on_drop: false }` [INFO] [stdout] d319bb359be8b982cb8e549ec722db45178880466eecd426950c04bd123ad3c1