Build Information
Successful build of DLKit, reference main (861993
), with Swift 6.0 for macOS (SPM) on 23 Mar 2025 18:28:05 UTC.
Swift 6 data race errors: 18
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/DLKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/DLKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8619936 Remove warning.
Cloned https://github.com/johnno1962/DLKit.git
Revision (git rev-parse @):
8619936ecb668618f95fe1507325ac6ee9710d5a
SUCCESS checkout https://github.com/johnno1962/DLKit.git at main
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.57s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.53s)
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
========================================
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": "dlkit",
"name": "DLKit",
"url": "https://github.com/johnno1962/DLKit.git",
"version": "unspecified",
"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/DLKit.git
[1/387] Fetching dlkit
Fetched https://github.com/johnno1962/DLKit.git from cache (0.69s)
Fetching https://github.com/johnno1962/fishhook from cache
Fetched https://github.com/johnno1962/fishhook from cache (0.38s)
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/DLKit.git
Working copy of https://github.com/johnno1962/DLKit.git resolved at main (8619936)
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 'dlkit' is not used by any target
Found 1 product dependencies
- fishhook
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/johnno1962/DLKit.git
https://github.com/johnno1962/DLKit.git
{
"dependencies" : [
{
"identity" : "fishhook",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnno1962/fishhook"
}
],
"manifest_display_name" : "DLKit",
"name" : "DLKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DLKit",
"targets" : [
"DLKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DLKitC",
"targets" : [
"DLKitC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DLKitD",
"targets" : [
"DLKitD"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DLKitCD",
"targets" : [
"DLKitCD"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DLKitTests",
"module_type" : "SwiftTarget",
"name" : "DLKitTests",
"path" : "Tests/DLKitTests",
"sources" : [
"DLKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DLKit"
],
"type" : "test"
},
{
"c99name" : "DLKitD",
"module_type" : "SwiftTarget",
"name" : "DLKitD",
"path" : "Sources/DLKitD",
"product_dependencies" : [
"fishhookD"
],
"product_memberships" : [
"DLKitD"
],
"sources" : [
"DLKit.swift",
"Demangling.swift",
"FileSymbols.swift",
"ImageSymbols.swift",
"Interposing.swift",
"Iterators.swift"
],
"target_dependencies" : [
"DLKitCD"
],
"type" : "library"
},
{
"c99name" : "DLKitCD",
"module_type" : "ClangTarget",
"name" : "DLKitCD",
"path" : "Sources/DLKitCD",
"product_dependencies" : [
"fishhookD"
],
"product_memberships" : [
"DLKitD",
"DLKitCD"
],
"sources" : [
"DLKitC.c",
"trie_dladdr.mm",
"trie_dlops.mm"
],
"type" : "library"
},
{
"c99name" : "DLKitC",
"module_type" : "ClangTarget",
"name" : "DLKitC",
"path" : "Sources/DLKitC",
"product_memberships" : [
"DLKit",
"DLKitC"
],
"sources" : [
"DLKitC.c",
"trie_dladdr.mm",
"trie_dlops.mm"
],
"type" : "library"
},
{
"c99name" : "DLKit",
"module_type" : "SwiftTarget",
"name" : "DLKit",
"path" : "Sources/DLKit",
"product_dependencies" : [
"fishhook"
],
"product_memberships" : [
"DLKit"
],
"sources" : [
"DLKit.swift",
"Demangling.swift",
"FileSymbols.swift",
"ImageSymbols.swift",
"Interposing.swift",
"Iterators.swift"
],
"target_dependencies" : [
"DLKitC"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/11] Write sources
[2/11] Write swift-version-5BDAB9E9C0126B9D.txt
[3/11] Compiling DLKitC DLKitC.c
[4/11] Compiling DLKitCD DLKitC.c
[5/11] Compiling fishhook fishhook.c
[5/11] Compiling fishhookD fishhook.c
/Users/admin/builder/spi-builder-workspace/Sources/DLKitC/trie_dlops.mm:166:46: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
166 | for (uint32_t aVisitedNodeOffset : visitedNodeOffsets) {
| ^
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/DLKitCD/trie_dlops.mm:166:46: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
166 | for (uint32_t aVisitedNodeOffset : visitedNodeOffsets) {
| ^
1 warning generated.
[7/11] Compiling DLKitC trie_dlops.mm
[8/11] Compiling DLKitCD trie_dlops.mm
/Users/admin/builder/spi-builder-workspace/Sources/DLKitC/trie_dladdr.mm:86:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
86 | auto it = upper_bound(array.begin(), array.end(), value);
| ^
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/DLKitCD/trie_dladdr.mm:86:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
86 | auto it = upper_bound(array.begin(), array.end(), value);
| ^
1 warning generated.
[9/11] Compiling DLKitC trie_dladdr.mm
[9/11] Compiling DLKitCD trie_dladdr.mm
[12/25] Compiling DLKitD Iterators.swift
[13/25] Emitting module DLKit
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:32:23: warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public typealias SymbolName = UnsafePointer<CChar>
31 | /// Pseudo image for all images loaded in the process.
32 | public static let allImages = AllImages()
| |- warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allImages' 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
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
:
72 |
73 | /// Pseudo image representing all images
74 | open class AllImages: ImageSymbols.MultiImage {
| `- note: class 'AllImages' does not conform to the 'Sendable' protocol
75 | public init() {
76 | super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:34:23: warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public static let allImages = AllImages()
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
| |- warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'appImages' 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
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
:
83 |
84 | /// Pseudo image representing images in the app bundle
85 | open class AppImages: AllImages {
| `- note: class 'AppImages' does not conform to the 'Sendable' protocol
86 | open override var imageNumbers: [ImageNumber] {
87 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:36:23: warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let appImages = AppImages()
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
| |- warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mainImage' 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
37 | /// Total number of images.
38 | public static var imageCount: ImageNumber {
:
102 |
103 | /// Pseudo image representing main executable image
104 | open class MainImage: ImageSymbols {
| `- note: class 'MainImage' does not conform to the 'Sendable' protocol
105 | public init() {
106 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:57:23: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
55 | return allImages.imageMap
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_DEFAULT' 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
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:58:23: warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
| |- warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_MAIN_ONLY' 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
59 | public static var logger = { (msg: String) in
60 | NSLog("DLKit: %@", msg)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:59:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
60 | NSLog("DLKit: %@", msg)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/FileSymbols.swift:19:23: warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | /// Fake imageNumber for files
19 | public static var fileNumber: ImageNumber = 1_000_000
| |- warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fileNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileNumber' 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
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:130:1: warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitC' introduce this conformance in the future
128 | }
129 |
130 | extension TrieSymbol: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitC' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
131 | public var description: String {
132 | return "\(value != nil ? "\(value!)" : "nil"): " +
[14/25] Compiling DLKit Interposing.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:57:23: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
55 | return allImages.imageMap
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_DEFAULT' 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
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:59:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
60 | NSLog("DLKit: %@", msg)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
[15/25] Compiling DLKitD Interposing.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:57:23: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
55 | return allImages.imageMap
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_DEFAULT' 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
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:59:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
60 | NSLog("DLKit: %@", msg)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
[16/25] Compiling DLKitD FileSymbols.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/FileSymbols.swift:19:23: warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | /// Fake imageNumber for files
19 | public static var fileNumber: ImageNumber = 1_000_000
| |- warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fileNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileNumber' 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
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
[17/25] Compiling DLKitD DLKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:32:23: warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public typealias SymbolName = UnsafePointer<CChar>
31 | /// Pseudo image for all images loaded in the process.
32 | public static let allImages = AllImages()
| |- warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allImages' 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
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
:
72 |
73 | /// Pseudo image representing all images
74 | open class AllImages: ImageSymbols.MultiImage {
| `- note: class 'AllImages' does not conform to the 'Sendable' protocol
75 | public init() {
76 | super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:34:23: warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public static let allImages = AllImages()
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
| |- warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'appImages' 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
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
:
83 |
84 | /// Pseudo image representing images in the app bundle
85 | open class AppImages: AllImages {
| `- note: class 'AppImages' does not conform to the 'Sendable' protocol
86 | open override var imageNumbers: [ImageNumber] {
87 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:36:23: warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let appImages = AppImages()
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
| |- warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mainImage' 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
37 | /// Total number of images.
38 | public static var imageCount: ImageNumber {
:
102 |
103 | /// Pseudo image representing main executable image
104 | open class MainImage: ImageSymbols {
| `- note: class 'MainImage' does not conform to the 'Sendable' protocol
105 | public init() {
106 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:57:23: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
55 | return allImages.imageMap
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_DEFAULT' 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
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:58:23: warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
| |- warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_MAIN_ONLY' 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
59 | public static var logger = { (msg: String) in
60 | NSLog("DLKit: %@", msg)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:59:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
60 | NSLog("DLKit: %@", msg)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
[18/25] Emitting module DLKitD
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:32:23: warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public typealias SymbolName = UnsafePointer<CChar>
31 | /// Pseudo image for all images loaded in the process.
32 | public static let allImages = AllImages()
| |- warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allImages' 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
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
:
72 |
73 | /// Pseudo image representing all images
74 | open class AllImages: ImageSymbols.MultiImage {
| `- note: class 'AllImages' does not conform to the 'Sendable' protocol
75 | public init() {
76 | super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:34:23: warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public static let allImages = AllImages()
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
| |- warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'appImages' 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
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
:
83 |
84 | /// Pseudo image representing images in the app bundle
85 | open class AppImages: AllImages {
| `- note: class 'AppImages' does not conform to the 'Sendable' protocol
86 | open override var imageNumbers: [ImageNumber] {
87 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:36:23: warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let appImages = AppImages()
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
| |- warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mainImage' 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
37 | /// Total number of images.
38 | public static var imageCount: ImageNumber {
:
102 |
103 | /// Pseudo image representing main executable image
104 | open class MainImage: ImageSymbols {
| `- note: class 'MainImage' does not conform to the 'Sendable' protocol
105 | public init() {
106 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:57:23: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
55 | return allImages.imageMap
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_DEFAULT' 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
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:58:23: warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
| |- warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_MAIN_ONLY' 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
59 | public static var logger = { (msg: String) in
60 | NSLog("DLKit: %@", msg)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:59:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
60 | NSLog("DLKit: %@", msg)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/FileSymbols.swift:19:23: warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | /// Fake imageNumber for files
19 | public static var fileNumber: ImageNumber = 1_000_000
| |- warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fileNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileNumber' 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
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:130:1: warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitCD' introduce this conformance in the future
128 | }
129 |
130 | extension TrieSymbol: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitCD' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
131 | public var description: String {
132 | return "\(value != nil ? "\(value!)" : "nil"): " +
[19/25] Compiling DLKitD Demangling.swift
[20/25] Compiling DLKitD ImageSymbols.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:130:1: warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitCD' introduce this conformance in the future
128 | }
129 |
130 | extension TrieSymbol: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitCD' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
131 | public var description: String {
132 | return "\(value != nil ? "\(value!)" : "nil"): " +
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
[21/25] Compiling DLKit Iterators.swift
[22/25] Compiling DLKit Demangling.swift
[23/25] Compiling DLKit DLKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:32:23: warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public typealias SymbolName = UnsafePointer<CChar>
31 | /// Pseudo image for all images loaded in the process.
32 | public static let allImages = AllImages()
| |- warning: static property 'allImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AllImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allImages' 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
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
:
72 |
73 | /// Pseudo image representing all images
74 | open class AllImages: ImageSymbols.MultiImage {
| `- note: class 'AllImages' does not conform to the 'Sendable' protocol
75 | public init() {
76 | super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:34:23: warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public static let allImages = AllImages()
33 | /// Pseudo image for images loaded from the app bundle.
34 | public static let appImages = AppImages()
| |- warning: static property 'appImages' is not concurrency-safe because non-'Sendable' type 'DLKit.AppImages' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'appImages' 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
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
:
83 |
84 | /// Pseudo image representing images in the app bundle
85 | open class AppImages: AllImages {
| `- note: class 'AppImages' does not conform to the 'Sendable' protocol
86 | open override var imageNumbers: [ImageNumber] {
87 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:36:23: warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let appImages = AppImages()
35 | /// Main execuatble image.
36 | public static let mainImage = MainImage()
| |- warning: static property 'mainImage' is not concurrency-safe because non-'Sendable' type 'DLKit.MainImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mainImage' 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
37 | /// Total number of images.
38 | public static var imageCount: ImageNumber {
:
102 |
103 | /// Pseudo image representing main executable image
104 | open class MainImage: ImageSymbols {
| `- note: class 'MainImage' does not conform to the 'Sendable' protocol
105 | public init() {
106 | let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:57:23: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
55 | return allImages.imageMap
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_DEFAULT' 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
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:58:23: warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
| |- warning: static property 'RTLD_MAIN_ONLY' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_MAIN_ONLY' 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
59 | public static var logger = { (msg: String) in
60 | NSLog("DLKit: %@", msg)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:59:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
58 | public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
59 | public static var logger = { (msg: String) in
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
60 | NSLog("DLKit: %@", msg)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
[24/25] Compiling DLKit FileSymbols.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/FileSymbols.swift:19:23: warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | /// Fake imageNumber for files
19 | public static var fileNumber: ImageNumber = 1_000_000
| |- warning: static property 'fileNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fileNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileNumber' 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
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
[25/25] Compiling DLKit ImageSymbols.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:23:23: warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public typealias SymbolValue = UnsafeMutableRawPointer
22 | /// Symbols included if these bits not set
23 | public static var mask: Int32 = N_STAB
| |- warning: static property 'mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mask' 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
24 | public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
25 | return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:130:1: warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitC' introduce this conformance in the future
128 | }
129 |
130 | extension TrieSymbol: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'TrieSymbol' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'DLKitC' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
131 | public var description: String {
132 | return "\(value != nil ? "\(value!)" : "nil"): " +
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/FileSymbols.swift:21:23: warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var fileNumber: ImageNumber = 1_000_000
20 | /// Record of paths to images read in rather than loaded
21 | public static var filePaths = [ImageNumber: String]()
| |- warning: static property 'filePaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'filePaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'filePaths' 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
22 |
23 | public let data: NSMutableData
Build complete! (15.60s)
Build complete.
{
"dependencies" : [
{
"identity" : "fishhook",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnno1962/fishhook"
}
],
"manifest_display_name" : "DLKit",
"name" : "DLKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DLKit",
"targets" : [
"DLKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DLKitC",
"targets" : [
"DLKitC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DLKitD",
"targets" : [
"DLKitD"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DLKitCD",
"targets" : [
"DLKitCD"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DLKitTests",
"module_type" : "SwiftTarget",
"name" : "DLKitTests",
"path" : "Tests/DLKitTests",
"sources" : [
"DLKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DLKit"
],
"type" : "test"
},
{
"c99name" : "DLKitD",
"module_type" : "SwiftTarget",
"name" : "DLKitD",
"path" : "Sources/DLKitD",
"product_dependencies" : [
"fishhookD"
],
"product_memberships" : [
"DLKitD"
],
"sources" : [
"DLKit.swift",
"Demangling.swift",
"FileSymbols.swift",
"ImageSymbols.swift",
"Interposing.swift",
"Iterators.swift"
],
"target_dependencies" : [
"DLKitCD"
],
"type" : "library"
},
{
"c99name" : "DLKitCD",
"module_type" : "ClangTarget",
"name" : "DLKitCD",
"path" : "Sources/DLKitCD",
"product_dependencies" : [
"fishhookD"
],
"product_memberships" : [
"DLKitD",
"DLKitCD"
],
"sources" : [
"DLKitC.c",
"trie_dladdr.mm",
"trie_dlops.mm"
],
"type" : "library"
},
{
"c99name" : "DLKitC",
"module_type" : "ClangTarget",
"name" : "DLKitC",
"path" : "Sources/DLKitC",
"product_memberships" : [
"DLKit",
"DLKitC"
],
"sources" : [
"DLKitC.c",
"trie_dladdr.mm",
"trie_dlops.mm"
],
"type" : "library"
},
{
"c99name" : "DLKit",
"module_type" : "SwiftTarget",
"name" : "DLKit",
"path" : "Sources/DLKit",
"product_dependencies" : [
"fishhook"
],
"product_memberships" : [
"DLKit"
],
"sources" : [
"DLKit.swift",
"Demangling.swift",
"FileSymbols.swift",
"ImageSymbols.swift",
"Interposing.swift",
"Iterators.swift"
],
"target_dependencies" : [
"DLKitC"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.