Skip to content

[crater] error on everything attribute related - #165441

Draft
mejrs wants to merge 6 commits into
rust-lang:mainfrom
mejrs:attribute_errors
Draft

mejrs wants to merge 6 commits into
rust-lang:mainfrom
mejrs:attribute_errors

Conversation

@mejrs

@mejrs mejrs commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

View all comments

All attributes now get parsed, let's see what happens. Main goals here:

  • figure out how often macro_escape is used
  • figure out which warnings are widely reported and note that in a comment
  • if some warnings are never or very rarely emitted, let's see if that can be turned into an error
  • this parses attributes on macro calls together, I wonder if that matters.

(repr combinations/no_mangle/export_name are not included, they are covered in other crater runs)

r? @JonathanBrouwer, can you double check? I might've overlooked stuff.

@mejrs mejrs added S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. C-crater Category: Issues tracking / PRs primarily containing crater runs labels Nov 4, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 4, 2026
@mejrs

mejrs commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

Let's see whether rustc can bootstrap on linux with these changes

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 4, 2026
[crater] error on everything attribute related
@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

💔 Test for acda8ae failed: CI. Failed jobs:

@rust-log-analyzer

This comment has been minimized.

@mejrs

mejrs commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=test-aarch64-apple-1

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 4, 2026
[crater] error on everything attribute related


try-job: test-aarch64-apple-1
@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

💔 Test for bf08b19 failed: CI. Failed job:

@mejrs

mejrs commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 4, 2026
[crater] error on everything attribute related
@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

💔 Test for d189687 failed: CI. Failed jobs:

@mejrs

mejrs commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 5, 2026
[crater] error on everything attribute related
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@mejrs

mejrs commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 23, 2026
[crater] error on everything attribute related
@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 052ec74 failed: CI. Failed jobs:

@mejrs

mejrs commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=test-aarch64-apple-1

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
[crater] error on everything attribute related


try-job: test-aarch64-apple-1
@mejrs

mejrs commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
[crater] error on everything attribute related
@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: d537abb (d537abb2dd929448c8a4b9597cb3e28ca74d69e5)
Base parent: 739adec (739adecd444342128b4ef32cbbd8352856cb1651)

@mejrs

mejrs commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

@craterbot check

@craterbot

Copy link
Copy Markdown
Collaborator

👌 Experiment pr-165441 created and queued.
🤖 Automatically detected try build d537abb
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. labels Nov 25, 2026
@mejrs

mejrs commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

@craterbot cancel

actually, I'd like to rebase this on some cleanups

@craterbot

Copy link
Copy Markdown
Collaborator

🗑️ Experiment pr-165441 deleted!

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-crater Status: Waiting on a crater run to be completed. labels Nov 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) C-crater Category: Issues tracking / PRs primarily containing crater runs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants