-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Upgrades Rust to 1.72.0 & nightly-2023-08-25 #32961
Conversation
Rust 1.72.0 is schedule to be released tomorrow, any interest in waiting a day and going all the way to 1.72.0 instead? I think I tired upgrading to 1.71.0 when it was first released; iirc there was a clippy bug that is supposed to be fixed in 1.72.0. Let me see if I can find more information. |
This will give us |
Maybe the clippy bug I was thinking about was fixed in 1.71.0? Here's more context: https://discord.com/channels/428295358100013066/832013492239990805/1117251668141154424 |
By chance have you already tried |
@yihau Flagging this PR for you. Tomorrow when Rust 1.72.0 is released, can the CI image be updated with this new version? |
No have not tried 1.72.0, only 1.71.0 |
If we need to revert, can we use 1.71.1 instead of 1.71.0? |
@yihau Ok, Rust 1.72.0 has been released! |
yeah but it seems that they haven't uploaded the docker image. maybe need some time 😢 |
1505fd9
to
a40e03c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good.
For anyone wondering about the integer_arithmetic
-> arithmetic_side_effects
, it was renamed. See this page for more info: https://rust-lang.github.io/rust-clippy/master/index.html#/arithmetic_side_effects
I think we should split this into multiple PRs, just trying to gather what is required in total here. |
sadly, it's my sleep time! please merge or fix more if ci fails further after the currently running one... |
bucket_map/src/bucket_storage.rs
Outdated
// rust 1.73+ (our as-of-writing nightly version) changed panic message. we're stuck with this | ||
// short common substring until the monorepo is fully 1.73+ including stable. | ||
#[should_panic(expected = "left == right")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI I'm fixing this here: #33091
Edit: Merged.
bf73572
to
d74f293
Compare
d74f293
to
2d937a7
Compare
* remove dubious test
2d937a7
to
85e7cc4
Compare
85e7cc4
to
937f2a1
Compare
937f2a1
to
11c911b
Compare
11c911b
to
310e6e8
Compare
Codecov Report
@@ Coverage Diff @@
## master #32961 +/- ##
=========================================
+ Coverage 81.9% 82.1% +0.1%
=========================================
Files 785 785
Lines 213430 211171 -2259
=========================================
- Hits 174938 173385 -1553
+ Misses 38492 37786 -706 |
:Release Notes: After rust upgrade in oe-core from 1.71.1 to 1.74.1 in: https://git.openembedded.org/openembedded-core/commit/?id=30637cdeb31fae02544fdc643a455d0ebb126ee6 and following commits, solana was failing to build. :Detailed Notes: Backport a fix from v1.17.0: solana-labs/solana#32961 we need only this part: solana-labs/solana@9e703f8#diff-2830a98fa15197faaaf1226883e9011c9302fedb10c7926077b17c07fa320c57 for other fixes we should just upgrade solana in OSE to latest. :Testing Performed: Only build tested. :QA Notes: No change to image. :Issues Addressed: [WRP-29491] Create GPVB with Yocto 5.0 Scarthgap Change-Id: I4b926d3da35a3f2341593f19bb1332b233fc2c2a
:Release Notes: After rust upgrade in oe-core from 1.71.1 to 1.74.1 in: https://git.openembedded.org/openembedded-core/commit/?id=30637cdeb31fae02544fdc643a455d0ebb126ee6 and following commits, solana was failing to build. :Detailed Notes: Backport a fix from v1.17.0: solana-labs/solana#32961 we need only this part: solana-labs/solana@9e703f8#diff-2830a98fa15197faaaf1226883e9011c9302fedb10c7926077b17c07fa320c57 for other fixes we should just upgrade solana in OSE to latest. :Testing Performed: Only build tested. :QA Notes: No change to image. :Issues Addressed: [WRP-29491] Create GPVB with Yocto 5.0 Scarthgap Change-Id: I4b926d3da35a3f2341593f19bb1332b233fc2c2a
:Release Notes: After rust upgrade in oe-core from 1.71.1 to 1.74.1 in: https://git.openembedded.org/openembedded-core/commit/?id=30637cdeb31fae02544fdc643a455d0ebb126ee6 and following commits, solana was failing to build. :Detailed Notes: Backport a fix from v1.17.0: solana-labs/solana#32961 we need only this part: solana-labs/solana@9e703f8#diff-2830a98fa15197faaaf1226883e9011c9302fedb10c7926077b17c07fa320c57 for other fixes we should just upgrade solana in OSE to latest. :Testing Performed: Only build tested. :QA Notes: No change to image. :Issues Addressed: [WRP-29491] Create GPVB with Yocto 5.0 Scarthgap Change-Id: I4b926d3da35a3f2341593f19bb1332b233fc2c2a
:Release Notes: After rust upgrade in oe-core from 1.71.1 to 1.74.1 in: https://git.openembedded.org/openembedded-core/commit/?id=30637cdeb31fae02544fdc643a455d0ebb126ee6 and following commits, solana was failing to build. :Detailed Notes: Backport a fix from v1.17.0: solana-labs/solana#32961 we need only this part: solana-labs/solana@9e703f8#diff-2830a98fa15197faaaf1226883e9011c9302fedb10c7926077b17c07fa320c57 for other fixes we should just upgrade solana in OSE to latest. :Testing Performed: Only build tested. :QA Notes: No change to image. :Issues Addressed: [WRQ-9293] CCC: solana: Fix build with rust-1.72 and newer [WRP-29491] Create GPVB with Yocto 5.0 Scarthgap Cherry-picked-from-commit: 76222be Cherry-picked-from-branch:
Upgrade the rust (stable) toolchain to 1.72.0
https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html
https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html
https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html