Skip to content

Conversation

@Zalathar
Copy link
Member

@Zalathar Zalathar commented Nov 11, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

fmease and others added 30 commits September 13, 2025 02:52
It belongs here, because it moves from a `rustc_*` type to a `rustdoc_json_types` type.
and remove unused Steal::get_mut
… Box<dyn Trait>` ``` error[E0310]: the parameter type `R` may not live long enough --> $DIR/implicit-static-lifetime-in-dyn-trait-return-type.rs:10:5 | LL | fn bb<R>(r: R) -> Box<dyn Foo> { | ------- this `dyn Trait` has an implicit `'static` lifetime bound LL | Box::new(Bar(r)) | ^^^^^^^^^^^^^^^^ | | | the parameter type `R` must be valid for the static lifetime... | ...so that the type `R` will meet its required lifetime bounds | help: consider adding an explicit lifetime bound | LL | fn bb<R: 'static>(r: R) -> Box<dyn Foo> { | +++++++++ ```
Adds missing test coverage for rustdoc's `--test-builder` option. The existing test only covered the error case (non-executable builder). This PR adds: - A custom test builder that logs arguments and forwards to rustc - A test verifying that `--test-builder` successfully invokes the custom builder with rustc-style arguments - Improved comments explaining both the error and success test scenarios The test validates that custom builders can properly intercept and handle doctest compilation. Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Point at statics and consts being mutable borrowed or written to: ``` error[E0594]: cannot assign to immutable static item `NUM` --> $DIR/E0594.rs:4:5 | LL | static NUM: i32 = 18; | --------------- this `static` cannot be written to ... LL | NUM = 20; | ^^^^^^^^ cannot assign ``` Point at the expression that couldn't be mutably borrowed from a pattern: ``` error[E0596]: cannot borrow data in a `&` reference as mutable --> $DIR/mut-pattern-of-immutable-borrow.rs:19:14 | LL | match &arg.field { | ---------- this cannot be borrowed as mutable LL | Some(ref mut s) => s.push('a'), | ^^^^^^^^^ cannot borrow as mutable ```
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
This step consists of two changes: - Renaming `self` to `props` - Inserting temporary comments to preserve line breaks This will make it easier to verify that the main migration commit preserves all of the lines being migrated.
Use `git diff --color-moved --color-moved-ws=ignore-all-space` (or similar) to verify that the directive-processing lines have been moved without changes.
…or, r=jdonszelmann Check unsafety for non-macro attributes in `validate_attr` r? ```@jdonszelmann``` Also adds a test for a previously untested case, unnecessary unsafe on a proc macro attribute In preparation for rust-lang#148453
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide A-rustdoc-json Area: Rustdoc JSON backend A-testsuite Area: The testsuite used to check the correctness of rustc O-unix Operating system: Unix-like O-windows Operating system: Windows 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-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Nov 11, 2025
@Zalathar
Copy link
Member Author

Rollup of slightly more than half the queue, on the assumption that more PRs will have been approved by the time this finishes.

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Nov 11, 2025

📌 Commit 8ed810a has been approved by Zalathar

It is now in the queue for this repository.

@bors bors 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 11, 2025
@Zalathar
Copy link
Member Author

@bors try jobs=x86_64-msvc-1,i686-msvc-1,x86_64-mingw-1,test-various,armhf-gnu,aarch64-apple

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Nov 11, 2025
Rollup of 17 pull requests try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: test-various try-job: armhf-gnu try-job: aarch64-apple
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
 ---- [assembly] tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs#safestack stdout ---- ------rustc stdout------------------------------ ------rustc stderr------------------------------ error: safestack sanitizer is not supported for this target error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static` error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `std` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `std` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `core` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `core` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `alloc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `alloc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `compiler_builtins` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `compiler_builtins` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `libc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `libc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_std_workspace_core` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_std_workspace_core` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `unwind` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `unwind` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `miniz_oxide` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `miniz_oxide` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `adler2` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `adler2` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `hashbrown` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `hashbrown` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_std_workspace_alloc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_std_workspace_alloc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `std_detect` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `std_detect` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_demangle` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_demangle` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `cfg_if` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `cfg_if` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `wasi` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `wasi` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: aborting due to 17 previous errors ------------------------------------------ error in revision `safestack`: 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/stage2/bin/rustc" "/checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs" "-Zthreads=1" "-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/stage2" "--target=wasm32-wasip1" "--cfg" "safestack" "--check-cfg" "cfg(test,FALSE,all,strong,none,safestack,safestack_strong,safestack_all)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "asm" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/assembly-llvm/stack-protector/stack-protector-safe-stack.safestack/stack-protector-safe-stack.s" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Z" "stack-protector=none" "-Z" "sanitizer=safestack" "-C" "opt-level=2" "-Z" "merge-functions=disabled" stdout: none --- stderr ------------------------------- error: safestack sanitizer is not supported for this target error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static` error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `std` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `std` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `core` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `core` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `alloc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `alloc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `compiler_builtins` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `compiler_builtins` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `libc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `libc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_std_workspace_core` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_std_workspace_core` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `unwind` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `unwind` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `miniz_oxide` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `miniz_oxide` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `adler2` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `adler2` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `hashbrown` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `hashbrown` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_std_workspace_alloc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_std_workspace_alloc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `std_detect` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `std_detect` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_demangle` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_demangle` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `cfg_if` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `cfg_if` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `wasi` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `wasi` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: aborting due to 17 previous errors ------------------------------------------ ---- [assembly] tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs#safestack stdout end ---- ---- [assembly] tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs#safestack_all stdout ---- ------rustc stdout------------------------------ ------rustc stderr------------------------------ error: safestack sanitizer is not supported for this target error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static` error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `std` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `std` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `core` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `core` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `alloc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `alloc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `compiler_builtins` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `compiler_builtins` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `libc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `libc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_std_workspace_core` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_std_workspace_core` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `unwind` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `unwind` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `miniz_oxide` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `miniz_oxide` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `adler2` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `adler2` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `hashbrown` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `hashbrown` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `rustc_std_workspace_alloc` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `rustc_std_workspace_alloc` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 18 | #![crate_type = "lib"] | ^ | = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: `-Zsanitizer=safestack` in this crate is incompatible with unset `-Zsanitizer` in dependency `std_detect` = help: unset `-Zsanitizer` in this crate or set `-Zsanitizer=safestack` in `std_detect` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `stack_protector_safe_stack` ##[error] --> /checkout/tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs:18:1 | 
@rust-bors
Copy link

rust-bors bot commented Nov 11, 2025

💔 Test for 14f6f07 failed: CI. Failed jobs:

@Zalathar Zalathar closed this Nov 11, 2025
@Zalathar Zalathar deleted the rollup-oll15ku branch November 11, 2025 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide A-rustdoc-json Area: Rustdoc JSON backend A-testsuite Area: The testsuite used to check the correctness of rustc O-unix Operating system: Unix-like O-windows Operating system: Windows S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.