[INFO] fetching crate libp2p-rs 0.1.0... [INFO] checking libp2p-rs-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate libp2p-rs 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate libp2p-rs 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-rs 0.1.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate libp2p-rs 0.1.0 [INFO] tweaked toml for crates.io crate libp2p-rs 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate libp2p-rs 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] fccdbe8c3bf102abe60dad58138cb968b001dab088f8a7e8fee51fee95071a5a [INFO] running `Command { std: "docker" "start" "-a" "fccdbe8c3bf102abe60dad58138cb968b001dab088f8a7e8fee51fee95071a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fccdbe8c3bf102abe60dad58138cb968b001dab088f8a7e8fee51fee95071a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fccdbe8c3bf102abe60dad58138cb968b001dab088f8a7e8fee51fee95071a5a", kill_on_drop: false }` [INFO] [stdout] fccdbe8c3bf102abe60dad58138cb968b001dab088f8a7e8fee51fee95071a5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--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] be385e08e8c2570367902ef41292966e9554d623ee8841e0bc89ed5183a944f0 [INFO] running `Command { std: "docker" "start" "-a" "be385e08e8c2570367902ef41292966e9554d623ee8841e0bc89ed5183a944f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking data-encoding v2.3.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking stream-cipher v0.7.1 [INFO] [stderr] Checking aes-soft v0.5.0 [INFO] [stderr] Checking polyval v0.4.1 [INFO] [stderr] Checking poly1305 v0.6.1 [INFO] [stderr] Checking stream-cipher v0.4.1 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking blake2 v0.9.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking ctr v0.4.0 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Checking aes v0.5.0 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aes-ctr v0.4.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking aes-gcm v0.7.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking async-global-executor v1.4.2 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking secp256k1 v0.17.2 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking systemstat v0.1.5 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking libp2prs-multiaddr v0.1.0 [INFO] [stderr] Checking attohttpc v0.4.5 [INFO] [stderr] Checking igd v0.9.1 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking chacha20 v0.5.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking chacha20poly1305 v0.6.0 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling libp2prs-core v0.1.0 [INFO] [stderr] Compiling libp2prs-plaintext v0.1.0 [INFO] [stderr] Compiling libp2prs-secio v0.1.0 [INFO] [stderr] Compiling libp2prs-swarm v0.1.0 [INFO] [stderr] Compiling libp2prs-noise v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking futures-test v0.3.7 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking libp2prs-traits v0.1.0 [INFO] [stderr] Checking async-tls v0.7.0 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking async-tls v0.8.0 [INFO] [stderr] Checking libp2prs-tcp v0.1.0 [INFO] [stderr] Checking libp2prs-dns v0.1.0 [INFO] [stderr] Checking libp2prs-mplex v0.1.0 [INFO] [stderr] Checking libp2prs-yamux v0.1.0 [INFO] [stderr] Checking libp2prs-websocket v0.1.0 [INFO] [stderr] Checking libp2p-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `std_reexport` in `futures_test` [INFO] [stdout] --> examples/basichost_concurrent.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | use futures_test::std_reexport::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `std_reexport` in `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecDeque` [INFO] [stdout] --> examples/basichost_concurrent.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut handles = VecDeque::default(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::yamux::frame::io::io::sys::ext::net::raw_fd::sys_common::util::thread::panic::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | for _ in 0..100 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | stream.read_exact2(&mut buf).await.expect("C read"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | for _ in 0..100 { [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | stream.read_exact2(&mut buf).await.expect("C read"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | for _ in 0..100 { [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | stream.read_exact2(&mut buf).await.expect("C read"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | for _ in 0..100 { [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | stream.read_exact2(&mut buf).await.expect("C read"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | for _ in 0..100 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stream = control.new_stream(remote_peer_id.clone(), vec![b"/my/1.0.0"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | for _ in 0..100 { [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stream = control.new_stream(remote_peer_id.clone(), vec![b"/my/1.0.0"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | for _ in 0..100 { [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stream = control.new_stream(remote_peer_id.clone(), vec![b"/my/1.0.0"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basichost_concurrent.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | for _ in 0..100 { [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basichost_concurrent.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stream = control.new_stream(remote_peer_id.clone(), vec![b"/my/1.0.0"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "be385e08e8c2570367902ef41292966e9554d623ee8841e0bc89ed5183a944f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be385e08e8c2570367902ef41292966e9554d623ee8841e0bc89ed5183a944f0", kill_on_drop: false }` [INFO] [stdout] be385e08e8c2570367902ef41292966e9554d623ee8841e0bc89ed5183a944f0