[INFO] fetching crate ckb-network 0.37.0... [INFO] checking ckb-network-0.37.0 against try#1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73 for pr-78461 [INFO] extracting crate ckb-network 0.37.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ckb-network 0.37.0 on toolchain 1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-network 0.37.0 [INFO] finished tweaking crates.io crate ckb-network 0.37.0 [INFO] tweaked toml for crates.io crate ckb-network 0.37.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "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" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70b49206c53ce233428f8b1ec864e06ae276b09026aebff2828aaa907d15e475 [INFO] running `Command { std: "docker" "start" "-a" "70b49206c53ce233428f8b1ec864e06ae276b09026aebff2828aaa907d15e475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70b49206c53ce233428f8b1ec864e06ae276b09026aebff2828aaa907d15e475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b49206c53ce233428f8b1ec864e06ae276b09026aebff2828aaa907d15e475", kill_on_drop: false }` [INFO] [stdout] 70b49206c53ce233428f8b1ec864e06ae276b09026aebff2828aaa907d15e475 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64ea6603f53d0a9ca7848f95584d066454c4cbb2ea9fa0810a8ee35f9f90038f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "64ea6603f53d0a9ca7848f95584d066454c4cbb2ea9fa0810a8ee35f9f90038f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking indexmap v1.6.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking bloom-filters v0.1.1 [INFO] [stderr] Checking attohttpc v0.4.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking faketime v0.2.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking igd v0.9.1 [INFO] [stderr] Checking resolve v0.2.0 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Compiling blake2b-rs v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking ckb-hash v0.37.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ckb-system-scripts v0.5.1 [INFO] [stderr] Checking secp256k1 v0.17.2 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Compiling tentacle-secio v0.4.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking ckb-fixed-hash-core v0.37.0 [INFO] [stderr] Checking ckb-occupied-capacity-core v0.37.0 [INFO] [stderr] Checking numext-fixed-uint-core v0.1.6 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking ckb-logger-config v0.37.0 [INFO] [stderr] Checking ckb-metrics-config v0.37.0 [INFO] [stderr] Checking serde_plain v0.3.0 [INFO] [stderr] Checking ipnetwork v0.14.0 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.37.0 [INFO] [stderr] Checking debugid v0.4.0 [INFO] [stderr] Checking molecule v0.6.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking tentacle-multiaddr v0.1.0 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.37.0 [INFO] [stderr] Checking ckb-occupied-capacity v0.37.0 [INFO] [stderr] Checking ckb-error v0.37.0 [INFO] [stderr] Checking jsonrpc-core v14.2.0 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking sentry-types v0.11.0 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking ckb-fixed-hash v0.37.0 [INFO] [stderr] Checking ckb-crypto v0.37.0 [INFO] [stderr] Checking sentry v0.17.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking ckb-stop-handler v0.37.0 [INFO] [stderr] Checking tokio-yamux v0.2.8 [INFO] [stderr] Checking tentacle v0.3.0 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Checking numext-fixed-uint v0.1.6 [INFO] [stderr] Compiling ckb-rational v0.37.0 [INFO] [stderr] Compiling ckb-types v0.37.0 [INFO] [stderr] Checking ckb-pow v0.37.0 [INFO] [stderr] Checking ckb-dao-utils v0.37.0 [INFO] [stderr] Checking ckb-jsonrpc-types v0.37.0 [INFO] [stderr] Checking ckb-fee-estimator v0.37.0 [INFO] [stderr] Compiling ckb-resource v0.37.0 [INFO] [stderr] Checking ckb-chain-spec v0.37.0 [INFO] [stderr] Checking ckb-app-config v0.37.0 [INFO] [stderr] Checking ckb-network v0.37.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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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/test.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | 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:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | proptest! { [INFO] [stdout] | ^^^^^^^^ [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:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | 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:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | 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:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | 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:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddrInfo`, `MultiaddrExt`, `PeerId`, `addr_manager::AddrManager`, `multiaddr::Multiaddr` [INFO] [stdout] --> src/tests/addr_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | multiaddr::Multiaddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | peer_store::{ [INFO] [stdout] 4 | addr_manager::AddrManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | types::{AddrInfo, MultiaddrExt}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 6 | }, [INFO] [stdout] 7 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::Ipv4Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "64ea6603f53d0a9ca7848f95584d066454c4cbb2ea9fa0810a8ee35f9f90038f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ea6603f53d0a9ca7848f95584d066454c4cbb2ea9fa0810a8ee35f9f90038f", kill_on_drop: false }` [INFO] [stdout] 64ea6603f53d0a9ca7848f95584d066454c4cbb2ea9fa0810a8ee35f9f90038f