[INFO] fetching crate libp2p-relay 0.1.0... [INFO] checking libp2p-relay-0.1.0 against try#32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d for pr-83312 [INFO] extracting crate libp2p-relay 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate libp2p-relay 0.1.0 on toolchain 32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-relay 0.1.0 [INFO] finished tweaking crates.io crate libp2p-relay 0.1.0 [INFO] tweaked toml for crates.io crate libp2p-relay 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate libp2p-relay 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-multiaddr v0.11.1 [INFO] [stderr] Downloaded asynchronous-codec v0.6.0 [INFO] [stderr] Downloaded libp2p-core v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59817f75253e2f53372b733c641faf731609a7ec1c369f56402c771ec18b2b50 [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" "59817f75253e2f53372b733c641faf731609a7ec1c369f56402c771ec18b2b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59817f75253e2f53372b733c641faf731609a7ec1c369f56402c771ec18b2b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59817f75253e2f53372b733c641faf731609a7ec1c369f56402c771ec18b2b50", kill_on_drop: false }` [INFO] [stdout] 59817f75253e2f53372b733c641faf731609a7ec1c369f56402c771ec18b2b50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48c188365a3d0a77dbb64e8128f28776379d09b9975076d7972b42efea1a1cb7 [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" "48c188365a3d0a77dbb64e8128f28776379d09b9975076d7972b42efea1a1cb7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling multihash-derive v0.7.1 [INFO] [stderr] Compiling libp2p-core v0.28.0 [INFO] [stderr] Compiling libp2p-relay v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking parity-multiaddr v0.11.1 [INFO] [stderr] Checking libp2p-swarm v0.28.0 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/relay.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p::core::upgrade; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::kad::record::store::MemoryStore; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> tests/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::NetworkBehaviour; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_identify` [INFO] [stdout] --> tests/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2p_identify::{Identify, IdentifyEvent, IdentifyInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_kad` [INFO] [stdout] --> tests/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_kad::{GetClosestPeersOk, Kademlia, KademliaEvent, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libp2p_kad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_ping` [INFO] [stdout] --> tests/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2p_ping::{Ping, PingConfig, PingEvent}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_plaintext` [INFO] [stdout] --> tests/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use libp2p_plaintext::PlainText2Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_plaintext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> tests/lib.rs:1077:10 [INFO] [stdout] | [INFO] [stdout] 1077 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/relay.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::relay::RelayConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/relay.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::tcp::TcpConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/relay.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::plaintext; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/relay.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::Transport; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/relay.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::{identity, PeerId, Swarm}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> tests/lib.rs:1078:3 [INFO] [stdout] | [INFO] [stdout] 1078 | #[behaviour(out_event = "CombinedEvent", poll_method = "poll")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> tests/lib.rs:1085:7 [INFO] [stdout] | [INFO] [stdout] 1085 | #[behaviour(ignore)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> tests/lib.rs:1142:10 [INFO] [stdout] | [INFO] [stdout] 1142 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpConfig` [INFO] [stdout] --> examples/relay.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let tcp_transport = TcpConfig::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TcpConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `upgrade` [INFO] [stdout] --> examples/relay.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | .upgrade(upgrade::Version::V1) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `upgrade` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] --> examples/relay.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | .multiplex(libp2p_yamux::YamuxConfig::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RelayConfig` in this scope [INFO] [stdout] --> examples/relay.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let relay_config = RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_relay::RelayConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] --> tests/lib.rs:1231:20 [INFO] [stdout] | [INFO] [stdout] 1231 | .multiplex(libp2p_yamux::YamuxConfig::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryStore` [INFO] [stdout] --> tests/lib.rs:1239:13 [INFO] [stdout] | [INFO] [stdout] 1239 | MemoryStore::new(local_peer_id.clone()), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MemoryStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] --> tests/lib.rs:1268:20 [INFO] [stdout] | [INFO] [stdout] 1268 | .multiplex(libp2p_yamux::YamuxConfig::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] --> tests/lib.rs:1292:20 [INFO] [stdout] | [INFO] [stdout] 1292 | .multiplex(libp2p_yamux::YamuxConfig::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> tests/lib.rs:1082:19 [INFO] [stdout] | [INFO] [stdout] 1079 | struct CombinedBehaviour { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1082 | kad: Kademlia, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `upgrade` found for struct `RelayTransport<_>` in the current scope [INFO] [stdout] --> examples/relay.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | .upgrade(upgrade::Version::V1) [INFO] [stdout] | ^^^^^^^ method not found in `RelayTransport<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::transport::Transport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/relay.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-relay` [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] [stdout] error[E0277]: the trait bound `CombinedBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/lib.rs:1205:1 [INFO] [stdout] | [INFO] [stdout] 1205 | / fn build_swarm(reachability: Reachability, relay_mode: RelayMode) -> Swarm { [INFO] [stdout] 1206 | | let local_key = identity::Keypair::generate_ed25519(); [INFO] [stdout] 1207 | | let local_public_key = local_key.public(); [INFO] [stdout] 1208 | | let plaintext = PlainText2Config { [INFO] [stdout] ... | [INFO] [stdout] 1249 | | Swarm::new(transport, combined_behaviour, local_peer_id) [INFO] [stdout] 1250 | | } [INFO] [stdout] | |_^ the trait `NetworkBehaviour` is not implemented for `CombinedBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CombinedKeepAliveBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/lib.rs:1252:1 [INFO] [stdout] | [INFO] [stdout] 1252 | / fn build_keep_alive_swarm() -> Swarm { [INFO] [stdout] 1253 | | let local_key = identity::Keypair::generate_ed25519(); [INFO] [stdout] 1254 | | let local_public_key = local_key.public(); [INFO] [stdout] 1255 | | let plaintext = PlainText2Config { [INFO] [stdout] ... | [INFO] [stdout] 1276 | | Swarm::new(transport, combined_behaviour, local_peer_id) [INFO] [stdout] 1277 | | } [INFO] [stdout] | |_^ the trait `NetworkBehaviour` is not implemented for `CombinedKeepAliveBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "48c188365a3d0a77dbb64e8128f28776379d09b9975076d7972b42efea1a1cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c188365a3d0a77dbb64e8128f28776379d09b9975076d7972b42efea1a1cb7", kill_on_drop: false }` [INFO] [stdout] 48c188365a3d0a77dbb64e8128f28776379d09b9975076d7972b42efea1a1cb7