[INFO] fetching crate tp-npos-elections 2.0.2... [INFO] checking tp-npos-elections-2.0.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate tp-npos-elections 2.0.2 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tp-npos-elections 2.0.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 243 packages to latest compatible versions [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 124db75ff6cb867d202631dd3003d8cfda5f891e5d6c7f2ff9995178b533b3bb [INFO] running `Command { std: "docker" "start" "-a" "124db75ff6cb867d202631dd3003d8cfda5f891e5d6c7f2ff9995178b533b3bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "124db75ff6cb867d202631dd3003d8cfda5f891e5d6c7f2ff9995178b533b3bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124db75ff6cb867d202631dd3003d8cfda5f891e5d6c7f2ff9995178b533b3bb", kill_on_drop: false }` [INFO] [stdout] 124db75ff6cb867d202631dd3003d8cfda5f891e5d6c7f2ff9995178b533b3bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fb035c8bfbd70ae418d04629e694af156ad4aeae9ee0edcbef73f16fafeced1 [INFO] running `Command { std: "docker" "start" "-a" "6fb035c8bfbd70ae418d04629e694af156ad4aeae9ee0edcbef73f16fafeced1", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking tetcore-std v2.1.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking uint-crate v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tetsy-wasm v0.41.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tetsy-fixed-hash v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling tetsy-util-mem v0.9.1 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking twasmi-validation v0.3.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking environ v1.1.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking tetsy-hash256-std-hasher v0.15.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking tetsy-trie-root v0.16.1 [INFO] [stderr] Checking tetsy-trie-db v0.22.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking twasmi v0.6.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling debug-derive v2.1.2 [INFO] [stderr] Compiling tetsy-util-mem-derive v0.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [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 derive_more v0.99.20 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking dyn-clonable v0.9.2 [INFO] [stderr] Checking panic-handler v2.1.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tetsy-impl-serde v0.3.2 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking tetcore-bip39 v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [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] Checking tetsy-scale-codec v2.0.1 [INFO] [stderr] Checking tetsy-impl-codec v0.5.1 [INFO] [stderr] Checking tetcore-storage v2.1.2 [INFO] [stderr] Checking tetcore-tracing v2.1.2 [INFO] [stderr] Checking tetcore-wasm-interface v2.1.2 [INFO] [stderr] Checking arithmetic v2.1.2 [INFO] [stderr] Checking tetsy-primitive-types v0.9.1 [INFO] [stderr] Checking externalities v2.1.2 [INFO] [stderr] Checking tp-runtime-interface v2.1.2 [INFO] [stderr] Checking tetsy-memory-db v0.26.0 [INFO] [stderr] Checking tet-core v2.1.2 [INFO] [stderr] Checking tp-trie v2.1.2 [INFO] [stderr] Checking tp-keystore v2.1.2 [INFO] [stderr] Checking 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] Checking tp-state-machine v2.1.2 [INFO] [stderr] Checking tet-io v2.1.2 [INFO] [stderr] Checking tet-application-crypto v2.1.2 [INFO] [stderr] Checking tp-runtime v2.1.2 [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" "6fb035c8bfbd70ae418d04629e694af156ad4aeae9ee0edcbef73f16fafeced1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb035c8bfbd70ae418d04629e694af156ad4aeae9ee0edcbef73f16fafeced1", kill_on_drop: false }` [INFO] [stdout] 6fb035c8bfbd70ae418d04629e694af156ad4aeae9ee0edcbef73f16fafeced1