Build Information
Successful build of ProfileSwiftUI, reference main (813bd7
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 12:38:43 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/ProfileSwiftUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/ProfileSwiftUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 813bd75 Bump DLKit.
Cloned https://github.com/johnno1962/ProfileSwiftUI.git
Revision (git rev-parse @):
813bd75cc58be6aa993707c22262fb8f22d112d4
SUCCESS checkout https://github.com/johnno1962/ProfileSwiftUI.git at main
Fetching https://github.com/johnno1962/DLKit
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/SwiftTrace
[1/374] Fetching dlkit
[375/2441] Fetching dlkit, swifttrace
[562/2644] Fetching dlkit, swifttrace, swiftregex5
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (3.41s)
Fetched https://github.com/johnno1962/SwiftTrace from cache (3.41s)
Fetched https://github.com/johnno1962/DLKit from cache (3.41s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.68s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.2 (0.63s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.6 (0.67s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.68s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.67s)
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.2
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "profileswiftui",
"name": "ProfileSwiftUI",
"url": "https://github.com/johnno1962/ProfileSwiftUI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProfileSwiftUI",
"dependencies": [
{
"identity": "swifttrace",
"name": "SwiftTrace",
"url": "https://github.com/johnno1962/SwiftTrace",
"version": "8.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftTrace",
"dependencies": [
]
},
{
"identity": "swiftregex5",
"name": "SwiftRegex",
"url": "https://github.com/johnno1962/SwiftRegex5",
"version": "6.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRegex5",
"dependencies": [
]
},
{
"identity": "dlkit",
"name": "DLKit",
"url": "https://github.com/johnno1962/DLKit",
"version": "3.4.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DLKit",
"dependencies": [
{
"identity": "fishhook",
"name": "fishhook",
"url": "https://github.com/johnno1962/fishhook",
"version": "1.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fishhook",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/johnno1962/ProfileSwiftUI.git
[1/74] Fetching profileswiftui
Fetched https://github.com/johnno1962/ProfileSwiftUI.git from cache (0.66s)
Fetching https://github.com/johnno1962/SwiftTrace from cache
Fetching https://github.com/johnno1962/DLKit from cache
Fetching https://github.com/johnno1962/SwiftRegex5 from cache
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.50s)
Fetched https://github.com/johnno1962/DLKit from cache (0.55s)
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.55s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.03s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.2 (0.02s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.6 (0.02s)
Fetching https://github.com/johnno1962/fishhook from cache
Fetched https://github.com/johnno1962/fishhook from cache (0.44s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.02s)
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.2
Creating working copy for https://github.com/johnno1962/ProfileSwiftUI.git
Working copy of https://github.com/johnno1962/ProfileSwiftUI.git resolved at main (813bd75)
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.6
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
warning: '.resolve-product-dependencies': dependency 'profileswiftui' is not used by any target
Found 3 product dependencies
- SwiftTrace
- SwiftRegex
- DLKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/johnno1962/ProfileSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/18] Write sources
[2/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[3/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[3/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[5/18] Write swift-version--7754E27361AE5C74.txt
[6/18] Write sources
[7/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm64.s
[8/20] Compiling DLKitCD DLKitC.c
[9/20] Compiling SwiftTraceGutsD fishhook.c
[10/20] Compiling SwiftTraceGutsD SwiftTrace.mm
[11/20] Compiling SwiftTraceGutsD Trampolines.mm
[11/20] Compiling SwiftTraceGutsD ObjCBridge.mm
[11/20] Compiling DLKitCD trie_dlops.mm
[14/20] Compiling DLKitCD trie_dladdr.mm
[15/20] Compiling SwiftTraceGutsD fast_dladdr.mm
[17/32] Emitting module SwiftRegex
[18/32] Compiling SwiftRegex TupleRegex.swift
[19/32] Compiling SwiftTraceD SwiftSwizzle.swift
[20/32] Compiling SwiftTraceD SwiftStats.swift
[21/32] Compiling SwiftTraceD SwiftStack.swift
[22/32] Compiling SwiftTraceD SwiftInvoke.swift
[23/33] Compiling SwiftTraceD SwiftLifetime.swift
[24/33] Compiling SwiftTraceD SwiftInterpose.swift
[25/33] Compiling SwiftTraceD SwiftMeta.swift
[26/33] Compiling SwiftTraceD SwiftTrace.swift
[27/33] Compiling SwiftTraceD EasyPointer.swift
[28/33] Compiling SwiftTraceD StringIndex.swift
[29/33] Emitting module SwiftTraceD
[30/33] Compiling SwiftTraceD SwiftArgs.swift
[31/33] Compiling SwiftTraceD SwiftAspects.swift
[31/33] Write Objects.LinkFileList
[32/33] Linking libSwiftTraceD.dylib
[34/35] Emitting module ProfileSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:22:23: warning: static property 'packageFilter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /** framework to intercept calls to*/
22 | public static var packageFilter = "/SwiftUI.framework/"
| |- warning: static property 'packageFilter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'packageFilter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'packageFilter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /** image number of framework to intercept calls to */
24 | public static var targetImageNumber: UInt32 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:24:23: warning: static property 'targetImageNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public static var packageFilter = "/SwiftUI.framework/"
23 | /** image number of framework to intercept calls to */
24 | public static var targetImageNumber: UInt32 = 0
| |- warning: static property 'targetImageNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'targetImageNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'targetImageNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /** Caller information extractor */
26 | public static var relevantRegex = #"( closure #\d+|in \S+ : some|AG\w+)"#
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:26:23: warning: static property 'relevantRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var targetImageNumber: UInt32 = 0
25 | /** Caller information extractor */
26 | public static var relevantRegex = #"( closure #\d+|in \S+ : some|AG\w+)"#
| |- warning: static property 'relevantRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'relevantRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'relevantRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /** Regex pattern for methods to add profiling aspect */
28 | public static var inclusions = NSRegularExpression(regexp:
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:28:23: warning: static property 'inclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public static var relevantRegex = #"( closure #\d+|in \S+ : some|AG\w+)"#
27 | /** Regex pattern for methods to add profiling aspect */
28 | public static var inclusions = NSRegularExpression(regexp:
| |- warning: static property 'inclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inclusions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'inclusions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #"^AG| -> |body\.getter"#)
30 | /** demangled symbol names to avoid */
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:31:23: warning: static property 'exclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | #"^AG| -> |body\.getter"#)
30 | /** demangled symbol names to avoid */
31 | public static var exclusions = NSRegularExpression(regexp:
| |- warning: static property 'exclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exclusions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exclusions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | #"descriptor|default argument|infix|subscript|-> (some|SwiftUI\.(Text|Font))|AGAttributeNil|callerTotals\.modify"#)
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:35:23: warning: static property 'entryFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /** format for function summary entries */
35 | public static var entryFormat = "%10@\t🍿%@ 0x%llx"
| |- warning: static property 'entryFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'entryFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'entryFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** format for detail/caller entries */
37 | public static var detailFormat = " ↳ %@\t%@"
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:37:23: warning: static property 'detailFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public static var entryFormat = "%10@\t🍿%@ 0x%llx"
36 | /** format for detail/caller entries */
37 | public static var detailFormat = " ↳ %@\t%@"
| |- warning: static property 'detailFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'detailFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'detailFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /** suffix for end of caller symbol */
39 | public static var suffixFormat = " 0x%llx%s"
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:39:23: warning: static property 'suffixFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | public static var detailFormat = " ↳ %@\t%@"
38 | /** suffix for end of caller symbol */
39 | public static var suffixFormat = " 0x%llx%s"
| |- warning: static property 'suffixFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'suffixFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'suffixFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /** formats for displaying elapsed times/counts */
41 | public static var timeFormat = "%.3fms/%d"
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:41:23: warning: static property 'timeFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | public static var suffixFormat = " 0x%llx%s"
40 | /** formats for displaying elapsed times/counts */
41 | public static var timeFormat = "%.3fms/%d"
| |- warning: static property 'timeFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | @discardableResult
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:52:16: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | }
51 |
52 | static var tracer: STTracer = { existing, symname in
| |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tracer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | var info = Dl_info()
54 | // Is the destinaton of the binding in the target image?
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:69:20: warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | original: autoBitCast(existing))?.forwardingImplementation)
68 | // Continue logging after "injections"
69 | SwiftTrace.initialRebindings.append(rebinding(name: symname,
| `- warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | replacement: tracer, replaced: nil))
71 | return tracer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftInterpose.swift:30:23: note: class property declared here
28 |
29 | /// Base rebindings applied to each injected file.
30 | public static var initialRebindings = [rebinding]()
| `- note: class property declared here
31 |
32 | /// "interpose" aspects onto Swift function name.
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:201:1: warning: extension declares a conformance of imported type 'dl_info' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
199 | }
200 |
201 | extension Dl_info: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'dl_info' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
202 | public var debugDescription: String {
203 | String(format: "0x%llx %@", uintptr_t(bitPattern: dli_saddr),
[35/35] Compiling ProfileSwiftUI ProfileSwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:22:23: warning: static property 'packageFilter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /** framework to intercept calls to*/
22 | public static var packageFilter = "/SwiftUI.framework/"
| |- warning: static property 'packageFilter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'packageFilter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'packageFilter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /** image number of framework to intercept calls to */
24 | public static var targetImageNumber: UInt32 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:24:23: warning: static property 'targetImageNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public static var packageFilter = "/SwiftUI.framework/"
23 | /** image number of framework to intercept calls to */
24 | public static var targetImageNumber: UInt32 = 0
| |- warning: static property 'targetImageNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'targetImageNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'targetImageNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /** Caller information extractor */
26 | public static var relevantRegex = #"( closure #\d+|in \S+ : some|AG\w+)"#
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:26:23: warning: static property 'relevantRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var targetImageNumber: UInt32 = 0
25 | /** Caller information extractor */
26 | public static var relevantRegex = #"( closure #\d+|in \S+ : some|AG\w+)"#
| |- warning: static property 'relevantRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'relevantRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'relevantRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /** Regex pattern for methods to add profiling aspect */
28 | public static var inclusions = NSRegularExpression(regexp:
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:28:23: warning: static property 'inclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public static var relevantRegex = #"( closure #\d+|in \S+ : some|AG\w+)"#
27 | /** Regex pattern for methods to add profiling aspect */
28 | public static var inclusions = NSRegularExpression(regexp:
| |- warning: static property 'inclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inclusions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'inclusions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #"^AG| -> |body\.getter"#)
30 | /** demangled symbol names to avoid */
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:31:23: warning: static property 'exclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | #"^AG| -> |body\.getter"#)
30 | /** demangled symbol names to avoid */
31 | public static var exclusions = NSRegularExpression(regexp:
| |- warning: static property 'exclusions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exclusions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exclusions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | #"descriptor|default argument|infix|subscript|-> (some|SwiftUI\.(Text|Font))|AGAttributeNil|callerTotals\.modify"#)
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:35:23: warning: static property 'entryFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /** format for function summary entries */
35 | public static var entryFormat = "%10@\t🍿%@ 0x%llx"
| |- warning: static property 'entryFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'entryFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'entryFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** format for detail/caller entries */
37 | public static var detailFormat = " ↳ %@\t%@"
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:37:23: warning: static property 'detailFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public static var entryFormat = "%10@\t🍿%@ 0x%llx"
36 | /** format for detail/caller entries */
37 | public static var detailFormat = " ↳ %@\t%@"
| |- warning: static property 'detailFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'detailFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'detailFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /** suffix for end of caller symbol */
39 | public static var suffixFormat = " 0x%llx%s"
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:39:23: warning: static property 'suffixFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | public static var detailFormat = " ↳ %@\t%@"
38 | /** suffix for end of caller symbol */
39 | public static var suffixFormat = " 0x%llx%s"
| |- warning: static property 'suffixFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'suffixFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'suffixFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /** formats for displaying elapsed times/counts */
41 | public static var timeFormat = "%.3fms/%d"
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:41:23: warning: static property 'timeFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | public static var suffixFormat = " 0x%llx%s"
40 | /** formats for displaying elapsed times/counts */
41 | public static var timeFormat = "%.3fms/%d"
| |- warning: static property 'timeFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeFormat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | @discardableResult
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:52:16: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | }
51 |
52 | static var tracer: STTracer = { existing, symname in
| |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tracer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | var info = Dl_info()
54 | // Is the destinaton of the binding in the target image?
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:69:20: warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | original: autoBitCast(existing))?.forwardingImplementation)
68 | // Continue logging after "injections"
69 | SwiftTrace.initialRebindings.append(rebinding(name: symname,
| `- warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | replacement: tracer, replaced: nil))
71 | return tracer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftInterpose.swift:30:23: note: class property declared here
28 |
29 | /// Base rebindings applied to each injected file.
30 | public static var initialRebindings = [rebinding]()
| `- note: class property declared here
31 |
32 | /// "interpose" aspects onto Swift function name.
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:201:1: warning: extension declares a conformance of imported type 'dl_info' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
199 | }
200 |
201 | extension Dl_info: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'dl_info' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
202 | public var debugDescription: String {
203 | String(format: "0x%llx %@", uintptr_t(bitPattern: dli_saddr),
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:109:23: warning: reference to class property 'structsPassedByReference' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | tracer)
108 |
109 | _ = SwiftMeta.structsPassedByReference // perform ahead of time.
| `- warning: reference to class property 'structsPassedByReference' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
110 | // Start polling
111 | if interval != nil {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftMeta.swift:390:23: note: class property declared here
388 | static var doesntHaveStorage = Set<String>()
389 |
390 | public static var structsPassedByReference: Set<UnsafeRawPointer> = {
| `- note: class property declared here
391 | var problemTypes = Set<UnsafeRawPointer>()
392 | func passedByReference(_ type: Any.Type) {
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:171:33: warning: reference to class property 'lastSwiftTrace' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | [(SwiftTrace.Swizzle, TimeInterval,
170 | [UnsafeRawPointer: TimeInterval], [UnsafeRawPointer: Int])] {
171 | let sorted = SwiftTrace.lastSwiftTrace.activeSwizzles.map { $0.value }
| `- warning: reference to class property 'lastSwiftTrace' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 | .sorted { $0.totalElapsed > $1.totalElapsed }
173 | let out = (onlyFirst != nil ? Array(sorted.prefix(onlyFirst!)) : sorted)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:66:23: note: class property declared here
64 | public typealias nullImplementationType = @convention(c) () -> AnyObject?
65 |
66 | public static var lastSwiftTrace = SwiftTrace(previous: nil, subLevels: 0)
| `- note: class property declared here
67 |
68 | /// Previous interposes need to be tracked
Build complete! (13.96s)
Build complete.
{
"dependencies" : [
{
"identity" : "swifttrace",
"requirement" : {
"range" : [
{
"lower_bound" : "8.6.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnno1962/SwiftTrace"
},
{
"identity" : "swiftregex5",
"requirement" : {
"range" : [
{
"lower_bound" : "6.1.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnno1962/SwiftRegex5"
},
{
"identity" : "dlkit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.4.3",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnno1962/DLKit"
}
],
"manifest_display_name" : "ProfileSwiftUI",
"name" : "ProfileSwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "ProfileSwiftUI",
"targets" : [
"ProfileSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProfileSwiftUI",
"module_type" : "SwiftTarget",
"name" : "ProfileSwiftUI",
"path" : "Sources/ProfileSwiftUI",
"product_dependencies" : [
"SwiftTraceD",
"DLKitCD",
"SwiftRegex"
],
"product_memberships" : [
"ProfileSwiftUI"
],
"sources" : [
"ProfileSwiftUI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.