Build Information
Successful build of AssetLib, reference main (f2e9a6
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 22:07:56 UTC.
Swift 6 data race errors: 10
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/brightdigit/AssetLib.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/AssetLib
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f2e9a61 adding dev dependencies back
Cloned https://github.com/brightdigit/AssetLib.git
Revision (git rev-parse @):
f2e9a6196b8657a4db5cc664e7b6f40ace1a93b9
SUCCESS checkout https://github.com/brightdigit/AssetLib.git at main
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/1386] Fetching rocket
[140/2315] Fetching rocket, swiftytexttable
[233/5135] Fetching rocket, swiftytexttable, swxmlhash
[234/6095] Fetching rocket, swiftytexttable, swxmlhash, shellout
[491/6675] Fetching rocket, swiftytexttable, swxmlhash, shellout, packageconfig
[785/7184] Fetching rocket, swiftytexttable, swxmlhash, shellout, packageconfig, komondor
[4353/52163] Fetching rocket, swiftytexttable, swxmlhash, shellout, packageconfig, komondor, swiftformat
Fetched https://github.com/shibapm/Rocket from cache (1.43s)
[5079/50777] Fetching swiftytexttable, swxmlhash, shellout, packageconfig, komondor, swiftformat
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.43s)
[4147/49817] Fetching swiftytexttable, swxmlhash, packageconfig, komondor, swiftformat
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/brightdigit/swift-test-codecov
[5164/50147] Fetching swiftytexttable, swxmlhash, packageconfig, komondor, swiftformat, swift-test-codecov
Fetched https://github.com/shibapm/PackageConfig.git from cache (2.51s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.51s)
Fetched https://github.com/shibapm/Komondor from cache (2.51s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/SourceKitten.git
[4500/48129] Fetching swxmlhash, swiftformat, swift-test-codecov
[4951/52992] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftshell
[6422/65345] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftshell, swift-argument-parser
[6423/81361] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftshell, swift-argument-parser, sourcekitten
[7110/222549] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftshell, swift-argument-parser, sourcekitten, swiftlint
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.82s)
Fetched https://github.com/kareman/SwiftShell from cache (2.82s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.82s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/jpsim/Yams
[19084/189317] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftlint
[19085/189433] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftlint, logger
[19201/199335] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftlint, logger, yams
Fetched https://github.com/shibapm/Logger from cache (2.13s)
Fetched https://github.com/jpsim/Yams from cache (2.13s)
[19234/189317] Fetching swxmlhash, swiftformat, swift-test-codecov, swiftlint
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (177.43s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (177.43s)
[69133/141518] Fetching swift-test-codecov, swiftlint
Fetched https://github.com/brightdigit/swift-test-codecov from cache (198.15s)
Fetched https://github.com/realm/SwiftLint from cache (198.15s)
Computing version for https://github.com/brightdigit/swift-test-codecov
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (0.98s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.2.0 (0.68s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.44.0 (0.70s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.48.11 (2.70s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.0 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.66s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 0.13.0 (0.70s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.67s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.66s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.47s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.65s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.64s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.64s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.64s)
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.2
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.2.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.48.11
Creating working copy for https://github.com/brightdigit/swift-test-codecov
Working copy of https://github.com/brightdigit/swift-test-codecov resolved at 1.0.0
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.44.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 0.13.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.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": "assetlib",
"name": "AssetLib",
"url": "https://github.com/brightdigit/AssetLib.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AssetLib",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/brightdigit/AssetLib.git
[1/2766] Fetching assetlib
Fetched https://github.com/brightdigit/AssetLib.git from cache (1.03s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.66s)
Creating working copy for https://github.com/brightdigit/AssetLib.git
Working copy of https://github.com/brightdigit/AssetLib.git resolved at main (f2e9a61)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/brightdigit/AssetLib.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[3/8] Write assetlibrary-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/105] Emitting module AssetLib
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
[7/112] Emitting module ArgumentParser
[8/115] Compiling AssetLib CompressType.swift
[9/115] Compiling AssetLib Contrast.swift
[10/115] Compiling AssetLib Device.swift
[11/115] Compiling AssetLib AssetTemplateBuilder.swift
[12/115] Compiling AssetLib AssetURLInitializer.swift
[13/115] Compiling AssetLib ISDeviceIdiomProvider.swift
[14/115] Compiling AssetLib ImageIdiom.swift
[15/115] Compiling AssetLib ImageSetDevice.swift
[16/115] Compiling AssetLib ImageSetIdiomDetail.swift
[17/115] Compiling AssetLib ImageSetTemplate.swift
[18/115] Compiling AssetLib LanguageDirection.swift
[19/115] Compiling AssetLib Luminosity.swift
[20/115] Compiling AssetLib Memory.swift
[21/115] Compiling AssetLib AppleWatchAutoScaingMethod.swift
[22/115] Compiling AssetLib Array.swift
[23/115] Compiling AssetLib AppIconDeviceIdiomMap.swift
[24/115] Compiling AssetLib AppIconMasterDocumentProvider.swift
[25/115] Compiling AssetLib AppIconTemplateBuilder.swift
[26/115] Compiling AssetLib AppleWatchRole.swift
[27/115] Compiling AssetLib AppleWatchScreenWidth.swift
[28/115] Compiling AssetLib AssetSpecification.swift
[29/115] Compiling AssetLib AssetSpecificationBuilder.swift
[30/115] Compiling AssetLib AssetSpecificationDocument.swift
[31/115] Compiling AssetLib AssetSpecificationMetadata.swift
[32/115] Compiling AssetLib AssetSpecificationProperties.swift
[33/115] Compiling ArgumentParser SequenceExtensions.swift
[34/115] Compiling ArgumentParser StringExtensions.swift
[35/115] Compiling ArgumentParser Tree.swift
[36/115] Compiling AssetLib ProductOperation.swift
[37/115] Compiling AssetLib RenderingIntent.swift
[38/115] Compiling AssetLib Scales.swift
[39/115] Compiling AssetLib Size.swift
[40/115] Compiling AssetLib SizeClass.swift
[41/115] Compiling AssetLib Sizes.swift
[42/115] Compiling AssetLib TemplateDetails.swift
[43/115] Compiling AssetLib AssetSpecificationMetadataProtocol.swift
[44/115] Compiling AssetLib AssetSpecificationPropertiesProtocol.swift
[45/115] Compiling AssetLib AssetSpecificationProtocol.swift
[46/115] Compiling AssetLib AssetURLIntializerProtocol.swift
[47/115] Compiling AssetLib ISDeviceIdiomProviderProtocol.swift
[48/115] Compiling AssetLib IdiomAppIconSpecProvider.swift
[49/115] Compiling AssetLib IdiomScaleProviderProtocol.swift
[50/115] Compiling AssetLib TemplateResult.swift
[51/115] Compiling AssetLib TemplateScaling.swift
[52/115] Compiling AssetLib TemplateType.swift
[53/115] Compiling AssetLib ValuedAppearance.swift
[54/115] Compiling AssetLib AppIconDeviceIdiomMapProtocol.swift
[55/115] Compiling AssetLib AppIconMasterDocumentProviderProtocol.swift
[56/115] Compiling AssetLib AssetSpecificationDocumentProtocol.swift
[57/115] Compiling AssetLib DecodingError.swift
[58/115] Compiling AssetLib Float.swift
[59/115] Compiling AssetLib AnyAppearance.swift
[60/115] Compiling AssetLib AppIconTemplate.swift
[61/115] Compiling AssetLib AppIconTemplateBase64.swift
[62/115] Compiling AssetLib Appearance.swift
[63/115] Compiling AssetLib AppearanceValue.swift
[64/115] Compiling AssetLib ImageIdiomDisplayGamutProtocol.swift
[65/115] Compiling AssetLib TemplateDecoder.swift
[66/115] Compiling AssetLib TemplateEncoder.swift
[67/115] Compiling AssetLib TemplateResultParserProtocol.swift
[68/115] Compiling AssetLib TemplateTypeParserProtocol.swift
[69/115] Compiling AssetLib TemplateWriterProtocol.swift
[70/115] Compiling AssetLib String.swift
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AssetURLInitializer.swift:6:21: warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let createDirectory: ((URL) throws -> Void)?
5 |
6 | public static let defaultCreateDirectory = {
| |- warning: static property 'defaultCreateDirectory' is not concurrency-safe because non-'Sendable' type '(URL) throws -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCreateDirectory' 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
7 | try FileManager.default.createDirectory(at: $0, withIntermediateDirectories: false, attributes: nil)
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/ISDeviceIdiomProvider.swift:13:21: warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | Default dictionary to look up `ImageSetIdiomDetail` based on `ImageSetDevice`.
12 | */
13 | public static let defaultDictionray: [ImageSetDevice: ImageSetIdiomDetail] = [
| |- warning: static property 'defaultDictionray' is not concurrency-safe because non-'Sendable' type '[ImageSetDevice : ImageSetIdiomDetail]' (aka 'Dictionary<ImageSetDevice, (ImageIdiom, Optional<DeviceSubType>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionray' 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 | .universal: (.universal, nil),
15 | .iphone: (.iphone, nil),
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageSetDevice.swift:4:13: note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageSetDevice: String, Codable, CaseIterable {
| `- note: consider making enum 'ImageSetDevice' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/DeviceSubType.swift:2:13: note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
1 | /// The type of Apple Watch when there is more than one icon size for a role.
2 | public enum DeviceSubType: String, Codable {
| `- note: consider making enum 'DeviceSubType' conform to the 'Sendable' protocol
3 | /** The icon is for a 38mm Apple Watch. */
4 | case size38 = "38mm"
[92/115] Compiling AssetLib IdiomAppIconSpecMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
[93/115] Compiling AssetLib IdiomScaleProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
[94/115] Compiling AssetLib DeviceSubType.swift
[95/115] Compiling AssetLib DisplayGamut.swift
[96/115] Compiling AssetLib GraphicsFeatureSet.swift
[99/115] Compiling AssetLib ImageIdiomDisplayGamut.swift
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
[101/115] Compiling AssetLib ImageSetTemplateBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomAppIconSpecMap.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | based on the default `AppIconMasterDocumentProvider`.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [AssetSpecificationProtocol]] =
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [any AssetSpecificationProtocol]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | try! (AppIconMasterDocumentProvider.default.document().images.group(by: \.idiom))
17 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AssetSpecificationProtocol.swift:4:17: note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
2 |
3 | /// A size or variant of an image or icon.
4 | public protocol AssetSpecificationProtocol {
| `- note: protocol 'AssetSpecificationProtocol' does not conform to the 'Sendable' protocol
5 | /// The device type for the image.
6 | var idiom: ImageIdiom { get }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/AppIconMasterDocumentProvider.swift:24:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
22 | Default `AppIconMasterDocumentProviderProtocol`.
23 | */
24 | public static let `default`: AppIconMasterDocumentProviderProtocol = AppIconMasterDocumentProvider()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'any AppIconMasterDocumentProviderProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/AppIconMasterDocumentProviderProtocol.swift:4:17: note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
2 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
3 | */
4 | public protocol AppIconMasterDocumentProviderProtocol {
| `- note: protocol 'AppIconMasterDocumentProviderProtocol' does not conform to the 'Sendable' protocol
5 | /**
6 | Provides a master `AssetSpecificationDocumentProtocol` for app icons.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/IdiomScaleProvider.swift:15:21: warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | Default dictionary to base scales from.
14 | */
15 | public static let defaultDictionary: [ImageIdiom: [Float]] = [
| |- warning: static property 'defaultDictionary' is not concurrency-safe because non-'Sendable' type '[ImageIdiom : [Float]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDictionary' 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 | .universal: [1.0, 2.0, 3.0],
17 | .iphone: [1.0, 2.0, 3.0],
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Models/ImageIdiom.swift:4:13: note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
2 |
3 | /// The device type for the image.
4 | public enum ImageIdiom: String, Codable {
| `- note: consider making enum 'ImageIdiom' conform to the 'Sendable' protocol
5 | /// The image works on any device and platform.
6 | case universal
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateResultParser: TemplateResultParserProtocol {
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateResultParserProtocol' 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
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateResultParserProtocol.swift:6:17: note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
4 | Based on the url, tries to decipher the resulting template.
5 | */
6 | public protocol TemplateResultParserProtocol {
| `- note: protocol 'TemplateResultParserProtocol' does not conform to the 'Sendable' protocol
7 | /**
8 | Based on the url, tries to decipher the resulting template or error.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateResultParser.swift:9:21: warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateResultParserProtocol = TemplateResultParser()
8 |
9 | public static let defaultParser: TemplateDecoder = JSONDecoder()
| |- warning: static property 'defaultParser' is not concurrency-safe because non-'Sendable' type 'any TemplateDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParser' 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
10 |
11 | public let parser: TemplateDecoder
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateDecoder.swift:2:17: note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateDecoder {
| `- note: protocol 'TemplateDecoder' does not conform to the 'Sendable' protocol
3 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:7:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
5 | */
6 | public struct TemplateWriter: TemplateWriterProtocol {
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any TemplateWriterProtocol' 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
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateWriterProtocol.swift:5:17: note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
3 | Writes the resulting template to the url.
4 | */
5 | public protocol TemplateWriterProtocol {
| `- note: protocol 'TemplateWriterProtocol' does not conform to the 'Sendable' protocol
6 | /**
7 | Writes the resulting template to the url.
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Controllers/TemplateWriter.swift:9:21: warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let shared: TemplateWriterProtocol = TemplateWriter()
8 |
9 | public static let defaultEncoder: TemplateEncoder = {
| |- warning: static property 'defaultEncoder' is not concurrency-safe because non-'Sendable' type 'any TemplateEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultEncoder' 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
10 | let jsonEncoder = JSONEncoder()
11 | jsonEncoder.outputFormatting = [.prettyPrinted]
/Users/admin/builder/spi-builder-workspace/Sources/AssetLib/Protocols/TemplateEncoder.swift:2:17: note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol TemplateEncoder {
| `- note: protocol 'TemplateEncoder' does not conform to the 'Sendable' protocol
3 | func encode<T>(_ value: T) throws -> Data where T: Encodable
4 | }
[113/118] Compiling assetlibrary main.swift
[114/118] Emitting module assetlibrary
/Users/admin/builder/spi-builder-workspace/Sources/assetlibrary/AssetLibraryCommand.swift:5:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 | struct AssetLibraryCommand: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
6 | commandName: "assetlibrary",
7 | abstract: "Builds App Icons and Image Sets based on templates."
[115/118] Compiling assetlibrary AssetLibraryCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/assetlibrary/AssetLibraryCommand.swift:5:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 | struct AssetLibraryCommand: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
6 | commandName: "assetlibrary",
7 | abstract: "Builds App Icons and Image Sets based on templates."
[115/118] Write Objects.LinkFileList
[116/118] Linking assetlibrary
[117/118] Applying assetlibrary
Build complete! (29.60s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket"
},
{
"identity" : "swift-test-codecov",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/swift-test-codecov"
}
],
"manifest_display_name" : "AssetLib",
"name" : "AssetLib",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AssetLib",
"targets" : [
"AssetLib"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "assetlibrary",
"targets" : [
"assetlibrary"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "assetlibrary",
"module_type" : "SwiftTarget",
"name" : "assetlibrary",
"path" : "Sources/assetlibrary",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"assetlibrary"
],
"sources" : [
"AssetLibraryCommand.swift",
"main.swift"
],
"target_dependencies" : [
"AssetLib"
],
"type" : "executable"
},
{
"c99name" : "AssetLibTests",
"module_type" : "SwiftTarget",
"name" : "AssetLibTests",
"path" : "Tests/AssetLibTests",
"sources" : [
"Extensions/Array.swift",
"Extensions/AssetSpecificationDocument.swift",
"Extensions/Data.swift",
"Extensions/Dictionary.swift",
"Extensions/TemplateResult.swift",
"Models/ErrorDecoder.swift",
"Models/MockDecoder.swift",
"Models/MockEncoder.swift",
"Models/MockError.swift",
"Models/MockValueType.swift",
"Models/SortedDictionary.swift",
"Tests/AppIconTemplateBuilderTests.swift",
"Tests/AssetSpecificationTests.swift",
"Tests/AssetURLInitializerTests.swift",
"Tests/ISDeviceIdiomProviderTests.swift",
"Tests/IdiomScaleProviderTestsTests.swift",
"Tests/ImageSetTemplateBuilderTests.swift",
"Tests/SizesTest.swift",
"Tests/TemplateDecodingTests.swift",
"Tests/TemplateResultParserTests.swift",
"Tests/TemplateTypeParserTests.swift",
"Tests/TemplateWriterTests.swift",
"Tests/ValueAppearanceTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AssetLib"
],
"type" : "test"
},
{
"c99name" : "AssetLib",
"module_type" : "SwiftTarget",
"name" : "AssetLib",
"path" : "Sources/AssetLib",
"product_memberships" : [
"AssetLib",
"assetlibrary"
],
"sources" : [
"Array.swift",
"Controllers/AppIconDeviceIdiomMap.swift",
"Controllers/AppIconMasterDocumentProvider.swift",
"Controllers/AppIconTemplateBuilder.swift",
"Controllers/AssetTemplateBuilder.swift",
"Controllers/AssetURLInitializer.swift",
"Controllers/ISDeviceIdiomProvider.swift",
"Controllers/IdiomAppIconSpecMap.swift",
"Controllers/IdiomScaleProvider.swift",
"Controllers/ImageIdiomDisplayGamut.swift",
"Controllers/ImageSetTemplateBuilder.swift",
"Controllers/TemplateResultParser.swift",
"Controllers/TemplateTypeParser.swift",
"Controllers/TemplateWriter.swift",
"DecodingError.swift",
"Float.swift",
"Models/AnyAppearance.swift",
"Models/AppIconTemplate.swift",
"Models/AppIconTemplateBase64.swift",
"Models/Appearance.swift",
"Models/AppearanceValue.swift",
"Models/AppleWatchAutoScaingMethod.swift",
"Models/AppleWatchRole.swift",
"Models/AppleWatchScreenWidth.swift",
"Models/AssetSpecification.swift",
"Models/AssetSpecificationBuilder.swift",
"Models/AssetSpecificationDocument.swift",
"Models/AssetSpecificationMetadata.swift",
"Models/AssetSpecificationProperties.swift",
"Models/CompressType.swift",
"Models/Contrast.swift",
"Models/Device.swift",
"Models/DeviceSubType.swift",
"Models/DisplayGamut.swift",
"Models/GraphicsFeatureSet.swift",
"Models/ImageIdiom.swift",
"Models/ImageSetDevice.swift",
"Models/ImageSetIdiomDetail.swift",
"Models/ImageSetTemplate.swift",
"Models/LanguageDirection.swift",
"Models/Luminosity.swift",
"Models/Memory.swift",
"Models/ProductOperation.swift",
"Models/RenderingIntent.swift",
"Models/Scales.swift",
"Models/Size.swift",
"Models/SizeClass.swift",
"Models/Sizes.swift",
"Models/TemplateDetails.swift",
"Models/TemplateResult.swift",
"Models/TemplateScaling.swift",
"Models/TemplateType.swift",
"Models/ValuedAppearance.swift",
"Protocols/AppIconDeviceIdiomMapProtocol.swift",
"Protocols/AppIconMasterDocumentProviderProtocol.swift",
"Protocols/AssetSpecificationDocumentProtocol.swift",
"Protocols/AssetSpecificationMetadataProtocol.swift",
"Protocols/AssetSpecificationPropertiesProtocol.swift",
"Protocols/AssetSpecificationProtocol.swift",
"Protocols/AssetURLIntializerProtocol.swift",
"Protocols/ISDeviceIdiomProviderProtocol.swift",
"Protocols/IdiomAppIconSpecProvider.swift",
"Protocols/IdiomScaleProviderProtocol.swift",
"Protocols/ImageIdiomDisplayGamutProtocol.swift",
"Protocols/TemplateDecoder.swift",
"Protocols/TemplateEncoder.swift",
"Protocols/TemplateResultParserProtocol.swift",
"Protocols/TemplateTypeParserProtocol.swift",
"Protocols/TemplateWriterProtocol.swift",
"String.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.