[INFO] fetching crate pallet-im-online 39.1.0... [INFO] checking pallet-im-online-39.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate pallet-im-online 39.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate pallet-im-online 39.1.0 [INFO] finished tweaking crates.io crate pallet-im-online 39.1.0 [INFO] tweaked toml for crates.io crate pallet-im-online 39.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-im-online 39.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 358 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 047364e2b18021e200afa88765f4c50d722ec515a325b675d7f69bee6c3e53d7 [INFO] running `Command { std: "docker" "start" "-a" "047364e2b18021e200afa88765f4c50d722ec515a325b675d7f69bee6c3e53d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "047364e2b18021e200afa88765f4c50d722ec515a325b675d7f69bee6c3e53d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047364e2b18021e200afa88765f4c50d722ec515a325b675d7f69bee6c3e53d7", kill_on_drop: false }` [INFO] [stdout] 047364e2b18021e200afa88765f4c50d722ec515a325b675d7f69bee6c3e53d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73796ccfdeaef2a383dad3188807470b354d44f80ed32a2e7cb0af805130769e [INFO] running `Command { std: "docker" "start" "-a" "73796ccfdeaef2a383dad3188807470b354d44f80ed32a2e7cb0af805130769e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking blake2b_simd v1.0.3 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking schnellru v0.2.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Checking dyn-clonable v0.9.2 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-tracing v17.1.0 [INFO] [stderr] Checking sp-wasm-interface v21.0.1 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking bounded-collections v0.2.4 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v26.1.0 [INFO] [stderr] Checking frame-metadata v20.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.10.0 [INFO] [stderr] Checking sp-runtime-interface v29.0.1 [INFO] [stderr] Checking sp-weights v31.1.0 [INFO] [stderr] Checking sp-core v36.1.0 [INFO] [stderr] Checking sp-trie v39.1.0 [INFO] [stderr] Checking sp-keystore v0.42.0 [INFO] [stderr] Checking sp-state-machine v0.45.0 [INFO] [stderr] Checking sp-application-crypto v40.1.0 [INFO] [stderr] Checking sp-runtime v41.1.0 [INFO] [stderr] Checking sp-version v39.0.0 [INFO] [stderr] Checking sp-inherents v36.0.0 [INFO] [stderr] Checking sp-staking v38.0.0 [INFO] [stderr] Checking sp-api v36.0.1 [INFO] [stderr] Checking sp-genesis-builder v0.17.0 [INFO] [stderr] Checking frame-support v40.1.0 [INFO] [stderr] Checking frame-system v40.1.0 [INFO] [stderr] Checking pallet-authorship v40.0.0 [INFO] [stderr] Checking pallet-im-online v39.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pallet_session` [INFO] [stdout] --> src/mock.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use pallet_session::historical as pallet_session_historical; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | impl pallet_session::historical::SessionManager for TestSessionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | impl pallet_session::historical::Config for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | mock.unwrap_or(pallet_session::PeriodicSessions::::average_session_length()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | pallet_session::PeriodicSessions::::estimate_current_session_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | pallet_session::PeriodicSessions::::estimate_next_session_rotation(now) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeCall` in `mock` [INFO] [stdout] --> src/tests.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | crate::mock::RuntimeCall::ImOnline(crate::Call::heartbeat { heartbeat, .. }) => [INFO] [stdout] | ^^^^^^^^^^^ could not find `RuntimeCall` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeCall` in `mock` [INFO] [stdout] --> src/tests.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | crate::mock::RuntimeCall::ImOnline(crate::Call::heartbeat { heartbeat, .. }) => [INFO] [stdout] | ^^^^^^^^^^^ could not find `RuntimeCall` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 37 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | pub type Extrinsic = sp_runtime::testing::TestXt; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | pub type Extrinsic = sp_runtime::testing::TestXt; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | System::inc_providers(&i); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | impl frame_system::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | impl pallet_session::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 123 | pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 120 | impl pallet_session::Config for Runtime { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImOnline` in this scope [INFO] [stdout] --> src/mock.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | type SessionHandler = (ImOnline,); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | impl pallet_session::historical::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | impl pallet_authorship::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImOnline` in this scope [INFO] [stdout] --> src/mock.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | type EventHandler = ImOnline; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | impl Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 181 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/mock.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | type ValidatorSet = Historical; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:191:78 [INFO] [stdout] | [INFO] [stdout] 191 | impl frame_system::offchain::CreateTransactionBase for Runtime [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:193:2 [INFO] [stdout] | [INFO] [stdout] 193 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 193 | Self::RuntimeCall: From, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 195 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:199:71 [INFO] [stdout] | [INFO] [stdout] 199 | impl frame_system::offchain::CreateInherent for Runtime [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:201:2 [INFO] [stdout] | [INFO] [stdout] 201 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | let now = System::block_number().max(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:210:2 [INFO] [stdout] | [INFO] [stdout] 210 | System::set_block_number(now + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | System::set_block_number(block); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:210:3 [INFO] [stdout] | [INFO] [stdout] 210 | System::set_block_number(block); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:264:48 [INFO] [stdout] | [INFO] [stdout] 264 | assert!(!super::pallet::ReceivedHeartbeats::::get(2, 0).is_none()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 247 | fn should_cleanup_received_heartbeats_on_session_end() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:271:47 [INFO] [stdout] | [INFO] [stdout] 271 | assert!(super::pallet::ReceivedHeartbeats::::get(2, 0).is_none()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 247 | fn should_cleanup_received_heartbeats_on_session_end() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:367:3 [INFO] [stdout] | [INFO] [stdout] 367 | System::set_block_number(block); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as imonline` [INFO] [stdout] --> src/mock.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate as imonline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pallet_authorship::EventHandler` [INFO] [stdout] --> src/tests.rs:277:6 [INFO] [stdout] | [INFO] [stdout] 277 | use pallet_authorship::EventHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pallet_authorship::EventHandler` [INFO] [stdout] --> src/tests.rs:306:6 [INFO] [stdout] | [INFO] [stdout] 306 | use pallet_authorship::EventHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | impl pallet_session::SessionManager for TestSessionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(Session::set_keys(RuntimeOrigin::signed(i), (i - 1).into(), vec![]), Ok(())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(Session::set_keys(RuntimeOrigin::signed(i), (i - 1).into(), vec![]), Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | impl pallet_session::Config for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | type ShouldEndSession = pallet_session::PeriodicSessions; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] --> src/mock.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | type NextSessionRotation = pallet_session::PeriodicSessions; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_session` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_session`, use `cargo add pallet_session` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | Session::rotate_session(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let keys = Session::validators().into_iter().map(UintAuthorityId).collect(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/mock.rs:213:2 [INFO] [stdout] | [INFO] [stdout] 213 | ImOnline::set_keys(keys); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(Session::current_index(), (now / Period::get()) as u32); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:88:54 [INFO] [stdout] | [INFO] [stdout] 88 | let _ = heartbeat(block, 3, idx as u32, v.into(), Session::validators()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:123:2 [INFO] [stdout] | [INFO] [stdout] 123 | ImOnline::pre_dispatch(&crate::Call::heartbeat { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:132:2 [INFO] [stdout] | [INFO] [stdout] 132 | ImOnline::heartbeat(RuntimeOrigin::none(), heartbeat, signature) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | ImOnline::heartbeat(RuntimeOrigin::none(), heartbeat, signature) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(Session::validators(), Vec::::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(Session::current_index(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(Session::validators(), vec![1, 2, 3]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(!ImOnline::is_online(0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | assert!(!ImOnline::is_online(1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | assert!(!ImOnline::is_online(2)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | let _ = heartbeat(1, 2, 0, 1.into(), Session::validators()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | assert!(ImOnline::is_online(0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | assert!(!ImOnline::is_online(1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(!ImOnline::is_online(2)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | let _ = heartbeat(1, 2, 2, 3.into(), Session::validators()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | assert!(ImOnline::is_online(0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | assert!(!ImOnline::is_online(1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(ImOnline::is_online(2)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(Session::validators(), Vec::::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(Session::current_index(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(Session::validators(), vec![1, 2, 3]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | heartbeat(1, 3, 0, 1.into(), Session::validators()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | heartbeat(1, 1, 0, 1.into(), Session::validators()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | Session::rotate_session(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:216:3 [INFO] [stdout] | [INFO] [stdout] 216 | Session::rotate_session(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | ImOnline::offchain_worker(block); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:252:14 [INFO] [stdout] | [INFO] [stdout] 252 | assert_eq!(Session::validators(), Vec::::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(Session::current_index(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(Session::validators(), vec![1, 2, 3]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | let _ = heartbeat(1, 2, 0, 1.into(), Session::validators()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | assert_eq!(Session::validators(), Vec::::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(Session::current_index(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(Session::validators(), vec![1, 2, 3]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | assert!(!ImOnline::is_online(i)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:295:3 [INFO] [stdout] | [INFO] [stdout] 295 | ImOnline::note_author(1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | assert!(ImOnline::is_online(0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | assert!(!ImOnline::is_online(1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | assert!(!ImOnline::is_online(2)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 319 | assert_eq!(Session::validators(), Vec::::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(Session::current_index(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(Session::validators(), vec![1, 2, 3]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:324:3 [INFO] [stdout] | [INFO] [stdout] 324 | ImOnline::note_author(2); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:325:3 [INFO] [stdout] | [INFO] [stdout] 325 | ImOnline::note_author(3); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let mut res = ImOnline::send_heartbeats(4).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:371:3 [INFO] [stdout] | [INFO] [stdout] 371 | Session::rotate_session(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | Session::rotate_session(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:380:3 [INFO] [stdout] | [INFO] [stdout] 380 | ImOnline::offchain_worker(block); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:404:3 [INFO] [stdout] | [INFO] [stdout] 404 | Session::rotate_session(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:414:3 [INFO] [stdout] | [INFO] [stdout] 414 | Session::rotate_session(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(ImOnline::send_heartbeats(2).err(), Some(OffchainErr::TooEarly)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:422:11 [INFO] [stdout] | [INFO] [stdout] 422 | assert!(ImOnline::send_heartbeats(5).ok().is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:428:11 [INFO] [stdout] | [INFO] [stdout] 428 | assert!(ImOnline::send_heartbeats(2).ok().is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 445 | assert_eq!(ImOnline::send_heartbeats(2).err(), Some(OffchainErr::TooEarly)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:473:15 [INFO] [stdout] | [INFO] [stdout] 473 | assert_eq!(ImOnline::send_heartbeats(2).err(), Some(OffchainErr::TooEarly)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImOnline` [INFO] [stdout] --> src/tests.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | assert!(ImOnline::send_heartbeats(2).ok().is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImOnline` [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 `pallet-im-online` (lib test) due to 106 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "73796ccfdeaef2a383dad3188807470b354d44f80ed32a2e7cb0af805130769e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73796ccfdeaef2a383dad3188807470b354d44f80ed32a2e7cb0af805130769e", kill_on_drop: false }` [INFO] [stdout] 73796ccfdeaef2a383dad3188807470b354d44f80ed32a2e7cb0af805130769e