The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DLKit, reference 3.5.7 (966a6a), with Swift 6.1 for macOS (SPM) on 21 Apr 2026 03:24:32 UTC.

Swift 6 data race errors: 22

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/DLKit.git
Reference: 3.5.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/DLKit
 * tag               3.5.7      -> FETCH_HEAD
HEAD is now at 966a6ae configurable dlOpenMode.
Cloned https://github.com/johnno1962/DLKit.git
Revision (git rev-parse @):
966a6ae1d242a9932faf848aaa0291037f316446
SUCCESS checkout https://github.com/johnno1962/DLKit.git at 3.5.7
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
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.3.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-2F0A5646E1D333AE.txt
[3/11] Compiling DLKitCD DLKitC.c
[4/11] Compiling DLKitC DLKitC.c
[4/11] Compiling fishhook fishhook.c
[4/11] Compiling fishhookD fishhook.c
[7/11] Compiling DLKitCD trie_dlops.mm
[8/11] Compiling DLKitC trie_dlops.mm
[9/11] Compiling DLKitCD trie_dladdr.mm
[10/11] Compiling DLKitC trie_dladdr.mm
[12/25] Compiling DLKit Interposing.swift
[13/25] Compiling DLKit ImageSymbols.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:21: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
 19 |     public typealias ImageNumber = DLKit.ImageNumber
 20 |     /// Symbols included if these bits not set
 21 |     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: add '@MainActor' to make static property 'mask' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
 23 |         return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:148: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
146 | }
147 |
148 | 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
149 |     public var description: String {
150 |         return "\(value != nil ? "\(value!)" : "nil"): " +
[14/25] Compiling DLKit Iterators.swift
[15/25] Compiling DLKit DLKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:34: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
 32 |     public typealias SymbolValue = UnsafeMutableRawPointer
 33 |     /// Pseudo image for all images loaded in the process.
 34 |     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: add '@MainActor' to make static property 'allImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     public static let appImages = AppImages()
    :
 85 |
 86 |     /// Pseudo image representing all images
 87 |     open class AllImages: ImageSymbols.MultiImage {
    |                `- note: class 'AllImages' does not conform to the 'Sendable' protocol
 88 |         public init() {
 89 |             super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:36: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
 34 |     public static let allImages = AllImages()
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     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: add '@MainActor' to make static property 'appImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     /// Main execuatble image.
 38 |     public static let mainImage = MainImage()
    :
 96 |
 97 |     /// Pseudo image representing images in the app bundle
 98 |     open class AppImages: AllImages {
    |                `- note: class 'AppImages' does not conform to the 'Sendable' protocol
 99 |         open override var imageNumbers: [ImageNumber] {
100 |             let appBundle = Bundle.main.bundlePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:38: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
 36 |     public static let appImages = AppImages()
 37 |     /// Main execuatble image.
 38 |     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: add '@MainActor' to make static property 'mainImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    :
112 |
113 |     /// Pseudo image representing main executable image
114 |     open class MainImage: ImageSymbols {
    |                `- note: class 'MainImage' does not conform to the 'Sendable' protocol
115 |         public init() {
116 |             let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:40:23: warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |     public static let mainImage = MainImage()
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    |                       |- warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'debugImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     /// Total number of images.
 42 |     public static var imageCount: ImageNumber {
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:17:12: note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 15 |
 16 | /// Abstraction for an image as operations on it's symbol table
 17 | open class ImageSymbols: ImageInfo, Equatable, CustomStringConvertible {
    |            `- note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 18 |     /// For compatability
 19 |     public typealias ImageNumber = DLKit.ImageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:61: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
 59 |         return allImages.imageMap
 60 |     }
 61 |     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: add '@MainActor' to make static property 'RTLD_DEFAULT' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
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:62: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
 60 |     }
 61 |     public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
 62 |     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: add '@MainActor' to make static property 'RTLD_MAIN_ONLY' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
 64 |     /// Default preserves historical behaviour (`RTLD_NOW`). Override
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:67:23: warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |     /// to change symbol binding/visibility of loaded images, e.g.
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
    |                       |- warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dlOpenMode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'dlOpenMode' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static var logger = { (msg: String) in
 69 |         NSLog("DLKit: %@", msg)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:68: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
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
 68 |     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: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |         NSLog("DLKit: %@", msg)
 70 |     }
[16/25] Compiling DLKit Demangling.swift
[17/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: add '@MainActor' to make static property 'fileNumber' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'filePaths' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public let data: NSMutableData
[18/25] Emitting module DLKit
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:34: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
 32 |     public typealias SymbolValue = UnsafeMutableRawPointer
 33 |     /// Pseudo image for all images loaded in the process.
 34 |     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: add '@MainActor' to make static property 'allImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     public static let appImages = AppImages()
    :
 85 |
 86 |     /// Pseudo image representing all images
 87 |     open class AllImages: ImageSymbols.MultiImage {
    |                `- note: class 'AllImages' does not conform to the 'Sendable' protocol
 88 |         public init() {
 89 |             super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:36: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
 34 |     public static let allImages = AllImages()
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     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: add '@MainActor' to make static property 'appImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     /// Main execuatble image.
 38 |     public static let mainImage = MainImage()
    :
 96 |
 97 |     /// Pseudo image representing images in the app bundle
 98 |     open class AppImages: AllImages {
    |                `- note: class 'AppImages' does not conform to the 'Sendable' protocol
 99 |         open override var imageNumbers: [ImageNumber] {
100 |             let appBundle = Bundle.main.bundlePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:38: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
 36 |     public static let appImages = AppImages()
 37 |     /// Main execuatble image.
 38 |     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: add '@MainActor' to make static property 'mainImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    :
112 |
113 |     /// Pseudo image representing main executable image
114 |     open class MainImage: ImageSymbols {
    |                `- note: class 'MainImage' does not conform to the 'Sendable' protocol
115 |         public init() {
116 |             let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:40:23: warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |     public static let mainImage = MainImage()
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    |                       |- warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'debugImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     /// Total number of images.
 42 |     public static var imageCount: ImageNumber {
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:17:12: note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 15 |
 16 | /// Abstraction for an image as operations on it's symbol table
 17 | open class ImageSymbols: ImageInfo, Equatable, CustomStringConvertible {
    |            `- note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 18 |     /// For compatability
 19 |     public typealias ImageNumber = DLKit.ImageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:61: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
 59 |         return allImages.imageMap
 60 |     }
 61 |     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: add '@MainActor' to make static property 'RTLD_DEFAULT' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
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:62: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
 60 |     }
 61 |     public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
 62 |     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: add '@MainActor' to make static property 'RTLD_MAIN_ONLY' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
 64 |     /// Default preserves historical behaviour (`RTLD_NOW`). Override
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:67:23: warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |     /// to change symbol binding/visibility of loaded images, e.g.
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
    |                       |- warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dlOpenMode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'dlOpenMode' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static var logger = { (msg: String) in
 69 |         NSLog("DLKit: %@", msg)
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/DLKit.swift:68: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
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
 68 |     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: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |         NSLog("DLKit: %@", msg)
 70 |     }
/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: add '@MainActor' to make static property 'fileNumber' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'filePaths' part of global actor 'MainActor'
   |                       `- 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:21: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
 19 |     public typealias ImageNumber = DLKit.ImageNumber
 20 |     /// Symbols included if these bits not set
 21 |     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: add '@MainActor' to make static property 'mask' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
 23 |         return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKit/ImageSymbols.swift:148: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
146 | }
147 |
148 | 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
149 |     public var description: String {
150 |         return "\(value != nil ? "\(value!)" : "nil"): " +
[19/25] Compiling DLKitD ImageSymbols.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:21: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
 19 |     public typealias ImageNumber = DLKit.ImageNumber
 20 |     /// Symbols included if these bits not set
 21 |     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: add '@MainActor' to make static property 'mask' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
 23 |         return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:148: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
146 | }
147 |
148 | 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
149 |     public var description: String {
150 |         return "\(value != nil ? "\(value!)" : "nil"): " +
[20/25] Compiling DLKitD Iterators.swift
[21/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: add '@MainActor' to make static property 'fileNumber' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'filePaths' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public let data: NSMutableData
[22/25] Compiling DLKitD Demangling.swift
[23/25] Compiling DLKitD Interposing.swift
[24/25] Compiling DLKitD DLKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:34: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
 32 |     public typealias SymbolValue = UnsafeMutableRawPointer
 33 |     /// Pseudo image for all images loaded in the process.
 34 |     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: add '@MainActor' to make static property 'allImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     public static let appImages = AppImages()
    :
 85 |
 86 |     /// Pseudo image representing all images
 87 |     open class AllImages: ImageSymbols.MultiImage {
    |                `- note: class 'AllImages' does not conform to the 'Sendable' protocol
 88 |         public init() {
 89 |             super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:36: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
 34 |     public static let allImages = AllImages()
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     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: add '@MainActor' to make static property 'appImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     /// Main execuatble image.
 38 |     public static let mainImage = MainImage()
    :
 96 |
 97 |     /// Pseudo image representing images in the app bundle
 98 |     open class AppImages: AllImages {
    |                `- note: class 'AppImages' does not conform to the 'Sendable' protocol
 99 |         open override var imageNumbers: [ImageNumber] {
100 |             let appBundle = Bundle.main.bundlePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:38: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
 36 |     public static let appImages = AppImages()
 37 |     /// Main execuatble image.
 38 |     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: add '@MainActor' to make static property 'mainImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    :
112 |
113 |     /// Pseudo image representing main executable image
114 |     open class MainImage: ImageSymbols {
    |                `- note: class 'MainImage' does not conform to the 'Sendable' protocol
115 |         public init() {
116 |             let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:40:23: warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |     public static let mainImage = MainImage()
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    |                       |- warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'debugImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     /// Total number of images.
 42 |     public static var imageCount: ImageNumber {
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:17:12: note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 15 |
 16 | /// Abstraction for an image as operations on it's symbol table
 17 | open class ImageSymbols: ImageInfo, Equatable, CustomStringConvertible {
    |            `- note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 18 |     /// For compatability
 19 |     public typealias ImageNumber = DLKit.ImageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:61: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
 59 |         return allImages.imageMap
 60 |     }
 61 |     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: add '@MainActor' to make static property 'RTLD_DEFAULT' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
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:62: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
 60 |     }
 61 |     public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
 62 |     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: add '@MainActor' to make static property 'RTLD_MAIN_ONLY' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
 64 |     /// Default preserves historical behaviour (`RTLD_NOW`). Override
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:67:23: warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |     /// to change symbol binding/visibility of loaded images, e.g.
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
    |                       |- warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dlOpenMode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'dlOpenMode' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static var logger = { (msg: String) in
 69 |         NSLog("DLKit: %@", msg)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:68: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
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
 68 |     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: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |         NSLog("DLKit: %@", msg)
 70 |     }
[25/25] Emitting module DLKitD
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:34: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
 32 |     public typealias SymbolValue = UnsafeMutableRawPointer
 33 |     /// Pseudo image for all images loaded in the process.
 34 |     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: add '@MainActor' to make static property 'allImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     public static let appImages = AppImages()
    :
 85 |
 86 |     /// Pseudo image representing all images
 87 |     open class AllImages: ImageSymbols.MultiImage {
    |                `- note: class 'AllImages' does not conform to the 'Sendable' protocol
 88 |         public init() {
 89 |             super.init(imageNumber: ~0)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:36: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
 34 |     public static let allImages = AllImages()
 35 |     /// Pseudo image for images loaded from the app bundle.
 36 |     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: add '@MainActor' to make static property 'appImages' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     /// Main execuatble image.
 38 |     public static let mainImage = MainImage()
    :
 96 |
 97 |     /// Pseudo image representing images in the app bundle
 98 |     open class AppImages: AllImages {
    |                `- note: class 'AppImages' does not conform to the 'Sendable' protocol
 99 |         open override var imageNumbers: [ImageNumber] {
100 |             let appBundle = Bundle.main.bundlePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:38: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
 36 |     public static let appImages = AppImages()
 37 |     /// Main execuatble image.
 38 |     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: add '@MainActor' to make static property 'mainImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    :
112 |
113 |     /// Pseudo image representing main executable image
114 |     open class MainImage: ImageSymbols {
    |                `- note: class 'MainImage' does not conform to the 'Sendable' protocol
115 |         public init() {
116 |             let mainExecutable = Bundle.main.executablePath
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:40:23: warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |     public static let mainImage = MainImage()
 39 |     /// Xcode 16+ .debug.dylib image.
 40 |     public static let debugImage = appImages.imageNumbers[1].imageSymbols
    |                       |- warning: static property 'debugImage' is not concurrency-safe because non-'Sendable' type 'ImageSymbols' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'debugImage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     /// Total number of images.
 42 |     public static var imageCount: ImageNumber {
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:17:12: note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 15 |
 16 | /// Abstraction for an image as operations on it's symbol table
 17 | open class ImageSymbols: ImageInfo, Equatable, CustomStringConvertible {
    |            `- note: class 'ImageSymbols' does not conform to the 'Sendable' protocol
 18 |     /// For compatability
 19 |     public typealias ImageNumber = DLKit.ImageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:61: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
 59 |         return allImages.imageMap
 60 |     }
 61 |     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: add '@MainActor' to make static property 'RTLD_DEFAULT' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let RTLD_MAIN_ONLY = UnsafeMutableRawPointer(bitPattern: -5)
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
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:62: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
 60 |     }
 61 |     public static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
 62 |     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: add '@MainActor' to make static property 'RTLD_MAIN_ONLY' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     /// Mode flags passed to `dlopen` by `DLKit.load(dylib:)`.
 64 |     /// Default preserves historical behaviour (`RTLD_NOW`). Override
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:67:23: warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |     /// to change symbol binding/visibility of loaded images, e.g.
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
    |                       |- warning: static property 'dlOpenMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dlOpenMode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'dlOpenMode' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static var logger = { (msg: String) in
 69 |         NSLog("DLKit: %@", msg)
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/DLKit.swift:68: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
 66 |     /// `DLKit.dlOpenMode = RTLD_LAZY | RTLD_GLOBAL`.
 67 |     public static var dlOpenMode: Int32 = RTLD_NOW
 68 |     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: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |         NSLog("DLKit: %@", msg)
 70 |     }
/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: add '@MainActor' to make static property 'fileNumber' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'filePaths' part of global actor 'MainActor'
   |                       `- 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:21: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
 19 |     public typealias ImageNumber = DLKit.ImageNumber
 20 |     /// Symbols included if these bits not set
 21 |     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: add '@MainActor' to make static property 'mask' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static func == (lhs: ImageSymbols, rhs: ImageSymbols) -> Bool {
 23 |         return lhs.imageNumber == rhs.imageNumber
/Users/admin/builder/spi-builder-workspace/Sources/DLKitD/ImageSymbols.swift:148: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
146 | }
147 |
148 | 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
149 |     public var description: String {
150 |         return "\(value != nil ? "\(value!)" : "nil"): " +
Build complete! (7.99s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.63s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (1.22s)
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
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.