[INFO] fetching crate ckb-network 0.38.0... [INFO] testing ckb-network-0.38.0 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate ckb-network 0.38.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate ckb-network 0.38.0 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-network 0.38.0 [INFO] finished tweaking crates.io crate ckb-network 0.38.0 [INFO] tweaked toml for crates.io crate ckb-network 0.38.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "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] 8d090dc07206280ea8a6186912eda7713a412863ff257abe105ee1481bd535e7 [INFO] running `Command { std: "docker" "start" "-a" "8d090dc07206280ea8a6186912eda7713a412863ff257abe105ee1481bd535e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d090dc07206280ea8a6186912eda7713a412863ff257abe105ee1481bd535e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d090dc07206280ea8a6186912eda7713a412863ff257abe105ee1481bd535e7", kill_on_drop: false }` [INFO] [stdout] 8d090dc07206280ea8a6186912eda7713a412863ff257abe105ee1481bd535e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", 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] 3b9b7894412d7f0c15a567a9edcabe978e010ff6eedebc06b883574087be93a4 [INFO] running `Command { std: "docker" "start" "-a" "3b9b7894412d7f0c15a567a9edcabe978e010ff6eedebc06b883574087be93a4", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling snap v1.0.3 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling bloom-filters v0.1.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling faketime v0.2.1 [INFO] [stderr] Compiling blake2b-rs v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling ckb-hash v0.38.0 [INFO] [stderr] Compiling ckb-system-scripts v0.5.1 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tentacle-secio v0.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ckb-fixed-hash-core v0.38.0 [INFO] [stderr] Compiling ckb-occupied-capacity-core v0.38.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ckb-logger-config v0.38.0 [INFO] [stderr] Compiling serde_plain v0.3.0 [INFO] [stderr] Compiling ipnetwork v0.14.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling ckb-logger v0.38.0 [INFO] [stderr] Compiling attohttpc v0.4.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ckb-metrics-config v0.38.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.38.0 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.38.0 [INFO] [stderr] Compiling molecule v0.6.0 [INFO] [stderr] Compiling tentacle-multiaddr v0.1.0 [INFO] [stderr] Compiling debugid v0.4.0 [INFO] [stderr] Compiling igd v0.9.1 [INFO] [stderr] Compiling resolve v0.2.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling sentry-types v0.11.0 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling ckb-occupied-capacity v0.38.0 [INFO] [stderr] Compiling ckb-error v0.38.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling ckb-fixed-hash v0.38.0 [INFO] [stderr] Compiling ckb-crypto v0.38.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling ckb-stop-handler v0.38.0 [INFO] [stderr] Compiling numext-fixed-uint-core v0.1.6 [INFO] [stderr] Compiling tokio-yamux v0.2.9 [INFO] [stderr] Compiling tentacle v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling sentry v0.17.0 [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.38.0 [INFO] [stderr] Compiling ckb-types v0.38.0 [INFO] [stderr] Compiling ckb-jsonrpc-types v0.38.0 [INFO] [stderr] Compiling ckb-dao-utils v0.38.0 [INFO] [stderr] Compiling ckb-pow v0.38.0 [INFO] [stderr] Compiling ckb-fee-estimator v0.38.0 [INFO] [stderr] Compiling ckb-resource v0.38.0 [INFO] [stderr] Compiling ckb-chain-spec v0.38.0 [INFO] [stderr] Compiling ckb-app-config v0.38.0 [INFO] [stderr] Compiling ckb-network v0.38.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 37s [INFO] running `Command { std: "docker" "inspect" "3b9b7894412d7f0c15a567a9edcabe978e010ff6eedebc06b883574087be93a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9b7894412d7f0c15a567a9edcabe978e010ff6eedebc06b883574087be93a4", kill_on_drop: false }` [INFO] [stdout] 3b9b7894412d7f0c15a567a9edcabe978e010ff6eedebc06b883574087be93a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36da7a6246e4e87c585a4baa7cf6438b6c76e0b23db7205f15c5cdfdd8854589 [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" "36da7a6246e4e87c585a4baa7cf6438b6c76e0b23db7205f15c5cdfdd8854589", kill_on_drop: false }` [INFO] [stderr] Compiling ckb-network v0.38.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] running `Command { std: "docker" "inspect" "36da7a6246e4e87c585a4baa7cf6438b6c76e0b23db7205f15c5cdfdd8854589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36da7a6246e4e87c585a4baa7cf6438b6c76e0b23db7205f15c5cdfdd8854589", kill_on_drop: false }` [INFO] [stdout] 36da7a6246e4e87c585a4baa7cf6438b6c76e0b23db7205f15c5cdfdd8854589