The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwURL, reference master (4e7429), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:26:02 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cmtrounce/SwURL.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cmtrounce/SwURL
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4e74292 Bump version to 0.6.0
Cloned https://github.com/cmtrounce/SwURL.git
Revision (git rev-parse @):
4e742922fe50a3d42c20853a2805761c45313b1c
SUCCESS checkout https://github.com/cmtrounce/SwURL.git at master
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[226/5191] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.30s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.30s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.65s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.70s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
========================================
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": "swurl",
      "name": "SwURL",
      "url": "https://github.com/cmtrounce/SwURL.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwURL",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/cmtrounce/SwURL.git
[1/1786] Fetching swurl
Fetched https://github.com/cmtrounce/SwURL.git from cache (0.88s)
Creating working copy for https://github.com/cmtrounce/SwURL.git
Working copy of https://github.com/cmtrounce/SwURL.git resolved at master (4e74292)
warning: '.resolve-product-dependencies': dependency 'swurl' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/cmtrounce/SwURL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/19] Compiling SwURL SwURLImage.swift
[6/19] Compiling SwURL SwURLDebug.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Public/Logging/SwURLDebug.swift:13:23: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct SwURLDebug {
12 |     /// Enable SwURL internal logging
13 |     public static var isLoggingEnabled = false
   |                       |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'isLoggingEnabled' 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
14 |
15 |     static func log(level: LogLevel, message: String) {
[7/20] Compiling SwURL ImageTransitionType.swift
[8/20] Compiling SwURL ImageCacheStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Cache images for the duration of the app session. Storage will be invalidated between app sessions.
13 | final class InMemoryImageCache: ImageCacheProvider {
   |             `- note: class 'InMemoryImageCache' does not conform to the 'Sendable' protocol
14 |     static let shared = InMemoryImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
15 |
16 |     private let cache = NSCache<NSURL, CGImage>()
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/PersistentImageCache.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Persist images between app sessions. Storage will be invalidated by the operating system.
14 | final class PersistentImageCache: ImageCacheProvider {
   |             `- note: class 'PersistentImageCache' does not conform to the 'Sendable' protocol
15 |     static let shared = PersistentImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
16 |
17 |     /// Specific queue to assist with concurrency.
[9/20] Compiling SwURL FileManager+Paths.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/Downloader.swift:28:17: warning: stored property 'tasks' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 26 |     )
 27 |
 28 |     private var tasks: [URLSessionDownloadTask: CurrentValueSubject<DownloadInfo, Error>] = [:]
    |                 `- warning: stored property 'tasks' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 29 |
 30 |     private lazy var session: URLSession = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/Downloader.swift:82:34: warning: reference to captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode
 80 |         queue.async { [weak self] in
 81 |             guard
 82 |                 let resultData = resultData
    |                                  `- warning: reference to captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode
 83 |             else {
 84 |                 SwURLDebug.log(
[10/20] Compiling SwURL Downloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/Downloader.swift:28:17: warning: stored property 'tasks' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 26 |     )
 27 |
 28 |     private var tasks: [URLSessionDownloadTask: CurrentValueSubject<DownloadInfo, Error>] = [:]
    |                 `- warning: stored property 'tasks' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 29 |
 30 |     private lazy var session: URLSession = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/Downloader.swift:82:34: warning: reference to captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode
 80 |         queue.async { [weak self] in
 81 |             guard
 82 |                 let resultData = resultData
    |                                  `- warning: reference to captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode
 83 |             else {
 84 |                 SwURLDebug.log(
[11/20] Compiling SwURL ImageLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Cache images for the duration of the app session. Storage will be invalidated between app sessions.
13 | final class InMemoryImageCache: ImageCacheProvider {
   |             `- note: class 'InMemoryImageCache' does not conform to the 'Sendable' protocol
14 |     static let shared = InMemoryImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
15 |
16 |     private let cache = NSCache<NSURL, CGImage>()
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/ImageLoader.swift:25:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | class ImageLoader {
    |       `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
 23 |     typealias ImageLoadPromise = AnyPublisher<RemoteImageStatus, ImageLoadError>
 24 |
 25 |     static let shared = ImageLoader()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 26 |
 27 |     private let fileManager = FileManager.default
[12/20] Compiling SwURL RemoteImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Cache images for the duration of the app session. Storage will be invalidated between app sessions.
13 | final class InMemoryImageCache: ImageCacheProvider {
   |             `- note: class 'InMemoryImageCache' does not conform to the 'Sendable' protocol
14 |     static let shared = InMemoryImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
15 |
16 |     private let cache = NSCache<NSURL, CGImage>()
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/ImageLoader.swift:25:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | class ImageLoader {
    |       `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
 23 |     typealias ImageLoadPromise = AnyPublisher<RemoteImageStatus, ImageLoadError>
 24 |
 25 |     static let shared = ImageLoader()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 26 |
 27 |     private let fileManager = FileManager.default
[13/20] Compiling SwURL PersistentImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/PersistentImageCache.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Persist images between app sessions. Storage will be invalidated by the operating system.
14 | final class PersistentImageCache: ImageCacheProvider {
   |             `- note: class 'PersistentImageCache' does not conform to the 'Sendable' protocol
15 |     static let shared = PersistentImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
16 |
17 |     /// Specific queue to assist with concurrency.
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/PersistentImageCache.swift:28:30: warning: capture of 'self' with non-sendable type 'PersistentImageCache?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | /// Persist images between app sessions. Storage will be invalidated by the operating system.
14 | final class PersistentImageCache: ImageCacheProvider {
   |             `- note: class 'PersistentImageCache' does not conform to the 'Sendable' protocol
15 |     static let shared = PersistentImageCache()
16 |
   :
26 |     public func store(image: CGImage, for url: URL) {
27 |         queue.async { [weak self] in
28 |             guard let self = self else { return }
   |                              `- warning: capture of 'self' with non-sendable type 'PersistentImageCache?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |             do {
30 |                 let directory = try self.storageURL(for: url)
[14/20] Compiling SwURL CGImage+Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/PersistentImageCache.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Persist images between app sessions. Storage will be invalidated by the operating system.
14 | final class PersistentImageCache: ImageCacheProvider {
   |             `- note: class 'PersistentImageCache' does not conform to the 'Sendable' protocol
15 |     static let shared = PersistentImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
16 |
17 |     /// Specific queue to assist with concurrency.
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/PersistentImageCache.swift:28:30: warning: capture of 'self' with non-sendable type 'PersistentImageCache?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | /// Persist images between app sessions. Storage will be invalidated by the operating system.
14 | final class PersistentImageCache: ImageCacheProvider {
   |             `- note: class 'PersistentImageCache' does not conform to the 'Sendable' protocol
15 |     static let shared = PersistentImageCache()
16 |
   :
26 |     public func store(image: CGImage, for url: URL) {
27 |         queue.async { [weak self] in
28 |             guard let self = self else { return }
   |                              `- warning: capture of 'self' with non-sendable type 'PersistentImageCache?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |             do {
30 |                 let directory = try self.storageURL(for: url)
[15/20] Compiling SwURL InMemoryImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Cache images for the duration of the app session. Storage will be invalidated between app sessions.
13 | final class InMemoryImageCache: ImageCacheProvider {
   |             `- note: class 'InMemoryImageCache' does not conform to the 'Sendable' protocol
14 |     static let shared = InMemoryImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
15 |
16 |     private let cache = NSCache<NSURL, CGImage>()
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:28:13: warning: capture of 'cache' with non-sendable type 'NSCache<NSURL, CGImage>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |     public func store(image: CGImage, for url: URL) {
27 |         queue.async { [weak cache] in
28 |             cache?.setObject(image, forKey: url as NSURL)
   |             `- warning: capture of 'cache' with non-sendable type 'NSCache<NSURL, CGImage>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |         }
30 |     }
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)
[16/20] Compiling SwURL NeverImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Cache images for the duration of the app session. Storage will be invalidated between app sessions.
13 | final class InMemoryImageCache: ImageCacheProvider {
   |             `- note: class 'InMemoryImageCache' does not conform to the 'Sendable' protocol
14 |     static let shared = InMemoryImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
15 |
16 |     private let cache = NSCache<NSURL, CGImage>()
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:28:13: warning: capture of 'cache' with non-sendable type 'NSCache<NSURL, CGImage>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |     public func store(image: CGImage, for url: URL) {
27 |         queue.async { [weak cache] in
28 |             cache?.setObject(image, forKey: url as NSURL)
   |             `- warning: capture of 'cache' with non-sendable type 'NSCache<NSURL, CGImage>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |         }
30 |     }
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)
[17/20] Compiling SwURL ImageProcessing.swift
[18/20] Compiling SwURL ImageCacheProvider.swift
[19/20] Emitting module SwURL
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Cache images for the duration of the app session. Storage will be invalidated between app sessions.
13 | final class InMemoryImageCache: ImageCacheProvider {
   |             `- note: class 'InMemoryImageCache' does not conform to the 'Sendable' protocol
14 |     static let shared = InMemoryImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
15 |
16 |     private let cache = NSCache<NSURL, CGImage>()
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/PersistentImageCache.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Persist images between app sessions. Storage will be invalidated by the operating system.
14 | final class PersistentImageCache: ImageCacheProvider {
   |             `- note: class 'PersistentImageCache' does not conform to the 'Sendable' protocol
15 |     static let shared = PersistentImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PersistentImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
16 |
17 |     /// Specific queue to assist with concurrency.
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/Downloader.swift:28:17: warning: stored property 'tasks' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 26 |     )
 27 |
 28 |     private var tasks: [URLSessionDownloadTask: CurrentValueSubject<DownloadInfo, Error>] = [:]
    |                 `- warning: stored property 'tasks' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 29 |
 30 |     private lazy var session: URLSession = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/ImageLoader.swift:25:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | class ImageLoader {
    |       `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
 23 |     typealias ImageLoadPromise = AnyPublisher<RemoteImageStatus, ImageLoadError>
 24 |
 25 |     static let shared = ImageLoader()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 26 |
 27 |     private let fileManager = FileManager.default
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Public/Logging/SwURLDebug.swift:13:23: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct SwURLDebug {
12 |     /// Enable SwURL internal logging
13 |     public static var isLoggingEnabled = false
   |                       |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'isLoggingEnabled' 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
14 |
15 |     static func log(level: LogLevel, message: String) {
[20/20] Compiling SwURL SwURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Cache images for the duration of the app session. Storage will be invalidated between app sessions.
13 | final class InMemoryImageCache: ImageCacheProvider {
   |             `- note: class 'InMemoryImageCache' does not conform to the 'Sendable' protocol
14 |     static let shared = InMemoryImageCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'InMemoryImageCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
15 |
16 |     private let cache = NSCache<NSURL, CGImage>()
/Users/admin/builder/spi-builder-workspace/Sources/SwURL/Internal/RemoteImage/Model/ImageLoader.swift:25:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | class ImageLoader {
    |       `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
 23 |     typealias ImageLoadPromise = AnyPublisher<RemoteImageStatus, ImageLoadError>
 24 |
 25 |     static let shared = ImageLoader()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 26 |
 27 |     private let fileManager = FileManager.default
Build complete! (37.12s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SwURL/Documentation.docc
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SwURL",
  "name" : "SwURL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwURL",
      "targets" : [
        "SwURL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwURLTests",
      "module_type" : "SwiftTarget",
      "name" : "SwURLTests",
      "path" : "Tests/SwURLTests",
      "sources" : [
        "SwURLTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwURL",
      "module_type" : "SwiftTarget",
      "name" : "SwURL",
      "path" : "Sources/SwURL",
      "product_memberships" : [
        "SwURL"
      ],
      "sources" : [
        "Internal/Caching/InMemoryImageCache.swift",
        "Internal/Caching/NeverImageCache.swift",
        "Internal/Caching/PersistentImageCache.swift",
        "Internal/RemoteImage/Model/CGImage+Data.swift",
        "Internal/RemoteImage/Model/Cache/FileManager+Paths.swift",
        "Internal/RemoteImage/Model/Downloader.swift",
        "Internal/RemoteImage/Model/ImageLoader.swift",
        "Internal/RemoteImage/Model/RemoteImage.swift",
        "Internal/RemoteImage/View/ImageProcessing.swift",
        "Public/Caching/ImageCacheProvider.swift",
        "Public/Caching/ImageCacheStrategy.swift",
        "Public/Logging/SwURLDebug.swift",
        "Public/View/ImageTransitionType.swift",
        "Public/View/SwURLImage.swift",
        "SwURL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.