Build Information
Successful build of EditValueView with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
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/p-x9/EditValueView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/p-x9/EditValueView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 454d779 Merge pull request #31 from p-x9/feature/improve-type-description
Cloned https://github.com/p-x9/EditValueView.git
Revision (git rev-parse @):
454d77987aea7a3673dc2b7ce8ab15efa154987f
SUCCESS checkout https://github.com/p-x9/EditValueView.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/p-x9/EditValueView.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/8] Write sources
[5/8] Copying Media.xcassets
[7/8] Write swift-version-6F35C1178C84523A.txt
[9/20] Compiling MagicMirror typealias.swift
[10/20] Compiling MagicMirror Misc.swift
[11/20] Compiling MagicMirror MagicMirror.swift
[12/20] Emitting module MagicMirror
[13/23] Compiling Reflection String+.swift
[14/23] Compiling Reflection Reflection.swift
[15/23] Emitting module Reflection
[16/23] Compiling SwiftUIColor PreviewWorkaround.swift
[17/23] Compiling SwiftUIColor resource_bundle_accessor.swift
[18/23] Compiling SwiftUIColor Color+watchOS.swift
[19/23] Compiling SwiftUIColor Color+tvOS.swift
[20/23] Compiling SwiftUIColor Color+universal.swift
[21/23] Compiling SwiftUIColor Color+macOS.swift
[22/23] Emitting module SwiftUIColor
[23/23] Compiling SwiftUIColor Color+iOS.swift
[24/36] Compiling ReflectionView ReflectionView.swift
[25/36] Compiling ReflectionView TypeInfoContentView.swift
[26/36] Compiling ReflectionView TypedContent.swift
[27/36] Compiling ReflectionView TypeInfoView.swift
[28/37] Compiling ReflectionView resource_bundle_accessor.swift
[29/37] Compiling ReflectionView ReflectionContentView.swift
[30/37] Compiling ReflectionView ItemCountLabel.swift
[31/37] Compiling ReflectionView Config.swift
[32/37] Compiling ReflectionView DictContent.swift
[33/37] Compiling ReflectionView KeyedContent.swift
[34/37] Compiling ReflectionView View+.swift
[35/37] Emitting module ReflectionView
[36/37] Compiling ReflectionView ListContent.swift
[37/37] Compiling ReflectionView NestedContent.swift
[38/58] Emitting module EditValueView
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:422:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
420 |
421 | extension ACodable: DefaultRepresentable {
422 | static var defaultValue: ACodable = .init(text: "", number: 0)
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
423 | }
424 |
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:431:5: warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
384 | }
385 | }
386 | struct Item {
| `- note: consider making struct 'Item' conform to the 'Sendable' protocol
387 | var name: String
388 | var bool: Bool
:
429 | }
430 |
431 | let target: Item = .init(name: "Hello!!",
| |- warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'target' 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
432 | bool: true,
433 | date: Date(),
[39/60] Compiling EditValueView UIImage+.swift
[40/60] Compiling EditValueView View+.swift
[41/60] Compiling EditValueView CIImage+.swift
[42/60] Compiling EditValueView Codable+.swift
[43/60] Compiling EditValueView EditValueViewController.swift
[44/60] Compiling EditValueView Typealias.swift
[45/60] Compiling EditValueView ImageEditor.swift
[46/60] Compiling EditValueView ImagePicker.swift
[47/60] Compiling EditValueView OptionalNumeric.swift
[48/60] Compiling EditValueView OptionalType.swift
[49/60] Compiling EditValueView AnyJSONEditor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
[50/60] Compiling EditValueView CaseIterableEditor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
[51/60] Compiling EditValueView CodableEditorView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
[52/60] Compiling EditValueView ColorEditorView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
[53/60] Compiling EditValueView DateEditorView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
[54/60] Compiling EditValueView SwiftUIImagePicker.swift
[55/60] Compiling EditValueView SwiftUIImageEditor.swift
[56/60] Compiling EditValueView DefaultRepresentable.swift
[57/60] Compiling EditValueView OptionalCaseIterable.swift
[58/60] Compiling EditValueView EditValueView+EditorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:422:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
420 |
421 | extension ACodable: DefaultRepresentable {
422 | static var defaultValue: ACodable = .init(text: "", number: 0)
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
423 | }
424 |
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:431:5: warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
384 | }
385 | }
386 | struct Item {
| `- note: consider making struct 'Item' conform to the 'Sendable' protocol
387 | var name: String
388 | var bool: Bool
:
429 | }
430 |
431 | let target: Item = .init(name: "Hello!!",
| |- warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'target' 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
432 | bool: true,
433 | date: Date(),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
[59/60] Compiling EditValueView EditValueView+setValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:422:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
420 |
421 | extension ACodable: DefaultRepresentable {
422 | static var defaultValue: ACodable = .init(text: "", number: 0)
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
423 | }
424 |
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:431:5: warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
384 | }
385 | }
386 | struct Item {
| `- note: consider making struct 'Item' conform to the 'Sendable' protocol
387 | var name: String
388 | var bool: Bool
:
429 | }
430 |
431 | let target: Item = .init(name: "Hello!!",
| |- warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'target' 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
432 | bool: true,
433 | date: Date(),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
[60/60] Compiling EditValueView EditValueView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:422:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
420 |
421 | extension ACodable: DefaultRepresentable {
422 | static var defaultValue: ACodable = .init(text: "", number: 0)
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
423 | }
424 |
/Users/admin/builder/spi-builder-workspace/Sources/EditValueView/EditValueView.swift:431:5: warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
384 | }
385 | }
386 | struct Item {
| `- note: consider making struct 'Item' conform to the 'Sendable' protocol
387 | var name: String
388 | var bool: Bool
:
429 | }
430 |
431 | let target: Item = .init(name: "Hello!!",
| |- warning: let 'target' is not concurrency-safe because non-'Sendable' type 'Item' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'target' 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
432 | bool: true,
433 | date: Date(),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIColor/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public extension Color {
54 | struct IOS {
| `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
55 | public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
56 |
:
142 |
143 | public extension Color {
144 | static let iOS = IOS()
| |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iOS' 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
145 | }
146 |
Build complete! (39.38s)
Fetching https://github.com/p-x9/swiftui-reflection-view.git
Fetching https://github.com/p-x9/SwiftUIColor.git
Fetching https://github.com/p-x9/swift-magic-mirror.git
[1/45] Fetching swift-magic-mirror
[46/265] Fetching swift-magic-mirror, swiftui-reflection-view
[266/1705] Fetching swift-magic-mirror, swiftui-reflection-view, swiftuicolor
Fetched https://github.com/p-x9/swiftui-reflection-view.git from cache (0.93s)
Fetched https://github.com/p-x9/swift-magic-mirror.git from cache (0.93s)
Fetched https://github.com/p-x9/SwiftUIColor.git from cache (0.93s)
Computing version for https://github.com/p-x9/swiftui-reflection-view.git
Computed https://github.com/p-x9/swiftui-reflection-view.git at 0.8.0 (0.58s)
Computing version for https://github.com/p-x9/swift-magic-mirror.git
Computed https://github.com/p-x9/swift-magic-mirror.git at 0.2.0 (0.55s)
Computing version for https://github.com/p-x9/SwiftUIColor.git
Computed https://github.com/p-x9/SwiftUIColor.git at 0.4.0 (0.70s)
Creating working copy for https://github.com/p-x9/SwiftUIColor.git
Working copy of https://github.com/p-x9/SwiftUIColor.git resolved at 0.4.0
Creating working copy for https://github.com/p-x9/swift-magic-mirror.git
Working copy of https://github.com/p-x9/swift-magic-mirror.git resolved at 0.2.0
Creating working copy for https://github.com/p-x9/swiftui-reflection-view.git
Working copy of https://github.com/p-x9/swiftui-reflection-view.git resolved at 0.8.0
Build complete.
{
"dependencies" : [
{
"identity" : "swiftuicolor",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p-x9/SwiftUIColor.git"
},
{
"identity" : "swift-magic-mirror",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p-x9/swift-magic-mirror.git"
},
{
"identity" : "swiftui-reflection-view",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p-x9/swiftui-reflection-view.git"
}
],
"manifest_display_name" : "EditValueView",
"name" : "EditValueView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "EditValueView",
"targets" : [
"EditValueView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EditValueViewTests",
"module_type" : "SwiftTarget",
"name" : "EditValueViewTests",
"path" : "Tests/EditValueViewTests",
"sources" : [
"EditValueViewTests.swift"
],
"target_dependencies" : [
"EditValueView"
],
"type" : "test"
},
{
"c99name" : "EditValueView",
"module_type" : "SwiftTarget",
"name" : "EditValueView",
"path" : "Sources/EditValueView",
"product_dependencies" : [
"SwiftUIColor",
"MagicMirror",
"ReflectionView"
],
"product_memberships" : [
"EditValueView"
],
"sources" : [
"EditValueView+EditorType.swift",
"EditValueView+setValue.swift",
"EditValueView.swift",
"Editors/AnyJSONEditor.swift",
"Editors/CaseIterableEditor.swift",
"Editors/CodableEditorView.swift",
"Editors/ColorEditorView.swift",
"Editors/DateEditorView.swift",
"Editors/Image/ImageEditor.swift",
"Editors/Image/Picker/ImagePicker.swift",
"Editors/Image/Picker/SwiftUIImagePicker.swift",
"Editors/Image/SwiftUIImageEditor.swift",
"Extensions/CIImage+.swift",
"Extensions/Codable+.swift",
"Extensions/UIImage+.swift",
"Extensions/View+.swift",
"Protocol/DefaultRepresentable.swift",
"Protocol/OptionalCaseIterable.swift",
"Protocol/OptionalNumeric.swift",
"Protocol/OptionalType.swift",
"UIKit/EditValueViewController.swift",
"Util/Typealias.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.