[INFO] fetching crate fluence-fork-libp2p-core 0.20.1... [INFO] checking fluence-fork-libp2p-core-0.20.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate fluence-fork-libp2p-core 0.20.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate fluence-fork-libp2p-core 0.20.1 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 fluence-fork-libp2p-core 0.20.1 [INFO] finished tweaking crates.io crate fluence-fork-libp2p-core 0.20.1 [INFO] tweaked toml for crates.io crate fluence-fork-libp2p-core 0.20.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] ce7b159317c8febdf7055935cddaca7714428de96697bd6e6deb38ee59e9a1e0 [INFO] running `Command { std: "docker" "start" "-a" "ce7b159317c8febdf7055935cddaca7714428de96697bd6e6deb38ee59e9a1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce7b159317c8febdf7055935cddaca7714428de96697bd6e6deb38ee59e9a1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7b159317c8febdf7055935cddaca7714428de96697bd6e6deb38ee59e9a1e0", kill_on_drop: false }` [INFO] [stdout] ce7b159317c8febdf7055935cddaca7714428de96697bd6e6deb38ee59e9a1e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] 5e098b677b3ba2c8e240388eb0d8c134a10c3e58d4b5587a9419405c41d49f94 [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" "5e098b677b3ba2c8e240388eb0d8c134a10c3e58d4b5587a9419405c41d49f94", kill_on_drop: false }` [INFO] [stderr] Compiling fluence-fork-libp2p-core v0.20.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_core` [INFO] [stdout] --> tests/network_dial_error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p_core::multiaddr::{multiaddr, Multiaddr}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_core` [INFO] [stdout] --> tests/network_dial_error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p_core::identity; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_core` [INFO] [stdout] --> tests/network_dial_error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_core` [INFO] [stdout] --> tests/network_dial_error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p_core::transport::{Transport, MemoryTransport}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p_core::identity; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p_core::upgrade::{self, UpgradeInfo, InboundUpgrade, OutboundUpgrade}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p_core::upgrade::{self, UpgradeInfo, InboundUpgrade, OutboundUpgrade}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_mplex` [INFO] [stdout] --> tests/transport_upgrade.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p_mplex::MplexConfig; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_mplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_secio` [INFO] [stdout] --> tests/transport_upgrade.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p_secio::SecioConfig; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_secio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ConnectionHandler` in this scope [INFO] [stdout] --> tests/util.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl ConnectionHandler for TestHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `multiaddr` in this scope [INFO] [stdout] --> tests/network_dial_error.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | addresses.push(multiaddr![Ip4([0, 0, 0, 0]), Tcp(rand::random::())]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] multiaddr::multiaddr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substream` in this scope [INFO] [stdout] --> tests/util.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Substream; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.8/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] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::Substream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StreamMuxerBox` in this scope [INFO] [stdout] --> tests/util.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Substream; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubstreamEndpoint` in this scope [INFO] [stdout] --> tests/util.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 26 | fn inject_substream(&mut self, _: Self::Substream, _: SubstreamEndpoint) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::SubstreamEndpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionHandlerEvent` in this scope [INFO] [stdout] --> tests/util.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | -> Poll, Self::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandlerEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionHandlerEvent` [INFO] [stdout] --> tests/util.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | Poll::Ready(Ok(ConnectionHandlerEvent::Custom(()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandlerEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StreamMuxer` in this scope [INFO] [stdout] --> tests/util.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | M: StreamMuxer, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::StreamMuxer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `multiaddr` in this scope [INFO] [stdout] --> tests/network_dial_error.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | addresses.push(multiaddr![Udp(rand::random::())]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] multiaddr::multiaddr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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 `fluence-fork-libp2p-core` [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[E0405]: cannot find trait `ConnectionHandler` in this scope [INFO] [stdout] --> tests/util.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl ConnectionHandler for TestHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substream` in this scope [INFO] [stdout] --> tests/util.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Substream; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.8/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] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::Substream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StreamMuxerBox` in this scope [INFO] [stdout] --> tests/util.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Substream; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubstreamEndpoint` in this scope [INFO] [stdout] --> tests/util.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 26 | fn inject_substream(&mut self, _: Self::Substream, _: SubstreamEndpoint) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::SubstreamEndpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionHandlerEvent` in this scope [INFO] [stdout] --> tests/util.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | -> Poll, Self::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandlerEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionHandlerEvent` [INFO] [stdout] --> tests/util.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | Poll::Ready(Ok(ConnectionHandlerEvent::Custom(()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandlerEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StreamMuxer` in this scope [INFO] [stdout] --> tests/util.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | M: StreamMuxer, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::StreamMuxer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UpgradeInfo` in this scope [INFO] [stdout] --> tests/transport_upgrade.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl UpgradeInfo for HelloUpgrade { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::UpgradeInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InboundUpgrade` in this scope [INFO] [stdout] --> tests/transport_upgrade.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | impl InboundUpgrade for HelloUpgrade [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::InboundUpgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutboundUpgrade` in this scope [INFO] [stdout] --> tests/transport_upgrade.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | impl OutboundUpgrade for HelloUpgrade [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::OutboundUpgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryTransport` [INFO] [stdout] --> tests/transport_upgrade.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let listener_transport = MemoryTransport::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::transport::MemoryTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryTransport` [INFO] [stdout] --> tests/transport_upgrade.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | let dialer_transport = MemoryTransport::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::transport::MemoryTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_tcp` [INFO] [stdout] --> tests/network_dial_error.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | let transport: TestTransport = libp2p_tcp::TcpConfig::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_secio` [INFO] [stdout] --> tests/network_dial_error.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | .authenticate(libp2p_secio::SecioConfig::new(local_key)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_secio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_mplex` [INFO] [stdout] --> tests/network_dial_error.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | .multiplex(libp2p_mplex::MplexConfig::new()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_mplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | if let Poll::Ready(NetworkEvent::NewListenerAddress { listen_addr, .. }) = swarm1.poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | Poll::Ready(NetworkEvent::IncomingConnection(inc)) => drop(inc), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | Poll::Ready(NetworkEvent::DialError { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PendingConnectionError` [INFO] [stdout] --> tests/network_dial_error.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | error: PendingConnectionError::Transport(_) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PendingConnectionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | if let Poll::Ready(NetworkEvent::NewListenerAddress { listen_addr, .. }) = swarm.poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | Poll::Ready(NetworkEvent::UnknownPeerDialError { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PendingConnectionError` [INFO] [stdout] --> tests/network_dial_error.rs:156:28 [INFO] [stdout] | [INFO] [stdout] 156 | error: PendingConnectionError::InvalidPeerId { .. }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PendingConnectionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | Poll::Ready(NetworkEvent::IncomingConnectionError { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | Poll::Ready(NetworkEvent::IncomingConnection(inc)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkEvent` [INFO] [stdout] --> tests/network_dial_error.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | Poll::Ready(NetworkEvent::DialError { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NetworkEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PendingConnectionError` [INFO] [stdout] --> tests/network_dial_error.rs:228:28 [INFO] [stdout] | [INFO] [stdout] 228 | error: PendingConnectionError::Transport(_) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PendingConnectionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ConnectionHandler` in this scope [INFO] [stdout] --> tests/util.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl ConnectionHandler for TestHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Substream` in this scope [INFO] [stdout] --> tests/util.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Substream; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.8/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] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::Substream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StreamMuxerBox` in this scope [INFO] [stdout] --> tests/util.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | type Substream = Substream; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubstreamEndpoint` in this scope [INFO] [stdout] --> tests/util.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 26 | fn inject_substream(&mut self, _: Self::Substream, _: SubstreamEndpoint) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::SubstreamEndpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionHandlerEvent` in this scope [INFO] [stdout] --> tests/util.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | -> Poll, Self::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandlerEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionHandlerEvent` [INFO] [stdout] --> tests/util.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | Poll::Ready(Ok(ConnectionHandlerEvent::Custom(()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::connection::ConnectionHandlerEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StreamMuxer` in this scope [INFO] [stdout] --> tests/util.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | M: StreamMuxer, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fluence_fork_libp2p_core::StreamMuxer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StreamMuxerBox` in this scope [INFO] [stdout] --> tests/network_dial_error.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | type TestTransport = transport::boxed::Boxed<(PeerId, StreamMuxerBox), BoxError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NetworkConfig` in this scope [INFO] [stdout] --> tests/network_dial_error.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn new_network(cfg: NetworkConfig) -> TestNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::network::NetworkConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamMuxerBox` [INFO] [stdout] --> tests/network_dial_error.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|(conn_info, muxer), _| (conn_info, StreamMuxerBox::new(muxer))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkConfig` [INFO] [stdout] --> tests/network_dial_error.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | let mut swarm1 = new_network(NetworkConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::network::NetworkConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkConfig` [INFO] [stdout] --> tests/network_dial_error.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | let mut swarm2 = new_network(NetworkConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::network::NetworkConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkConfig` [INFO] [stdout] --> tests/network_dial_error.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | let mut swarm = new_network(NetworkConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::network::NetworkConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkConfig` [INFO] [stdout] --> tests/network_dial_error.rs:193:33 [INFO] [stdout] | [INFO] [stdout] 193 | let mut swarm = new_network(NetworkConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::network::NetworkConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkConfig` [INFO] [stdout] --> tests/network_dial_error.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | let mut swarm = new_network(NetworkConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::network::NetworkConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkConfig` [INFO] [stdout] --> tests/network_dial_error.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | let mut cfg = NetworkConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::network::NetworkConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/network_dial_error.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | .dial(Multiaddr::empty(), Vec::new(), TestHandler()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] 23 | use multiaddr::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/network_dial_error.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | .dial(Multiaddr::empty(), Vec::new(), TestHandler()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] 23 | use multiaddr::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/network_dial_error.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | .dial(Multiaddr::empty(), Vec::new(), TestHandler()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] 23 | use multiaddr::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/network_dial_error.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | .dial(Multiaddr::empty(), Vec::new(), TestHandler()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 23 | use fluence_fork_libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] 23 | use multiaddr::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 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: build failed [INFO] running `Command { std: "docker" "inspect" "5e098b677b3ba2c8e240388eb0d8c134a10c3e58d4b5587a9419405c41d49f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e098b677b3ba2c8e240388eb0d8c134a10c3e58d4b5587a9419405c41d49f94", kill_on_drop: false }` [INFO] [stdout] 5e098b677b3ba2c8e240388eb0d8c134a10c3e58d4b5587a9419405c41d49f94