Build Information
Successful build of swiftui-app-icon-creator, reference main (f0c7ba
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 18:37:55 UTC.
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftui-app-icon-creator",
"name": "swiftui-app-icon-creator",
"url": "https://github.com/darrarski/swiftui-app-icon-creator.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-app-icon-creator",
"dependencies": [
]
}
]
}
Fetching https://github.com/darrarski/swiftui-app-icon-creator.git
[1/192] Fetching swiftui-app-icon-creator
Fetched https://github.com/darrarski/swiftui-app-icon-creator.git from cache (0.90s)
Creating working copy for https://github.com/darrarski/swiftui-app-icon-creator.git
Working copy of https://github.com/darrarski/swiftui-app-icon-creator.git resolved at main (f0c7ba4)
warning: '.resolve-product-dependencies': dependency 'swiftui-app-icon-creator' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/darrarski/swiftui-app-icon-creator.git
https://github.com/darrarski/swiftui-app-icon-creator.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling AppIconCreator View+If.swift
[4/9] Compiling AppIconCreator IconView.swift
[5/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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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()
[6/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: add '@MainActor' to make static property 'iPhone_Notification' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPhone_Settings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPhone_Spotlight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPhone_App' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Notification' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Settings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Spotlight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_App' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Pro_12_9_App' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iOS_App_Store' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_16pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_32pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_128pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_256pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_512pt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[7/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: add '@MainActor' to make static property 'iPhone_Notification' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPhone_Settings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPhone_Spotlight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPhone_App' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Notification' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Settings' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Spotlight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_App' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iPad_Pro_12_9_App' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'iOS_App_Store' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_16pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_32pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_128pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_256pt' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'macOS_512pt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[8/9] Compiling AppIconCreator IconPreview.swift
[9/9] Compiling AppIconCreator IconPreviews.swift
Build complete! (8.85s)
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.