[INFO] crate libp2p-secio 0.20.0 is already in cache [INFO] checking libp2p-secio-0.20.0 against try#6024cfef3a82f9a7688f07054f1650081bad3af5 for pr-74130 [INFO] extracting crate libp2p-secio 0.20.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate libp2p-secio 0.20.0 on toolchain 6024cfef3a82f9a7688f07054f1650081bad3af5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ad4de88aee98846e2bcfe1c6ec619d535fdc90316c313efc8bb4fb5ebd47625 [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" "4ad4de88aee98846e2bcfe1c6ec619d535fdc90316c313efc8bb4fb5ebd47625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ad4de88aee98846e2bcfe1c6ec619d535fdc90316c313efc8bb4fb5ebd47625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad4de88aee98846e2bcfe1c6ec619d535fdc90316c313efc8bb4fb5ebd47625", kill_on_drop: false }` [INFO] [stdout] 4ad4de88aee98846e2bcfe1c6ec619d535fdc90316c313efc8bb4fb5ebd47625 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 694d9ddfcb553f27bb64e111a46ec6a04dc96a9a79365968becf57d0071e0ee5 [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" "694d9ddfcb553f27bb64e111a46ec6a04dc96a9a79365968becf57d0071e0ee5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking waker-fn v1.0.0 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking parking v1.0.4 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking fastrand v1.3.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking concurrent-queue v1.1.1 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking num-traits v0.2.12 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking hmac v0.7.1 [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] Compiling petgraph v0.5.1 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking multihash v0.11.2 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking rayon v1.3.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking parity-multiaddr v0.9.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.22 [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.0 [INFO] [stderr] Compiling libp2p-secio v0.20.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking blocking v0.4.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.8.2 [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" "694d9ddfcb553f27bb64e111a46ec6a04dc96a9a79365968becf57d0071e0ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "694d9ddfcb553f27bb64e111a46ec6a04dc96a9a79365968becf57d0071e0ee5", kill_on_drop: false }` [INFO] [stdout] 694d9ddfcb553f27bb64e111a46ec6a04dc96a9a79365968becf57d0071e0ee5