Build Information
Successful build of CypherPoetSwiftUITypographyUtils, reference 0.3.0 (1a03c4
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 01:33:46 UTC.
Swift 6 data race errors: 3
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/CypherPoet/SwiftUITypographyUtils.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/SwiftUITypographyUtils
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 1a03c43 0.3.0
Cloned https://github.com/CypherPoet/SwiftUITypographyUtils.git
Revision (git rev-parse @):
1a03c43477d0f62d577df59a1ed2f4ac82761467
SUCCESS checkout https://github.com/CypherPoet/SwiftUITypographyUtils.git at 0.3.0
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.79s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.70s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.34s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
========================================
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": "swiftuitypographyutils",
"name": "CypherPoetSwiftUITypographyUtils",
"url": "https://github.com/CypherPoet/SwiftUITypographyUtils.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUITypographyUtils",
"dependencies": [
]
}
]
}
Fetching https://github.com/CypherPoet/SwiftUITypographyUtils.git
[1/548] Fetching swiftuitypographyutils
Fetched https://github.com/CypherPoet/SwiftUITypographyUtils.git from cache (1.17s)
Creating working copy for https://github.com/CypherPoet/SwiftUITypographyUtils.git
Working copy of https://github.com/CypherPoet/SwiftUITypographyUtils.git resolved at 0.3.0 (1a03c43)
warning: '.resolve-product-dependencies': dependency 'swiftuitypographyutils' 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/CypherPoet/SwiftUITypographyUtils.git
https://github.com/CypherPoet/SwiftUITypographyUtils.git
{
"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/FuturaSettings.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/Phosphate-Inline.ttc",
"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/README.md",
"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/Envionment Values/EnvironmentValues+CustomFont.swift",
"Toolbox/Envionment Values/EnvironmentValues+CustomFontSize.swift",
"Toolbox/Font+pointSizeForTextStyle.swift",
"Toolbox/NSFont/NSFont+TextStyle+Utils.swift",
"Toolbox/UIFont/UIFont+TextStyle+Utils.swift",
"Toolbox/View+customFont.swift",
"Toolbox/View+pointSizeForTextStyle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/16] Compiling SwiftUITypographyUtils UIFont+TextStyle+Utils.swift
[6/17] Compiling SwiftUITypographyUtils View+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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | #elseif canImport(UIKit)
[8/17] Compiling SwiftUITypographyUtils CustomFont+UIFontUtils.swift
[9/17] Compiling SwiftUITypographyUtils NSFont+TextStyle+Utils.swift
[10/17] Compiling SwiftUITypographyUtils Font+pointSizeForTextStyle.swift
[11/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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[12/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 | internal 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: add '@MainActor' to make static property 'systemDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
[13/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 | internal 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: add '@MainActor' to make static property 'systemDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
[14/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 | internal 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: add '@MainActor' to make static property 'systemDefault' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | #elseif canImport(UIKit)
[15/17] Compiling SwiftUITypographyUtils CustomFont+Error.swift
[16/17] Compiling SwiftUITypographyUtils CustomFont+StyleKey.swift
[17/17] Compiling SwiftUITypographyUtils View+customFont.swift
Build complete! (18.71s)
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/FuturaSettings.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/Phosphate-Inline.ttc",
"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/README.md",
"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/Envionment Values/EnvironmentValues+CustomFont.swift",
"Toolbox/Envionment Values/EnvironmentValues+CustomFontSize.swift",
"Toolbox/Font+pointSizeForTextStyle.swift",
"Toolbox/NSFont/NSFont+TextStyle+Utils.swift",
"Toolbox/UIFont/UIFont+TextStyle+Utils.swift",
"Toolbox/View+customFont.swift",
"Toolbox/View+pointSizeForTextStyle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.