Skip to content

[crater] error on everything attribute related - #165441

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

mejrs wants to merge 5 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-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-bors

rust-bors Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 535c6bf failed: CI. Failed jobs:

@rust-log-analyzer

This comment has been minimized.

@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-bors

rust-bors Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 96307a6 failed: CI. Failed jobs:

@mejrs

mejrs commented Nov 8, 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 8, 2026
[crater] error on everything attribute related
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Nov 8, 2026
@mejrs

mejrs commented Nov 8, 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 8, 2026
[crater] error on everything attribute related
@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 4c33559 (4c335594742dddbe247f0a982efa9ee46f86ca8c)
Base parent: 5b7b37a (5b7b37aefcb5b2fba3c2392bc9065b9e4602d494)

@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-pr-check-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

---- [codegen] tests/codegen-llvm/cdylib-external-inline-fns.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error] --> /checkout/tests/codegen-llvm/cdylib-external-inline-fns.rs:7:1
  |
7 | #[inline]
  | ^^^^^^^^^
  |
---
------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/cdylib-external-inline-fns.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/cdylib-external-inline-fns/cdylib-external-inline-fns.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "--edition=2015" "-C" "no-prepopulate-passes"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error] --> /checkout/tests/codegen-llvm/cdylib-external-inline-fns.rs:7:1
  |
---
---- [codegen] tests/codegen-llvm/cdylib-external-inline-fns.rs stdout end ----
---- [codegen] tests/codegen-llvm/export-no-mangle.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/export-no-mangle.rs:24:5
   |
24 |     #[inline]
   |     ^^^^^^^^^
   |
---
------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/export-no-mangle.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/export-no-mangle/export-no-mangle.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "--edition=2015" "-C" "no-prepopulate-passes"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/export-no-mangle.rs:24:5
   |
---
---- [codegen] tests/codegen-llvm/export-no-mangle.rs stdout end ----
---- [codegen] tests/codegen-llvm/external-no-mangle-fns.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/external-no-mangle-fns.rs:59:1
   |
59 | #[inline]
   | ^^^^^^^^^
   |
---
------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/external-no-mangle-fns.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/external-no-mangle-fns/external-no-mangle-fns.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "--edition=2015" "-C" "no-prepopulate-passes"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/external-no-mangle-fns.rs:59:1
   |
---
---- [codegen] tests/codegen-llvm/external-no-mangle-fns.rs stdout end ----
---- [codegen] tests/codegen-llvm/inline-always-works-always.rs#NO-OPT stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/inline-always-works-always.rs:11:1
   |
11 | #[inline(always)]
   | ^^^^^^^^^^^^^^^^^
   |
   = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`

error: aborting due to 1 previous error


------------------------------------------

error in revision `NO-OPT`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/inline-always-works-always.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--cfg" "no_opt" "--check-cfg" "cfg(test,FALSE,no_opt,size_opt,speed_opt)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/inline-always-works-always.NO-OPT/inline-always-works-always.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "--edition=2015" "-Copt-level=0"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/inline-always-works-always.rs:11:1
   |
---
---- [codegen] tests/codegen-llvm/inline-always-works-always.rs#NO-OPT stdout end ----
---- [codegen] tests/codegen-llvm/inline-always-works-always.rs#SIZE-OPT stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/inline-always-works-always.rs:11:1
   |
11 | #[inline(always)]
   | ^^^^^^^^^^^^^^^^^
   |
---
------------------------------------------

error in revision `SIZE-OPT`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/inline-always-works-always.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--cfg" "size_opt" "--check-cfg" "cfg(test,FALSE,no_opt,size_opt,speed_opt)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/inline-always-works-always.SIZE-OPT/inline-always-works-always.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "--edition=2015" "-Copt-level=s"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/inline-always-works-always.rs:11:1
   |
---
---- [codegen] tests/codegen-llvm/inline-always-works-always.rs#SIZE-OPT stdout end ----
---- [codegen] tests/codegen-llvm/inline-always-works-always.rs#SPEED-OPT stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/inline-always-works-always.rs:11:1
   |
11 | #[inline(always)]
   | ^^^^^^^^^^^^^^^^^
   |
   = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`

error: aborting due to 1 previous error


------------------------------------------

error in revision `SPEED-OPT`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/inline-always-works-always.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--cfg" "speed_opt" "--check-cfg" "cfg(test,FALSE,no_opt,size_opt,speed_opt)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/inline-always-works-always.SPEED-OPT/inline-always-works-always.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "--edition=2015" "-Copt-level=3"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error]  --> /checkout/tests/codegen-llvm/inline-always-works-always.rs:11:1
   |
---
---- [codegen] tests/codegen-llvm/inline-always-works-always.rs#SPEED-OPT stdout end ----
---- [codegen] tests/codegen-llvm/inline-debuginfo.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error] --> /checkout/tests/codegen-llvm/inline-debuginfo.rs:6:1
  |
6 | #[inline(always)]
  | ^^^^^^^^^^^^^^^^^
  |
---
------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/inline-debuginfo.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/inline-debuginfo/inline-debuginfo.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "--edition=2015" "-Copt-level=3" "-g"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error] --> /checkout/tests/codegen-llvm/inline-debuginfo.rs:6:1
  |
---
---- [codegen] tests/codegen-llvm/inline-debuginfo.rs stdout end ----
---- [codegen] tests/codegen-llvm/inline-always.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
warning: unused import: `minicore::*`
##[warning]  --> /checkout/tests/codegen-llvm/inline-always.rs:11:5
   |
11 | use minicore::*;
   |     ^^^^^^^^^^^
   |
---
------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/inline-always.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/inline-always/inline-always.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Cpanic=abort" "-Cforce-unwind-tables=yes" "--edition=2015" "--target" "aarch64-unknown-linux-gnu" "-Zinline-mir=no" "-C" "no-prepopulate-passes" "-Copt-level=3" "--extern" "minicore=/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/inline-always/libminicore.rlib"
stdout: none
--- stderr -------------------------------
warning: unused import: `minicore::*`
##[warning]  --> /checkout/tests/codegen-llvm/inline-always.rs:11:5
   |
---
---- [codegen] tests/codegen-llvm/inline-always.rs stdout end ----
---- [codegen] tests/codegen-llvm/staticlib-external-inline-fns.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error] --> /checkout/tests/codegen-llvm/staticlib-external-inline-fns.rs:7:1
  |
7 | #[inline]
  | ^^^^^^^^^
  |
---
------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/staticlib-external-inline-fns.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=wasm32-wasip3" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/staticlib-external-inline-fns/staticlib-external-inline-fns.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "--edition=2015" "-C" "no-prepopulate-passes"
stdout: none
--- stderr -------------------------------
error: `#[inline]` is ignored on externally exported functions
##[error] --> /checkout/tests/codegen-llvm/staticlib-external-inline-fns.rs:7:1
  |
---
---- [codegen] tests/codegen-llvm/staticlib-external-inline-fns.rs stdout end ----
---- [codegen] tests/codegen-llvm/target-feature-overrides.rs#COMPAT stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
warning: unused import: `minicore::*`
##[warning]  --> /checkout/tests/codegen-llvm/target-feature-overrides.rs:15:5
   |
15 | use minicore::*;
   |     ^^^^^^^^^^^
   |
---
------------------------------------------

error in revision `COMPAT`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/target-feature-overrides.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--cfg" "compat" "--check-cfg" "cfg(test,FALSE,compat,incompat)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/target-feature-overrides.COMPAT/target-feature-overrides.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Cpanic=abort" "-Cforce-unwind-tables=yes" "--edition=2015" "--target=x86_64-unknown-linux-gnu" "-Copt-level=3" "-Ctarget-feature=+avx2" "--extern" "minicore=/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/target-feature-overrides.COMPAT/libminicore.rlib"
stdout: none
--- stderr -------------------------------
warning: unused import: `minicore::*`
##[warning]  --> /checkout/tests/codegen-llvm/target-feature-overrides.rs:15:5
   |
---
---- [codegen] tests/codegen-llvm/target-feature-overrides.rs#COMPAT stdout end ----
---- [codegen] tests/codegen-llvm/target-feature-overrides.rs#INCOMPAT stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
warning: unused import: `minicore::*`
##[warning]  --> /checkout/tests/codegen-llvm/target-feature-overrides.rs:15:5
   |
15 | use minicore::*;
   |     ^^^^^^^^^^^
   |
---
------------------------------------------

error in revision `INCOMPAT`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/codegen-llvm/target-feature-overrides.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--cfg" "incompat" "--check-cfg" "cfg(test,FALSE,compat,incompat)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/target-feature-overrides.INCOMPAT/target-feature-overrides.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Cpanic=abort" "-Cforce-unwind-tables=yes" "--edition=2015" "--target=x86_64-unknown-linux-gnu" "-Copt-level=3" "-Ctarget-feature=-avx2,-avx" "--extern" "minicore=/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/target-feature-overrides.INCOMPAT/libminicore.rlib"
stdout: none
--- stderr -------------------------------
warning: unused import: `minicore::*`
##[warning]  --> /checkout/tests/codegen-llvm/target-feature-overrides.rs:15:5
   |

@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #165760) made this pull request unmergeable. Please resolve the merge conflicts by rebasing.

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-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

4 participants