[INFO] fetching crate tp-npos-elections 2.0.2... [INFO] testing tp-npos-elections-2.0.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate tp-npos-elections 2.0.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tp-npos-elections 2.0.2 [INFO] finished tweaking crates.io crate tp-npos-elections 2.0.2 [INFO] tweaked toml for crates.io crate tp-npos-elections 2.0.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tp-npos-elections 2.0.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 235 packages to latest compatible versions [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0f29a17be4c64bbc87cfcf7b1ab41f5df5230a234ca9de06328b6b3ddf76fb9 [INFO] running `Command { std: "docker" "start" "-a" "a0f29a17be4c64bbc87cfcf7b1ab41f5df5230a234ca9de06328b6b3ddf76fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0f29a17be4c64bbc87cfcf7b1ab41f5df5230a234ca9de06328b6b3ddf76fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f29a17be4c64bbc87cfcf7b1ab41f5df5230a234ca9de06328b6b3ddf76fb9", kill_on_drop: false }` [INFO] [stdout] a0f29a17be4c64bbc87cfcf7b1ab41f5df5230a234ca9de06328b6b3ddf76fb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea82c49ec2223cee8226367faac00c56911be0b397589aa39caedb40086a9d68 [INFO] running `Command { std: "docker" "start" "-a" "ea82c49ec2223cee8226367faac00c56911be0b397589aa39caedb40086a9d68", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling tetcore-std v2.1.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling debug-derive v2.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tetsy-wasm v0.41.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uint-crate v0.9.1 [INFO] [stderr] Compiling tetsy-fixed-hash v0.7.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling tetsy-util-mem v0.9.1 [INFO] [stderr] Compiling environ v1.1.3 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling twasmi-validation v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tetsy-util-mem-derive v0.1.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling tetsy-hash256-std-hasher v0.15.3 [INFO] [stderr] Compiling tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling twasmi v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling tetsy-impl-serde v0.3.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tetcore-bip39 v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.1 [INFO] [stderr] Compiling tp-runtime-interface-proc-macro v2.1.2 [INFO] [stderr] Compiling tp-npos-elections-compact v2.0.2 [INFO] [stderr] Compiling tetsy-scale-codec v2.0.1 [INFO] [stderr] Compiling tetsy-impl-codec v0.5.1 [INFO] [stderr] Compiling tetcore-storage v2.1.2 [INFO] [stderr] Compiling tetcore-wasm-interface v2.1.2 [INFO] [stderr] Compiling tetcore-tracing v2.1.2 [INFO] [stderr] Compiling arithmetic v2.1.2 [INFO] [stderr] Compiling tetsy-primitive-types v0.9.1 [INFO] [stderr] Compiling externalities v2.1.2 [INFO] [stderr] Compiling tp-runtime-interface v2.1.2 [INFO] [stderr] Compiling tet-core v2.1.2 [INFO] [stderr] Compiling tp-npos-elections v2.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:419:51 [INFO] [stdout] | [INFO] [stdout] 419 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:419:59 [INFO] [stdout] | [INFO] [stdout] 419 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:489:51 [INFO] [stdout] | [INFO] [stdout] 489 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:489:59 [INFO] [stdout] | [INFO] [stdout] 489 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:567:33 [INFO] [stdout] | [INFO] [stdout] 567 | #[derive(Default, RuntimeDebug, Encode, Decode, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:567:41 [INFO] [stdout] | [INFO] [stdout] 567 | #[derive(Default, RuntimeDebug, Encode, Decode, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/helpers.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub fn assignment_ratio_to_staked_normalized( [INFO] [stdout] 45 | | ratio: Vec>, [INFO] [stdout] 46 | | stake_of: FS, [INFO] [stdout] 47 | | ) -> Result>, Error> [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | for<'r> FS: Fn(&'r A) -> VoteWeight, [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/helpers.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 57 - .collect::>()?; [INFO] [stdout] 57 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/helpers.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / pub fn assignment_staked_to_ratio_normalized( [INFO] [stdout] 72 | | staked: Vec>, [INFO] [stdout] 73 | | ) -> Result>, Error> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/helpers.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 78 - .collect::>()?; [INFO] [stdout] 78 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tp-npos-elections v2.0.2 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ea82c49ec2223cee8226367faac00c56911be0b397589aa39caedb40086a9d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea82c49ec2223cee8226367faac00c56911be0b397589aa39caedb40086a9d68", kill_on_drop: false }` [INFO] [stdout] ea82c49ec2223cee8226367faac00c56911be0b397589aa39caedb40086a9d68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2ef4dca003ed755e353cbaf7ec5a97d78209b2ebfaa050c0dc82a37e8d3f1f9 [INFO] running `Command { std: "docker" "start" "-a" "a2ef4dca003ed755e353cbaf7ec5a97d78209b2ebfaa050c0dc82a37e8d3f1f9", kill_on_drop: false }` [INFO] [stderr] Compiling tetsy-memory-db v0.26.0 [INFO] [stderr] Compiling tetsy-trie-root v0.16.1 [INFO] [stderr] Compiling tetsy-trie-db v0.22.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling panic-handler v2.1.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:419:51 [INFO] [stdout] | [INFO] [stdout] 419 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:419:59 [INFO] [stdout] | [INFO] [stdout] 419 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:489:51 [INFO] [stdout] | [INFO] [stdout] 489 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:489:59 [INFO] [stdout] | [INFO] [stdout] 489 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:567:33 [INFO] [stdout] | [INFO] [stdout] 567 | #[derive(Default, RuntimeDebug, Encode, Decode, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:567:41 [INFO] [stdout] | [INFO] [stdout] 567 | #[derive(Default, RuntimeDebug, Encode, Decode, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/helpers.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub fn assignment_ratio_to_staked_normalized( [INFO] [stdout] 45 | | ratio: Vec>, [INFO] [stdout] 46 | | stake_of: FS, [INFO] [stdout] 47 | | ) -> Result>, Error> [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | for<'r> FS: Fn(&'r A) -> VoteWeight, [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/helpers.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 57 - .collect::>()?; [INFO] [stdout] 57 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/helpers.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / pub fn assignment_staked_to_ratio_normalized( [INFO] [stdout] 72 | | staked: Vec>, [INFO] [stdout] 73 | | ) -> Result>, Error> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/helpers.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 78 - .collect::>()?; [INFO] [stdout] 78 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling tp-trie v2.1.2 [INFO] [stderr] Compiling tp-state-machine v2.1.2 [INFO] [stderr] Compiling tp-keystore v2.1.2 [INFO] [stderr] Compiling tet-io v2.1.2 [INFO] [stderr] Compiling tet-application-crypto v2.1.2 [INFO] [stderr] Compiling tp-runtime v2.1.2 [INFO] [stderr] Compiling tp-npos-elections v2.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tetcore_test_utils` [INFO] [stdout] --> src/tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tetcore_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tetcore_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tetcore_test_utils`, use `cargo add tetcore_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tests.rs:1151:2 [INFO] [stdout] | [INFO] [stdout] 1151 | generate_solution_type!(pub struct TestSolutionCompact::(16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_npos::codec::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `_npos::codec::Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `_npos::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tests.rs:1151:2 [INFO] [stdout] | [INFO] [stdout] 1151 | generate_solution_type!(pub struct TestSolutionCompact::(16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_npos::codec::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `_npos::codec::Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `_npos::codec::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tests.rs:1169:4 [INFO] [stdout] | [INFO] [stdout] 1169 | generate_solution_type!(pub struct InnerTestSolution::(16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_npos::codec::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `_npos::codec::Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `_npos::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tests.rs:1169:4 [INFO] [stdout] | [INFO] [stdout] 1169 | generate_solution_type!(pub struct InnerTestSolution::(16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_npos::codec::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `_npos::codec::Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `_npos::codec::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:419:51 [INFO] [stdout] | [INFO] [stdout] 419 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:419:59 [INFO] [stdout] | [INFO] [stdout] 419 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:489:51 [INFO] [stdout] | [INFO] [stdout] 489 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:489:59 [INFO] [stdout] | [INFO] [stdout] 489 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:567:33 [INFO] [stdout] | [INFO] [stdout] 567 | #[derive(Default, RuntimeDebug, Encode, Decode, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:567:41 [INFO] [stdout] | [INFO] [stdout] 567 | #[derive(Default, RuntimeDebug, Encode, Decode, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/helpers.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub fn assignment_ratio_to_staked_normalized( [INFO] [stdout] 45 | | ratio: Vec>, [INFO] [stdout] 46 | | stake_of: FS, [INFO] [stdout] 47 | | ) -> Result>, Error> [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | for<'r> FS: Fn(&'r A) -> VoteWeight, [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/helpers.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 57 - .collect::>()?; [INFO] [stdout] 57 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/helpers.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / pub fn assignment_staked_to_ratio_normalized( [INFO] [stdout] 72 | | staked: Vec>, [INFO] [stdout] 73 | | ) -> Result>, Error> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/helpers.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 78 - .collect::>()?; [INFO] [stdout] 78 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tp-npos-elections` (lib test) due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2ef4dca003ed755e353cbaf7ec5a97d78209b2ebfaa050c0dc82a37e8d3f1f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ef4dca003ed755e353cbaf7ec5a97d78209b2ebfaa050c0dc82a37e8d3f1f9", kill_on_drop: false }` [INFO] [stdout] a2ef4dca003ed755e353cbaf7ec5a97d78209b2ebfaa050c0dc82a37e8d3f1f9