periphery: zsh: illegal hardware instruction periphery scan

I’m getting zsh: illegal hardware instruction periphery scan message on a fresh installation of Mac (x86_64), fresh Xcode 15 and on any Xcode’s sample project. The whole setup is absolutely new.

Other periphery commands work without errors.

It looks like the scan command somehow picks wrong CPU architecture.

Periphery: 2.16.0 macOS 14.0 Xcode: 15.0

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Reactions: 1
  • Comments: 20 (6 by maintainers)

Commits related to this issue

Most upvoted comments

@hristoenev let’s be honest, the iOS dev ecosystem is buggy, poorly documented, closed, and unfriendly. XCode is the second worst IDE I’ve ever seen after Notepad. What @ileitch is doing, how he’s trying to help developers, that should’ve been implemented in XCode at least a decade ago.

I have the exact same issues on arm, so maybe the bug is not architecture related.

Periphery: 2.17.1 macOS 14.1.2 Xcode: 15.1 RC (Same results for 2.16.0, macOS 14.1.1, Xcode 15.0.1)

Here is the output for the test project @andbi gave link to:

(lldb) target create "/Users/ritchie/Downloads/temp/periphery/.build/debug/periphery"
Current executable set to '/Users/ritchie/Downloads/temp/periphery/.build/debug/periphery' (arm64).
(lldb) settings set -- target.run-args  "scan" "--verbose"
(lldb) run
Process 56209 launched: '/Users/ritchie/Downloads/temp/periphery/.build/debug/periphery' (arm64)
[version] 2.17.1
[shell] /bin/zsh -lc env
[shell] /usr/bin/env swift -version
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-macosx14.0
[shell] /usr/bin/env xcodebuild -version
Xcode 15.1
Build version 15C65
[configuration:begin]
project: PeripheryTest.xcodeproj
retain_objc_accessible: true
retain_public: true
schemes:
- PeripheryTest
targets:
- PeripheryTest
verbose: true
[configuration:end]
* Inspecting project...
[xcode:project] Loading /Users/ritchie/Downloads/PeripheryTest-main/PeripheryTest.xcodeproj
[shell] /usr/bin/env xcodebuild -project /Users/ritchie/Downloads/PeripheryTest-main/PeripheryTest.xcodeproj -list -json
* Building PeripheryTest...
[shell] /bin/sh -c xcodebuild -project '/Users/ritchie/Downloads/PeripheryTest-main/PeripheryTest.xcodeproj' -scheme 'PeripheryTest' -parallelizeTargets -derivedDataPath '/Users/ritchie/Library/Caches/com.github.peripheryapp/DerivedData-ea28b031-f8e3bf9d-f8e3bf9d' -quiet build CODE_SIGNING_ALLOWED="NO" ENABLE_BITCODE="NO" DEBUG_INFORMATION_FORMAT="dwarf" COMPILER_INDEX_STORE_ENABLE="YES" INDEX_ENABLE_DATA_STORE="YES"
* Indexing...
[index:swift] Reading /Users/ritchie/Library/Caches/com.github.peripheryapp/DerivedData-ea28b031-f8e3bf9d-f8e3bf9d/Index.noindex/DataStore
SwiftIndexStore/SwiftIndexStore.swift:321: Fatal error: Unexpectedly found nil while unwrapping an Optional value
2023-12-07 12:39:52.713531+0200 periphery[56209:5723315] SwiftIndexStore/SwiftIndexStore.swift:321: Fatal error: Unexpectedly found nil while unwrapping an Optional value
Process 56209 stopped
* thread #1, queue = 'com.apple.root.user-interactive-qos', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x00000001954889d8 libswiftCore.dylib`_swift_runtime_on_report
libswiftCore.dylib`:
->  0x1954889d8 <+0>: ret

libswiftCore.dylib`:
    0x1954889dc <+0>: b      0x1954889d8               ; _swift_runtime_on_report

libswiftCore.dylib`:
    0x1954889e0 <+0>: adrp   x8, 289777
    0x1954889e4 <+4>: ldrb   w0, [x8, #0x3e8]
Target 0: (periphery) stopped.
(lldb) bt all
* thread #1, queue = 'com.apple.root.user-interactive-qos', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
  * frame #0: 0x00000001954889d8 libswiftCore.dylib`_swift_runtime_on_report
    frame #1: 0x00000001955469cc libswiftCore.dylib`_swift_stdlib_reportFatalErrorInFile + 208
    frame #2: 0x0000000195135218 libswiftCore.dylib`closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 240
    frame #3: 0x00000001951350e0 libswiftCore.dylib`closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 344
    frame #4: 0x0000000195134a5c libswiftCore.dylib`Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 188
    frame #5: 0x0000000100201a48 periphery`static IndexStore.createSymbol(symbol=0x13d0778c0, language=nil, lib=0x000000014e007a20, self=@thick SwiftIndexStore.IndexStore.Type) at SwiftIndexStore.swift:321:104
    frame #6: 0x0000000100205164 periphery`closure #1 in closure #1 in IndexStore.forEachRelations(ctx=0x6000013c5800, relation=0x16fdfb200) at SwiftIndexStore.swift:239:41
    frame #7: 0x0000000100205344 periphery`@objc closure #1 in closure #1 in IndexStore.forEachRelations(for:_:) at <compiler-generated>:0
    frame #8: 0x000000010252e198 libIndexStore.dylib`indexstore_occurrence_relations_apply_f + 56
    frame #9: 0x0000000100204bd0 periphery`closure #1 in IndexStore.forEachRelations(next=0x00000001002049b8 periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreRelation) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreRelation) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, self=0x00006000013c58c0, occ=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fdfa848) at SwiftIndexStore.swift:236:20
    frame #10: 0x00000001001ff1c8 periphery`IndexStore.forEachRelations(occ=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fdfa848, next=0x000000010016a4f0 periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreRelation) -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.parseImplicit(SwiftIndexStore.IndexStoreOccurrence, Swift.String, PeripheryKit.SourceLocation, SwiftIndexStore.IndexStore) throws -> Swift.Array<PeripheryKit.Reference> at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:233:43
    frame #11: 0x000000010016713c periphery`SwiftIndexer.Job.parseImplicit(occurrence=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fdfa848, occurrenceUsr="s:13PeripheryTest4ItemC9timestamp10Foundation4DateVvi12initialValueL_AGvp", location=0x0000600003ec9e50, indexStore=0x00006000013c58c0, self=0x00006000033c5580) at SwiftIndexer.swift:578:24
    frame #12: 0x00000001001604e4 periphery`closure #1 in closure #1 in SwiftIndexer.Job.phaseOne(occurrence=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fdfa848, self=0x00006000033c5580, indexStore=0x00006000013c58c0, rawDeclsByKey=0 key/value pairs, references=2 values) at SwiftIndexer.swift:190:54
    frame #13: 0x000000010016b3ec periphery`partial apply for closure #1 in closure #1 in SwiftIndexer.Job.phaseOne() at <compiler-generated>:0
    frame #14: 0x0000000100202150 periphery`thunk for @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #15: 0x0000000100203d68 periphery`partial apply for thunk for @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #16: 0x00000001002027c8 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #17: 0x0000000100206778 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error)partial apply at <compiler-generated>:0
    frame #18: 0x0000000100203384 periphery`thunk for @escaping @callee_guaranteed (@in_guaranteed IndexStoreOccurrence) -> (@out Bool, @error @owned Error) at <compiler-generated>:0
    frame #19: 0x0000000100206818 periphery`thunk for @escaping @callee_guaranteed (@in_guaranteed IndexStoreOccurrence) -> (@out Bool, @error @owned Error)partial apply at <compiler-generated>:0
    frame #20: 0x00000001002047f4 periphery`closure #1 in closure #2 in IndexStore.forEachOccurrences(ctx=0x600003ec9d60, occurrence=0x16fdfb1e8) at SwiftIndexStore.swift:220:45
    frame #21: 0x000000010020491c periphery`@objc closure #1 in closure #2 in IndexStore.forEachOccurrences(for:language:_:) at <compiler-generated>:0
    frame #22: 0x0000000102525a08 libIndexStore.dylib`clang::index::IndexRecordReader::Implementation::foreachOccurrence(llvm::ArrayRef<clang::index::IndexRecordDecl const*>, llvm::ArrayRef<clang::index::IndexRecordDecl const*>, llvm::function_ref<bool (clang::index::IndexRecordOccurrence const&)>) + 1520
    frame #23: 0x000000010252e6c4 libIndexStore.dylib`indexstore_record_reader_occurrences_apply_f + 68
    frame #24: 0x00000001002040cc periphery`closure #2 in IndexStore.forEachOccurrences(next=0x0000000100203d4c periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreOccurrence) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreOccurrence) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, record=$s15SwiftIndexStore0bC4UnitV10DependencyO7ContentVy__AE10RecordKindOGD @ 0x000000016fdfb770, language=swift, self=0x00006000013c58c0, reader=0x600001fc5350) at SwiftIndexStore.swift:211:20
    frame #25: 0x00000001001fe72c periphery`IndexStore.forEachOccurrences(record=$s15SwiftIndexStore0bC4UnitV10DependencyO7ContentVy__AE10RecordKindOGD @ 0x000000016fdfb5f0, language=swift, next=0x000000010016b3c8 periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreOccurrence) throws -> Swift.Bool in closure #1 (SwiftIndexStore.IndexStoreUnit.Dependency) throws -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.phaseOne() throws -> () at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:208:43
    frame #26: 0x000000010015fe10 periphery`closure #1 in SwiftIndexer.Job.phaseOne(dependency=record, indexStore=0x00006000013c58c0, self=0x00006000033c5580, rawDeclsByKey=0 key/value pairs, references=2 values) at SwiftIndexer.swift:174:36
    frame #27: 0x000000010016b1b0 periphery`partial apply for closure #1 in SwiftIndexer.Job.phaseOne() at <compiler-generated>:0
    frame #28: 0x00000001001fff88 periphery`thunk for @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #29: 0x000000010020001c periphery`partial apply for thunk for @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #30: 0x0000000100200334 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #31: 0x0000000100206980 periphery`partial apply for thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #32: 0x00000001002005c4 periphery`closure #1 in closure #1 in IndexStore.forEachRecordDependencies(ctx=0x6000013c6880, dependency=0x16fdfbae0) at SwiftIndexStore.swift:108:37
    frame #33: 0x0000000100200c44 periphery`@objc closure #1 in closure #1 in IndexStore.forEachRecordDependencies(for:_:) at <compiler-generated>:0
    frame #34: 0x0000000102517014 libIndexStore.dylib`std::__1::__function::__func<(anonymous namespace)::IndexUnitReaderImpl::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>)::$_0, std::__1::allocator<(anonymous namespace)::IndexUnitReaderImpl::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>)::$_0>, bool (llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef)>::operator()(llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef&&) + 260
    frame #35: 0x0000000102516b68 libIndexStore.dylib`clang::index::store::BitstreamVisitor<(anonymous namespace)::IndexUnitBlockBitstreamVisitor>::visit(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) + 428
    frame #36: 0x0000000102516280 libIndexStore.dylib`clang::index::IndexUnitReader::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>) + 156
    frame #37: 0x000000010252ecb8 libIndexStore.dylib`indexstore_unit_reader_dependencies_apply_f + 48
    frame #38: 0x0000000100200214 periphery`closure #1 in IndexStore.forEachRecordDependencies(next=0x0000000100200000 periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreUnit.Dependency) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreUnit.Dependency) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, self=0x00006000013c58c0, reader=0x600001fc47d0) at SwiftIndexStore.swift:105:20
    frame #39: 0x00000001001fdc4c periphery`IndexStore.forEachRecordDependencies(unit=SwiftIndexStore.IndexStoreUnit @ 0x000000016fdfc400, next=0x000000010016b18c periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreUnit.Dependency) throws -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.phaseOne() throws -> () at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:102:43
    frame #40: 0x000000010015f504 periphery`SwiftIndexer.Job.phaseOne(self=0x00006000033c5580) at SwiftIndexer.swift:171:32
    frame #41: 0x000000010015e3e4 periphery`closure #1 in closure #8 in SwiftIndexer.perform(job=0x00006000033c5580) at SwiftIndexer.swift:82:25
    frame #42: 0x000000010016b714 periphery`partial apply for closure #1 in closure #8 in SwiftIndexer.perform() at <compiler-generated>:0
    frame #43: 0x00000001001bcf1c periphery`static Benchmark.measure(block=0x000000010016b700 periphery`partial apply forwarder for closure #1 () throws -> () in closure #8 (PeripheryKit.SwiftIndexer.Job) throws -> () in PeripheryKit.SwiftIndexer.perform() throws -> () at <compiler-generated>, self=@thick Shared.Benchmark.Type) at Benchmark.swift:7:13
    frame #44: 0x000000010015e160 periphery`closure #8 in SwiftIndexer.perform(job=0x00006000033c5580, phaseOneLogger=Shared.ContextualLogger @ 0x000000016fdfcbe0) at SwiftIndexer.swift:81:41
    frame #45: 0x000000010015e3b4 periphery`partial apply for closure #8 in SwiftIndexer.perform() at <compiler-generated>:0
    frame #46: 0x0000000100156328 periphery`closure #1 in JobPool.forEach(idx=0, error=nil, self=PeripheryKit.JobPool<PeripheryKit.SwiftIndexer.Job> @ 0x000000016fdfcce8, block=0x10015e394) at JobPool.swift:15:21
    frame #47: 0x000000019acc64e0 libswiftDispatch.dylib`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@unowned Swift.Int) -> () to @escaping @callee_guaranteed (@unowned Swift.Int) -> () + 28
    frame #48: 0x000000019acc650c libswiftDispatch.dylib`reabstraction thunk helper from @escaping @callee_guaranteed (@unowned Swift.Int) -> () to @callee_unowned @convention(block) (@unowned Swift.Int) -> () + 32
    frame #49: 0x00000001856df950 libdispatch.dylib`_dispatch_client_callout2 + 20
    frame #50: 0x00000001856f41a4 libdispatch.dylib`_dispatch_apply_invoke_and_wait + 176
    frame #51: 0x00000001856f3464 libdispatch.dylib`_dispatch_apply_with_attr_f + 1176
    frame #52: 0x00000001856f3650 libdispatch.dylib`dispatch_apply + 96
    frame #53: 0x000000019acc65b0 libswiftDispatch.dylib`_swift_dispatch_apply_current + 128
    frame #54: 0x000000019acc6464 libswiftDispatch.dylib`static __C.OS_dispatch_queue.concurrentPerform(iterations: Swift.Int, execute: (Swift.Int) -> ()) -> () + 196
    frame #55: 0x0000000100156134 periphery`JobPool.forEach(block=0x10015e394, self=PeripheryKit.JobPool<PeripheryKit.SwiftIndexer.Job> @ 0x000000016fdfd080) at JobPool.swift:10:23
    frame #56: 0x000000010015ca4c periphery`SwiftIndexer.perform(self=0x00006000039cc960) at SwiftIndexer.swift:80:33
    frame #57: 0x0000000100cf507c periphery`XcodeProjectDriver.index(graph=0x0000600002fcd560, self=0x0000600003ed16d0) at XcodeProjectDriver.swift:170:95
    frame #58: 0x0000000100cf5cf4 periphery`protocol witness for ProjectDriver.index(graph:) in conformance XcodeProjectDriver at <compiler-generated>:0
    frame #59: 0x0000000100130268 periphery`Scan.perform(project=0x0000600001dc07e0, self=0x0000600001dc3200) at Scan.swift:48:20
    frame #60: 0x000000010011b8ac periphery`closure #1 in ScanCommand.run(project=0x0000600001dc07e0) at ScanCommand.swift:143:24
    frame #61: 0x000000010010fc58 periphery`ScanBehavior.main(block=0x000000010011b854 periphery`closure #1 (Frontend.Project) throws -> Swift.Array<PeripheryKit.ScanResult> in Frontend.ScanCommand.run() throws -> () at ScanCommand.swift:142, self=0x0000600001dc7040) at ScanBehavior.swift:63:27
    frame #62: 0x000000010011ada4 periphery`ScanCommand.run(self=Frontend.ScanCommand @ 0x000000016fdfedf0) at ScanCommand.swift:142:26
    frame #63: 0x000000010012643c periphery`protocol witness for ParsableCommand.run() in conformance ScanCommand at <compiler-generated>:0
    frame #64: 0x0000000100133784 periphery`Frontend_main at main.swift:24:17
    frame #65: 0x00000001855110e0 dyld`start + 2360
  thread #2, queue = 'com.apple.root.user-interactive-qos'
    frame #0: 0x0000000195497ce4 libswiftCore.dylib`_swift_getGenericMetadata(swift::MetadataRequest, void const* const*, swift::TargetTypeContextDescriptor<swift::InProcess> const*) + 416
    frame #1: 0x000000019546fccc libswiftCore.dylib`__swift_instantiateCanonicalPrespecializedGenericMetadata + 40
    frame #2: 0x0000000195259124 libswiftCore.dylib`Swift.RawKeyPathComponent._projectReadOnly<τ_0_0, τ_0_1, τ_0_2>(_: τ_0_0, to: τ_0_1.Type, endingWith: τ_0_2.Type) -> Swift.RawKeyPathComponent.ProjectionResult<τ_0_1, τ_0_2> + 92
    frame #3: 0x0000000195258c80 libswiftCore.dylib`closure #2 (Swift.KeyPathBuffer) -> τ_0_1 in Swift.KeyPath._projectReadOnly(from: τ_0_0) -> τ_0_1 + 764
    frame #4: 0x0000000195430420 libswiftCore.dylib`partial apply forwarder for closure #2 (Swift.KeyPathBuffer) -> τ_0_1 in Swift.KeyPath._projectReadOnly(from: τ_0_0) -> τ_0_1 + 32
    frame #5: 0x0000000195258020 libswiftCore.dylib`Swift.AnyKeyPath.withBuffer<τ_0_0>((Swift.KeyPathBuffer) throws -> τ_0_0) throws -> τ_0_0 + 80
    frame #6: 0x00000001952588fc libswiftCore.dylib`Swift.KeyPath._projectReadOnly(from: τ_0_0) -> τ_0_1 + 376
    frame #7: 0x000000019525c7e0 libswiftCore.dylib`swift_getAtKeyPath + 24
    frame #8: 0x00000001001f6180 periphery`LibIndexStore.subscript.getter(keyPath=0x00006000008c7080, self=0x000000014e007a20) at LibIndexStore.swift:18:12
    frame #9: 0x0000000100205104 periphery`closure #1 in closure #1 in IndexStore.forEachRelations(ctx=0x6000013c0090, relation=0x16fe852c0) at SwiftIndexStore.swift:240:34
    frame #10: 0x0000000100205344 periphery`@objc closure #1 in closure #1 in IndexStore.forEachRelations(for:_:) at <compiler-generated>:0
    frame #11: 0x000000010252e198 libIndexStore.dylib`indexstore_occurrence_relations_apply_f + 56
    frame #12: 0x0000000100204bd0 periphery`closure #1 in IndexStore.forEachRelations(next=0x00000001002049b8 periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreRelation) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreRelation) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, self=0x00006000013c58c0, occ=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fe84908) at SwiftIndexStore.swift:236:20
    frame #13: 0x00000001001ff1c8 periphery`IndexStore.forEachRelations(occ=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fe84908, next=0x000000010016a6d0 periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreRelation) -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.parseRawDeclaration(SwiftIndexStore.IndexStoreOccurrence, Swift.String, PeripheryKit.SourceLocation, SwiftIndexStore.IndexStore) throws -> Swift.Optional<(PeripheryKit.SwiftIndexer.Job.RawDeclaration, Swift.Array<PeripheryKit.SwiftIndexer.Job.RawRelation>)> at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:233:43
    frame #14: 0x0000000100165ce8 periphery`SwiftIndexer.Job.parseRawDeclaration(occurrence=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fe84908, usr="s:13PeripheryTest0aB3AppV20sharedModelContainer9SwiftData0eF0Cvs", location=0x0000600003ec0280, indexStore=0x00006000013c58c0, self=0x00006000033c5680) at SwiftIndexer.swift:499:24
    frame #15: 0x0000000100160160 periphery`closure #1 in closure #1 in SwiftIndexer.Job.phaseOne(occurrence=SwiftIndexStore.IndexStoreOccurrence @ 0x000000016fe84908, self=0x00006000033c5680, indexStore=0x00006000013c58c0, rawDeclsByKey=4 key/value pairs, references=4 values) at SwiftIndexer.swift:180:60
    frame #16: 0x000000010016b3ec periphery`partial apply for closure #1 in closure #1 in SwiftIndexer.Job.phaseOne() at <compiler-generated>:0
    frame #17: 0x0000000100202150 periphery`thunk for @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #18: 0x0000000100203d68 periphery`partial apply for thunk for @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #19: 0x00000001002027c8 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #20: 0x0000000100206778 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error)partial apply at <compiler-generated>:0
    frame #21: 0x0000000100203384 periphery`thunk for @escaping @callee_guaranteed (@in_guaranteed IndexStoreOccurrence) -> (@out Bool, @error @owned Error) at <compiler-generated>:0
    frame #22: 0x0000000100206818 periphery`thunk for @escaping @callee_guaranteed (@in_guaranteed IndexStoreOccurrence) -> (@out Bool, @error @owned Error)partial apply at <compiler-generated>:0
    frame #23: 0x00000001002047f4 periphery`closure #1 in closure #2 in IndexStore.forEachOccurrences(ctx=0x600003ec4230, occurrence=0x16fe852a8) at SwiftIndexStore.swift:220:45
    frame #24: 0x000000010020491c periphery`@objc closure #1 in closure #2 in IndexStore.forEachOccurrences(for:language:_:) at <compiler-generated>:0
    frame #25: 0x0000000102525a08 libIndexStore.dylib`clang::index::IndexRecordReader::Implementation::foreachOccurrence(llvm::ArrayRef<clang::index::IndexRecordDecl const*>, llvm::ArrayRef<clang::index::IndexRecordDecl const*>, llvm::function_ref<bool (clang::index::IndexRecordOccurrence const&)>) + 1520
    frame #26: 0x000000010252e6c4 libIndexStore.dylib`indexstore_record_reader_occurrences_apply_f + 68
    frame #27: 0x00000001002040cc periphery`closure #2 in IndexStore.forEachOccurrences(next=0x0000000100203d4c periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreOccurrence) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreOccurrence) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, record=$s15SwiftIndexStore0bC4UnitV10DependencyO7ContentVy__AE10RecordKindOGD @ 0x000000016fe85830, language=swift, self=0x00006000013c58c0, reader=0x600001fc03f0) at SwiftIndexStore.swift:211:20
    frame #28: 0x00000001001fe72c periphery`IndexStore.forEachOccurrences(record=$s15SwiftIndexStore0bC4UnitV10DependencyO7ContentVy__AE10RecordKindOGD @ 0x000000016fe856b0, language=swift, next=0x000000010016b3c8 periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreOccurrence) throws -> Swift.Bool in closure #1 (SwiftIndexStore.IndexStoreUnit.Dependency) throws -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.phaseOne() throws -> () at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:208:43
    frame #29: 0x000000010015fe10 periphery`closure #1 in SwiftIndexer.Job.phaseOne(dependency=record, indexStore=0x00006000013c58c0, self=0x00006000033c5680, rawDeclsByKey=4 key/value pairs, references=4 values) at SwiftIndexer.swift:174:36
    frame #30: 0x000000010016b1b0 periphery`partial apply for closure #1 in SwiftIndexer.Job.phaseOne() at <compiler-generated>:0
    frame #31: 0x00000001001fff88 periphery`thunk for @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #32: 0x000000010020001c periphery`partial apply for thunk for @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #33: 0x0000000100200334 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #34: 0x0000000100206980 periphery`partial apply for thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #35: 0x00000001002005c4 periphery`closure #1 in closure #1 in IndexStore.forEachRecordDependencies(ctx=0x6000013ee400, dependency=0x16fe85ba0) at SwiftIndexStore.swift:108:37
    frame #36: 0x0000000100200c44 periphery`@objc closure #1 in closure #1 in IndexStore.forEachRecordDependencies(for:_:) at <compiler-generated>:0
    frame #37: 0x0000000102517014 libIndexStore.dylib`std::__1::__function::__func<(anonymous namespace)::IndexUnitReaderImpl::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>)::$_0, std::__1::allocator<(anonymous namespace)::IndexUnitReaderImpl::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>)::$_0>, bool (llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef)>::operator()(llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef&&) + 260
    frame #38: 0x0000000102516b68 libIndexStore.dylib`clang::index::store::BitstreamVisitor<(anonymous namespace)::IndexUnitBlockBitstreamVisitor>::visit(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) + 428
    frame #39: 0x0000000102516280 libIndexStore.dylib`clang::index::IndexUnitReader::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>) + 156
    frame #40: 0x000000010252ecb8 libIndexStore.dylib`indexstore_unit_reader_dependencies_apply_f + 48
    frame #41: 0x0000000100200214 periphery`closure #1 in IndexStore.forEachRecordDependencies(next=0x0000000100200000 periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreUnit.Dependency) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreUnit.Dependency) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, self=0x00006000013c58c0, reader=0x600001fc46a0) at SwiftIndexStore.swift:105:20
    frame #42: 0x00000001001fdc4c periphery`IndexStore.forEachRecordDependencies(unit=SwiftIndexStore.IndexStoreUnit @ 0x000000016fe864c0, next=0x000000010016b18c periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreUnit.Dependency) throws -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.phaseOne() throws -> () at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:102:43
    frame #43: 0x000000010015f504 periphery`SwiftIndexer.Job.phaseOne(self=0x00006000033c5680) at SwiftIndexer.swift:171:32
    frame #44: 0x000000010015e3e4 periphery`closure #1 in closure #8 in SwiftIndexer.perform(job=0x00006000033c5680) at SwiftIndexer.swift:82:25
    frame #45: 0x000000010016b714 periphery`partial apply for closure #1 in closure #8 in SwiftIndexer.perform() at <compiler-generated>:0
    frame #46: 0x00000001001bcf1c periphery`static Benchmark.measure(block=0x000000010016b700 periphery`partial apply forwarder for closure #1 () throws -> () in closure #8 (PeripheryKit.SwiftIndexer.Job) throws -> () in PeripheryKit.SwiftIndexer.perform() throws -> () at <compiler-generated>, self=@thick Shared.Benchmark.Type) at Benchmark.swift:7:13
    frame #47: 0x000000010015e160 periphery`closure #8 in SwiftIndexer.perform(job=0x00006000033c5680, phaseOneLogger=Shared.ContextualLogger @ 0x000000016fe86ca0) at SwiftIndexer.swift:81:41
    frame #48: 0x000000010015e3b4 periphery`partial apply for closure #8 in SwiftIndexer.perform() at <compiler-generated>:0
    frame #49: 0x0000000100156328 periphery`closure #1 in JobPool.forEach(idx=1, error=nil, self=PeripheryKit.JobPool<PeripheryKit.SwiftIndexer.Job> @ 0x000000016fe86da8, block=0x10015e394) at JobPool.swift:15:21
    frame #50: 0x000000019acc64e0 libswiftDispatch.dylib`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@unowned Swift.Int) -> () to @escaping @callee_guaranteed (@unowned Swift.Int) -> () + 28
    frame #51: 0x000000019acc650c libswiftDispatch.dylib`reabstraction thunk helper from @escaping @callee_guaranteed (@unowned Swift.Int) -> () to @callee_unowned @convention(block) (@unowned Swift.Int) -> () + 32
    frame #52: 0x00000001856df950 libdispatch.dylib`_dispatch_client_callout2 + 20
    frame #53: 0x00000001856f2ba0 libdispatch.dylib`_dispatch_apply_invoke + 176
    frame #54: 0x00000001856df910 libdispatch.dylib`_dispatch_client_callout + 20
    frame #55: 0x00000001856f13cc libdispatch.dylib`_dispatch_root_queue_drain + 864
    frame #56: 0x00000001856f1a04 libdispatch.dylib`_dispatch_worker_thread2 + 156
    frame #57: 0x00000001858890d8 libsystem_pthread.dylib`_pthread_wqthread + 228
  thread #5
    frame #0: 0x000000018584e564 libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #9, queue = 'com.apple.root.user-interactive-qos'
    frame #0: 0x000000019547b278 libswiftCore.dylib`swift::TargetContextDescriptor<swift::InProcess>::getGenericContext() const + 1508
    frame #1: 0x0000000195497258 libswiftCore.dylib`getCache(swift::TargetTypeContextDescriptor<swift::InProcess> const&) + 580
    frame #2: 0x0000000195497b7c libswiftCore.dylib`_swift_getGenericMetadata(swift::MetadataRequest, void const* const*, swift::TargetTypeContextDescriptor<swift::InProcess> const*) + 56
    frame #3: 0x000000019546fccc libswiftCore.dylib`__swift_instantiateCanonicalPrespecializedGenericMetadata + 40
    frame #4: 0x00000001952589cc libswiftCore.dylib`closure #2 (Swift.KeyPathBuffer) -> τ_0_1 in Swift.KeyPath._projectReadOnly(from: τ_0_0) -> τ_0_1 + 72
    frame #5: 0x0000000195430420 libswiftCore.dylib`partial apply forwarder for closure #2 (Swift.KeyPathBuffer) -> τ_0_1 in Swift.KeyPath._projectReadOnly(from: τ_0_0) -> τ_0_1 + 32
    frame #6: 0x0000000195258020 libswiftCore.dylib`Swift.AnyKeyPath.withBuffer<τ_0_0>((Swift.KeyPathBuffer) throws -> τ_0_0) throws -> τ_0_0 + 80
    frame #7: 0x00000001952588fc libswiftCore.dylib`Swift.KeyPath._projectReadOnly(from: τ_0_0) -> τ_0_1 + 376
    frame #8: 0x000000019525c7e0 libswiftCore.dylib`swift_getAtKeyPath + 24
    frame #9: 0x00000001001f6180 periphery`LibIndexStore.subscript.getter(keyPath=0x00006000008c6e80, self=0x000000014e007a20) at LibIndexStore.swift:18:12
    frame #10: 0x00000001002018f0 periphery`static IndexStore.createSymbol(symbol=0x14d02f320, language=nil, lib=0x000000014e007a20, self=@thick SwiftIndexStore.IndexStore.Type) at SwiftIndexStore.swift:320:61
    frame #11: 0x0000000100205164 periphery`closure #1 in closure #1 in IndexStore.forEachRelations(ctx=0x6000013c8a20, relation=0x1702592c0) at SwiftIndexStore.swift:239:41
    frame #12: 0x0000000100205344 periphery`@objc closure #1 in closure #1 in IndexStore.forEachRelations(for:_:) at <compiler-generated>:0
    frame #13: 0x000000010252e198 libIndexStore.dylib`indexstore_occurrence_relations_apply_f + 56
    frame #14: 0x0000000100204bd0 periphery`closure #1 in IndexStore.forEachRelations(next=0x00000001002049b8 periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreRelation) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreRelation) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, self=0x00006000013c58c0, occ=SwiftIndexStore.IndexStoreOccurrence @ 0x0000000170258908) at SwiftIndexStore.swift:236:20
    frame #15: 0x00000001001ff1c8 periphery`IndexStore.forEachRelations(occ=SwiftIndexStore.IndexStoreOccurrence @ 0x0000000170258908, next=0x000000010016a4f0 periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreRelation) -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.parseImplicit(SwiftIndexStore.IndexStoreOccurrence, Swift.String, PeripheryKit.SourceLocation, SwiftIndexStore.IndexStore) throws -> Swift.Array<PeripheryKit.Reference> at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:233:43
    frame #16: 0x000000010016713c periphery`SwiftIndexer.Job.parseImplicit(occurrence=SwiftIndexStore.IndexStoreOccurrence @ 0x0000000170258908, occurrenceUsr="s:7SwiftUI17EnvironmentValuesV01_a5Data_aB0E12modelContext0aE005ModelG0Cvg", location=0x0000600003ec5680, indexStore=0x00006000013c58c0, self=0x00006000033c5700) at SwiftIndexer.swift:578:24
    frame #17: 0x00000001001604e4 periphery`closure #1 in closure #1 in SwiftIndexer.Job.phaseOne(occurrence=SwiftIndexStore.IndexStoreOccurrence @ 0x0000000170258908, self=0x00006000033c5700, indexStore=0x00006000013c58c0, rawDeclsByKey=3 key/value pairs, references=6 values) at SwiftIndexer.swift:190:54
    frame #18: 0x000000010016b3ec periphery`partial apply for closure #1 in closure #1 in SwiftIndexer.Job.phaseOne() at <compiler-generated>:0
    frame #19: 0x0000000100202150 periphery`thunk for @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #20: 0x0000000100203d68 periphery`partial apply for thunk for @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #21: 0x00000001002027c8 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #22: 0x0000000100206778 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreOccurrence) -> (@unowned Bool, @error @owned Error)partial apply at <compiler-generated>:0
    frame #23: 0x0000000100203384 periphery`thunk for @escaping @callee_guaranteed (@in_guaranteed IndexStoreOccurrence) -> (@out Bool, @error @owned Error) at <compiler-generated>:0
    frame #24: 0x0000000100206818 periphery`thunk for @escaping @callee_guaranteed (@in_guaranteed IndexStoreOccurrence) -> (@out Bool, @error @owned Error)partial apply at <compiler-generated>:0
    frame #25: 0x00000001002047f4 periphery`closure #1 in closure #2 in IndexStore.forEachOccurrences(ctx=0x600003ecf3e0, occurrence=0x1702592a8) at SwiftIndexStore.swift:220:45
    frame #26: 0x000000010020491c periphery`@objc closure #1 in closure #2 in IndexStore.forEachOccurrences(for:language:_:) at <compiler-generated>:0
    frame #27: 0x0000000102525a08 libIndexStore.dylib`clang::index::IndexRecordReader::Implementation::foreachOccurrence(llvm::ArrayRef<clang::index::IndexRecordDecl const*>, llvm::ArrayRef<clang::index::IndexRecordDecl const*>, llvm::function_ref<bool (clang::index::IndexRecordOccurrence const&)>) + 1520
    frame #28: 0x000000010252e6c4 libIndexStore.dylib`indexstore_record_reader_occurrences_apply_f + 68
    frame #29: 0x00000001002040cc periphery`closure #2 in IndexStore.forEachOccurrences(next=0x0000000100203d4c periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreOccurrence) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreOccurrence) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, record=$s15SwiftIndexStore0bC4UnitV10DependencyO7ContentVy__AE10RecordKindOGD @ 0x0000000170259830, language=swift, self=0x00006000013c58c0, reader=0x600001fc8c00) at SwiftIndexStore.swift:211:20
    frame #30: 0x00000001001fe72c periphery`IndexStore.forEachOccurrences(record=$s15SwiftIndexStore0bC4UnitV10DependencyO7ContentVy__AE10RecordKindOGD @ 0x00000001702596b0, language=swift, next=0x000000010016b3c8 periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreOccurrence) throws -> Swift.Bool in closure #1 (SwiftIndexStore.IndexStoreUnit.Dependency) throws -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.phaseOne() throws -> () at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:208:43
    frame #31: 0x000000010015fe10 periphery`closure #1 in SwiftIndexer.Job.phaseOne(dependency=record, indexStore=0x00006000013c58c0, self=0x00006000033c5700, rawDeclsByKey=3 key/value pairs, references=6 values) at SwiftIndexer.swift:174:36
    frame #32: 0x000000010016b1b0 periphery`partial apply for closure #1 in SwiftIndexer.Job.phaseOne() at <compiler-generated>:0
    frame #33: 0x00000001001fff88 periphery`thunk for @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #34: 0x000000010020001c periphery`partial apply for thunk for @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #35: 0x0000000100200334 periphery`thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #36: 0x0000000100206980 periphery`partial apply for thunk for @escaping @callee_guaranteed (@guaranteed IndexStoreUnit.Dependency) -> (@unowned Bool, @error @owned Error) at <compiler-generated>:0
    frame #37: 0x00000001002005c4 periphery`closure #1 in closure #1 in IndexStore.forEachRecordDependencies(ctx=0x6000013c90e0, dependency=0x170259ba0) at SwiftIndexStore.swift:108:37
    frame #38: 0x0000000100200c44 periphery`@objc closure #1 in closure #1 in IndexStore.forEachRecordDependencies(for:_:) at <compiler-generated>:0
    frame #39: 0x0000000102517014 libIndexStore.dylib`std::__1::__function::__func<(anonymous namespace)::IndexUnitReaderImpl::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>)::$_0, std::__1::allocator<(anonymous namespace)::IndexUnitReaderImpl::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>)::$_0>, bool (llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef)>::operator()(llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef&&) + 260
    frame #40: 0x0000000102516b68 libIndexStore.dylib`clang::index::store::BitstreamVisitor<(anonymous namespace)::IndexUnitBlockBitstreamVisitor>::visit(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) + 428
    frame #41: 0x0000000102516280 libIndexStore.dylib`clang::index::IndexUnitReader::foreachDependency(llvm::function_ref<bool (clang::index::IndexUnitReader::DependencyInfo const&)>) + 156
    frame #42: 0x000000010252ecb8 libIndexStore.dylib`indexstore_unit_reader_dependencies_apply_f + 48
    frame #43: 0x0000000100200214 periphery`closure #1 in IndexStore.forEachRecordDependencies(next=0x0000000100200000 periphery`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreUnit.Dependency) -> (@unowned Swift.Bool, @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed SwiftIndexStore.IndexStoreUnit.Dependency) -> (@unowned Swift.Bool, @error @owned Swift.Error) at <compiler-generated>, self=0x00006000013c58c0, reader=0x600001fc4770) at SwiftIndexStore.swift:105:20
    frame #44: 0x00000001001fdc4c periphery`IndexStore.forEachRecordDependencies(unit=SwiftIndexStore.IndexStoreUnit @ 0x000000017025a4c0, next=0x000000010016b18c periphery`partial apply forwarder for closure #1 (SwiftIndexStore.IndexStoreUnit.Dependency) throws -> Swift.Bool in PeripheryKit.SwiftIndexer.Job.phaseOne() throws -> () at <compiler-generated>, self=0x00006000013c58c0) at SwiftIndexStore.swift:102:43
    frame #45: 0x000000010015f504 periphery`SwiftIndexer.Job.phaseOne(self=0x00006000033c5700) at SwiftIndexer.swift:171:32
    frame #46: 0x000000010015e3e4 periphery`closure #1 in closure #8 in SwiftIndexer.perform(job=0x00006000033c5700) at SwiftIndexer.swift:82:25
    frame #47: 0x000000010016b714 periphery`partial apply for closure #1 in closure #8 in SwiftIndexer.perform() at <compiler-generated>:0
    frame #48: 0x00000001001bcf1c periphery`static Benchmark.measure(block=0x000000010016b700 periphery`partial apply forwarder for closure #1 () throws -> () in closure #8 (PeripheryKit.SwiftIndexer.Job) throws -> () in PeripheryKit.SwiftIndexer.perform() throws -> () at <compiler-generated>, self=@thick Shared.Benchmark.Type) at Benchmark.swift:7:13
    frame #49: 0x000000010015e160 periphery`closure #8 in SwiftIndexer.perform(job=0x00006000033c5700, phaseOneLogger=Shared.ContextualLogger @ 0x000000017025aca0) at SwiftIndexer.swift:81:41
    frame #50: 0x000000010015e3b4 periphery`partial apply for closure #8 in SwiftIndexer.perform() at <compiler-generated>:0
    frame #51: 0x0000000100156328 periphery`closure #1 in JobPool.forEach(idx=2, error=nil, self=PeripheryKit.JobPool<PeripheryKit.SwiftIndexer.Job> @ 0x000000017025ada8, block=0x10015e394) at JobPool.swift:15:21
    frame #52: 0x000000019acc64e0 libswiftDispatch.dylib`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@unowned Swift.Int) -> () to @escaping @callee_guaranteed (@unowned Swift.Int) -> () + 28
    frame #53: 0x000000019acc650c libswiftDispatch.dylib`reabstraction thunk helper from @escaping @callee_guaranteed (@unowned Swift.Int) -> () to @callee_unowned @convention(block) (@unowned Swift.Int) -> () + 32
    frame #54: 0x00000001856df950 libdispatch.dylib`_dispatch_client_callout2 + 20
    frame #55: 0x00000001856f2ba0 libdispatch.dylib`_dispatch_apply_invoke + 176
    frame #56: 0x00000001856df910 libdispatch.dylib`_dispatch_client_callout + 20
    frame #57: 0x00000001856f13cc libdispatch.dylib`_dispatch_root_queue_drain + 864
    frame #58: 0x00000001856f1a04 libdispatch.dylib`_dispatch_worker_thread2 + 156
    frame #59: 0x00000001858890d8 libsystem_pthread.dylib`_pthread_wqthread + 228
(lldb)