[INFO] fetching crate pezframe-election-provider-solution-type 13.0.0... [INFO] testing pezframe-election-provider-solution-type-13.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate pezframe-election-provider-solution-type 13.0.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pezframe-election-provider-solution-type 13.0.0 [INFO] finished tweaking crates.io crate pezframe-election-provider-solution-type 13.0.0 [INFO] tweaked toml for crates.io crate pezframe-election-provider-solution-type 13.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pezframe-election-provider-solution-type 13.0.0 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] crate crates.io crate pezframe-election-provider-solution-type 13.0.0 already has a lockfile, it will not be regenerated [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ee0f05e99acb268eadcd8dfb255266936a8b1e14b9736e3f5db9901c004d55c6 [INFO] running `Command { std: "docker" "start" "-a" "ee0f05e99acb268eadcd8dfb255266936a8b1e14b9736e3f5db9901c004d55c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee0f05e99acb268eadcd8dfb255266936a8b1e14b9736e3f5db9901c004d55c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0f05e99acb268eadcd8dfb255266936a8b1e14b9736e3f5db9901c004d55c6", kill_on_drop: false }` [INFO] [stdout] ee0f05e99acb268eadcd8dfb255266936a8b1e14b9736e3f5db9901c004d55c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e2ab46aff297fc28161cc7ad42b852276b5eb4e6668b84abbf43e44bc2dba8b6 [INFO] running `Command { std: "docker" "start" "-a" "e2ab46aff297fc28161cc7ad42b852276b5eb4e6668b84abbf43e44bc2dba8b6", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling pezframe-election-provider-solution-type v13.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.24s [INFO] running `Command { std: "docker" "inspect" "e2ab46aff297fc28161cc7ad42b852276b5eb4e6668b84abbf43e44bc2dba8b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ab46aff297fc28161cc7ad42b852276b5eb4e6668b84abbf43e44bc2dba8b6", kill_on_drop: false }` [INFO] [stdout] e2ab46aff297fc28161cc7ad42b852276b5eb4e6668b84abbf43e44bc2dba8b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8791713f7116918b21edafdb918eb50fe3b8d08b9dfcc779f43a0ea61efe1e37 [INFO] running `Command { std: "docker" "start" "-a" "8791713f7116918b21edafdb918eb50fe3b8d08b9dfcc779f43a0ea61efe1e37", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling zmij v0.1.7 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling toml v0.9.10+spec-1.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling pezframe-election-provider-solution-type v13.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling pezsp-arithmetic v23.0.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.06s [INFO] running `Command { std: "docker" "inspect" "8791713f7116918b21edafdb918eb50fe3b8d08b9dfcc779f43a0ea61efe1e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8791713f7116918b21edafdb918eb50fe3b8d08b9dfcc779f43a0ea61efe1e37", kill_on_drop: false }` [INFO] [stdout] 8791713f7116918b21edafdb918eb50fe3b8d08b9dfcc779f43a0ea61efe1e37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 21f954a03dc7fa0c95ef44212265e17284f8fae3b1f30d308d2fca10f433dc30 [INFO] running `Command { std: "docker" "start" "-a" "21f954a03dc7fa0c95ef44212265e17284f8fae3b1f30d308d2fca10f433dc30", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pezframe_election_provider_solution_type-e3e23629e267df3f) [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.01s [INFO] [stdout] [INFO] [stderr] Doc-tests pezframe_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 `pezframe-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 `pezframe_support` in this scope [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | use pezframe_support::traits::ConstU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pezframe_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pezframe_support`, use `cargo add pezframe_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 `pezframe_support` 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 `pezframe_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pezframe_support`, use `cargo add pezframe_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 items [INFO] [stdout] | [INFO] [stdout] 64 + use std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] 64 + use pezsp_arithmetic::traits::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 `_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 this trait [INFO] [stdout] | [INFO] [stdout] 64 + use pezsp_arithmetic::traits::Bounded; [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 `pezframe-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 `pezframe_support` in this scope [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | use pezframe_support::traits::ConstU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pezframe_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pezframe_support`, use `cargo add pezframe_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pezframe_election_provider_support` [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | use pezframe_election_provider_support::NposSolution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pezframe_election_provider_support` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 113 - use pezframe_election_provider_support::NposSolution; [INFO] [stdout] 113 + use pezframe_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 `pezframe_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 `pezframe_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pezframe_support`, use `cargo add pezframe_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 items [INFO] [stdout] | [INFO] [stdout] 109 + use std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] 109 + use pezsp_arithmetic::traits::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 `_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 trait [INFO] [stdout] | [INFO] [stdout] 109 + use pezsp_arithmetic::traits::Bounded; [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.83s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "21f954a03dc7fa0c95ef44212265e17284f8fae3b1f30d308d2fca10f433dc30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f954a03dc7fa0c95ef44212265e17284f8fae3b1f30d308d2fca10f433dc30", kill_on_drop: false }` [INFO] [stdout] 21f954a03dc7fa0c95ef44212265e17284f8fae3b1f30d308d2fca10f433dc30