[INFO] fetching crate pallet-bridge-grandpa 0.18.0...
[INFO] checking pallet-bridge-grandpa-0.18.0 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate pallet-bridge-grandpa 0.18.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate pallet-bridge-grandpa 0.18.0 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-bridge-grandpa 0.18.0
[INFO] finished tweaking crates.io crate pallet-bridge-grandpa 0.18.0
[INFO] tweaked toml for crates.io crate pallet-bridge-grandpa 0.18.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 347 packages to latest compatible versions
[INFO] [stderr]       Adding unicode-normalization v0.1.22 (available: v0.1.24)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d5af3f139c54bfeae8950f50c9c4841aef68294b7a7a08ac7a585dc30131cdba
[INFO] running `Command { std: "docker" "start" "-a" "d5af3f139c54bfeae8950f50c9c4841aef68294b7a7a08ac7a585dc30131cdba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5af3f139c54bfeae8950f50c9c4841aef68294b7a7a08ac7a585dc30131cdba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5af3f139c54bfeae8950f50c9c4841aef68294b7a7a08ac7a585dc30131cdba", kill_on_drop: false }`
[INFO] [stdout] d5af3f139c54bfeae8950f50c9c4841aef68294b7a7a08ac7a585dc30131cdba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02c7a73c99e8c24f05fd50b1016989c2f1ca3418d4fa53c862eac0f12e3e9893
[INFO] running `Command { std: "docker" "start" "-a" "02c7a73c99e8c24f05fd50b1016989c2f1ca3418d4fa53c862eac0f12e3e9893", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling parity-scale-codec v3.7.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking rlp v0.5.2
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking impl-rlp v0.3.0
[INFO] [stderr]     Checking libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking safe_arch v0.7.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling parity-util-mem v0.12.0
[INFO] [stderr]     Checking wide v0.7.30
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking lru v0.8.1
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking simba v0.9.0
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking libsecp256k1 v0.7.1
[INFO] [stderr]     Checking parity-bip39 v2.0.1
[INFO] [stderr]     Checking serde_json v1.0.133
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking ethbloom v0.13.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-storage v21.0.0
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking sp-tracing v17.0.1
[INFO] [stderr]     Checking sp-externalities v0.29.0
[INFO] [stderr]     Checking sp-wasm-interface v21.0.1
[INFO] [stderr]     Checking substrate-bip39 v0.6.0
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking bounded-collections v0.2.2
[INFO] [stderr]     Checking sp-arithmetic v26.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking finality-grandpa v0.16.2
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]    Compiling parity-util-mem-derive v0.1.0
[INFO] [stderr]     Checking sp-metadata-ir v0.7.0
[INFO] [stderr]     Checking sp-weights v31.0.0
[INFO] [stderr]     Checking sp-runtime-interface v28.0.0
[INFO] [stderr]     Checking ethereum-types v0.14.1
[INFO] [stderr]     Checking sp-core v34.0.0
[INFO] [stderr]     Checking nalgebra v0.33.2
[INFO] [stderr]     Checking sp-trie v37.0.0
[INFO] [stderr]     Checking sp-keystore v0.40.0
[INFO] [stderr]     Checking sp-state-machine v0.43.0
[INFO] [stderr]     Checking sp-io v38.0.0
[INFO] [stderr]     Checking sp-application-crypto v38.0.0
[INFO] [stderr]     Checking sp-runtime v39.0.2
[INFO] [stderr]     Checking linregress v0.5.4
[INFO] [stderr]     Checking sp-version v37.0.0
[INFO] [stderr]     Checking sp-inherents v34.0.0
[INFO] [stderr]     Checking sp-staking v36.0.0
[INFO] [stderr]     Checking sp-api v34.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.15.1
[INFO] [stderr]     Checking sp-consensus-grandpa v21.0.0
[INFO] [stderr]     Checking frame-support v38.0.0
[INFO] [stderr]     Checking frame-system v38.0.0
[INFO] [stderr]     Checking bp-runtime v0.18.0
[INFO] [stderr]     Checking frame-benchmarking v38.0.0
[INFO] [stderr]     Checking bp-header-chain v0.18.1
[INFO] [stderr]     Checking bp-messages v0.18.0
[INFO] [stderr]     Checking bp-polkadot-core v0.18.0
[INFO] [stderr]     Checking bp-parachains v0.18.0
[INFO] [stderr]     Checking bp-test-utils v0.18.0
[INFO] [stderr]     Checking pallet-bridge-grandpa v0.18.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core`
[INFO] [stdout]   --> src/mock.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use sp_core::sr25519::Signature;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_core`
[INFO] [stdout]    --> src/lib.rs:851:6
[INFO] [stdout]     |
[INFO] [stdout] 851 |     use sp_core::Get;
[INFO] [stdout]     |         ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core`
[INFO] [stdout]    --> src/call_ext.rs:336:23
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let header10_hash = sp_core::H256::default();
[INFO] [stdout]     |                             ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 302 +     use sp_runtime::testing::H256;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `H256`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 336 -         let header10_hash = sp_core::H256::default();
[INFO] [stdout] 336 +         let header10_hash = H256::default();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core`
[INFO] [stdout]    --> src/call_ext.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 sp_core::H256::default(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 302 +     use sp_runtime::testing::H256;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `H256`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 493 -                 sp_core::H256::default(),
[INFO] [stdout] 493 +                 H256::default(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core`
[INFO] [stdout]    --> src/call_ext.rs:503:5
[INFO] [stdout]     |
[INFO] [stdout] 503 |                 sp_core::H256::default(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 302 +     use sp_runtime::testing::H256;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `H256`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 503 -                 sp_core::H256::default(),
[INFO] [stdout] 503 +                 H256::default(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core`
[INFO] [stdout]    --> src/call_ext.rs:513:5
[INFO] [stdout]     |
[INFO] [stdout] 513 |                 sp_core::H256::default(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 302 +     use sp_runtime::testing::H256;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `H256`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 513 -                 sp_core::H256::default(),
[INFO] [stdout] 513 +                 H256::default(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core`
[INFO] [stdout]    --> src/call_ext.rs:547:5
[INFO] [stdout]     |
[INFO] [stdout] 547 |                 sp_core::H256::default(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 302 +     use sp_runtime::testing::H256;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `H256`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 547 -                 sp_core::H256::default(),
[INFO] [stdout] 547 +                 H256::default(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io`
[INFO] [stdout]    --> src/mock.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn new_test_ext() -> sp_io::TestExternalities {
[INFO] [stdout]     |                          ^^^^^ use of undeclared crate or module `sp_io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io`
[INFO] [stdout]    --> src/mock.rs:102:2
[INFO] [stdout]     |
[INFO] [stdout] 102 |     sp_io::TestExternalities::new(Default::default())
[INFO] [stdout]     |     ^^^^^ use of undeclared crate or module `sp_io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/lib.rs:794:8
[INFO] [stdout]     |
[INFO] [stdout] 794 |                   if let Event::<T, I>::UpdatedBestFinalizedHeader { grandpa_info, .. } =
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 795 | |                     event.event.try_into().ok()?
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `pallet::MaybeHeadersToKeep` in the current scope
[INFO] [stdout]     --> src/lib.rs:1716:53
[INFO] [stdout]      |
[INFO] [stdout] 755  |     pub struct MaybeHeadersToKeep<T, I>(PhantomData<(T, I)>);
[INFO] [stdout]      |     ----------------------------------- function or associated item `get` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 1716 |         assert_eq!(MaybeHeadersToKeep::<TestRuntime, ()>::get(), Some(mock::HeadersToKeep::get()));
[INFO] [stdout]      |                                                           ^^^ function or associated item not found in `MaybeHeadersToKeep<TestRuntime, ()>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Get` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]      |
[INFO] [stdout] 831  +     use frame_support::traits::Get;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/lib.rs:794:8
[INFO] [stdout]     |
[INFO] [stdout] 794 |                   if let Event::<T, I>::UpdatedBestFinalizedHeader { grandpa_info, .. } =
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 795 | |                     event.event.try_into().ok()?
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-bridge-grandpa` (lib test) due to 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "02c7a73c99e8c24f05fd50b1016989c2f1ca3418d4fa53c862eac0f12e3e9893", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02c7a73c99e8c24f05fd50b1016989c2f1ca3418d4fa53c862eac0f12e3e9893", kill_on_drop: false }`
[INFO] [stdout] 02c7a73c99e8c24f05fd50b1016989c2f1ca3418d4fa53c862eac0f12e3e9893
