Build Information
Successful build of HyperSwift, reference main (a749aa
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 12:51:26 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johngarrett/HyperSwift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johngarrett/HyperSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a749aaa Update README.md
Cloned https://github.com/johngarrett/HyperSwift.git
Revision (git rev-parse @):
a749aaafbf15b6b39cfb56eb4ba9602ecd448d68
SUCCESS checkout https://github.com/johngarrett/HyperSwift.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": "hyperswift",
"name": "HyperSwift",
"url": "https://github.com/johngarrett/HyperSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HyperSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/johngarrett/HyperSwift.git
[1/587] Fetching hyperswift
Fetched https://github.com/johngarrett/HyperSwift.git from cache (0.75s)
Creating working copy for https://github.com/johngarrett/HyperSwift.git
Working copy of https://github.com/johngarrett/HyperSwift.git resolved at main (a749aaa)
warning: '.resolve-product-dependencies': dependency 'hyperswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/johngarrett/HyperSwift.git
{
"dependencies" : [
],
"manifest_display_name" : "HyperSwift",
"name" : "HyperSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HyperSwift",
"targets" : [
"HyperSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HyperSwiftTests",
"module_type" : "SwiftTarget",
"name" : "HyperSwiftTests",
"path" : "Tests/HyperSwiftTests",
"sources" : [
"CSSAttributesTests.swift",
"CSSClassTests.swift",
"DivTests.swift",
"FrameStyleTests.swift",
"HTMLComponentTests.swift",
"LinkTests.swift",
"StackTests.swift",
"StylersTest.swift"
],
"target_dependencies" : [
"HyperSwift"
],
"type" : "test"
},
{
"c99name" : "HyperSwift",
"module_type" : "SwiftTarget",
"name" : "HyperSwift",
"path" : "Sources/HyperSwift",
"product_memberships" : [
"HyperSwift"
],
"sources" : [
"Array+HyperSwift.swift",
"CSS/CSSColor.swift",
"CSS/CSSProperties.swift",
"CSS/CSSUnit.swift",
"CSS/HyperSwift+Array.swift",
"CSS/MediaQuery.swift",
"CSS/Style.swift",
"CSS/StyleSheet.swift",
"CSS/Stylers/CSS+Styler.swift",
"CSS/Stylers/CSSExtensions.swift",
"CSS/Stylers/FontStyler.swift",
"CSS/Stylers/FrameStyler.swift",
"CSS/Stylers/GridStyler.swift",
"CSS/Stylers/MarginStyler.swift",
"CSS/Stylers/MediaQueryStyler.swift",
"CSS/Stylers/PaddingStyler.swift",
"HTML/Button.swift",
"HTML/Code.swift",
"HTML/Div.swift",
"HTML/HTMLComponent.swift",
"HTML/HTMLElement.swift",
"HTML/HTMLTag.swift",
"HTML/Head.swift",
"HTML/Header.swift",
"HTML/Input.swift",
"HTML/Link.swift",
"HTML/Paragraph.swift",
"HTML/Protocols.swift",
"HTML/Small.swift",
"HTML/Stacks.swift",
"HTML/Wrappers.swift",
"String+HyperSwift.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/32] Emitting module HyperSwift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/CSSUnit.swift:10:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case rem
9 | }
10 | public static var zero = CSSUnit(0, .px)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
11 | public let description: String
12 | public init<T: FloatingPoint>(_ unit: T, _ type: UnitType = .px) {
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/MediaQuery.swift:12:18: warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
10 | case height, maxHeight = "max-height", minHeight = "min-height"
11 | case width, maxWidth = "max-width", minWidth = "min-width"
12 | #warning("missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp")
| `- warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:5:23: warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct StyleSheet {
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
| |- warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stylesheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stylesheet' 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 | private static var rawCssString: String = ""
7 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:6:24: warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
6 | private static var rawCssString: String = ""
| |- warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rawCssString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rawCssString' 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
7 |
8 | public static func add(_ styles: [Style], to cssClass: String) {
[4/35] Compiling HyperSwift Stacks.swift
[5/35] Compiling HyperSwift Wrappers.swift
[6/35] Compiling HyperSwift String+HyperSwift.swift
[7/35] Compiling HyperSwift HTMLElement.swift
[8/35] Compiling HyperSwift HTMLTag.swift
[9/35] Compiling HyperSwift Head.swift
[10/35] Compiling HyperSwift FrameStyler.swift
[11/35] Compiling HyperSwift GridStyler.swift
[12/35] Compiling HyperSwift MarginStyler.swift
[13/35] Compiling HyperSwift HyperSwift+Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/MediaQuery.swift:12:18: warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
10 | case height, maxHeight = "max-height", minHeight = "min-height"
11 | case width, maxWidth = "max-width", minWidth = "min-width"
12 | #warning("missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp")
| `- warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:5:23: warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct StyleSheet {
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
| |- warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stylesheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stylesheet' 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 | private static var rawCssString: String = ""
7 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:6:24: warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
6 | private static var rawCssString: String = ""
| |- warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rawCssString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rawCssString' 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
7 |
8 | public static func add(_ styles: [Style], to cssClass: String) {
[14/35] Compiling HyperSwift MediaQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/MediaQuery.swift:12:18: warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
10 | case height, maxHeight = "max-height", minHeight = "min-height"
11 | case width, maxWidth = "max-width", minWidth = "min-width"
12 | #warning("missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp")
| `- warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:5:23: warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct StyleSheet {
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
| |- warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stylesheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stylesheet' 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 | private static var rawCssString: String = ""
7 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:6:24: warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
6 | private static var rawCssString: String = ""
| |- warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rawCssString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rawCssString' 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
7 |
8 | public static func add(_ styles: [Style], to cssClass: String) {
[15/35] Compiling HyperSwift Style.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/MediaQuery.swift:12:18: warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
10 | case height, maxHeight = "max-height", minHeight = "min-height"
11 | case width, maxWidth = "max-width", minWidth = "min-width"
12 | #warning("missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp")
| `- warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:5:23: warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct StyleSheet {
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
| |- warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stylesheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stylesheet' 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 | private static var rawCssString: String = ""
7 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:6:24: warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
6 | private static var rawCssString: String = ""
| |- warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rawCssString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rawCssString' 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
7 |
8 | public static func add(_ styles: [Style], to cssClass: String) {
[16/35] Compiling HyperSwift StyleSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/MediaQuery.swift:12:18: warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
10 | case height, maxHeight = "max-height", minHeight = "min-height"
11 | case width, maxWidth = "max-width", minWidth = "min-width"
12 | #warning("missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp")
| `- warning: missing a ton of mediafeatures: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:5:23: warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct StyleSheet {
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
| |- warning: static property 'stylesheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stylesheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stylesheet' 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 | private static var rawCssString: String = ""
7 |
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/StyleSheet.swift:6:24: warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | // cssClass: [ [key: value] ]
5 | public static var stylesheet: [String: [String: String]] = [:]
6 | private static var rawCssString: String = ""
| |- warning: static property 'rawCssString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rawCssString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rawCssString' 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
7 |
8 | public static func add(_ styles: [Style], to cssClass: String) {
[17/35] Compiling HyperSwift Paragraph.swift
[18/35] Compiling HyperSwift Protocols.swift
[19/35] Compiling HyperSwift Small.swift
[20/35] Compiling HyperSwift CSS+Styler.swift
[21/35] Compiling HyperSwift CSSExtensions.swift
[22/35] Compiling HyperSwift FontStyler.swift
[23/35] Compiling HyperSwift Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/HTML/Link.swift:10:51: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
8 | attributes: attributes
9 | .merging(
10 | ["id": id ?? "", "href": href ?? ""],
| `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
11 | uniquingKeysWith: {
12 | [$0, $1].compactMap { $0 }.joined(separator: " ")
[24/35] Compiling HyperSwift Input.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/HTML/Link.swift:10:51: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
8 | attributes: attributes
9 | .merging(
10 | ["id": id ?? "", "href": href ?? ""],
| `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
11 | uniquingKeysWith: {
12 | [$0, $1].compactMap { $0 }.joined(separator: " ")
[25/35] Compiling HyperSwift Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/HTML/Link.swift:10:51: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
8 | attributes: attributes
9 | .merging(
10 | ["id": id ?? "", "href": href ?? ""],
| `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
11 | uniquingKeysWith: {
12 | [$0, $1].compactMap { $0 }.joined(separator: " ")
[26/35] Compiling HyperSwift MediaQueryStyler.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/Stylers/MediaQueryStyler.swift:5:19: warning: value 'cssClass' was defined but never used; consider replacing with boolean test
3 | public extension HTMLComponent {
4 | func with(_ query: MediaQuery) -> HTMLComponent {
5 | guard let cssClass = cssClass else {
| `- warning: value 'cssClass' was defined but never used; consider replacing with boolean test
6 | return self
7 | }
[27/35] Compiling HyperSwift PaddingStyler.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/Stylers/MediaQueryStyler.swift:5:19: warning: value 'cssClass' was defined but never used; consider replacing with boolean test
3 | public extension HTMLComponent {
4 | func with(_ query: MediaQuery) -> HTMLComponent {
5 | guard let cssClass = cssClass else {
| `- warning: value 'cssClass' was defined but never used; consider replacing with boolean test
6 | return self
7 | }
[28/35] Compiling HyperSwift Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/Stylers/MediaQueryStyler.swift:5:19: warning: value 'cssClass' was defined but never used; consider replacing with boolean test
3 | public extension HTMLComponent {
4 | func with(_ query: MediaQuery) -> HTMLComponent {
5 | guard let cssClass = cssClass else {
| `- warning: value 'cssClass' was defined but never used; consider replacing with boolean test
6 | return self
7 | }
[29/35] Compiling HyperSwift Code.swift
[30/35] Compiling HyperSwift Div.swift
[31/35] Compiling HyperSwift HTMLComponent.swift
[32/35] Compiling HyperSwift Array+HyperSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/CSSUnit.swift:10:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case rem
9 | }
10 | public static var zero = CSSUnit(0, .px)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
11 | public let description: String
12 | public init<T: FloatingPoint>(_ unit: T, _ type: UnitType = .px) {
[33/35] Compiling HyperSwift CSSColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/CSSUnit.swift:10:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case rem
9 | }
10 | public static var zero = CSSUnit(0, .px)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
11 | public let description: String
12 | public init<T: FloatingPoint>(_ unit: T, _ type: UnitType = .px) {
[34/35] Compiling HyperSwift CSSProperties.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/CSSUnit.swift:10:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case rem
9 | }
10 | public static var zero = CSSUnit(0, .px)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
11 | public let description: String
12 | public init<T: FloatingPoint>(_ unit: T, _ type: UnitType = .px) {
[35/35] Compiling HyperSwift CSSUnit.swift
/Users/admin/builder/spi-builder-workspace/Sources/HyperSwift/CSS/CSSUnit.swift:10:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case rem
9 | }
10 | public static var zero = CSSUnit(0, .px)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
11 | public let description: String
12 | public init<T: FloatingPoint>(_ unit: T, _ type: UnitType = .px) {
Build complete! (20.17s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "HyperSwift",
"name" : "HyperSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HyperSwift",
"targets" : [
"HyperSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HyperSwiftTests",
"module_type" : "SwiftTarget",
"name" : "HyperSwiftTests",
"path" : "Tests/HyperSwiftTests",
"sources" : [
"CSSAttributesTests.swift",
"CSSClassTests.swift",
"DivTests.swift",
"FrameStyleTests.swift",
"HTMLComponentTests.swift",
"LinkTests.swift",
"StackTests.swift",
"StylersTest.swift"
],
"target_dependencies" : [
"HyperSwift"
],
"type" : "test"
},
{
"c99name" : "HyperSwift",
"module_type" : "SwiftTarget",
"name" : "HyperSwift",
"path" : "Sources/HyperSwift",
"product_memberships" : [
"HyperSwift"
],
"sources" : [
"Array+HyperSwift.swift",
"CSS/CSSColor.swift",
"CSS/CSSProperties.swift",
"CSS/CSSUnit.swift",
"CSS/HyperSwift+Array.swift",
"CSS/MediaQuery.swift",
"CSS/Style.swift",
"CSS/StyleSheet.swift",
"CSS/Stylers/CSS+Styler.swift",
"CSS/Stylers/CSSExtensions.swift",
"CSS/Stylers/FontStyler.swift",
"CSS/Stylers/FrameStyler.swift",
"CSS/Stylers/GridStyler.swift",
"CSS/Stylers/MarginStyler.swift",
"CSS/Stylers/MediaQueryStyler.swift",
"CSS/Stylers/PaddingStyler.swift",
"HTML/Button.swift",
"HTML/Code.swift",
"HTML/Div.swift",
"HTML/HTMLComponent.swift",
"HTML/HTMLElement.swift",
"HTML/HTMLTag.swift",
"HTML/Head.swift",
"HTML/Header.swift",
"HTML/Input.swift",
"HTML/Link.swift",
"HTML/Paragraph.swift",
"HTML/Protocols.swift",
"HTML/Small.swift",
"HTML/Stacks.swift",
"HTML/Wrappers.swift",
"String+HyperSwift.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.