[INFO] crate libp2p-secio 0.20.0 is already in cache [INFO] checking libp2p-secio-0.20.0 against try#22dd2dd1dc07f63ae9394352d412f020d2985684 for pr-74627 [INFO] extracting crate libp2p-secio 0.20.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate libp2p-secio 0.20.0 on toolchain 22dd2dd1dc07f63ae9394352d412f020d2985684 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-secio 0.20.0 [INFO] finished tweaking crates.io crate libp2p-secio 0.20.0 [INFO] tweaked toml for crates.io crate libp2p-secio 0.20.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9752c442e2715698c2d0610be65c69187bce0c07a8da4c69f44dc1c5c1b56b3 [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" "a9752c442e2715698c2d0610be65c69187bce0c07a8da4c69f44dc1c5c1b56b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9752c442e2715698c2d0610be65c69187bce0c07a8da4c69f44dc1c5c1b56b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9752c442e2715698c2d0610be65c69187bce0c07a8da4c69f44dc1c5c1b56b3", kill_on_drop: false }` [INFO] [stdout] a9752c442e2715698c2d0610be65c69187bce0c07a8da4c69f44dc1c5c1b56b3 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 464a7ecde8446f20575803772c42fed68434c2d8c78f1a5c5abfe2d16123cf6d [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" "464a7ecde8446f20575803772c42fed68434c2d8c78f1a5c5abfe2d16123cf6d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking signature v1.1.0 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking event-listener v2.2.1 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking parking v1.0.6 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking concurrent-queue v1.1.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking ed25519 v1.0.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking futures-lite v0.1.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Checking num-traits v0.2.12 [INFO] [stderr] Checking async-channel v1.1.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Checking blocking v0.4.7 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking multihash v0.11.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking rayon v1.3.1 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking parity-multiaddr v0.9.1 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling libp2p-secio v0.20.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking multistream-select v0.8.2 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> benches/bench.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::{ [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> benches/bench.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::{ [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SecioKeyPair` in `libp2p_secio` [INFO] [stdout] --> benches/bench.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let key = libp2p_secio::SecioKeyPair::ed25519_generated().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `SecioKeyPair` in `libp2p_secio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `libp2p_tcp` [INFO] [stdout] --> benches/bench.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | libp2p_tcp::TcpConfig::new().with_upgrade(libp2p_secio::SecioConfig::new(key)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Runtime` [INFO] [stdout] --> benches/bench.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `libp2p_tcp` [INFO] [stdout] --> benches/bench.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let transport = libp2p_tcp::TcpConfig::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Runtime` [INFO] [stdout] --> benches/bench.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> benches/bench.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p_core::Transport` [INFO] [stdout] --> benches/bench.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p_core::Transport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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 `libp2p-secio`. [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" "464a7ecde8446f20575803772c42fed68434c2d8c78f1a5c5abfe2d16123cf6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464a7ecde8446f20575803772c42fed68434c2d8c78f1a5c5abfe2d16123cf6d", kill_on_drop: false }` [INFO] [stdout] 464a7ecde8446f20575803772c42fed68434c2d8c78f1a5c5abfe2d16123cf6d