Build Information
Successful build of CypherPoetSwiftUITypographyUtils with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
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/CypherPoet/SwiftUITypographyUtils.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/SwiftUITypographyUtils
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 222e311 Add polySans to demo app
Cloned https://github.com/CypherPoet/SwiftUITypographyUtils.git
Revision (git rev-parse @):
222e311eeeee40c6c430b0f1c1feb85d2a73de96
SUCCESS checkout https://github.com/CypherPoet/SwiftUITypographyUtils.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/CypherPoet/SwiftUITypographyUtils.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/16] Compiling SwiftUITypographyUtils View+pointSizeForTextStyle.swift
[6/17] Compiling SwiftUITypographyUtils Font+pointSizeForTextStyle.swift
[7/17] Compiling SwiftUITypographyUtils EnvironmentValues+CustomFontSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/Toolbox/Envionment Values/EnvironmentValues+CustomFontSize.swift:7:23: 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
5 | #if os(macOS)
6 |
7 | public static var defaultValue: Double = NSFont.labelFontSize
| |- 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
8 |
9 | #elseif canImport(UIKit)
[8/17] Compiling SwiftUITypographyUtils EnvironmentValues+CustomFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/Toolbox/Envionment Values/EnvironmentValues+CustomFont.swift:5:23: 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
3 |
4 | public struct CustomFontKey: EnvironmentKey {
5 | public static var defaultValue = CustomFont.systemDefault
| |- 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
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/CustomFont/CustomFont.swift:22:23: warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// A custom font that supports dynamic type
5 | /// text styles.
6 | public struct CustomFont {
| `- note: consider making struct 'CustomFont' conform to the 'Sendable' protocol
7 | public typealias StyleDictionary = [StyleKey.RawValue: FontDescription]
8 |
:
20 | /// An "empty" ``CustomFont`` instance that provides utility for platform-specific
21 | /// system font settings.
22 | public static let systemDefault = CustomFont()
| |- warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemDefault' 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
23 | }
24 |
[9/17] Compiling SwiftUITypographyUtils CustomFont+UIFontUtils.swift
[10/17] Compiling SwiftUITypographyUtils CustomFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/CustomFont/CustomFont.swift:22:23: warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// A custom font that supports dynamic type
5 | /// text styles.
6 | public struct CustomFont {
| `- note: consider making struct 'CustomFont' conform to the 'Sendable' protocol
7 | public typealias StyleDictionary = [StyleKey.RawValue: FontDescription]
8 |
:
20 | /// An "empty" ``CustomFont`` instance that provides utility for platform-specific
21 | /// system font settings.
22 | public static let systemDefault = CustomFont()
| |- warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemDefault' 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
23 | }
24 |
[11/17] Compiling SwiftUITypographyUtils CustomFont+NSFontUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/CustomFont/CustomFont.swift:22:23: warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// A custom font that supports dynamic type
5 | /// text styles.
6 | public struct CustomFont {
| `- note: consider making struct 'CustomFont' conform to the 'Sendable' protocol
7 | public typealias StyleDictionary = [StyleKey.RawValue: FontDescription]
8 |
:
20 | /// An "empty" ``CustomFont`` instance that provides utility for platform-specific
21 | /// system font settings.
22 | public static let systemDefault = CustomFont()
| |- warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemDefault' 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
23 | }
24 |
[12/17] Compiling SwiftUITypographyUtils CustomFont+Error.swift
[13/17] Compiling SwiftUITypographyUtils CustomFont+StyleKey.swift
[14/17] Compiling SwiftUITypographyUtils View+customFont.swift
[15/17] Emitting module SwiftUITypographyUtils
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/CustomFont/CustomFont.swift:22:23: warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// A custom font that supports dynamic type
5 | /// text styles.
6 | public struct CustomFont {
| `- note: consider making struct 'CustomFont' conform to the 'Sendable' protocol
7 | public typealias StyleDictionary = [StyleKey.RawValue: FontDescription]
8 |
:
20 | /// An "empty" ``CustomFont`` instance that provides utility for platform-specific
21 | /// system font settings.
22 | public static let systemDefault = CustomFont()
| |- warning: static property 'systemDefault' is not concurrency-safe because non-'Sendable' type 'CustomFont' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemDefault' 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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/Toolbox/Envionment Values/EnvironmentValues+CustomFont.swift:5:23: 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
3 |
4 | public struct CustomFontKey: EnvironmentKey {
5 | public static var defaultValue = CustomFont.systemDefault
| |- 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
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUITypographyUtils/Toolbox/Envionment Values/EnvironmentValues+CustomFontSize.swift:7:23: 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
5 | #if os(macOS)
6 |
7 | public static var defaultValue: Double = NSFont.labelFontSize
| |- 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
8 |
9 | #elseif canImport(UIKit)
[16/17] Compiling SwiftUITypographyUtils NSFont+TextStyle+Utils.swift
[17/17] Compiling SwiftUITypographyUtils UIFont+TextStyle+Utils.swift
Build complete! (55.39s)
Fetching https://github.com/apple/swift-docc-plugin
[1/1465] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.67s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2861] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.72s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "CypherPoetSwiftUITypographyUtils",
"name" : "CypherPoetSwiftUITypographyUtils",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SwiftUITypographyUtils",
"targets" : [
"SwiftUITypographyUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUITypographyUtilsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUITypographyUtilsTests",
"path" : "Tests/SwiftUITypographyUtils",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftUITypographyUtils/Resources/README.md",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftUITypographyUtils/Resources/Phosphate-Inline.ttc",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftUITypographyUtils/Resources/FuturaSettings.plist",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftUITypographyUtils/Resources/PhosphateInlineSettings.plist",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftUITypographyUtils/Resources/IncorrectlyFormattedSettings.plist",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftUITypographyUtils/Resources/__UnregisteredFontSettings__.plist",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Cases/CustomFont/CustomFontTests+AppKitTests.swift",
"Cases/CustomFont/CustomFontTests+UIKitTests.swift",
"Cases/CustomFont/CustomFontTests.swift",
"Toolbox/CustomFont+TestUtils.swift",
"Toolbox/UIKit/UIFont+regsiterFont.swift",
"Toolbox/macOS/NSFont+regsiterFont.swift"
],
"target_dependencies" : [
"SwiftUITypographyUtils"
],
"type" : "test"
},
{
"c99name" : "SwiftUITypographyUtils",
"module_type" : "SwiftTarget",
"name" : "SwiftUITypographyUtils",
"path" : "Sources/SwiftUITypographyUtils",
"product_memberships" : [
"SwiftUITypographyUtils"
],
"sources" : [
"CustomFont/CustomFont+Error.swift",
"CustomFont/CustomFont+StyleKey.swift",
"CustomFont/CustomFont.swift",
"Toolbox/CustomFont/CustomFont+NSFontUtils.swift",
"Toolbox/CustomFont/CustomFont+UIFontUtils.swift",
"Toolbox/CustomFont/View+customFont.swift",
"Toolbox/Envionment Values/EnvironmentValues+CustomFont.swift",
"Toolbox/Envionment Values/EnvironmentValues+CustomFontSize.swift",
"Toolbox/NSFont/NSFont+TextStyle+Utils.swift",
"Toolbox/Point Size For TextStyle/Font+pointSizeForTextStyle.swift",
"Toolbox/Point Size For TextStyle/View+pointSizeForTextStyle.swift",
"Toolbox/UIFont/UIFont+TextStyle+Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.