This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swiftui-app-icon-creator with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 15

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/swiftui-app-icon-creator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrarski/swiftui-app-icon-creator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f0c7ba4 Initial iOS platform support
Cloned https://github.com/darrarski/swiftui-app-icon-creator.git
Revision (git rev-parse @):
f0c7ba4e66d3dc8135ccf9146afc05f9dff3c4ff
SUCCESS checkout https://github.com/darrarski/swiftui-app-icon-creator.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/darrarski/swiftui-app-icon-creator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/9] Compiling AppIconCreator View+If.swift
[4/9] Compiling AppIconCreator IconView.swift
[5/9] Compiling AppIconCreator IconPreviews.swift
[6/9] Compiling AppIconCreator IconPreview.swift
[7/9] Compiling AppIconCreator IconConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:49:14: warning: static property 'iPhone_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
47 |
48 | public extension IconConfig {
49 |   static let iPhone_Notification = IconConfig(name: "iPhone Notification", size: 20, scales: [2, 3])
   |              |- warning: static property 'iPhone_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_Notification' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:50:14: warning: static property 'iPhone_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
48 | public extension IconConfig {
49 |   static let iPhone_Notification = IconConfig(name: "iPhone Notification", size: 20, scales: [2, 3])
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
   |              |- warning: static property 'iPhone_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_Settings' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:51:14: warning: static property 'iPhone_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
49 |   static let iPhone_Notification = IconConfig(name: "iPhone Notification", size: 20, scales: [2, 3])
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
   |              |- warning: static property 'iPhone_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_Spotlight' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:52:14: warning: static property 'iPhone_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
   |              |- warning: static property 'iPhone_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_App' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:53:14: warning: static property 'iPad_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
   |              |- warning: static property 'iPad_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Notification' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:54:14: warning: static property 'iPad_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
   |              |- warning: static property 'iPad_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Settings' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:55:14: warning: static property 'iPad_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
   |              |- warning: static property 'iPad_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Spotlight' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:56:14: warning: static property 'iPad_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
   |              |- warning: static property 'iPad_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_App' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
58 |   static let iOS_App_Store = IconConfig(name: "iOS App Store", size: 1024, scales: [1])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:57:14: warning: static property 'iPad_Pro_12_9_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
   |              |- warning: static property 'iPad_Pro_12_9_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Pro_12_9_App' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |   static let iOS_App_Store = IconConfig(name: "iOS App Store", size: 1024, scales: [1])
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:58:14: warning: static property 'iOS_App_Store' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
58 |   static let iOS_App_Store = IconConfig(name: "iOS App Store", size: 1024, scales: [1])
   |              |- warning: static property 'iOS_App_Store' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iOS_App_Store' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:72:14: warning: static property 'macOS_16pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
70 |
71 | public extension IconConfig {
72 |   static let macOS_16pt = IconConfig(name: "Mac", size: 16, scales: [1, 2])
   |              |- warning: static property 'macOS_16pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_16pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:73:14: warning: static property 'macOS_32pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
71 | public extension IconConfig {
72 |   static let macOS_16pt = IconConfig(name: "Mac", size: 16, scales: [1, 2])
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
   |              |- warning: static property 'macOS_32pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_32pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:74:14: warning: static property 'macOS_128pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
72 |   static let macOS_16pt = IconConfig(name: "Mac", size: 16, scales: [1, 2])
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
   |              |- warning: static property 'macOS_128pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_128pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
76 |   static let macOS_512pt = IconConfig(name: "Mac", size: 512, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:75:14: warning: static property 'macOS_256pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
   |              |- warning: static property 'macOS_256pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_256pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |   static let macOS_512pt = IconConfig(name: "Mac", size: 512, scales: [1, 2])
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:76:14: warning: static property 'macOS_512pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
76 |   static let macOS_512pt = IconConfig(name: "Mac", size: 512, scales: [1, 2])
   |              |- warning: static property 'macOS_512pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_512pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[8/9] Emitting module AppIconCreator
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:49:14: warning: static property 'iPhone_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
47 |
48 | public extension IconConfig {
49 |   static let iPhone_Notification = IconConfig(name: "iPhone Notification", size: 20, scales: [2, 3])
   |              |- warning: static property 'iPhone_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_Notification' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:50:14: warning: static property 'iPhone_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
48 | public extension IconConfig {
49 |   static let iPhone_Notification = IconConfig(name: "iPhone Notification", size: 20, scales: [2, 3])
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
   |              |- warning: static property 'iPhone_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_Settings' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:51:14: warning: static property 'iPhone_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
49 |   static let iPhone_Notification = IconConfig(name: "iPhone Notification", size: 20, scales: [2, 3])
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
   |              |- warning: static property 'iPhone_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_Spotlight' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:52:14: warning: static property 'iPhone_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
50 |   static let iPhone_Settings = IconConfig(name: "iPhone Settings", size: 29, scales: [2, 3])
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
   |              |- warning: static property 'iPhone_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPhone_App' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:53:14: warning: static property 'iPad_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
51 |   static let iPhone_Spotlight = IconConfig(name: "iPhone Spotlight", size: 40, scales: [2, 3])
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
   |              |- warning: static property 'iPad_Notification' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Notification' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:54:14: warning: static property 'iPad_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
52 |   static let iPhone_App = IconConfig(name: "iPhone App", size: 60, scales: [2, 3])
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
   |              |- warning: static property 'iPad_Settings' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Settings' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:55:14: warning: static property 'iPad_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
53 |   static let iPad_Notification = IconConfig(name: "iPad Notification", size: 20, scales: [1, 2])
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
   |              |- warning: static property 'iPad_Spotlight' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Spotlight' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:56:14: warning: static property 'iPad_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
54 |   static let iPad_Settings = IconConfig(name: "iPad Settings", size: 29, scales: [1, 2])
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
   |              |- warning: static property 'iPad_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_App' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
58 |   static let iOS_App_Store = IconConfig(name: "iOS App Store", size: 1024, scales: [1])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:57:14: warning: static property 'iPad_Pro_12_9_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
55 |   static let iPad_Spotlight = IconConfig(name: "iPad Spotlight", size: 40, scales: [1, 2])
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
   |              |- warning: static property 'iPad_Pro_12_9_App' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iPad_Pro_12_9_App' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |   static let iOS_App_Store = IconConfig(name: "iOS App Store", size: 1024, scales: [1])
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:58:14: warning: static property 'iOS_App_Store' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
56 |   static let iPad_App = IconConfig(name: "iPad App", size: 76, scales: [1, 2])
57 |   static let iPad_Pro_12_9_App = IconConfig(name: "iPad Pro (12.9-inch) App", size: 83.5, scales: [2])
58 |   static let iOS_App_Store = IconConfig(name: "iOS App Store", size: 1024, scales: [1])
   |              |- warning: static property 'iOS_App_Store' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iOS_App_Store' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:72:14: warning: static property 'macOS_16pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
70 |
71 | public extension IconConfig {
72 |   static let macOS_16pt = IconConfig(name: "Mac", size: 16, scales: [1, 2])
   |              |- warning: static property 'macOS_16pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_16pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:73:14: warning: static property 'macOS_32pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
71 | public extension IconConfig {
72 |   static let macOS_16pt = IconConfig(name: "Mac", size: 16, scales: [1, 2])
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
   |              |- warning: static property 'macOS_32pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_32pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:74:14: warning: static property 'macOS_128pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
72 |   static let macOS_16pt = IconConfig(name: "Mac", size: 16, scales: [1, 2])
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
   |              |- warning: static property 'macOS_128pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_128pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
76 |   static let macOS_512pt = IconConfig(name: "Mac", size: 512, scales: [1, 2])
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:75:14: warning: static property 'macOS_256pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
73 |   static let macOS_32pt = IconConfig(name: "Mac", size: 32, scales: [1, 2])
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
   |              |- warning: static property 'macOS_256pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_256pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |   static let macOS_512pt = IconConfig(name: "Mac", size: 512, scales: [1, 2])
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconConfig.swift:76:14: warning: static property 'macOS_512pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct IconConfig: Equatable {
   |               `- note: consider making struct 'IconConfig' conform to the 'Sendable' protocol
 4 |   public var name: String
 5 |   public var size: Float
   :
74 |   static let macOS_128pt = IconConfig(name: "Mac", size: 128, scales: [1, 2])
75 |   static let macOS_256pt = IconConfig(name: "Mac", size: 256, scales: [1, 2])
76 |   static let macOS_512pt = IconConfig(name: "Mac", size: 512, scales: [1, 2])
   |              |- warning: static property 'macOS_512pt' is not concurrency-safe because non-'Sendable' type 'IconConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'macOS_512pt' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[9/9] Compiling AppIconCreator IconImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconImage.swift:27:12: warning: call to main actor-isolated instance method 'toImage()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 25 |         name: "\(config.id) \(scale)x",
 26 |         image: NSView.icon(icon, size: config.size * Float(scale))
 27 |           .toImage()
    |            `- warning: call to main actor-isolated instance method 'toImage()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 28 |           .unscaled()
 29 |       )
    :
 57 |   }
 58 |
 59 |   func toImage() -> NSImage {
    |        `- note: calls to instance method 'toImage()' from outside of its actor context are implicitly asynchronous
 60 |     let cacheRep = bitmapImageRepForCachingDisplay(in: bounds)!
 61 |     cacheDisplay(in: bounds, to: cacheRep)
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconImage.swift:26:23: warning: call to main actor-isolated static method 'icon(_:size:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 24 |       IconImage(
 25 |         name: "\(config.id) \(scale)x",
 26 |         image: NSView.icon(icon, size: config.size * Float(scale))
    |                       `- warning: call to main actor-isolated static method 'icon(_:size:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 27 |           .toImage()
 28 |           .unscaled()
    :
 47 |
 48 | extension NSView {
 49 |   static func icon<Icon: View>(_ icon: Icon, size: Float) -> NSView {
    |               `- note: calls to static method 'icon(_:size:)' from outside of its actor context are implicitly asynchronous
 50 |     let view = NSHostingView(rootView: icon)
 51 |     let viewSize = CGFloat(size)
/Users/admin/builder/spi-builder-workspace/Sources/AppIconCreator/IconImage.swift:26:23: warning: sending 'icon' risks causing data races; this is an error in the Swift 6 language mode
 24 |       IconImage(
 25 |         name: "\(config.id) \(scale)x",
 26 |         image: NSView.icon(icon, size: config.size * Float(scale))
    |                       |- warning: sending 'icon' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'icon' to main actor-isolated static method 'icon(_:size:)' risks causing data races between main actor-isolated and task-isolated uses
 27 |           .toImage()
 28 |           .unscaled()
Build complete! (34.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-app-icon-creator",
  "name" : "swiftui-app-icon-creator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AppIconCreator",
      "targets" : [
        "AppIconCreator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppIconCreator",
      "module_type" : "SwiftTarget",
      "name" : "AppIconCreator",
      "path" : "Sources/AppIconCreator",
      "product_memberships" : [
        "AppIconCreator"
      ],
      "sources" : [
        "IconConfig.swift",
        "IconImage.swift",
        "IconPreview.swift",
        "IconPreviews.swift",
        "IconView.swift",
        "View+If.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.