Build Information
Successful build of AssetLib, reference 0.2.0 (fbd6d2
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 22:04:25 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: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/AssetLib
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at fbd6d2f remove dev dependecies
Cloned https://github.com/brightdigit/AssetLib.git
Revision (git rev-parse @):
fbd6d2f240ec3a09c6811cfb9e7b2521b3c39cfa
SUCCESS checkout https://github.com/brightdigit/AssetLib.git at 0.2.0
Fetching https://github.com/apple/swift-argument-parser
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.69s)
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
========================================
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.00s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.68s)
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
Creating working copy for https://github.com/brightdigit/AssetLib.git
Working copy of https://github.com/brightdigit/AssetLib.git resolved at 0.2.0 (fbd6d2f)
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 AssetSpecificationPropertiesProtocol.swift
[9/115] Compiling AssetLib AssetSpecificationProtocol.swift
[10/115] Compiling AssetLib AssetURLIntializerProtocol.swift
[11/115] Compiling AssetLib Array.swift
[12/115] Compiling AssetLib AppIconDeviceIdiomMap.swift
[13/115] Compiling AssetLib AppIconMasterDocumentProvider.swift
[14/115] Compiling AssetLib AppIconTemplateBuilder.swift
[15/115] Compiling AssetLib AssetTemplateBuilder.swift
[16/115] Compiling AssetLib AssetURLInitializer.swift
[17/115] Compiling AssetLib ISDeviceIdiomProvider.swift
[18/115] Compiling AssetLib IdiomAppIconSpecMap.swift
[19/115] Compiling AssetLib TemplateTypeParser.swift
[20/115] Compiling AssetLib TemplateWriter.swift
[21/115] Compiling AssetLib DecodingError.swift
[22/115] Compiling AssetLib Float.swift
[23/115] Compiling AssetLib AnyAppearance.swift
[24/115] Compiling AssetLib AppIconTemplate.swift
[25/115] Compiling AssetLib IdiomScaleProvider.swift
[26/115] Compiling AssetLib ImageIdiomDisplayGamut.swift
[27/115] Compiling AssetLib ImageSetTemplateBuilder.swift
[28/115] Compiling AssetLib TemplateResultParser.swift
[29/115] Compiling ArgumentParser SequenceExtensions.swift
[30/115] Compiling ArgumentParser StringExtensions.swift
[31/115] Compiling ArgumentParser Tree.swift
[32/115] Compiling AssetLib ImageIdiomDisplayGamutProtocol.swift
[33/115] Compiling AssetLib TemplateDecoder.swift
[34/115] Compiling AssetLib TemplateEncoder.swift
[35/115] Compiling AssetLib TemplateResultParserProtocol.swift
[36/115] Compiling AssetLib TemplateTypeParserProtocol.swift
[37/115] Compiling AssetLib TemplateWriterProtocol.swift
[38/115] Compiling AssetLib String.swift
[39/115] Compiling AssetLib CompressType.swift
[40/115] Compiling AssetLib Contrast.swift
[41/115] Compiling AssetLib Device.swift
[42/115] Compiling AssetLib DeviceSubType.swift
[43/115] Compiling AssetLib AppIconTemplateBase64.swift
[44/115] Compiling AssetLib Appearance.swift
[45/115] Compiling AssetLib AppearanceValue.swift
[46/115] Compiling AssetLib AssetSpecificationProperties.swift
[47/115] Compiling AssetLib DisplayGamut.swift
[48/115] Compiling AssetLib GraphicsFeatureSet.swift
[49/115] Compiling AssetLib AssetSpecificationMetadataProtocol.swift
[50/115] Compiling AssetLib ImageIdiom.swift
[51/115] Compiling AssetLib ImageSetDevice.swift
[52/115] Compiling AssetLib ImageSetIdiomDetail.swift
[53/115] Compiling AssetLib ImageSetTemplate.swift
[54/115] Compiling AssetLib LanguageDirection.swift
[55/115] Compiling AssetLib Luminosity.swift
[56/115] Compiling AssetLib Memory.swift
[57/115] Compiling AssetLib TemplateResult.swift
[58/115] Compiling AssetLib TemplateScaling.swift
[59/115] Compiling AssetLib TemplateType.swift
[60/115] Compiling AssetLib ValuedAppearance.swift
[61/115] Compiling AssetLib AppIconDeviceIdiomMapProtocol.swift
[62/115] Compiling AssetLib AppIconMasterDocumentProviderProtocol.swift
[63/115] Compiling AssetLib AssetSpecificationDocumentProtocol.swift
[64/115] Compiling AssetLib ProductOperation.swift
[65/115] Compiling AssetLib RenderingIntent.swift
[66/115] Compiling AssetLib Scales.swift
[67/115] Compiling AssetLib Size.swift
[68/115] Compiling AssetLib SizeClass.swift
[69/115] Compiling AssetLib Sizes.swift
[70/115] Compiling AssetLib TemplateDetails.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"
[99/115] Compiling AssetLib AppleWatchAutoScaingMethod.swift
[100/115] Compiling AssetLib AppleWatchRole.swift
[101/115] Compiling AssetLib AppleWatchScreenWidth.swift
[102/115] Compiling AssetLib AssetSpecification.swift
[103/115] Compiling AssetLib AssetSpecificationBuilder.swift
[104/115] Compiling AssetLib AssetSpecificationDocument.swift
[105/115] Compiling AssetLib AssetSpecificationMetadata.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 | }
/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 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."
[114/118] Compiling assetlibrary main.swift
[115/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] Write Objects.LinkFileList
[116/118] Linking assetlibrary
[117/118] Applying assetlibrary
Build complete! (26.11s)
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"
}
],
"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.