Skip to content
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

Rollup of 5 pull requests #122528

Closed
wants to merge 20 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

reitermarkus and others added 20 commits March 10, 2024 13:18
…, r=oli-obk

Move generic `NonZero` `rustc_layout_scalar_valid_range_start` attribute to inner type.

Tracking issue: rust-lang#120257

r? `@dtolnay`
preserve span when evaluating mir::ConstOperand

This lets us show to the user where they were using the faulty const (which can be quite relevant when generics are involved).

I wonder if we should change "erroneous constant encountered" to something like "the above error was encountered while evaluating this constant" or so, to make this more similar to what the collector emits when showing a "backtrace" of where things get monomorphized? It seems a bit strange to rely on the order of emitted diagnostics for that but it seems the collector already [does that](https://github.com/rust-lang/rust/blob/da8a8c9223722e17cc0173ce9490076b4a6d263d/compiler/rustc_monomorphize/src/collector.rs#L472-L475).
…ompiler-errors

Pass the correct DefId when suggesting writing the aliased Self type out

Fixes rust-lang#122467.
…types, r=oli-obk

Ensure RPITITs are created before def-id freezing

From the test:

```rust
// `ty::Error` in a trait ref will silence any missing item errors, but will also
// prevent the `associated_items` query from being called before def ids are frozen.
```

Essentially, the code that checks that `impl`s have all their items (`check_impl_items_against_trait`) is also (implicitly) responsible for fetching the `associated_items` query before, but since we early return here:
https://github.com/rust-lang/rust/blob/c2901f543577af99b9cb708f5c0d28525eb7f08f/compiler/rustc_hir_analysis/src/check/check.rs#L732-L737
...that means that this never happens for trait refs that reference errors.

Fixes rust-lang#122518
r? oli-obk
…=compiler-errors

Clean up AstConv

Split off from rust-lang#120926 to make it only contain the renaming & (doc) comment updates.
Any changes other than that which have accumulated over time are now part of this PR.
Let's be disciplined ;) Inspired by rust-lang#120926 (comment).

---

* Remove `hir_trait_to_predicates`
  * Unused since rust-lang#113671
* Inline `create_args_for_ast_trait_ref`
  * Only had a single call site
  * Having it as a separate method didn't gain us anything
* Use an if-let guard somewhere to avoid unwrapping
* Avoid explicit trait object lifetimes
  * More legible, stylistic-only (the updated code is 100% semantically identical)
  * Use explicitly elided lifetimes in impl headers, they get elaborated to distinct lifetimes
  * Make use of [object lifetime defaulting](https://doc.rust-lang.org/reference/lifetime-elision.html#default-trait-object-lifetimes) for a trait object type inside of a reference type somewhere
* Use preexisting dedicated method `ItemCtxt::to_ty` over `<dyn AstConv<'_>>::ast_ty_to_ty`
* Use preexisting dedicated method `AstConv::astconv` over explicit coercions
* Simplify the function signature of `create_args_for_ast_path` and of `check_generic_arg_count`
  * In both cases redundant information was passed rendering the call sites verbose and confusing
  * No perf impact (tested in [rust-lang#120926](rust-lang#120926))
* Move diagnostic method `report_ambiguous_associated_type` from `astconv` to `astconv::errors`
  * The submodule `errors` exists specifically for that purpose
  * Use it to keep the main module clean & short
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Mar 15, 2024
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Contributor

bors commented Mar 15, 2024

📌 Commit e1b25d9 has been approved by matthiaskrgr

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 Mar 15, 2024
@bors
Copy link
Contributor

bors commented Mar 15, 2024

⌛ Testing commit e1b25d9 with merge ee9f91e...

bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 15, 2024
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#121885 (Move generic `NonZero` `rustc_layout_scalar_valid_range_start` attribute to inner type.)
 - rust-lang#122471 (preserve span when evaluating mir::ConstOperand)
 - rust-lang#122515 (Pass the correct DefId when suggesting writing the aliased Self type out)
 - rust-lang#122523 (Ensure RPITITs are created before def-id freezing)
 - rust-lang#122527 (Clean up AstConv)

r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer
Copy link
Collaborator

The job aarch64-apple failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
test [ui] tests/ui/impl-trait/in-trait/dont-project-to-rpitit-with-no-value.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/doesnt-satisfy.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/encode.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/early.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/ensure-rpitits-are-created-before-freezing.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/gat-outlives.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/generics-mismatch.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/foreign.rs ... ok
test [ui] tests/ui/impl-trait/in-trait/issue-102301.rs ... ok
---
Build completed unsuccessfully in 0:28:18

failures:

---- [debuginfo-lldb] tests/debuginfo/captured-fields-2.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1403
NOTE: compiletest thinks it is using LLDB without native rust support

error: check directive(s) from `/Users/runner/work/rust/rust/tests/debuginfo/captured-fields-2.rs` not found in debugger output. errors:
    (captured-fields-2.rs:17) `(unsigned int) 11`
    (captured-fields-2.rs:20) `(unsigned int) 22`
status: exit status: 0
command: PYTHONPATH="/Applications/Xcode_14.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" PYTHONUNBUFFERED="1" "/usr/bin/python3" "/Users/runner/work/rust/rust/src/etc/lldb_batchmode.py" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-2.lldb/a" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-2.lldb/captured-fields-2.debugger.script"
LLDB batch-mode script
----------------------
----------------------
Debugger commands script is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-2.lldb/captured-fields-2.debugger.script'.
Target executable is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-2.lldb/a'.
Current working directory is '/Users/runner/work/rust/rust'
Creating a target for '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-2.lldb/a'
settings set auto-confirm true
version
version
lldb-1403.0.17.67 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) 
command script import /Users/runner/work/rust/rust/./src/etc/lldb_lookup.py
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'captured-fields-2.rs' --line 37
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`captured_fields_2::main::_$u7b$$u7b$closure$u7d$$u7d$::hde5c34cc8bd9e5ae + 32 at captured-fields-2.rs:37:9, address = 0x0000000100003c5c 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'captured-fields-2.rs' --line 45
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`captured_fields_2::main::_$u7b$$u7b$closure$u7d$$u7d$::h9d9c08402f29d0fa + 28 at captured-fields-2.rs:45:9, address = 0x0000000100003c88 
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback
run
run
Process 75496 stopped * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100003c5c a`captured_fields_2::main::_$u7b$$u7b$closure$u7d$$u7d$::hde5c34cc8bd9e5ae at captured-fields-2.rs:37:9 34 let test = || { 35 let a = my_ref.my_field1; 36 -> 37 _zzz(); // #break ^ 38 }; 39 40 test(); Target 0: (a) stopped. Process 75496 launched: '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-2.lldb/a' (arm64) 
print my_ref__my_field1
(unsigned int) $0 = 11 
continue
print my_var__my_field2
(unsigned int) $1 = 22 
quit
------------------------------------------
stderr: none



---- [debuginfo-lldb] tests/debuginfo/captured-fields-1.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1403
NOTE: compiletest thinks it is using LLDB without native rust support

error: check directive(s) from `/Users/runner/work/rust/rust/tests/debuginfo/captured-fields-1.rs` not found in debugger output. errors:
    (captured-fields-1.rs:29) `(captured_fields_1::main::{closure_env#0}) { _ref__my_ref__my_field1 = 0x[...] }`
    (captured-fields-1.rs:32) `(captured_fields_1::main::{closure_env#1}) { _ref__my_ref__my_field2 = 0x[...] }`
    (captured-fields-1.rs:35) `(captured_fields_1::main::{closure_env#2}) { _ref__my_ref = 0x[...] }`
    (captured-fields-1.rs:38) `(captured_fields_1::main::{closure_env#3}) { my_ref = 0x[...] }`
    (captured-fields-1.rs:41) `(captured_fields_1::main::{closure_env#4}) { my_var__my_field2 = 22 }`
    (captured-fields-1.rs:44) `(captured_fields_1::main::{closure_env#5}) { my_var = { my_field1 = 11 my_field2 = 22 } }`
status: exit status: 0
command: PYTHONPATH="/Applications/Xcode_14.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" PYTHONUNBUFFERED="1" "/usr/bin/python3" "/Users/runner/work/rust/rust/src/etc/lldb_batchmode.py" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-1.lldb/a" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-1.lldb/captured-fields-1.debugger.script"
LLDB batch-mode script
----------------------
----------------------
Debugger commands script is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-1.lldb/captured-fields-1.debugger.script'.
Target executable is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-1.lldb/a'.
Current working directory is '/Users/runner/work/rust/rust'
Creating a target for '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-1.lldb/a'
settings set auto-confirm true
version
version
lldb-1403.0.17.67 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) 
command script import /Users/runner/work/rust/rust/./src/etc/lldb_lookup.py
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'captured-fields-1.rs' --line 62
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`captured_fields_1::main::h9eef0667b738ec95 + 52 at captured-fields-1.rs:62:5, address = 0x0000000100003cb0 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'captured-fields-1.rs' --line 68
Breakpoint 2: where = a`captured_fields_1::main::h9eef0667b738ec95 + 68 at captured-fields-1.rs:68:5, address = 0x0000000100003cc0 
breakpoint set --file 'captured-fields-1.rs' --line 74DEBUG: breakpoint added, id = 2

DEBUG: breakpoint added, id = 3
Breakpoint 3: where = a`captured_fields_1::main::h9eef0667b738ec95 + 80 at captured-fields-1.rs:74:5, address = 0x0000000100003ccc 
DEBUG: registering breakpoint callback, id = 3
Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback
DEBUG: registering breakpoint callback, id = 2
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'captured-fields-1.rs' --line 80
DEBUG: breakpoint added, id = 4
Breakpoint 4: where = a`captured_fields_1::main::h9eef0667b738ec95 + 92 at captured-fields-1.rs:80:5, address = 0x0000000100003cd8 
DEBUG: registering breakpoint callback, id = 4
Error while trying to register breakpoint callback, id = 4, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'captured-fields-1.rs' --line 86
DEBUG: breakpoint added, id = 5
Breakpoint 5: where = a`captured_fields_1::main::h9eef0667b738ec95 + 104 at captured-fields-1.rs:86:5, address = 0x0000000100003ce4 
DEBUG: registering breakpoint callback, id = 5
Error while trying to register breakpoint callback, id = 5, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'captured-fields-1.rs' --line 92
DEBUG: breakpoint added, id = 6
Breakpoint 6: where = a`captured_fields_1::main::h9eef0667b738ec95 + 124 at captured-fields-1.rs:92:5, address = 0x0000000100003cf8 
DEBUG: registering breakpoint callback, id = 6
Error while trying to register breakpoint callback, id = 6, message = error: could not get num args: can't find callable: breakpoint_callback
run
run
Process 75497 stopped * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100003cb0 a`captured_fields_1::main::h9eef0667b738ec95 at captured-fields-1.rs:62:5 59 let a = &mut my_ref.my_field1; 60 }; 61 -> 62 _zzz(); // #break ^ 63 64 let test = || { 65 let a = &my_ref.my_field2; Target 0: (a) stopped. Process 75497 launched: '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/captured-fields-1.lldb/a' (arm64) 
print test
(captured_fields_1::main::{closure_env#0}) $0 = { _ref__my_ref__my_field1 = 0x000000016fdfd410 } 
print test
print test
(captured_fields_1::main::{closure_env#1}) $1 = { _ref__my_ref__my_field2 = 0x000000016fdfd414 } 
print test
print test
(captured_fields_1::main::{closure_env#2}) $2 = { _ref__my_ref = 0x000000016fdfd418 } 
print test
print test
(captured_fields_1::main::{closure_env#3}) $3 = { my_ref = 0x000000016fdfd410 } 
print test
print test
(captured_fields_1::main::{closure_env#4}) $4 = { my_var__my_field2 = 22 } 
print test
print test
(captured_fields_1::main::{closure_env#5}) $5 = { my_var = { my_field1 = 11 my_field2 = 22 } } 
quit
------------------------------------------
stderr: none



---- [debuginfo-lldb] tests/debuginfo/coroutine-locals.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1403
NOTE: compiletest thinks it is using LLDB without native rust support

error: check directive(s) from `/Users/runner/work/rust/rust/tests/debuginfo/coroutine-locals.rs` not found in debugger output. errors:
    (coroutine-locals.rs:31) `(int) 5`
    (coroutine-locals.rs:34) `(int) 6`
    (coroutine-locals.rs:37) `(int) 7`
    (coroutine-locals.rs:41) `(int) 7`
    (coroutine-locals.rs:44) `(int) 6`
    (coroutine-locals.rs:47) `(int) 8`
    (coroutine-locals.rs:51) `(int) 8`
    (coroutine-locals.rs:54) `(int) 6`
status: exit status: 0
command: PYTHONPATH="/Applications/Xcode_14.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" PYTHONUNBUFFERED="1" "/usr/bin/python3" "/Users/runner/work/rust/rust/src/etc/lldb_batchmode.py" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-locals.lldb/a" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-locals.lldb/coroutine-locals.debugger.script"
LLDB batch-mode script
----------------------
----------------------
Debugger commands script is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-locals.lldb/coroutine-locals.debugger.script'.
Target executable is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-locals.lldb/a'.
Current working directory is '/Users/runner/work/rust/rust'
Creating a target for '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-locals.lldb/a'
settings set auto-confirm true
version
version
lldb-1403.0.17.67 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) 
command script import /Users/runner/work/rust/rust/./src/etc/lldb_lookup.py
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type category enable Rust
breakpoint set --file 'coroutine-locals.rs' --line 70
breakpoint set --file 'coroutine-locals.rs' --line 70
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`coroutine_locals::main::_$u7b$$u7b$closure$u7d$$u7d$::h38aa8d126550ae02 + 188 at coroutine-locals.rs:70:9, address = 0x0000000100003a64 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback
breakpoint set --file 'coroutine-locals.rs' --line 74
breakpoint set --file 'coroutine-locals.rs' --line 74
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`coroutine_locals::main::_$u7b$$u7b$closure$u7d$$u7d$::h38aa8d126550ae02 + 316 at coroutine-locals.rs:74:9, address = 0x0000000100003ae4 
breakpoint set --file 'coroutine-locals.rs' --line 78
DEBUG: breakpoint added, id = 3
Breakpoint 3: where = a`coroutine_locals::main::_$u7b$$u7b$closure$u7d$$u7d$::h38aa8d126550ae02 + 196 at coroutine-locals.rs:78:9, address = 0x0000000100003a6c 
DEBUG: registering breakpoint callback, id = 3
Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback
DEBUG: registering breakpoint callback, id = 2
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback
breakpoint set --file 'coroutine-locals.rs' --line 84
breakpoint set --file 'coroutine-locals.rs' --line 84
DEBUG: breakpoint added, id = 4
Breakpoint 4: where = a`coroutine_locals::main::haea562ac5b690968 + 180 at coroutine-locals.rs:84:5, address = 0x0000000100003980 
DEBUG: registering breakpoint callback, id = 4
Error while trying to register breakpoint callback, id = 4, message = error: could not get num args: can't find callable: breakpoint_callback
run
run
Process 75681 stopped * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100003a64 a`coroutine_locals::main::_$u7b$$u7b$closure$u7d$$u7d$::h38aa8d126550ae02((null)=<unavailable>) at coroutine-locals.rs:70:9 67 68 let d = 7; // Live across only one yield point 69 yield; -> 70 _zzz(); // #break ^ 71 a = d; 72 73 let e = 8; // Live across zero yield points Target 0: (a) stopped. Process 75681 launched: '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-locals.lldb/a' (arm64) 
print a
(int) $0 = 5 
print c
(int) $1 = 6 
print d
(int) $2 = 7 
print a
print a
(int) $3 = 7 
print c
(int) $4 = 6 
print e
(int) $5 = 8 
print a
print a
(int) $6 = 8 
print c
(int) $7 = 6 
------------------------------------------
stderr: none



---- [debuginfo-lldb] tests/debuginfo/coroutine-objects.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1403
NOTE: compiletest thinks it is using LLDB without native rust support

error: check directive(s) from `/Users/runner/work/rust/rust/tests/debuginfo/coroutine-objects.rs` not found in debugger output. errors:
    (coroutine-objects.rs:29) `(coroutine_objects::main::{coroutine_env#0})`
    (coroutine-objects.rs:32) `(coroutine_objects::main::{coroutine_env#0})`
    (coroutine-objects.rs:35) `(coroutine_objects::main::{coroutine_env#0})`
    (coroutine-objects.rs:38) `(coroutine_objects::main::{coroutine_env#0})`
status: exit status: 0
command: PYTHONPATH="/Applications/Xcode_14.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" PYTHONUNBUFFERED="1" "/usr/bin/python3" "/Users/runner/work/rust/rust/src/etc/lldb_batchmode.py" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-objects.lldb/a" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-objects.lldb/coroutine-objects.debugger.script"
LLDB batch-mode script
----------------------
----------------------
Debugger commands script is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-objects.lldb/coroutine-objects.debugger.script'.
Target executable is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-objects.lldb/a'.
Current working directory is '/Users/runner/work/rust/rust'
Creating a target for '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-objects.lldb/a'
settings set auto-confirm true
version
version
lldb-1403.0.17.67 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) 
command script import /Users/runner/work/rust/rust/./src/etc/lldb_lookup.py
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type category enable Rust
breakpoint set --file 'coroutine-objects.rs' --line 86
breakpoint set --file 'coroutine-objects.rs' --line 86
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`coroutine_objects::main::h84cc6310f99ab286 + 32 at coroutine-objects.rs:86:5, address = 0x000000010000361c 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback
breakpoint set --file 'coroutine-objects.rs' --line 88
breakpoint set --file 'coroutine-objects.rs' --line 88
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`coroutine_objects::main::h84cc6310f99ab286 + 108 at coroutine-objects.rs:88:5, address = 0x0000000100003668 
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback
breakpoint set --file 'coroutine-objects.rs' --line 90
breakpoint set --file 'coroutine-objects.rs' --line 90
Breakpoint 3: where = a`coroutine_objects::main::h84cc6310f99ab286 + 156 at coroutine-objects.rs:90:5, address = 0x0000000100003698 
breakpoint set --file 'coroutine-objects.rs' --line 92
DEBUG: breakpoint added, id = 3
DEBUG: breakpoint added, id = 4Breakpoint 4: where = a`coroutine_objects::main::h84cc6310f99ab286 + 204 at coroutine-objects.rs:92:5, address = 0x00000001000036c8 
DEBUG: registering breakpoint callback, id = 3

Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback
DEBUG: registering breakpoint callback, id = 4
DEBUG: registering breakpoint callback, id = 4
Error while trying to register breakpoint callback, id = 4, message = error: could not get num args: can't find callable: breakpoint_callback
run
run
Process 75685 stopped * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x000000010000361c a`coroutine_objects::main::h84cc6310f99ab286 at coroutine-objects.rs:86:5 83 yield; 84 println!("{} {} {}", a, c, d); 85 }; -> 86 _zzz(); // #break ^ 87 Pin::new(&mut b).resume(()); 88 _zzz(); // #break 89 Pin::new(&mut b).resume(()); Target 0: (a) stopped. Process 75685 launched: '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/coroutine-objects.lldb/a' (arm64) 
print b
(coroutine_objects::main::{coroutine_env#0}) $0 = 
print b
print b
(coroutine_objects::main::{coroutine_env#0}) $1 = 
print b
print b
(coroutine_objects::main::{coroutine_env#0}) $2 = 
print b
print b
(coroutine_objects::main::{coroutine_env#0}) $3 = 
------------------------------------------
stderr: none



---- [debuginfo-lldb] tests/debuginfo/enum-thinlto.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1403
NOTE: compiletest thinks it is using LLDB without native rust support

error: check directive(s) from `/Users/runner/work/rust/rust/tests/debuginfo/enum-thinlto.rs` not found in debugger output. errors:
    (enum-thinlto.rs:18) `(enum_thinlto::ABC)`
status: exit status: 0
command: PYTHONPATH="/Applications/Xcode_14.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" PYTHONUNBUFFERED="1" "/usr/bin/python3" "/Users/runner/work/rust/rust/src/etc/lldb_batchmode.py" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/enum-thinlto.lldb/a" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/enum-thinlto.lldb/enum-thinlto.debugger.script"
LLDB batch-mode script
----------------------
----------------------
Debugger commands script is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/enum-thinlto.lldb/enum-thinlto.debugger.script'.
Target executable is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/enum-thinlto.lldb/a'.
Current working directory is '/Users/runner/work/rust/rust'
Creating a target for '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/enum-thinlto.lldb/a'
settings set auto-confirm true
version
version
lldb-1403.0.17.67 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) 
command script import /Users/runner/work/rust/rust/./src/etc/lldb_lookup.py
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type category enable Rust
breakpoint set --file 'enum-thinlto.rs' --line 41
breakpoint set --file 'enum-thinlto.rs' --line 41
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`enum_thinlto::f::hba66834ad3e5f679 + 24 at enum-thinlto.rs:41:5, address = 0x00000001000037bc 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback
run
run
Process 75913 stopped * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x00000001000037bc a`enum_thinlto::f::hba66834ad3e5f679(abc=0x000000016fdfd438) at enum-thinlto.rs:41:5 38 } 39 40 fn f(abc: &ABC) { -> 41 zzz(); // #break ^ 42 43 println!("{:?}", abc); 44 } Target 0: (a) stopped. Process 75913 launched: '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/enum-thinlto.lldb/a' (arm64) 
print *abc
(enum_thinlto::ABC) $0 = 
------------------------------------------
stderr: none



---- [debuginfo-lldb] tests/debuginfo/issue-57822.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1403
NOTE: compiletest thinks it is using LLDB without native rust support

error: check directive(s) from `/Users/runner/work/rust/rust/tests/debuginfo/issue-57822.rs` not found in debugger output. errors:
    (issue-57822.rs:24) `(issue_57822::main::{closure_env#1}) { f = { x = 1 } }`
    (issue-57822.rs:27) `(issue_57822::main::{coroutine_env#3})`
status: exit status: 0
command: PYTHONPATH="/Applications/Xcode_14.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" PYTHONUNBUFFERED="1" "/usr/bin/python3" "/Users/runner/work/rust/rust/src/etc/lldb_batchmode.py" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/issue-57822.lldb/a" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/issue-57822.lldb/issue-57822.debugger.script"
LLDB batch-mode script
----------------------
----------------------
Debugger commands script is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/issue-57822.lldb/issue-57822.debugger.script'.
Target executable is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/issue-57822.lldb/a'.
Current working directory is '/Users/runner/work/rust/rust'
Creating a target for '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/issue-57822.lldb/a'
settings set auto-confirm true
version
version
lldb-1403.0.17.67 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) 
command script import /Users/runner/work/rust/rust/./src/etc/lldb_lookup.py
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type category enable Rust
breakpoint set --file 'issue-57822.rs' --line 50
breakpoint set --file 'issue-57822.rs' --line 50
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`issue_57822::main::h82e0cfebc0834bc5 + 60 at issue-57822.rs:50:5, address = 0x0000000100003bd8 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback
run
run
Process 76376 stopped * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100003bd8 a`issue_57822::main::h82e0cfebc0834bc5 at issue-57822.rs:50:5 47 yield; 48 }; 49 -> 50 zzz(); // #break ^ 51 } 52 53 fn zzz() { Target 0: (a) stopped. Process 76376 launched: '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/issue-57822.lldb/a' (arm64) 
print g
(issue_57822::main::{closure_env#1}) $0 = { f = { x = 1 } } 
print b
(issue_57822::main::{coroutine_env#3}) $1 = 
------------------------------------------
stderr: none



---- [debuginfo-lldb] tests/debuginfo/no_mangle-info.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1403
NOTE: compiletest thinks it is using LLDB without native rust support

error: check directive(s) from `/Users/runner/work/rust/rust/tests/debuginfo/no_mangle-info.rs` not found in debugger output. errors:
    (no_mangle-info.rs:14) ` (unsigned long) 3735928559`
    (no_mangle-info.rs:16) ` (unsigned long) 42`
status: exit status: 0
command: PYTHONPATH="/Applications/Xcode_14.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" PYTHONUNBUFFERED="1" "/usr/bin/python3" "/Users/runner/work/rust/rust/src/etc/lldb_batchmode.py" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/no_mangle-info.lldb/a" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/no_mangle-info.lldb/no_mangle-info.debugger.script"
LLDB batch-mode script
----------------------
----------------------
Debugger commands script is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/no_mangle-info.lldb/no_mangle-info.debugger.script'.
Target executable is '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/no_mangle-info.lldb/a'.
Current working directory is '/Users/runner/work/rust/rust'
Creating a target for '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/test/debuginfo/no_mangle-info.lldb/a'
settings set auto-confirm true
version
version
lldb-1403.0.17.67 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) 
command script import /Users/runner/work/rust/rust/./src/etc/lldb_lookup.py
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust

@bors
Copy link
Contributor

bors commented Mar 15, 2024

💔 Test failed - checks-actions

@bors bors 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 Mar 15, 2024
@matthiaskrgr matthiaskrgr deleted the rollup-psx4evv branch March 16, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup 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. T-libs Relevant 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.

None yet

9 participants