[INFO] fetching crate tp-npos-elections 2.0.2... [INFO] testing tp-npos-elections-2.0.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tp-npos-elections 2.0.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tp-npos-elections 2.0.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 231 packages to latest compatible versions [INFO] [stderr] Adding rand v0.7.3 (available: v0.10.1) [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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tp-npos-elections-compact v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18c4b7f17174ff9d0fb604b0088fc17a192a97662aa19ae17442b3cc5c88b41b [INFO] running `Command { std: "docker" "start" "-a" "18c4b7f17174ff9d0fb604b0088fc17a192a97662aa19ae17442b3cc5c88b41b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c4b7f17174ff9d0fb604b0088fc17a192a97662aa19ae17442b3cc5c88b41b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c4b7f17174ff9d0fb604b0088fc17a192a97662aa19ae17442b3cc5c88b41b", kill_on_drop: false }` [INFO] [stdout] 18c4b7f17174ff9d0fb604b0088fc17a192a97662aa19ae17442b3cc5c88b41b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0644762209ab9bea3eae6225f0687c48b4bfeb5253e466bb0b5683e2f3fdfa6f [INFO] running `Command { std: "docker" "start" "-a" "0644762209ab9bea3eae6225f0687c48b4bfeb5253e466bb0b5683e2f3fdfa6f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tetcore-std v2.1.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling tetsy-wasm v0.41.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling uint-crate v0.9.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling tetsy-impl-serde v0.3.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling tetsy-fixed-hash v0.7.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling environ v1.1.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling tetsy-util-mem v0.9.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling twasmi-validation v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling twasmi v0.6.2 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tetsy-hash256-std-hasher v0.15.3 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling tetcore-bip39 v0.4.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.1 [INFO] [stderr] Compiling debug-derive v2.1.2 [INFO] [stderr] Compiling tp-runtime-interface-proc-macro v2.1.2 [INFO] [stderr] Compiling tetsy-util-mem-derive v0.1.1 [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] error: 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] = 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] = 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] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) 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] error: 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] = 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] = 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: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 78 - .collect::>()?; [INFO] [stdout] 78 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tp-npos-elections` (lib) due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0644762209ab9bea3eae6225f0687c48b4bfeb5253e466bb0b5683e2f3fdfa6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0644762209ab9bea3eae6225f0687c48b4bfeb5253e466bb0b5683e2f3fdfa6f", kill_on_drop: false }` [INFO] [stdout] 0644762209ab9bea3eae6225f0687c48b4bfeb5253e466bb0b5683e2f3fdfa6f