Skip to content

Test failure on Rust v1.81 #6405

@eserilev

Description

@eserilev

Description

The test prune_excess_peers fails when running against Rust 1.81

 panicked at /Users/eitan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quickcheck-1.0.3/src/tester.rs:165:28:

Error: "user-provided comparison function does not correctly implement a total order"

I believe its related to the new sort impls in 1.81 that panic if they're unable to meaningfully sort a result (instead of just returning randomly sorted data) https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html#new-sort-implementations

cc @AgeManning @jxs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions