-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression: type annotations needed for Box<_> #127343
Comments
We discussed this regression in today's @rust-lang/libs-api team meeting, and agree there's nothing to change on Rust's end. Those repos that have an old version of I would love if someone were interested in cataloguing all the "type annotations needed" type inference breakages resulting from the addition of a trait impl through the history of the standard library, and think about building static analysis that could forewarn about code that is at risk of becoming ambiguous (e.g. |
Time 0.3.27 fails to build with Rust 1.80.0, released today[0]. This updates time to 0.3.36, which successfully builds with Rust 1.80.0. [0] rust-lang/rust#127343 Fixes ClementTsang#1500 Signed-off-by: Randy Barlow <[email protected]>
The version of time that bottom 0.9.6 uses does not build with Rust 1.80.0[0][1]. This bumps time to 0.3.36 to address the issue. [0] ClementTsang/bottom#1500 [1] rust-lang/rust#127343 Signed-off-by: Randy Barlow <[email protected]>
The version of time that bottom 0.9.6 uses does not build with Rust 1.80.0[0][1]. This bumps time to 0.3.36 to address the issue. [0] ClementTsang/bottom#1500 [1] rust-lang/rust#127343 Signed-off-by: Randy Barlow <[email protected]>
Backward compatibility is difficult =( |
@ayushgupta0610 Answer is here: #127343 (comment) |
Rust `1.80.0` broke backwards compatibility with older versions of the `time` crate: rust-lang/rust#127343 Users with an updated compiler will be unable to build `rp-storage-tool` with the previous dependency versions. Update `Cargo.lock` with updated dependencies generated from `cargo build --release` and Rust compiler version `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`. (cherry picked from commit c58e277)
Rust `1.80.0` broke backwards compatibility with older versions of the `time` crate: rust-lang/rust#127343 Users with an updated compiler will be unable to build `rp-storage-tool` with the previous dependency versions. Update `Cargo.lock` with updated dependencies generated from `cargo build --release` and Rust compiler version `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`. (cherry picked from commit c58e277)
Rust `1.80.0` broke backwards compatibility with older versions of the `time` crate: rust-lang/rust#127343 Users with an updated compiler will be unable to build `rp-storage-tool` with the previous dependency versions. Update `Cargo.lock` with updated dependencies generated from `cargo build --release` and Rust compiler version `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`. (cherry picked from commit c58e277)
Rust `1.80.0` broke backwards compatibility with older versions of the `time` crate: rust-lang/rust#127343 Users with an updated compiler will be unable to build `rp-storage-tool` with the previous dependency versions. Update `Cargo.lock` with updated dependencies generated from `cargo build --release` and Rust compiler version `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`. (cherry picked from commit c58e277)
Rust `1.80.0` broke backwards compatibility with older versions of the `time` crate: rust-lang/rust#127343 Users with an updated compiler will be unable to build `rp-storage-tool` with the previous dependency versions. Update `Cargo.lock` with updated dependencies generated from `cargo build --release` and Rust compiler version `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`. (cherry picked from commit c58e277)
Rust `1.80.0` broke backwards compatibility with older versions of the `time` crate: rust-lang/rust#127343 Users with an updated compiler will be unable to build `rp-storage-tool` with the previous dependency versions. Update `Cargo.lock` with updated dependencies generated from `cargo build --release` and Rust compiler version `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`. (cherry picked from commit c58e277)
Rust `1.80.0` broke backwards compatibility with older versions of the `time` crate: rust-lang/rust#127343 Users with an updated compiler will be unable to build `rp-storage-tool` with the previous dependency versions. Update `Cargo.lock` with updated dependencies generated from `cargo build --release` and Rust compiler version `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`. (cherry picked from commit c58e277)
[Rust 1.80.0 broke `time-rs` <0.3.35][1]. We have it locked to v0.3.34 which is affected. Running `cargo update time` fixes this issue. [1]: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Required to build with Rust 1.80. Link: rust-lang/rust#127343
Mostly reverse-dependencies of the
time
crate (before time-rs/time@5b0c627, released in 0.3.35). My sense is there's probably nothing to do here, but lots of crates have older version of time in Cargo.lock. Nominating for libs-api to approve the wide spectrum of regressions. (Caused by #99969).The text was updated successfully, but these errors were encountered: