[INFO] fetching crate frame-election-provider-solution-type 16.1.1... [INFO] testing frame-election-provider-solution-type-16.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate frame-election-provider-solution-type 16.1.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate frame-election-provider-solution-type 16.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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 47 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea27d72e362796970bf2f5dac7143b5f14f770021a9c0930c6e24c8f910ced41 [INFO] running `Command { std: "docker" "start" "-a" "ea27d72e362796970bf2f5dac7143b5f14f770021a9c0930c6e24c8f910ced41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea27d72e362796970bf2f5dac7143b5f14f770021a9c0930c6e24c8f910ced41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea27d72e362796970bf2f5dac7143b5f14f770021a9c0930c6e24c8f910ced41", kill_on_drop: false }` [INFO] [stdout] ea27d72e362796970bf2f5dac7143b5f14f770021a9c0930c6e24c8f910ced41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7506df2cdb316e516d17cbfc03b3d5761511254e8bbb154fd614b48443b77312 [INFO] running `Command { std: "docker" "start" "-a" "7506df2cdb316e516d17cbfc03b3d5761511254e8bbb154fd614b48443b77312", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling frame-election-provider-solution-type v16.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.18s [INFO] running `Command { std: "docker" "inspect" "7506df2cdb316e516d17cbfc03b3d5761511254e8bbb154fd614b48443b77312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7506df2cdb316e516d17cbfc03b3d5761511254e8bbb154fd614b48443b77312", kill_on_drop: false }` [INFO] [stdout] 7506df2cdb316e516d17cbfc03b3d5761511254e8bbb154fd614b48443b77312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f96e54557d73320e18f234be1b1f2b8a47f2228d72f5fd479a6561126c7392aa [INFO] running `Command { std: "docker" "start" "-a" "f96e54557d73320e18f234be1b1f2b8a47f2228d72f5fd479a6561126c7392aa", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling parity-scale-codec-derive 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 scale-info v2.11.6 [INFO] [stderr] Compiling trybuild v1.0.116 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.15s [INFO] running `Command { std: "docker" "inspect" "f96e54557d73320e18f234be1b1f2b8a47f2228d72f5fd479a6561126c7392aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96e54557d73320e18f234be1b1f2b8a47f2228d72f5fd479a6561126c7392aa", kill_on_drop: false }` [INFO] [stdout] f96e54557d73320e18f234be1b1f2b8a47f2228d72f5fd479a6561126c7392aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dafa88f861b531604f8bab9b7ea5c0aed7b8815fad8edc420188ffaa330bba0a [INFO] running `Command { std: "docker" "start" "-a" "dafa88f861b531604f8bab9b7ea5c0aed7b8815fad8edc420188ffaa330bba0a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/frame_election_provider_solution_type-65c24d7e17e2854f) [INFO] [stdout] [INFO] [stderr] Doc-tests frame_election_provider_solution_type [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] [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] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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]: cannot find module or crate `sp_arithmetic` in this scope [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | 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]: cannot find module or crate `frame_support` in this scope [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | 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] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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]: cannot find module or crate `frame_support` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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]: cannot find module or crate `_feps` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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] 64 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 64 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 64 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 64 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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] 64 + use std::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] 64 + use scale_info::prelude::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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] 64 + use std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] 64 + use scale_info::prelude::num::Saturating; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_feps` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / generate_solution_type!(pub struct TestSolution::< [INFO] [stdout] 71 | | VoterIndex = u16, [INFO] [stdout] 72 | | TargetIndex = u8, [INFO] [stdout] 73 | | Accuracy = Perbill, [INFO] [stdout] 74 | | MaxVoters = ConstU32::<10>, [INFO] [stdout] 75 | | >(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] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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]: cannot find module or crate `sp_arithmetic` in this scope [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | 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]: cannot find module or crate `frame_support` in this scope [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 113 | 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] 113 - use frame_election_provider_support::NposSolution; [INFO] [stdout] 113 + 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] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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]: cannot find module or crate `frame_support` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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] 109 + use scale_info::form; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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] 109 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] 109 + use scale_info::Type; [INFO] [stdout] | [INFO] [stdout] 109 + use scale_info::prelude::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] 109 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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] 109 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 109 + use scale_info::Path; [INFO] [stdout] | [INFO] [stdout] 109 + use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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] 109 + use scale_info::build::Fields; [INFO] [stdout] | [INFO] [stdout] 109 + use syn::Fields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_feps` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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] 109 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 109 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 109 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 109 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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] 109 + use std::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] 109 + use scale_info::prelude::collections::BTreeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_fepsp` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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] 109 + use std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] 109 + use scale_info::prelude::num::Saturating; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_feps` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / generate_solution_type!( [INFO] [stdout] 117 | | #[compact] [INFO] [stdout] 118 | | pub struct TestSolutionCompact::< [INFO] [stdout] 119 | | VoterIndex = u16, [INFO] [stdout] ... | [INFO] [stdout] 123 | | >(8) [INFO] [stdout] 124 | | ); [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 2.79s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dafa88f861b531604f8bab9b7ea5c0aed7b8815fad8edc420188ffaa330bba0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dafa88f861b531604f8bab9b7ea5c0aed7b8815fad8edc420188ffaa330bba0a", kill_on_drop: false }` [INFO] [stdout] dafa88f861b531604f8bab9b7ea5c0aed7b8815fad8edc420188ffaa330bba0a