[INFO] fetching crate sc-authority-discovery 0.8.0-rc5... [INFO] testing sc-authority-discovery-0.8.0-rc5 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate sc-authority-discovery 0.8.0-rc5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sc-authority-discovery 0.8.0-rc5 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-authority-discovery 0.8.0-rc5 [INFO] finished tweaking crates.io crate sc-authority-discovery 0.8.0-rc5 [INFO] tweaked toml for crates.io crate sc-authority-discovery 0.8.0-rc5 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 707222ac5264a8837acf2eb2da09b47d9ea7e7a1e76640dcbb7fada640d5d13c [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" "707222ac5264a8837acf2eb2da09b47d9ea7e7a1e76640dcbb7fada640d5d13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "707222ac5264a8837acf2eb2da09b47d9ea7e7a1e76640dcbb7fada640d5d13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "707222ac5264a8837acf2eb2da09b47d9ea7e7a1e76640dcbb7fada640d5d13c", kill_on_drop: false }` [INFO] [stdout] 707222ac5264a8837acf2eb2da09b47d9ea7e7a1e76640dcbb7fada640d5d13c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce9fdbd2f79c3e06d69633b60840f35804860aa5bcdf583b377fd27c43d12593 [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" "ce9fdbd2f79c3e06d69633b60840f35804860aa5bcdf583b377fd27c43d12593", kill_on_drop: false }` [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling ip_network v0.3.4 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling snow v0.7.1 [INFO] [stderr] Compiling uint v0.8.4 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling libp2p-kad v0.21.0 [INFO] [stderr] Compiling libp2p-noise v0.21.0 [INFO] [stderr] Compiling libp2p-identify v0.20.0 [INFO] [stderr] Compiling sc-network v0.8.0-rc5 [INFO] [stderr] Compiling sc-authority-discovery v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling stream-cipher v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling parity-scale-codec v1.3.4 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling polyval v0.4.0 [INFO] [stderr] Compiling poly1305 v0.6.0 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Compiling chacha20 v0.4.3 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling blake2 v0.9.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling x25519-dalek v0.6.0 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling chacha20poly1305 v0.5.1 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling aes-gcm v0.6.0 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc5 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling fork-tree v2.0.0-rc5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling futures_codec v0.4.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling async-tls v0.8.0 [INFO] [stderr] Compiling soketto v0.4.1 [INFO] [stderr] Compiling yamux v0.4.7 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling memory-db v0.24.1 [INFO] [stderr] Compiling kvdb v0.7.0 [INFO] [stderr] Compiling sp-database v2.0.0-rc5 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-yamux v0.20.0 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-mplex v0.20.0 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling sp-allocator v2.0.0-rc5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling libp2p-ping v0.20.0 [INFO] [stderr] Compiling sc-executor-common v0.8.0-rc5 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-rc5 [INFO] [stderr] Compiling sp-io v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-tcp v0.20.0 [INFO] [stderr] Compiling libp2p-mdns v0.20.0 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sc-telemetry v2.0.0-rc5 [INFO] [stderr] Compiling sc-peerset v2.0.0-rc5 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 [INFO] [stderr] Compiling sc-keystore v2.0.0-rc5 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling sp-keyring v2.0.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc5 [INFO] [stderr] Compiling sp-block-builder v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor v0.8.0-rc5 [INFO] [stderr] Compiling sp-authority-discovery v2.0.0-rc5 [INFO] [stderr] Compiling sp-blockchain v2.0.0-rc5 [INFO] [stderr] Compiling sp-transaction-pool v2.0.0-rc5 [INFO] [stderr] Compiling sc-client-api v2.0.0-rc5 [INFO] [stderr] Compiling sc-block-builder v0.8.0-rc5 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 41s [INFO] running `Command { std: "docker" "inspect" "ce9fdbd2f79c3e06d69633b60840f35804860aa5bcdf583b377fd27c43d12593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9fdbd2f79c3e06d69633b60840f35804860aa5bcdf583b377fd27c43d12593", kill_on_drop: false }` [INFO] [stdout] ce9fdbd2f79c3e06d69633b60840f35804860aa5bcdf583b377fd27c43d12593 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14c20c65a74552af5d275e3c79d9182500e3e7926052d935937b8155b0402bd4 [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" "14c20c65a74552af5d275e3c79d9182500e3e7926052d935937b8155b0402bd4", kill_on_drop: false }` [INFO] [stderr] Compiling sc-authority-discovery v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/addr_cache.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | use quickcheck::{QuickCheck, TestResult}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `quickcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stdout] --> src/tests.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | let _ = ::env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ could not find `env_logger` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stdout] --> src/tests.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | let _ = ::env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ could not find `env_logger` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/tests.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | impl ProvideRuntimeApi for TestApi { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 101 | impl ProvideRuntimeApi for TestApi { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/tests.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | impl AuthorityDiscoveryApi for RuntimeApi { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 158 | impl AuthorityDiscoveryApi for RuntimeApi { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Poll` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:380:40 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:380:35 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Poll::Pending, poll!(&mut authority_discovery)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:387:32 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:387:27 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | Poll::Ready(()), poll!(&mut authority_discovery), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:426:55 [INFO] [stdout] | [INFO] [stdout] 426 | match std::pin::Pin::new(&mut authority_discovery).poll(ctx) { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> src/tests.rs:426:55 [INFO] [stdout] | [INFO] [stdout] 426 | match std::pin::Pin::new(&mut authority_discovery).poll(ctx) { [INFO] [stdout] | ^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `std::pin::Pin::new(&mut authority_discovery)` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:547:2 [INFO] [stdout] | [INFO] [stdout] 538 | let mut sentry_authority_discovery = AuthorityDiscovery::new( [INFO] [stdout] | ------------------------------ consider giving `sentry_authority_discovery` a type [INFO] [stdout] ... [INFO] [stdout] 547 | sentry_authority_discovery.handle_dht_value_found_event(vec![dht_event]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-authority-discovery`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "14c20c65a74552af5d275e3c79d9182500e3e7926052d935937b8155b0402bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c20c65a74552af5d275e3c79d9182500e3e7926052d935937b8155b0402bd4", kill_on_drop: false }` [INFO] [stdout] 14c20c65a74552af5d275e3c79d9182500e3e7926052d935937b8155b0402bd4