[INFO] fetching crate tp-npos-elections 2.0.2... [INFO] testing tp-npos-elections-2.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate tp-npos-elections 2.0.2 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tp-npos-elections 2.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tet-io v2.1.2 [INFO] [stderr] Downloaded tetcore-std v2.1.2 [INFO] [stderr] Downloaded tetsy-util-mem-derive v0.1.1 [INFO] [stderr] Downloaded tetsy-trie-root v0.16.1 [INFO] [stderr] Downloaded tetsy-hash256-std-hasher v0.15.3 [INFO] [stderr] Downloaded tp-runtime v2.1.2 [INFO] [stderr] Downloaded tp-trie v2.1.2 [INFO] [stderr] Downloaded tetsy-util-mem v0.9.1 [INFO] [stderr] Downloaded tet-application-crypto v2.1.2 [INFO] [stderr] Downloaded tp-npos-elections-compact v2.0.2 [INFO] [stderr] Downloaded tetsy-memory-db v0.26.0 [INFO] [stderr] Downloaded tetsy-hash-db v0.15.3 [INFO] [stderr] Downloaded externalities v2.1.2 [INFO] [stderr] Downloaded tetcore-bip39 v0.4.2 [INFO] [stderr] Downloaded environ v1.1.3 [INFO] [stderr] Downloaded tetcore-tracing v2.1.2 [INFO] [stderr] Downloaded tp-runtime-interface-proc-macro v2.1.2 [INFO] [stderr] Downloaded arithmetic v2.1.2 [INFO] [stderr] Downloaded twasmi v0.6.2 [INFO] [stderr] Downloaded tp-state-machine v2.1.2 [INFO] [stderr] Downloaded tetsy-trie-db v0.22.3 [INFO] [stderr] Downloaded tet-core v2.1.2 [INFO] [stderr] Downloaded tp-runtime-interface v2.1.2 [INFO] [stderr] Downloaded twasmi-validation v0.3.0 [INFO] [stderr] Downloaded debug-derive v2.1.2 [INFO] [stderr] Downloaded tetcore-storage v2.1.2 [INFO] [stderr] Downloaded tetcore-wasm-interface v2.1.2 [INFO] [stderr] Downloaded tp-keystore v2.1.2 [INFO] [stderr] Downloaded panic-handler v2.1.2 [INFO] [stderr] Downloaded secrecy v0.7.0 [INFO] [stderr] Downloaded tetsy-scale-codec-derive v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73fbc4da4fd26d950126f9b535f073c80b14eb2aef97e506c3ddc5852885e554 [INFO] running `Command { std: "docker" "start" "-a" "73fbc4da4fd26d950126f9b535f073c80b14eb2aef97e506c3ddc5852885e554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73fbc4da4fd26d950126f9b535f073c80b14eb2aef97e506c3ddc5852885e554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73fbc4da4fd26d950126f9b535f073c80b14eb2aef97e506c3ddc5852885e554", kill_on_drop: false }` [INFO] [stdout] 73fbc4da4fd26d950126f9b535f073c80b14eb2aef97e506c3ddc5852885e554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1ff7da9c4c8475cc87a98d584f43758f9493cf0ecf69d128464880df6b5a01f [INFO] running `Command { std: "docker" "start" "-a" "d1ff7da9c4c8475cc87a98d584f43758f9493cf0ecf69d128464880df6b5a01f", 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 tap v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling wyz v0.2.0 [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 bitvec v0.20.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling debug-derive v2.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [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 tetsy-wasm v0.41.0 [INFO] [stderr] Compiling uint-crate v0.9.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling tetsy-fixed-hash v0.7.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling environ v1.1.3 [INFO] [stderr] Compiling tetsy-util-mem v0.9.1 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tetsy-util-mem-derive v0.1.1 [INFO] [stderr] Compiling twasmi-validation v0.3.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac v0.8.1 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [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 curve25519-dalek v2.1.3 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tetsy-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 tetcore-bip39 v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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-tracing v2.1.2 [INFO] [stderr] Compiling tetcore-wasm-interface 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 04s [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" "d1ff7da9c4c8475cc87a98d584f43758f9493cf0ecf69d128464880df6b5a01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ff7da9c4c8475cc87a98d584f43758f9493cf0ecf69d128464880df6b5a01f", kill_on_drop: false }` [INFO] [stdout] d1ff7da9c4c8475cc87a98d584f43758f9493cf0ecf69d128464880df6b5a01f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef51049c7be742895e807b0943d0e5849e0bcab99e0ad7b9978e92c0798702d7 [INFO] running `Command { std: "docker" "start" "-a" "ef51049c7be742895e807b0943d0e5849e0bcab99e0ad7b9978e92c0798702d7", kill_on_drop: false }` [INFO] [stderr] Compiling tetsy-memory-db v0.26.0 [INFO] [stderr] Compiling tetsy-trie-db v0.22.3 [INFO] [stderr] Compiling tetsy-trie-root v0.16.1 [INFO] [stderr] Compiling panic-handler v2.1.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling derive_more v0.99.20 [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 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" "ef51049c7be742895e807b0943d0e5849e0bcab99e0ad7b9978e92c0798702d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef51049c7be742895e807b0943d0e5849e0bcab99e0ad7b9978e92c0798702d7", kill_on_drop: false }` [INFO] [stdout] ef51049c7be742895e807b0943d0e5849e0bcab99e0ad7b9978e92c0798702d7