Build Information
Successful build of AssetLib, reference main (8f3d57
), with Swift 6.1 for Linux on 30 Apr 2025 17:38:22 UTC.
Swift 6 data race errors: 10
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/brightdigit/AssetLib.git
https://github.com/brightdigit/AssetLib.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/brightdigit/swift-test-codecov
[1/330] Fetching swift-test-codecov
[331/1716] Fetching swift-test-codecov, rocket
[1717/2225] Fetching swift-test-codecov, rocket, komondor
[2226/17175] Fetching swift-test-codecov, rocket, komondor, swift-argument-parser
[2824/64242] Fetching swift-test-codecov, rocket, komondor, swift-argument-parser, swiftformat
[18805/214208] Fetching swift-test-codecov, rocket, komondor, swift-argument-parser, swiftformat, swiftlint
Fetched https://github.com/brightdigit/swift-test-codecov from cache (28.41s)
Fetched https://github.com/apple/swift-argument-parser from cache (28.43s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (29.50s)
Fetched https://github.com/shibapm/Komondor from cache (36.32s)
Fetched https://github.com/shibapm/Rocket from cache (36.32s)
Fetched https://github.com/realm/SwiftLint from cache (37.70s)
Computing version for https://github.com/brightdigit/swift-test-codecov
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.91s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.3.0 (0.63s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/kareman/SwiftShell
[1/580] Fetching packageconfig
[581/696] Fetching packageconfig, logger
[694/5559] Fetching packageconfig, logger, swiftshell
[5412/16004] Fetching packageconfig, logger, swiftshell, yams
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.74s)
Fetched https://github.com/kareman/SwiftShell from cache (0.74s)
[8365/10561] Fetching logger, yams
Fetched https://github.com/shibapm/Logger from cache (1.15s)
Fetched https://github.com/jpsim/Yams from cache (1.19s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (1.78s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.37s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.4 (0.58s)
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.25s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.89s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.61s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.3.1 (0.59s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (0.00s)
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.00s)
Computed https://github.com/shibapm/Rocket at 1.2.1 (0.61s)
Computed https://github.com/shibapm/Logger at 0.2.3 (0.00s)
Computed https://github.com/realm/SwiftLint at 0.44.0 (0.01s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/929] Fetching swiftytexttable
[429/13863] Fetching swiftytexttable, cryptoswift
[2353/29975] Fetching swiftytexttable, cryptoswift, sourcekitten
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.49s)
[4228/29046] Fetching cryptoswift, sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.80s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.11s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (5.81s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.87s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.50s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (1.34s)
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.62s)
Computed https://github.com/shibapm/Komondor at 1.1.4 (0.00s)
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.00s)
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.00s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.59s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.5 (0.60s)
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.00s)
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.2.1
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/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/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.4
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.44.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.5
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. this will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/105] Emitting module ArgumentParser
[7/109] Compiling AssetLib AppleWatchScreenWidth.swift
[8/109] Compiling AssetLib AssetSpecification.swift
[9/109] Compiling AssetLib AssetSpecificationBuilder.swift
[10/109] Compiling AssetLib AssetSpecificationDocument.swift
[11/109] Compiling AssetLib Array.swift
[12/109] Compiling AssetLib AppIconDeviceIdiomMap.swift
[13/109] Compiling AssetLib AppIconMasterDocumentProvider.swift
[14/109] Compiling AssetLib AppIconTemplateBuilder.swift
[15/109] Compiling AssetLib AssetTemplateBuilder.swift
[16/109] Emitting module AssetLib
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
[17/117] Compiling ArgumentParser UsageGenerator.swift
[18/117] Compiling ArgumentParser SequenceExtensions.swift
[19/117] Compiling ArgumentParser StringExtensions.swift
[20/117] Compiling ArgumentParser Tree.swift
[21/117] Compiling AssetLib AssetSpecificationMetadata.swift
[22/117] Compiling AssetLib AssetSpecificationProperties.swift
[23/117] Compiling AssetLib CompressType.swift
[24/117] Compiling AssetLib Contrast.swift
[25/117] Compiling AssetLib ImageSetTemplateBuilder.swift
[26/117] Compiling AssetLib TemplateResultParser.swift
[27/117] Compiling AssetLib TemplateTypeParser.swift
[28/117] Compiling AssetLib TemplateWriter.swift
[29/117] Compiling AssetLib AssetURLInitializer.swift
[30/117] Compiling AssetLib ISDeviceIdiomProvider.swift
[31/117] Compiling AssetLib IdiomAppIconSpecMap.swift
[32/117] Compiling AssetLib IdiomScaleProvider.swift
[33/117] Compiling AssetLib ImageIdiomDisplayGamut.swift
[34/117] Compiling AssetLib DecodingError.swift
[35/117] Compiling AssetLib Float.swift
[36/117] Compiling AssetLib AnyAppearance.swift
[37/117] Compiling AssetLib AppIconTemplate.swift
[38/117] Compiling AssetLib AppIconTemplateBase64.swift
[39/117] Compiling AssetLib Appearance.swift
[40/117] Compiling AssetLib AppearanceValue.swift
[41/117] Compiling AssetLib AppleWatchAutoScaingMethod.swift
[42/117] Compiling AssetLib AppleWatchRole.swift
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
/host/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 |
/host/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'
/host/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 | }
/host/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),
/host/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
/host/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
/host/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"
/host/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
/host/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
/host/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 }
/host/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],
/host/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
[52/118] Compiling AssetLib ImageSetDevice.swift
[53/118] Compiling AssetLib ImageSetIdiomDetail.swift
[54/118] Compiling AssetLib ImageSetTemplate.swift
[55/118] Compiling AssetLib LanguageDirection.swift
[56/118] Compiling AssetLib Luminosity.swift
[57/118] Compiling AssetLib Memory.swift
[58/118] Compiling AssetLib ProductOperation.swift
[59/118] Compiling AssetLib RenderingIntent.swift
[60/118] Compiling AssetLib Scales.swift
[61/118] Compiling AssetLib Size.swift
[62/118] Compiling AssetLib SizeClass.swift
[63/118] Compiling AssetLib Sizes.swift
[64/118] Compiling AssetLib TemplateDetails.swift
[65/118] Compiling AssetLib TemplateResult.swift
[66/118] Compiling AssetLib TemplateScaling.swift
[67/118] Compiling AssetLib TemplateType.swift
[68/118] Compiling AssetLib ValuedAppearance.swift
[69/118] Compiling AssetLib AppIconDeviceIdiomMapProtocol.swift
[87/118] Compiling AssetLib ImageIdiom.swift
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
/host/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()
/host/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.
/host/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
/host/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 | }
/host/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 = {
/host/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.
/host/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]
/host/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 | }
[97/118] Compiling AssetLib AppIconMasterDocumentProviderProtocol.swift
[98/118] Compiling AssetLib AssetSpecificationDocumentProtocol.swift
[99/118] Compiling AssetLib AssetSpecificationMetadataProtocol.swift
[100/118] Compiling AssetLib AssetSpecificationPropertiesProtocol.swift
[101/118] Compiling AssetLib AssetSpecificationProtocol.swift
[102/118] Compiling AssetLib AssetURLIntializerProtocol.swift
[103/118] Compiling AssetLib ISDeviceIdiomProviderProtocol.swift
[104/118] Compiling AssetLib IdiomAppIconSpecProvider.swift
[106/118] Compiling AssetLib IdiomScaleProviderProtocol.swift
[107/118] Compiling AssetLib ImageIdiomDisplayGamutProtocol.swift
[108/118] Compiling AssetLib TemplateDecoder.swift
[109/118] Compiling AssetLib TemplateEncoder.swift
[110/118] Compiling AssetLib TemplateResultParserProtocol.swift
[111/118] Compiling AssetLib TemplateTypeParserProtocol.swift
[112/118] Compiling AssetLib TemplateWriterProtocol.swift
[113/118] Compiling AssetLib String.swift
[114/119] Wrapping AST for ArgumentParser for debugging
[115/119] Wrapping AST for AssetLib for debugging
[117/122] Compiling assetlibrary main.swift
[118/122] Emitting module assetlibrary
/host/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."
[119/122] Compiling assetlibrary AssetLibraryCommand.swift
/host/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."
[120/123] Wrapping AST for assetlibrary for debugging
[121/123] Write Objects.LinkFileList
[122/123] Linking assetlibrary
Build complete! (115.45s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.