Build Information
Successful build of SwURL with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/cmtrounce/SwURL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[5/19] Compiling SwURL ImageTransitionType.swift
[6/20] Compiling SwURL SwURLImage.swift
[7/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.
[8/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(
[9/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(
[10/20] Compiling SwURL ImageProcessing.swift
[11/20] Compiling SwURL ImageCacheProvider.swift
[12/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)
[13/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)
[14/20] 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 non-isolated 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 non-isolated 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) {
[15/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
[16/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
[17/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 non-isolated 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 non-isolated 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) {
[18/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)
[19/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)
[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! (54.58s)
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/1465] Fetching swift-docc-plugin
[646/4326] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.52s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.52s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.62s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.69s)
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
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.