[INFO] fetching crate frame-election-provider-solution-type 16.1.1... [INFO] testing frame-election-provider-solution-type-16.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate frame-election-provider-solution-type 16.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate frame-election-provider-solution-type 16.1.1 [INFO] finished tweaking crates.io crate frame-election-provider-solution-type 16.1.1 [INFO] tweaked toml for crates.io crate frame-election-provider-solution-type 16.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate frame-election-provider-solution-type 16.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 547e19651fdc1d0808989742184ddd137e1627889640bfc60f2f532d9c9c7e6b [INFO] running `Command { std: "docker" "start" "-a" "547e19651fdc1d0808989742184ddd137e1627889640bfc60f2f532d9c9c7e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "547e19651fdc1d0808989742184ddd137e1627889640bfc60f2f532d9c9c7e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "547e19651fdc1d0808989742184ddd137e1627889640bfc60f2f532d9c9c7e6b", kill_on_drop: false }` [INFO] [stdout] 547e19651fdc1d0808989742184ddd137e1627889640bfc60f2f532d9c9c7e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eac6c5448c1f25ed61dae8b6db58dfef6bd36a5bfad5ec45a9dc86bdc7bbb875 [INFO] running `Command { std: "docker" "start" "-a" "eac6c5448c1f25ed61dae8b6db58dfef6bd36a5bfad5ec45a9dc86bdc7bbb875", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling frame-election-provider-solution-type v16.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "eac6c5448c1f25ed61dae8b6db58dfef6bd36a5bfad5ec45a9dc86bdc7bbb875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac6c5448c1f25ed61dae8b6db58dfef6bd36a5bfad5ec45a9dc86bdc7bbb875", kill_on_drop: false }` [INFO] [stdout] eac6c5448c1f25ed61dae8b6db58dfef6bd36a5bfad5ec45a9dc86bdc7bbb875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ff70cc55e7463ed5be962140bc12db5ddbee76576361fda14a9912819ef9572 [INFO] running `Command { std: "docker" "start" "-a" "8ff70cc55e7463ed5be962140bc12db5ddbee76576361fda14a9912819ef9572", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling frame-election-provider-solution-type v16.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.88s [INFO] running `Command { std: "docker" "inspect" "8ff70cc55e7463ed5be962140bc12db5ddbee76576361fda14a9912819ef9572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff70cc55e7463ed5be962140bc12db5ddbee76576361fda14a9912819ef9572", kill_on_drop: false }` [INFO] [stdout] 8ff70cc55e7463ed5be962140bc12db5ddbee76576361fda14a9912819ef9572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74dc37472a3bfb7e9f48eba30aacc3ab1a7b8380953b3f070761ea9ac7660ecc [INFO] running `Command { std: "docker" "start" "-a" "74dc37472a3bfb7e9f48eba30aacc3ab1a7b8380953b3f070761ea9ac7660ecc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/frame_election_provider_solution_type-a73c850a0b681647) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::ui_fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests frame_election_provider_solution_type [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - generate_solution_type (line 79) ... ignored [INFO] [stdout] test src/lib.rs - generate_solution_type (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - generate_solution_type (line 110) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - generate_solution_type (line 65) stdout ---- [INFO] [stdout] error: Could not find `frame-election-provider-support` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_arithmetic` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sp_arithmetic::per_things::Perbill; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_arithmetic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_arithmetic`, use `cargo add sp_arithmetic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 7 | use frame_support::traits::ConstU32; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_support`, use `cargo add frame_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `_fepsp` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_support`, use `cargo add frame_support` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_feps` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `_feps` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_feps`, use `cargo add _feps` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::prelude::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::prelude::num::Saturating; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_feps` [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 9 | | VoterIndex = u16, [INFO] [stdout] 10 | | TargetIndex = u8, [INFO] [stdout] 11 | | Accuracy = Perbill, [INFO] [stdout] 12 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 13 | | >(4)); [INFO] [stdout] | |_____^ use of unresolved module or unlinked crate `_feps` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_feps`, use `cargo add _feps` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - generate_solution_type (line 110) stdout ---- [INFO] [stdout] error: Could not find `frame-election-provider-support` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_arithmetic` [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sp_arithmetic::per_things::Perbill; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_arithmetic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_arithmetic`, use `cargo add sp_arithmetic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 8 | use frame_support::traits::ConstU32; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_support`, use `cargo add frame_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support` [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 6 | use frame_election_provider_support::NposSolution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use frame_election_provider_support::NposSolution; [INFO] [stdout] 6 + use frame_election_provider_solution_type::NposSolution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_support`, use `cargo add frame_support` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::form; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::Type; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::Path; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::build::Fields; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Fields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_feps` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_feps` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_feps`, use `cargo add _feps` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::prelude::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_fepsp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_fepsp`, use `cargo add _fepsp` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] 2 + use scale_info::prelude::num::Saturating; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_feps` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 9 | / generate_solution_type!( [INFO] [stdout] 10 | | #[compact] [INFO] [stdout] 11 | | pub struct TestSolutionCompact::< [INFO] [stdout] 12 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 16 | | >(8) [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `_feps` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_feps`, use `cargo add _feps` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - generate_solution_type (line 110) [INFO] [stdout] src/lib.rs - generate_solution_type (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.70s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "74dc37472a3bfb7e9f48eba30aacc3ab1a7b8380953b3f070761ea9ac7660ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74dc37472a3bfb7e9f48eba30aacc3ab1a7b8380953b3f070761ea9ac7660ecc", kill_on_drop: false }` [INFO] [stdout] 74dc37472a3bfb7e9f48eba30aacc3ab1a7b8380953b3f070761ea9ac7660ecc