[INFO] fetching crate frame-election-provider-solution-type 16.1.1... [INFO] testing frame-election-provider-solution-type-16.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate frame-election-provider-solution-type 16.1.1 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate frame-election-provider-solution-type 16.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c304ccf9275a95fafe845d1d2ec7b91fe4f9c11d3ec62e73d1785f16725addf [INFO] running `Command { std: "docker" "start" "-a" "2c304ccf9275a95fafe845d1d2ec7b91fe4f9c11d3ec62e73d1785f16725addf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c304ccf9275a95fafe845d1d2ec7b91fe4f9c11d3ec62e73d1785f16725addf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c304ccf9275a95fafe845d1d2ec7b91fe4f9c11d3ec62e73d1785f16725addf", kill_on_drop: false }` [INFO] [stdout] 2c304ccf9275a95fafe845d1d2ec7b91fe4f9c11d3ec62e73d1785f16725addf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3438a30401d192ee59ac25f87ac5557fcff7e7c6287ad706177a8d51cbd29f5 [INFO] running `Command { std: "docker" "start" "-a" "b3438a30401d192ee59ac25f87ac5557fcff7e7c6287ad706177a8d51cbd29f5", 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 5.42s [INFO] running `Command { std: "docker" "inspect" "b3438a30401d192ee59ac25f87ac5557fcff7e7c6287ad706177a8d51cbd29f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3438a30401d192ee59ac25f87ac5557fcff7e7c6287ad706177a8d51cbd29f5", kill_on_drop: false }` [INFO] [stdout] b3438a30401d192ee59ac25f87ac5557fcff7e7c6287ad706177a8d51cbd29f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8042795d5704c4a88007368a8257389e9309a0873aaa00f8a3194ec9e974a083 [INFO] running `Command { std: "docker" "start" "-a" "8042795d5704c4a88007368a8257389e9309a0873aaa00f8a3194ec9e974a083", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling const_format v0.2.34 [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 toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.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 9.01s [INFO] running `Command { std: "docker" "inspect" "8042795d5704c4a88007368a8257389e9309a0873aaa00f8a3194ec9e974a083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8042795d5704c4a88007368a8257389e9309a0873aaa00f8a3194ec9e974a083", kill_on_drop: false }` [INFO] [stdout] 8042795d5704c4a88007368a8257389e9309a0873aaa00f8a3194ec9e974a083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7522aca2f196412a01135c36601f7a383a608791b6b952b3091bd545590cc5d0 [INFO] running `Command { std: "docker" "start" "-a" "7522aca2f196412a01135c36601f7a383a608791b6b952b3091bd545590cc5d0", 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-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.47s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7522aca2f196412a01135c36601f7a383a608791b6b952b3091bd545590cc5d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7522aca2f196412a01135c36601f7a383a608791b6b952b3091bd545590cc5d0", kill_on_drop: false }` [INFO] [stdout] 7522aca2f196412a01135c36601f7a383a608791b6b952b3091bd545590cc5d0