Skip to content

[beta] Prepare Rust 1.84.0 - #133447

Merged
bors merged 5 commits into
rust-lang:betafrom
BoxyUwU:beta
Nov 26, 2024
Merged

[beta] Prepare Rust 1.84.0#133447
bors merged 5 commits into
rust-lang:betafrom
BoxyUwU:beta

Conversation

@BoxyUwU

Copy link
Copy Markdown
Member

@rustbotrustbot added A-testsuite Area: The testsuite used to check the correctness of rustc O-apple Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 25, 2024
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter
gets adapted for the changes, if necessary.

cc @rust-lang/miri, @rust-lang/wg-const-eval

@BoxyUwU

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=10

@bors

bors commented Nov 25, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 6f5e494 has been approved by BoxyUwU

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 25, 2024
@bors

bors commented Nov 25, 2024

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 6f5e494 with merge 5b948aa...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 25, 2024
[beta] Prepare Rust 1.84.0
r? `@ghost`
@rust-log-analyzer

This comment has been minimized.

@bors

bors commented Nov 25, 2024

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 25, 2024
@BoxyUwU

Copy link
Copy Markdown
MemberAuthor

@bors retry msvc moment

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 25, 2024
@jieyouxujieyouxu added the CI-spurious-fail-msvc CI spurious failure: target env msvc label Nov 25, 2024
@bors

bors commented Nov 25, 2024

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 6f5e494 with merge 0c28a81...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 25, 2024
[beta] Prepare Rust 1.84.0
r? `@ghost`
@rust-log-analyzer

This comment has been minimized.

@bors

bors commented Nov 26, 2024

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 26, 2024
@ehuss

Copy link
Copy Markdown
Contributor

I have a strong suspicion that the error is caused by #131365. cc @heiseish

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 26, 2024
@bors

bors commented Nov 26, 2024

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 4fe4a39 with merge 954a185...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 26, 2024
[beta] Prepare Rust 1.84.0
r? `@ghost`
@rust-log-analyzer

This comment has been minimized.

@bors

bors commented Nov 26, 2024

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 26, 2024
@BoxyUwU

Copy link
Copy Markdown
MemberAuthor

test failing from #132993 cc @jieyouxu

@jieyouxu

Copy link
Copy Markdown
Member

test failing from #132993 cc @jieyouxu

can you use #133504 to disable the test during post-opt-dist?

@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in src/tools/opt-dist

cc @Kobzol

@BoxyUwU

Copy link
Copy Markdown
MemberAuthor

I guess the only way to find out if that helps is to just

@bors r+ rollup=never p=10

@bors

bors commented Nov 26, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit b19dfd7 has been approved by BoxyUwU

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 26, 2024
@jieyouxu

Copy link
Copy Markdown
Member

(Delete the test to not block beta bump if needed and discard the ignore change)

@bors

bors commented Nov 26, 2024

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b19dfd7 with merge b4297a5...

@bors

bors commented Nov 26, 2024

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: BoxyUwU
Pushing b4297a5 to beta...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Nov 26, 2024
@bors
bors merged commit b4297a5 into rust-lang:betaNov 26, 2024
@rustbotrustbot added this to the 1.84.0 milestone Nov 26, 2024
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Dec 23, 2024
… r=Kobzol
opt-dist: propagate channel info to bootstrap
Fixesrust-lang#133503.
Previously, `tests/ui/bootstrap/rustc_bootstap.rs` [sic] failed during [beta bump](rust-lang#133447 (comment)) in opt-dist tests. This is because:
- `opt-dist` tried to run `./x test` against beta-channel dist `rustc` through `bootstrap`.
- The dist build produced during the beta bump produces a `rustc` which correctly thinks that it is a beta compiler based on `src/ci/channel` info.
- `opt-dist` tries to run `./x test` on the beta `rustc` from the dist build, but without specifying channel through a synthetic `config.toml`, so `bootstrap` tells `compiletest` that we're on the `nightly` channel (by default).
- Now there's a channel mismatch: `compiletest` believes the `rustc` under test is a *nightly* rustc, but the `rustc` under test actually considers itself a *beta* rustc. This means that `//@ only-nightly` will be satisfied yet the test will fail as the *beta* rustc is not a *nightly* rustc.
This PR:
- Fixes the test failure during beta bump (i.e. rust-lang#133503) by having `opt-dist` faithfully report the channel of the dist `rustc` being tested (i.e. "beta" in a beta bump PR). This will properly make the test be ignored during beta bump as the `rustc` under test is not a *nightly* rustc.
- Fixes the test name `rustc_bootstap.rs` -> `rustc_bootstrap.rs`. No more stapping.
- Slightly adjusts the doc comment in the test to make it more clear.
I ran a try-job against the beta branch (explicitly running the opt-dist tests by modifying the job definition) with these changes in rust-lang#134131, and it appears that the try-job was [successful](rust-lang#134131 (comment)). The two commits in this PR are cherry-picked from rust-lang#134131, with the test commit slightly modified (to also adjust the test comments).
r? `@Kobzol` (or compiler or bootstrap or infra I guess?)
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Dec 23, 2024
Rollup merge of rust-lang#134528 - jieyouxu:fix-rustc-bootstrap-test, r=Kobzol
opt-dist: propagate channel info to bootstrap
Fixesrust-lang#133503.
Previously, `tests/ui/bootstrap/rustc_bootstap.rs` [sic] failed during [beta bump](rust-lang#133447 (comment)) in opt-dist tests. This is because:
- `opt-dist` tried to run `./x test` against beta-channel dist `rustc` through `bootstrap`.
- The dist build produced during the beta bump produces a `rustc` which correctly thinks that it is a beta compiler based on `src/ci/channel` info.
- `opt-dist` tries to run `./x test` on the beta `rustc` from the dist build, but without specifying channel through a synthetic `config.toml`, so `bootstrap` tells `compiletest` that we're on the `nightly` channel (by default).
- Now there's a channel mismatch: `compiletest` believes the `rustc` under test is a *nightly* rustc, but the `rustc` under test actually considers itself a *beta* rustc. This means that `//@ only-nightly` will be satisfied yet the test will fail as the *beta* rustc is not a *nightly* rustc.
This PR:
- Fixes the test failure during beta bump (i.e. rust-lang#133503) by having `opt-dist` faithfully report the channel of the dist `rustc` being tested (i.e. "beta" in a beta bump PR). This will properly make the test be ignored during beta bump as the `rustc` under test is not a *nightly* rustc.
- Fixes the test name `rustc_bootstap.rs` -> `rustc_bootstrap.rs`. No more stapping.
- Slightly adjusts the doc comment in the test to make it more clear.
I ran a try-job against the beta branch (explicitly running the opt-dist tests by modifying the job definition) with these changes in rust-lang#134131, and it appears that the try-job was [successful](rust-lang#134131 (comment)). The two commits in this PR are cherry-picked from rust-lang#134131, with the test commit slightly modified (to also adjust the test comments).
r? `@Kobzol` (or compiler or bootstrap or infra I guess?)
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request Jan 7, 2025
opt-dist: propagate channel info to bootstrap
Fixes #133503.
Previously, `tests/ui/bootstrap/rustc_bootstap.rs` [sic] failed during [beta bump](rust-lang/rust#133447 (comment)) in opt-dist tests. This is because:
- `opt-dist` tried to run `./x test` against beta-channel dist `rustc` through `bootstrap`.
- The dist build produced during the beta bump produces a `rustc` which correctly thinks that it is a beta compiler based on `src/ci/channel` info.
- `opt-dist` tries to run `./x test` on the beta `rustc` from the dist build, but without specifying channel through a synthetic `config.toml`, so `bootstrap` tells `compiletest` that we're on the `nightly` channel (by default).
- Now there's a channel mismatch: `compiletest` believes the `rustc` under test is a *nightly* rustc, but the `rustc` under test actually considers itself a *beta* rustc. This means that `//@ only-nightly` will be satisfied yet the test will fail as the *beta* rustc is not a *nightly* rustc.
This PR:
- Fixes the test failure during beta bump (i.e. #133503) by having `opt-dist` faithfully report the channel of the dist `rustc` being tested (i.e. "beta" in a beta bump PR). This will properly make the test be ignored during beta bump as the `rustc` under test is not a *nightly* rustc.
- Fixes the test name `rustc_bootstap.rs` -> `rustc_bootstrap.rs`. No more stapping.
- Slightly adjusts the doc comment in the test to make it more clear.
I ran a try-job against the beta branch (explicitly running the opt-dist tests by modifying the job definition) with these changes in #134131, and it appears that the try-job was [successful](rust-lang/rust#134131 (comment)). The two commits in this PR are cherry-picked from #134131, with the test commit slightly modified (to also adjust the test comments).
r? `@Kobzol` (or compiler or bootstrap or infra I guess?)
@UrgauUrgau mentioned this pull request Jan 7, 2025
This was referenced Jan 8, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-msvcCI spurious failure: target env msvcmerged-by-borsThis PR was explicitly merged by bors.O-appleOperating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS)S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@BoxyUwU@rustbot@bors@rust-log-analyzer@ehuss@Mark-Simulacrum@heiseish@klensy@jieyouxu