Build Information
Successful build of AssetLib, reference main (8f3d57
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 17:45:09 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/AssetLib.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/AssetLib
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f3d572 Make AssetSpecificationBuilder public as well as its init
Cloned https://github.com/brightdigit/AssetLib.git
Revision (git rev-parse @):
8f3d5727b77aaa0dcf8c0d05e1a01660f13816a1
SUCCESS checkout https://github.com/brightdigit/AssetLib.git at main
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/jpsim/SourceKitten.git
[1/509] Fetching komondor
[37/5372] Fetching komondor, swiftshell
[135/6301] Fetching komondor, swiftshell, swiftytexttable
[258/9121] Fetching komondor, swiftshell, swiftytexttable, swxmlhash
[371/10507] Fetching komondor, swiftshell, swiftytexttable, swxmlhash, rocket
[595/11087] Fetching komondor, swiftshell, swiftytexttable, swxmlhash, rocket, packageconfig
[4963/27199] Fetching komondor, swiftshell, swiftytexttable, swxmlhash, rocket, packageconfig, sourcekitten
Fetched https://github.com/shibapm/Rocket from cache (0.97s)
Fetched https://github.com/shibapm/Komondor from cache (0.97s)
Fetching https://github.com/brightdigit/swift-test-codecov
Fetching https://github.com/jpsim/Yams from cache
[5316/25304] Fetching swiftshell, swiftytexttable, swxmlhash, packageconfig, sourcekitten
[19949/25634] Fetching swiftshell, swiftytexttable, swxmlhash, packageconfig, sourcekitten, swift-test-codecov
Fetched https://github.com/brightdigit/swift-test-codecov from cache (0.94s)
Fetched https://github.com/jpsim/Yams from cache (0.95s)
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/shibapm/Logger
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.05s)
Fetched https://github.com/kareman/SwiftShell from cache (2.05s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (2.05s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.05s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.05s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-argument-parser from cache
[1/116] Fetching logger
Fetched https://github.com/shibapm/Logger from cache (0.68s)
[1/960] Fetching shellout
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.75s)
[1/47067] Fetching swiftformat
[2826/197033] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat from cache (57.82s)
[20660/149966] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (154.91s)
Computing version for https://github.com/brightdigit/swift-test-codecov
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (157.67s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.2.0 (0.56s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.44.0 (0.62s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.48.11 (2.69s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.55s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 0.13.0 (0.54s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.53s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.53s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.61s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.54s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.54s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.58s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.56s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.2.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.2
Creating working copy for https://github.com/brightdigit/swift-test-codecov
Working copy of https://github.com/brightdigit/swift-test-codecov resolved at 1.0.0
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.44.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 0.13.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.48.11
========================================
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/2773] Fetching assetlib
Fetched https://github.com/brightdigit/AssetLib.git from cache (0.96s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.06s)
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 main (8f3d572)
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brightdigit/AssetLib.git
https://github.com/brightdigit/AssetLib.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket"
},
{
"identity" : "swift-test-codecov",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/swift-test-codecov"
}
],
"manifest_display_name" : "AssetLib",
"name" : "AssetLib",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AssetLib",
"targets" : [
"AssetLib"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "assetlibrary",
"targets" : [
"assetlibrary"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "assetlibrary",
"module_type" : "SwiftTarget",
"name" : "assetlibrary",
"path" : "Sources/assetlibrary",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"assetlibrary"
],
"sources" : [
"AssetLibraryCommand.swift",
"main.swift"
],
"target_dependencies" : [
"AssetLib"
],
"type" : "executable"
},
{
"c99name" : "AssetLibTests",
"module_type" : "SwiftTarget",
"name" : "AssetLibTests",
"path" : "Tests/AssetLibTests",
"sources" : [
"Extensions/Array.swift",
"Extensions/AssetSpecificationDocument.swift",
"Extensions/Data.swift",
"Extensions/Dictionary.swift",
"Extensions/TemplateResult.swift",
"Models/ErrorDecoder.swift",
"Models/MockDecoder.swift",
"Models/MockEncoder.swift",
"Models/MockError.swift",
"Models/MockValueType.swift",
"Models/SortedDictionary.swift",
"Tests/AppIconTemplateBuilderTests.swift",
"Tests/AssetSpecificationTests.swift",
"Tests/AssetURLInitializerTests.swift",
"Tests/ISDeviceIdiomProviderTests.swift",
"Tests/IdiomScaleProviderTestsTests.swift",
"Tests/ImageSetTemplateBuilderTests.swift",
"Tests/SizesTest.swift",
"Tests/TemplateDecodingTests.swift",
"Tests/TemplateResultParserTests.swift",
"Tests/TemplateTypeParserTests.swift",
"Tests/TemplateWriterTests.swift",
"Tests/ValueAppearanceTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AssetLib"
],
"type" : "test"
},
{
"c99name" : "AssetLib",
"module_type" : "SwiftTarget",
"name" : "AssetLib",
"path" : "Sources/AssetLib",
"product_memberships" : [
"AssetLib",
"assetlibrary"
],
"sources" : [
"Array.swift",
"Controllers/AppIconDeviceIdiomMap.swift",
"Controllers/AppIconMasterDocumentProvider.swift",
"Controllers/AppIconTemplateBuilder.swift",
"Controllers/AssetTemplateBuilder.swift",
"Controllers/AssetURLInitializer.swift",
"Controllers/ISDeviceIdiomProvider.swift",
"Controllers/IdiomAppIconSpecMap.swift",
"Controllers/IdiomScaleProvider.swift",
"Controllers/ImageIdiomDisplayGamut.swift",
"Controllers/ImageSetTemplateBuilder.swift",
"Controllers/TemplateResultParser.swift",
"Controllers/TemplateTypeParser.swift",
"Controllers/TemplateWriter.swift",
"DecodingError.swift",
"Float.swift",
"Models/AnyAppearance.swift",
"Models/AppIconTemplate.swift",
"Models/AppIconTemplateBase64.swift",
"Models/Appearance.swift",
"Models/AppearanceValue.swift",
"Models/AppleWatchAutoScaingMethod.swift",
"Models/AppleWatchRole.swift",
"Models/AppleWatchScreenWidth.swift",
"Models/AssetSpecification.swift",
"Models/AssetSpecificationBuilder.swift",
"Models/AssetSpecificationDocument.swift",
"Models/AssetSpecificationMetadata.swift",
"Models/AssetSpecificationProperties.swift",
"Models/CompressType.swift",
"Models/Contrast.swift",
"Models/Device.swift",
"Models/DeviceSubType.swift",
"Models/DisplayGamut.swift",
"Models/GraphicsFeatureSet.swift",
"Models/ImageIdiom.swift",
"Models/ImageSetDevice.swift",
"Models/ImageSetIdiomDetail.swift",
"Models/ImageSetTemplate.swift",
"Models/LanguageDirection.swift",
"Models/Luminosity.swift",
"Models/Memory.swift",
"Models/ProductOperation.swift",
"Models/RenderingIntent.swift",
"Models/Scales.swift",
"Models/Size.swift",
"Models/SizeClass.swift",
"Models/Sizes.swift",
"Models/TemplateDetails.swift",
"Models/TemplateResult.swift",
"Models/TemplateScaling.swift",
"Models/TemplateType.swift",
"Models/ValuedAppearance.swift",
"Protocols/AppIconDeviceIdiomMapProtocol.swift",
"Protocols/AppIconMasterDocumentProviderProtocol.swift",
"Protocols/AssetSpecificationDocumentProtocol.swift",
"Protocols/AssetSpecificationMetadataProtocol.swift",
"Protocols/AssetSpecificationPropertiesProtocol.swift",
"Protocols/AssetSpecificationProtocol.swift",
"Protocols/AssetURLIntializerProtocol.swift",
"Protocols/ISDeviceIdiomProviderProtocol.swift",
"Protocols/IdiomAppIconSpecProvider.swift",
"Protocols/IdiomScaleProviderProtocol.swift",
"Protocols/ImageIdiomDisplayGamutProtocol.swift",
"Protocols/TemplateDecoder.swift",
"Protocols/TemplateEncoder.swift",
"Protocols/TemplateResultParserProtocol.swift",
"Protocols/TemplateTypeParserProtocol.swift",
"Protocols/TemplateWriterProtocol.swift",
"String.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[1/8] Write assetlibrary-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/105] Emitting module ArgumentParser
[7/108] Compiling AssetLib AppleWatchAutoScaingMethod.swift
[8/108] Compiling AssetLib AppleWatchRole.swift
[9/108] Compiling AssetLib AppleWatchScreenWidth.swift
[10/108] Compiling ArgumentParser SequenceExtensions.swift
[11/108] Compiling ArgumentParser StringExtensions.swift
[12/108] Compiling ArgumentParser Tree.swift
[13/108] Compiling AssetLib Float.swift
[14/108] Compiling AssetLib AnyAppearance.swift
[15/108] Compiling AssetLib AppIconTemplate.swift
[16/108] Compiling AssetLib IdiomScaleProvider.swift
[17/108] Compiling AssetLib ImageIdiomDisplayGamut.swift
[18/108] Compiling AssetLib ImageSetTemplateBuilder.swift
[19/108] Compiling AssetLib AssetTemplateBuilder.swift
[20/108] Compiling AssetLib AssetURLInitializer.swift
[21/108] Compiling AssetLib ISDeviceIdiomProvider.swift
[22/108] Compiling AssetLib DecodingError.swift
[23/108] Compiling AssetLib AppIconTemplateBase64.swift
[24/108] Compiling AssetLib Appearance.swift
[25/108] Compiling AssetLib AppearanceValue.swift
[26/108] Compiling AssetLib IdiomAppIconSpecMap.swift
[27/108] Compiling AssetLib ProductOperation.swift
[28/108] Compiling AssetLib RenderingIntent.swift
[29/108] Compiling AssetLib Scales.swift
[30/108] Compiling AssetLib Size.swift
[31/108] Compiling AssetLib AssetSpecification.swift
[32/108] Compiling AssetLib AssetSpecificationBuilder.swift
[33/108] Compiling AssetLib AssetSpecificationDocument.swift
[34/108] Compiling AssetLib AssetSpecificationMetadata.swift
[35/108] Compiling AssetLib Array.swift
[36/108] Compiling AssetLib AppIconDeviceIdiomMap.swift
[37/108] Compiling AssetLib AppIconMasterDocumentProvider.swift
[38/108] Compiling AssetLib AppIconTemplateBuilder.swift
[39/108] Compiling AssetLib TemplateResultParser.swift
[40/108] Compiling AssetLib TemplateTypeParser.swift
[41/108] Compiling AssetLib TemplateWriter.swift
[42/108] Compiling AssetLib TemplateResult.swift
[43/108] Compiling AssetLib TemplateScaling.swift
[44/108] Compiling AssetLib TemplateType.swift
[45/108] Compiling AssetLib ValuedAppearance.swift
[46/108] Compiling AssetLib AppIconDeviceIdiomMapProtocol.swift
[47/108] Compiling AssetLib AppIconMasterDocumentProviderProtocol.swift
[48/108] Compiling AssetLib AssetSpecificationDocumentProtocol.swift
[49/108] Compiling AssetLib ImageIdiom.swift
[50/108] Compiling AssetLib ImageSetDevice.swift
[51/108] Compiling AssetLib ImageSetIdiomDetail.swift
[52/108] Compiling AssetLib ImageSetTemplate.swift
[53/108] Compiling AssetLib LanguageDirection.swift
[54/108] Compiling AssetLib Luminosity.swift
[55/108] Compiling AssetLib Memory.swift
[63/115] Compiling AssetLib AssetSpecificationMetadataProtocol.swift
[64/115] Compiling AssetLib AssetSpecificationPropertiesProtocol.swift
[65/115] Compiling AssetLib AssetSpecificationProtocol.swift
[66/115] Compiling AssetLib AssetURLIntializerProtocol.swift
[67/115] Compiling AssetLib ISDeviceIdiomProviderProtocol.swift
[68/115] Compiling AssetLib IdiomAppIconSpecProvider.swift
[69/115] Compiling AssetLib IdiomScaleProviderProtocol.swift
[77/115] 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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 | }
[78/115] Compiling AssetLib AssetSpecificationProperties.swift
[79/115] Compiling AssetLib CompressType.swift
[80/115] Compiling AssetLib Contrast.swift
[81/115] Compiling AssetLib Device.swift
[82/115] Compiling AssetLib DeviceSubType.swift
[83/115] Compiling AssetLib DisplayGamut.swift
[84/115] Compiling AssetLib GraphicsFeatureSet.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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultCreateDirectory' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionray' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultDictionary' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultEncoder' part of global actor 'MainActor'
| `- 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 | }
[106/115] Compiling AssetLib ImageIdiomDisplayGamutProtocol.swift
[107/115] Compiling AssetLib TemplateDecoder.swift
[108/115] Compiling AssetLib TemplateEncoder.swift
[109/115] Compiling AssetLib TemplateResultParserProtocol.swift
[110/115] Compiling AssetLib TemplateTypeParserProtocol.swift
[111/115] Compiling AssetLib TemplateWriterProtocol.swift
[112/115] Compiling AssetLib String.swift
[113/118] Compiling assetlibrary main.swift
[114/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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! (10.53s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket"
},
{
"identity" : "swift-test-codecov",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/swift-test-codecov"
}
],
"manifest_display_name" : "AssetLib",
"name" : "AssetLib",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AssetLib",
"targets" : [
"AssetLib"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "assetlibrary",
"targets" : [
"assetlibrary"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "assetlibrary",
"module_type" : "SwiftTarget",
"name" : "assetlibrary",
"path" : "Sources/assetlibrary",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"assetlibrary"
],
"sources" : [
"AssetLibraryCommand.swift",
"main.swift"
],
"target_dependencies" : [
"AssetLib"
],
"type" : "executable"
},
{
"c99name" : "AssetLibTests",
"module_type" : "SwiftTarget",
"name" : "AssetLibTests",
"path" : "Tests/AssetLibTests",
"sources" : [
"Extensions/Array.swift",
"Extensions/AssetSpecificationDocument.swift",
"Extensions/Data.swift",
"Extensions/Dictionary.swift",
"Extensions/TemplateResult.swift",
"Models/ErrorDecoder.swift",
"Models/MockDecoder.swift",
"Models/MockEncoder.swift",
"Models/MockError.swift",
"Models/MockValueType.swift",
"Models/SortedDictionary.swift",
"Tests/AppIconTemplateBuilderTests.swift",
"Tests/AssetSpecificationTests.swift",
"Tests/AssetURLInitializerTests.swift",
"Tests/ISDeviceIdiomProviderTests.swift",
"Tests/IdiomScaleProviderTestsTests.swift",
"Tests/ImageSetTemplateBuilderTests.swift",
"Tests/SizesTest.swift",
"Tests/TemplateDecodingTests.swift",
"Tests/TemplateResultParserTests.swift",
"Tests/TemplateTypeParserTests.swift",
"Tests/TemplateWriterTests.swift",
"Tests/ValueAppearanceTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AssetLib"
],
"type" : "test"
},
{
"c99name" : "AssetLib",
"module_type" : "SwiftTarget",
"name" : "AssetLib",
"path" : "Sources/AssetLib",
"product_memberships" : [
"AssetLib",
"assetlibrary"
],
"sources" : [
"Array.swift",
"Controllers/AppIconDeviceIdiomMap.swift",
"Controllers/AppIconMasterDocumentProvider.swift",
"Controllers/AppIconTemplateBuilder.swift",
"Controllers/AssetTemplateBuilder.swift",
"Controllers/AssetURLInitializer.swift",
"Controllers/ISDeviceIdiomProvider.swift",
"Controllers/IdiomAppIconSpecMap.swift",
"Controllers/IdiomScaleProvider.swift",
"Controllers/ImageIdiomDisplayGamut.swift",
"Controllers/ImageSetTemplateBuilder.swift",
"Controllers/TemplateResultParser.swift",
"Controllers/TemplateTypeParser.swift",
"Controllers/TemplateWriter.swift",
"DecodingError.swift",
"Float.swift",
"Models/AnyAppearance.swift",
"Models/AppIconTemplate.swift",
"Models/AppIconTemplateBase64.swift",
"Models/Appearance.swift",
"Models/AppearanceValue.swift",
"Models/AppleWatchAutoScaingMethod.swift",
"Models/AppleWatchRole.swift",
"Models/AppleWatchScreenWidth.swift",
"Models/AssetSpecification.swift",
"Models/AssetSpecificationBuilder.swift",
"Models/AssetSpecificationDocument.swift",
"Models/AssetSpecificationMetadata.swift",
"Models/AssetSpecificationProperties.swift",
"Models/CompressType.swift",
"Models/Contrast.swift",
"Models/Device.swift",
"Models/DeviceSubType.swift",
"Models/DisplayGamut.swift",
"Models/GraphicsFeatureSet.swift",
"Models/ImageIdiom.swift",
"Models/ImageSetDevice.swift",
"Models/ImageSetIdiomDetail.swift",
"Models/ImageSetTemplate.swift",
"Models/LanguageDirection.swift",
"Models/Luminosity.swift",
"Models/Memory.swift",
"Models/ProductOperation.swift",
"Models/RenderingIntent.swift",
"Models/Scales.swift",
"Models/Size.swift",
"Models/SizeClass.swift",
"Models/Sizes.swift",
"Models/TemplateDetails.swift",
"Models/TemplateResult.swift",
"Models/TemplateScaling.swift",
"Models/TemplateType.swift",
"Models/ValuedAppearance.swift",
"Protocols/AppIconDeviceIdiomMapProtocol.swift",
"Protocols/AppIconMasterDocumentProviderProtocol.swift",
"Protocols/AssetSpecificationDocumentProtocol.swift",
"Protocols/AssetSpecificationMetadataProtocol.swift",
"Protocols/AssetSpecificationPropertiesProtocol.swift",
"Protocols/AssetSpecificationProtocol.swift",
"Protocols/AssetURLIntializerProtocol.swift",
"Protocols/ISDeviceIdiomProviderProtocol.swift",
"Protocols/IdiomAppIconSpecProvider.swift",
"Protocols/IdiomScaleProviderProtocol.swift",
"Protocols/ImageIdiomDisplayGamutProtocol.swift",
"Protocols/TemplateDecoder.swift",
"Protocols/TemplateEncoder.swift",
"Protocols/TemplateResultParserProtocol.swift",
"Protocols/TemplateTypeParserProtocol.swift",
"Protocols/TemplateWriterProtocol.swift",
"String.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.