[INFO] fetching crate sc-authority-discovery 0.9.0... [INFO] testing sc-authority-discovery-0.9.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate sc-authority-discovery 0.9.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sc-authority-discovery 0.9.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-authority-discovery 0.9.0 [INFO] finished tweaking crates.io crate sc-authority-discovery 0.9.0 [INFO] tweaked toml for crates.io crate sc-authority-discovery 0.9.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf568eebfa525349a712868694d3850053f153aba332133457975164fc48402 [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" "ebf568eebfa525349a712868694d3850053f153aba332133457975164fc48402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf568eebfa525349a712868694d3850053f153aba332133457975164fc48402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf568eebfa525349a712868694d3850053f153aba332133457975164fc48402", kill_on_drop: false }` [INFO] [stdout] ebf568eebfa525349a712868694d3850053f153aba332133457975164fc48402 [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3827a8f96fbff1191d83083f84c6c07da82a29c9e1c5d539fff2f7c20dd3f03d [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" "3827a8f96fbff1191d83083f84c6c07da82a29c9e1c5d539fff2f7c20dd3f03d", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling minicbor-derive v0.6.3 [INFO] [stderr] Compiling libp2p-core-derive v0.21.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.10 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling chacha20 v0.5.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling trie-db v0.22.5 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling chacha20poly1305 v0.6.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling data-encoding-macro v0.1.12 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling if-watch v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling asynchronous-codec v0.6.0 [INFO] [stderr] Compiling asynchronous-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling erased-serde v0.3.15 [INFO] [stderr] Compiling minicbor v0.7.2 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling unsigned-varint v0.7.0 [INFO] [stderr] Compiling unsigned-varint v0.6.0 [INFO] [stderr] Compiling futures-rustls v0.21.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling soketto v0.4.2 [INFO] [stderr] Compiling yamux v0.8.1 [INFO] [stderr] Compiling libp2p-pnet v0.20.0 [INFO] [stderr] Compiling sp-utils v3.0.0 [INFO] [stderr] Compiling multistream-select v0.10.2 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling sp-serializer v3.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Compiling libp2p-kad v0.28.1 [INFO] [stderr] Compiling libp2p-floodsub v0.27.0 [INFO] [stderr] Compiling libp2p-identify v0.27.0 [INFO] [stderr] Compiling libp2p-plaintext v0.27.1 [INFO] [stderr] Compiling libp2p-noise v0.29.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.27.0 [INFO] [stderr] Compiling sc-network v0.9.0 [INFO] [stderr] Compiling sc-authority-discovery v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Compiling parity-scale-codec-derive v2.1.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling js-sys v0.3.51 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling parity-scale-codec v2.1.1 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling impl-codec v0.5.0 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling fork-tree v3.0.0 [INFO] [stderr] Compiling parity-multiaddr v0.11.2 [INFO] [stderr] Compiling cid v0.6.1 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.24 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling memory-db v0.26.0 [INFO] [stderr] Compiling kvdb v0.9.0 [INFO] [stderr] Compiling sp-database v3.0.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling libp2p-swarm v0.27.2 [INFO] [stderr] Compiling libp2p-wasm-ext v0.27.0 [INFO] [stderr] Compiling libp2p-yamux v0.30.1 [INFO] [stderr] Compiling libp2p-dns v0.27.0 [INFO] [stderr] Compiling libp2p-mplex v0.27.1 [INFO] [stderr] Compiling libp2p-websocket v0.28.0 [INFO] [stderr] Compiling libp2p-uds v0.27.0 [INFO] [stderr] Compiling libp2p-deflate v0.27.1 [INFO] [stderr] Compiling libp2p-tcp v0.27.1 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Compiling libp2p-ping v0.27.0 [INFO] [stderr] Compiling libp2p-mdns v0.28.1 [INFO] [stderr] Compiling libp2p-request-response v0.9.1 [INFO] [stderr] Compiling sp-trie v3.0.0 [INFO] [stderr] Compiling sp-keystore v0.9.0 [INFO] [stderr] Compiling sp-inherents v3.0.0 [INFO] [stderr] Compiling sp-allocator v3.0.0 [INFO] [stderr] Compiling sc-executor-common v0.9.0 [INFO] [stderr] Compiling sp-state-machine v0.9.0 [INFO] [stderr] Compiling sc-executor-wasmi v0.9.0 [INFO] [stderr] Compiling libp2p v0.34.0 [INFO] [stderr] Compiling sp-io v3.0.0 [INFO] [stderr] Compiling sc-peerset v3.0.0 [INFO] [stderr] Compiling sp-application-crypto v3.0.0 [INFO] [stderr] Compiling sp-tasks v3.0.0 [INFO] [stderr] Compiling sp-runtime v3.0.0 [INFO] [stderr] Compiling sp-version v3.0.0 [INFO] [stderr] Compiling sp-api v3.0.0 [INFO] [stderr] Compiling sp-consensus v0.9.0 [INFO] [stderr] Compiling sc-executor v0.9.0 [INFO] [stderr] Compiling sp-block-builder v3.0.0 [INFO] [stderr] Compiling sp-authority-discovery v3.0.0 [INFO] [stderr] Compiling sp-blockchain v3.0.0 [INFO] [stderr] Compiling sp-transaction-pool v3.0.0 [INFO] [stderr] Compiling sc-client-api v3.0.0 [INFO] [stderr] Compiling sc-block-builder v0.9.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "3827a8f96fbff1191d83083f84c6c07da82a29c9e1c5d539fff2f7c20dd3f03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3827a8f96fbff1191d83083f84c6c07da82a29c9e1c5d539fff2f7c20dd3f03d", kill_on_drop: false }` [INFO] [stdout] 3827a8f96fbff1191d83083f84c6c07da82a29c9e1c5d539fff2f7c20dd3f03d [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 93f6149e212463a492259cfcb27bce197e8c9a78e5e76de21264776b99ec44bd [INFO] running `Command { std: "docker" "start" "-a" "93f6149e212463a492259cfcb27bce197e8c9a78e5e76de21264776b99ec44bd", kill_on_drop: false }` [INFO] [stderr] Compiling sc-authority-discovery v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/worker/tests.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/worker/addr_cache.rs:115:6 [INFO] [stdout] | [INFO] [stdout] 115 | use quickcheck::{Arbitrary, Gen, QuickCheck, TestResult}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `quickcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/worker/tests.rs:236:2 [INFO] [stdout] | [INFO] [stdout] 236 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/worker/tests.rs:269:2 [INFO] [stdout] | [INFO] [stdout] 269 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/worker/tests.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | impl ProvideRuntimeApi for TestApi { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | 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] 45 | 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/worker/tests.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | impl AuthorityDiscoveryApi for RuntimeApi { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | 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] 102 | 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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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" "93f6149e212463a492259cfcb27bce197e8c9a78e5e76de21264776b99ec44bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f6149e212463a492259cfcb27bce197e8c9a78e5e76de21264776b99ec44bd", kill_on_drop: false }` [INFO] [stdout] 93f6149e212463a492259cfcb27bce197e8c9a78e5e76de21264776b99ec44bd