[INFO] fetching crate libp2prs-floodsub 0.2.1... [INFO] checking libp2prs-floodsub-0.2.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate libp2prs-floodsub 0.2.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate libp2prs-floodsub 0.2.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2prs-floodsub 0.2.1 [INFO] finished tweaking crates.io crate libp2prs-floodsub 0.2.1 [INFO] tweaked toml for crates.io crate libp2prs-floodsub 0.2.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate libp2prs-floodsub 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] d575f863c0711f849da92f5a682bca68def2bfd5adbbbb44682e5ee2c4692d1a [INFO] running `Command { std: "docker" "start" "-a" "d575f863c0711f849da92f5a682bca68def2bfd5adbbbb44682e5ee2c4692d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d575f863c0711f849da92f5a682bca68def2bfd5adbbbb44682e5ee2c4692d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d575f863c0711f849da92f5a682bca68def2bfd5adbbbb44682e5ee2c4692d1a", kill_on_drop: false }` [INFO] [stdout] d575f863c0711f849da92f5a682bca68def2bfd5adbbbb44682e5ee2c4692d1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30ef84fcd5f28ed01139c633b7d2cd72ab1c88231f49e028809a29472fc97854 [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" "30ef84fcd5f28ed01139c633b7d2cd72ab1c88231f49e028809a29472fc97854", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling secp256k1-sys v0.4.0 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking if-addrs v0.6.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking secp256k1 v0.20.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking salsa20-core v0.2.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking salsa20 v0.3.0 [INFO] [stderr] Checking stream-cipher v0.4.1 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking if-watch v0.1.8 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking ctr v0.4.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking aes-ctr v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking libp2prs-traits v0.2.1 [INFO] [stderr] Checking libp2prs-runtime v0.2.1 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Compiling libp2prs-core v0.2.1 [INFO] [stderr] Compiling libp2prs-secio v0.2.1 [INFO] [stderr] Compiling libp2prs-floodsub v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking libp2prs-multiaddr v0.2.1 [INFO] [stderr] Checking libp2prs-mplex v0.2.1 [INFO] [stderr] Checking libp2prs-tcp v0.2.1 [INFO] [stderr] Checking libp2prs-yamux v0.2.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2prs_swarm` [INFO] [stdout] --> src/floodsub.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use libp2prs_swarm::substream::Substream; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/floodsub.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_swarm` [INFO] [stdout] --> src/floodsub.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use libp2prs_swarm::Control as Swarm_Control; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2prs_swarm` [INFO] [stdout] --> src/protocol.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use libp2prs_swarm::protocol_handler::Notifiee; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2prs_swarm` [INFO] [stdout] --> src/protocol.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2prs_swarm::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/protocol.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substream` in this scope [INFO] [stdout] --> src/floodsub.rs:223:74 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_sending_message(&mut self, rpid: PeerId, mut writer: Substream) { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `Stream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.12/src/stream.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Stream { [INFO] [stdout] | ---------------- similarly named trait `Stream` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substream` in this scope [INFO] [stdout] --> src/floodsub.rs:260:67 [INFO] [stdout] | [INFO] [stdout] 260 | async fn handle_peer_eof(&mut self, rpid: PeerId, mut reader: Substream) { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `Stream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.12/src/stream.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Stream { [INFO] [stdout] | ---------------- similarly named trait `Stream` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Notifiee` in this scope [INFO] [stdout] --> src/protocol.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | impl Notifiee for Handler { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/protocol.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | fn connected(&mut self, conn: &mut Connection) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope [INFO] [stdout] --> src/protocol.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | impl ProtocolHandler for Handler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substream` in this scope [INFO] [stdout] --> src/protocol.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | async fn handle(&mut self, mut stream: Substream, _info: ::Info) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IProtocolHandler` in this scope [INFO] [stdout] --> src/protocol.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | fn box_clone(&self) -> IProtocolHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 | use libp2prs_core::multistream::muxer::IProtocolHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2prs-floodsub` [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" "30ef84fcd5f28ed01139c633b7d2cd72ab1c88231f49e028809a29472fc97854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ef84fcd5f28ed01139c633b7d2cd72ab1c88231f49e028809a29472fc97854", kill_on_drop: false }` [INFO] [stdout] 30ef84fcd5f28ed01139c633b7d2cd72ab1c88231f49e028809a29472fc97854