Build Information
Successful build of BonMot, reference 6.1.3 (001139
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 06:51:33 UTC.
Swift 6 data race errors: 14
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Rightpoint/BonMot.git
Reference: 6.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Rightpoint/BonMot
* tag 6.1.3 -> FETCH_HEAD
HEAD is now at 001139a Merge pull request #431 from Rightpoint/tidying
Cloned https://github.com/Rightpoint/BonMot.git
Revision (git rev-parse @):
001139aad601ed8009b49a0e868e21df3dea979c
SUCCESS checkout https://github.com/Rightpoint/BonMot.git at 6.1.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": "bonmot",
"name": "BonMot",
"url": "https://github.com/Rightpoint/BonMot.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BonMot",
"dependencies": [
]
}
]
}
Fetching https://github.com/Rightpoint/BonMot.git
[1/10202] Fetching bonmot
Fetched https://github.com/Rightpoint/BonMot.git from cache (4.07s)
Creating working copy for https://github.com/Rightpoint/BonMot.git
Working copy of https://github.com/Rightpoint/BonMot.git resolved at 6.1.3 (001139a)
warning: '.resolve-product-dependencies': dependency 'bonmot' 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/Rightpoint/BonMot.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/33] Emitting module BonMot
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:23:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
21 | }
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' 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
24 | public static let bold = Emphasis(rawValue: 1 << 1)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:24:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
24 | public static let bold = Emphasis(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:27:24: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expanded' 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
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:28:24: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'condensed' 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
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:29:24: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertical' 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
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:30:24: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uiOptimized' 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
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:31:24: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tightLineSpacing' 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
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:32:24: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'looseLineSpacing' 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
33 |
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:38:23: warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// Define a closure to be invoked when an unregistered style is requested.
37 | /// By default, an error is printed.
38 | public static var unregisteredStyleClosure: (String) -> Void = { name in
| |- warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unregisteredStyleClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unregisteredStyleClosure' 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
39 | print("Requesting unregistered style \(name)")
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:17:13: warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | private var TextAlignmentConstraintKVOContext = "BonMotTextAlignmentConstraintKVOContext" as NSString
| |- warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TextAlignmentConstraintKVOContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'TextAlignmentConstraintKVOContext' 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
18 |
19 | /// Used to align various UI controls (anything with a font or attribute text)
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:48:28: warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @objc(BONTextAlignmentConstraintAttribute)
27 | public enum TextAttribute: Int, CustomStringConvertible {
| `- note: consider making enum 'TextAttribute' conform to the 'Sendable' protocol
28 |
29 | case unspecified
:
46 | }
47 |
48 | static private let ibInspectableMapping: [String: TextAttribute] = [
| |- warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ibInspectableMapping' 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
49 | "unspecified": .unspecified,
50 | "top": .top,
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:87:32: warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | /// element styles in the shared `NamedStyles` and insert special characters
86 | /// when BON-namespaced elements are encountered.
87 | @nonobjc public static var defaultXMLStyler: XMLStyler = {
| |- warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultXMLStyler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultXMLStyler' 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
88 | var rules = Special.insertionRules
89 | rules.append(.styles(NamedStyles.shared))
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:218:23: warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
206 |
207 | /// Options to control the behavior of the XML parser.
208 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
209 |
210 | public let rawValue: Int
:
216 | /// cause a copy of the entire XML string, so for very large strings, it is
217 | /// recommended that you include a root node yourself and pass this option.
218 | public static let doNotWrapXML = XMLParsingOptions(rawValue: 1)
| |- warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doNotWrapXML' 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
219 |
220 | }
[4/36] Compiling BonMot AdaptiveStyle.swift
[5/36] Compiling BonMot AdaptiveStyleTransformation.swift
[6/36] Compiling BonMot AttributedStringTransformation.swift
[7/36] Compiling BonMot Tracking.swift
[8/36] Compiling BonMot Transform.swift
[9/36] Compiling BonMot AdaptableTextContainer.swift
[10/36] Compiling BonMot UIKit+AdaptableTextContainerSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:87:32: warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | /// element styles in the shared `NamedStyles` and insert special characters
86 | /// when BON-namespaced elements are encountered.
87 | @nonobjc public static var defaultXMLStyler: XMLStyler = {
| |- warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultXMLStyler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultXMLStyler' 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
88 | var rules = Special.insertionRules
89 | rules.append(.styles(NamedStyles.shared))
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:218:23: warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
206 |
207 | /// Options to control the behavior of the XML parser.
208 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
209 |
210 | public let rawValue: Int
:
216 | /// cause a copy of the entire XML string, so for very large strings, it is
217 | /// recommended that you include a root node yourself and pass this option.
218 | public static let doNotWrapXML = XMLParsingOptions(rawValue: 1)
| |- warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doNotWrapXML' 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
219 |
220 | }
[11/36] Compiling BonMot UIKit+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:87:32: warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | /// element styles in the shared `NamedStyles` and insert special characters
86 | /// when BON-namespaced elements are encountered.
87 | @nonobjc public static var defaultXMLStyler: XMLStyler = {
| |- warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultXMLStyler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultXMLStyler' 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
88 | var rules = Special.insertionRules
89 | rules.append(.styles(NamedStyles.shared))
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:218:23: warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
206 |
207 | /// Options to control the behavior of the XML parser.
208 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
209 |
210 | public let rawValue: Int
:
216 | /// cause a copy of the entire XML string, so for very large strings, it is
217 | /// recommended that you include a root node yourself and pass this option.
218 | public static let doNotWrapXML = XMLParsingOptions(rawValue: 1)
| |- warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doNotWrapXML' 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
219 |
220 | }
[12/36] Compiling BonMot XMLBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:87:32: warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | /// element styles in the shared `NamedStyles` and insert special characters
86 | /// when BON-namespaced elements are encountered.
87 | @nonobjc public static var defaultXMLStyler: XMLStyler = {
| |- warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultXMLStyler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultXMLStyler' 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
88 | var rules = Special.insertionRules
89 | rules.append(.styles(NamedStyles.shared))
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:218:23: warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
206 |
207 | /// Options to control the behavior of the XML parser.
208 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
209 |
210 | public let rawValue: Int
:
216 | /// cause a copy of the entire XML string, so for very large strings, it is
217 | /// recommended that you include a root node yourself and pass this option.
218 | public static let doNotWrapXML = XMLParsingOptions(rawValue: 1)
| |- warning: static property 'doNotWrapXML' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doNotWrapXML' 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
219 |
220 | }
[13/36] Compiling BonMot AccessibilityHeadingLevel.swift
[14/36] Compiling BonMot Compatibility.swift
[15/36] Compiling BonMot Composable.swift
[16/36] Compiling BonMot ContextualAlternates.swift
[17/36] Compiling BonMot Emphasis.swift
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:23:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
21 | }
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' 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
24 | public static let bold = Emphasis(rawValue: 1 << 1)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:24:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
24 | public static let bold = Emphasis(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:27:24: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expanded' 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
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:28:24: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'condensed' 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
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:29:24: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertical' 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
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:30:24: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uiOptimized' 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
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:31:24: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tightLineSpacing' 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
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:32:24: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'looseLineSpacing' 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
33 |
34 | }
[18/36] Compiling BonMot FontFeatures.swift
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:23:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
21 | }
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' 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
24 | public static let bold = Emphasis(rawValue: 1 << 1)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:24:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
24 | public static let bold = Emphasis(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:27:24: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expanded' 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
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:28:24: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'condensed' 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
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:29:24: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertical' 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
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:30:24: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uiOptimized' 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
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:31:24: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tightLineSpacing' 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
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:32:24: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'looseLineSpacing' 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
33 |
34 | }
[19/36] Compiling BonMot FontInspector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:23:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
21 | }
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' 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
24 | public static let bold = Emphasis(rawValue: 1 << 1)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:24:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
24 | public static let bold = Emphasis(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:27:24: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expanded' 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
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:28:24: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'condensed' 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
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:29:24: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertical' 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
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:30:24: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uiOptimized' 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
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:31:24: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tightLineSpacing' 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
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:32:24: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'looseLineSpacing' 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
33 |
34 | }
[20/36] Compiling BonMot Image+Tinting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:23:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
21 | }
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' 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
24 | public static let bold = Emphasis(rawValue: 1 << 1)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:24:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
22 |
23 | public static let italic = Emphasis(rawValue: 1 << 0)
24 | public static let bold = Emphasis(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:27:24: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
25 |
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expanded' 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
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:28:24: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
26 | // Reserved for later use, if we figure out a good naming scheme and use case.
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'condensed' 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
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:29:24: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
27 | private static let expanded = Emphasis(rawValue: 1 << 2)
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertical' 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
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:30:24: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
28 | private static let condensed = Emphasis(rawValue: 1 << 3)
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uiOptimized' 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
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:31:24: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
29 | private static let vertical = Emphasis(rawValue: 1 << 4)
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tightLineSpacing' 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
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Emphasis.swift:32:24: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Emphasis: OptionSet {
| `- note: consider making struct 'Emphasis' conform to the 'Sendable' protocol
16 |
17 | public var rawValue: Int
:
30 | private static let uiOptimized = Emphasis(rawValue: 1 << 5)
31 | private static let tightLineSpacing = Emphasis(rawValue: 1 << 6) // AKA Tight Leading
32 | private static let looseLineSpacing = Emphasis(rawValue: 1 << 7) // AKA Loose Leading
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'Emphasis' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'looseLineSpacing' 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
33 |
34 | }
[21/36] Compiling BonMot StringStyle.swift
[22/36] Compiling BonMot StylisticAlternates.swift
[23/36] Compiling BonMot Tab.swift
[24/36] Compiling BonMot Tab+Adaptive.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:17:13: warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | private var TextAlignmentConstraintKVOContext = "BonMotTextAlignmentConstraintKVOContext" as NSString
| |- warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TextAlignmentConstraintKVOContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'TextAlignmentConstraintKVOContext' 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
18 |
19 | /// Used to align various UI controls (anything with a font or attribute text)
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:48:28: warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @objc(BONTextAlignmentConstraintAttribute)
27 | public enum TextAttribute: Int, CustomStringConvertible {
| `- note: consider making enum 'TextAttribute' conform to the 'Sendable' protocol
28 |
29 | case unspecified
:
46 | }
47 |
48 | static private let ibInspectableMapping: [String: TextAttribute] = [
| |- warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ibInspectableMapping' 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
49 | "unspecified": .unspecified,
50 | "top": .top,
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:153:74: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
151 | private func setupObservers() {
152 | for keyPath in fontKeyPaths {
153 | addObserver(self, forKeyPath: keyPath, options: [], context: &TextAlignmentConstraintKVOContext)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:159:64: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
157 | private func tearDownObservers() {
158 | for keyPath in fontKeyPaths {
159 | removeObserver(self, forKeyPath: keyPath, context: &TextAlignmentConstraintKVOContext)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:178:26: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
176 | // swiftlint:disable:next block_based_kvo
177 | public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
178 | guard context == &TextAlignmentConstraintKVOContext else {
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
179 | super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context)
180 | return
[25/36] Compiling BonMot TextAlignmentConstraint.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:17:13: warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | private var TextAlignmentConstraintKVOContext = "BonMotTextAlignmentConstraintKVOContext" as NSString
| |- warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TextAlignmentConstraintKVOContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'TextAlignmentConstraintKVOContext' 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
18 |
19 | /// Used to align various UI controls (anything with a font or attribute text)
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:48:28: warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @objc(BONTextAlignmentConstraintAttribute)
27 | public enum TextAttribute: Int, CustomStringConvertible {
| `- note: consider making enum 'TextAttribute' conform to the 'Sendable' protocol
28 |
29 | case unspecified
:
46 | }
47 |
48 | static private let ibInspectableMapping: [String: TextAttribute] = [
| |- warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ibInspectableMapping' 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
49 | "unspecified": .unspecified,
50 | "top": .top,
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:153:74: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
151 | private func setupObservers() {
152 | for keyPath in fontKeyPaths {
153 | addObserver(self, forKeyPath: keyPath, options: [], context: &TextAlignmentConstraintKVOContext)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:159:64: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
157 | private func tearDownObservers() {
158 | for keyPath in fontKeyPaths {
159 | removeObserver(self, forKeyPath: keyPath, context: &TextAlignmentConstraintKVOContext)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:178:26: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
176 | // swiftlint:disable:next block_based_kvo
177 | public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
178 | guard context == &TextAlignmentConstraintKVOContext else {
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
179 | super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context)
180 | return
[26/36] Compiling BonMot Tracking+Adaptive.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:17:13: warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | private var TextAlignmentConstraintKVOContext = "BonMotTextAlignmentConstraintKVOContext" as NSString
| |- warning: var 'TextAlignmentConstraintKVOContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TextAlignmentConstraintKVOContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'TextAlignmentConstraintKVOContext' 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
18 |
19 | /// Used to align various UI controls (anything with a font or attribute text)
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:48:28: warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | @objc(BONTextAlignmentConstraintAttribute)
27 | public enum TextAttribute: Int, CustomStringConvertible {
| `- note: consider making enum 'TextAttribute' conform to the 'Sendable' protocol
28 |
29 | case unspecified
:
46 | }
47 |
48 | static private let ibInspectableMapping: [String: TextAttribute] = [
| |- warning: static property 'ibInspectableMapping' is not concurrency-safe because non-'Sendable' type '[String : TextAlignmentConstraint.TextAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ibInspectableMapping' 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
49 | "unspecified": .unspecified,
50 | "top": .top,
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:153:74: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
151 | private func setupObservers() {
152 | for keyPath in fontKeyPaths {
153 | addObserver(self, forKeyPath: keyPath, options: [], context: &TextAlignmentConstraintKVOContext)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:159:64: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
157 | private func tearDownObservers() {
158 | for keyPath in fontKeyPaths {
159 | removeObserver(self, forKeyPath: keyPath, context: &TextAlignmentConstraintKVOContext)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKit/TextAlignmentConstraint.swift:178:26: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
176 | // swiftlint:disable:next block_based_kvo
177 | public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
178 | guard context == &TextAlignmentConstraintKVOContext else {
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.
179 | super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context)
180 | return
[27/36] Compiling BonMot EmbeddedTransformation.swift
[28/36] Compiling BonMot NSAttributedString+Adaptive.swift
[29/36] Compiling BonMot StyleableUIElement.swift
[30/36] Compiling BonMot Platform.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:87:32: warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | /// element styles in the shared `NamedStyles` and insert special characters
86 | /// when BON-namespaced elements are encountered.
87 | @nonobjc public static var defaultXMLStyler: XMLStyler = {
| |- warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultXMLStyler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultXMLStyler' 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
88 | var rules = Special.insertionRules
89 | rules.append(.styles(NamedStyles.shared))
[31/36] Compiling BonMot Special.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:87:32: warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | /// element styles in the shared `NamedStyles` and insert special characters
86 | /// when BON-namespaced elements are encountered.
87 | @nonobjc public static var defaultXMLStyler: XMLStyler = {
| |- warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultXMLStyler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultXMLStyler' 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
88 | var rules = Special.insertionRules
89 | rules.append(.styles(NamedStyles.shared))
[32/36] Compiling BonMot StringStyle+Part.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLBuilder.swift:87:32: warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | /// element styles in the shared `NamedStyles` and insert special characters
86 | /// when BON-namespaced elements are encountered.
87 | @nonobjc public static var defaultXMLStyler: XMLStyler = {
| |- warning: static property 'defaultXMLStyler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultXMLStyler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultXMLStyler' 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
88 | var rules = Special.insertionRules
89 | rules.append(.styles(NamedStyles.shared))
[33/36] Compiling BonMot Ligatures.swift
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:38:23: warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// Define a closure to be invoked when an unregistered style is requested.
37 | /// By default, an error is printed.
38 | public static var unregisteredStyleClosure: (String) -> Void = { name in
| |- warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unregisteredStyleClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unregisteredStyleClosure' 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
39 | print("Requesting unregistered style \(name)")
40 | }
[34/36] Compiling BonMot MutableCopying.swift
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:38:23: warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// Define a closure to be invoked when an unregistered style is requested.
37 | /// By default, an error is printed.
38 | public static var unregisteredStyleClosure: (String) -> Void = { name in
| |- warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unregisteredStyleClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unregisteredStyleClosure' 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
39 | print("Requesting unregistered style \(name)")
40 | }
[35/36] Compiling BonMot NSAttributedString+BonMot.swift
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:38:23: warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// Define a closure to be invoked when an unregistered style is requested.
37 | /// By default, an error is printed.
38 | public static var unregisteredStyleClosure: (String) -> Void = { name in
| |- warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unregisteredStyleClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unregisteredStyleClosure' 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
39 | print("Requesting unregistered style \(name)")
40 | }
[36/36] Compiling BonMot NamedStyles.swift
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:33:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A shared repository of styles. It is used by the `bonMotStyleName`
32 | /// property in Interface Builder.
33 | public static var shared = NamedStyles()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
34 | #endif
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NamedStyles.swift:38:23: warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// Define a closure to be invoked when an unregistered style is requested.
37 | /// By default, an error is printed.
38 | public static var unregisteredStyleClosure: (String) -> Void = { name in
| |- warning: static property 'unregisteredStyleClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unregisteredStyleClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unregisteredStyleClosure' 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
39 | print("Requesting unregistered style \(name)")
40 | }
Build complete! (18.54s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BonMot",
"name" : "BonMot",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "BonMot",
"targets" : [
"BonMot"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "BonMotTests",
"module_type" : "SwiftTarget",
"name" : "BonMotTests",
"path" : "Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/EBGaramond12-Regular.otf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/robot.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/rz-logo-black.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/rz-logo-red.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AccessTests.swift",
"AdaptiveStyleTests.swift",
"AssertHelpers.swift",
"AttributedStringStyleTests.swift",
"BONFontBehaviorTests.swift",
"Compatibility+Tests.swift",
"ComposableTests.swift",
"EmphasisTests.swift",
"FontInspectorTests.swift",
"Helpers.swift",
"ImageTintingTests.swift",
"NSAttributedStringDebugTests.swift",
"TextAlignmentConstraintTests.swift",
"TransformTests.swift",
"UIKitBehaviorTests.swift",
"UIKitBonMotTests.swift",
"XMLTagStyleBuilderTests.swift"
],
"target_dependencies" : [
"BonMot"
],
"type" : "test"
},
{
"c99name" : "BonMot",
"module_type" : "SwiftTarget",
"name" : "BonMot",
"path" : "Sources",
"product_memberships" : [
"BonMot"
],
"sources" : [
"AccessibilityHeadingLevel.swift",
"Compatibility.swift",
"Composable.swift",
"ContextualAlternates.swift",
"Emphasis.swift",
"FontFeatures.swift",
"FontInspector.swift",
"Image+Tinting.swift",
"Ligatures.swift",
"MutableCopying.swift",
"NSAttributedString+BonMot.swift",
"NamedStyles.swift",
"Platform.swift",
"Special.swift",
"StringStyle+Part.swift",
"StringStyle.swift",
"StylisticAlternates.swift",
"Tab.swift",
"Tracking.swift",
"Transform.swift",
"UIKit/AdaptableTextContainer.swift",
"UIKit/AdaptiveStyle.swift",
"UIKit/AdaptiveStyleTransformation.swift",
"UIKit/AttributedStringTransformation.swift",
"UIKit/EmbeddedTransformation.swift",
"UIKit/NSAttributedString+Adaptive.swift",
"UIKit/StyleableUIElement.swift",
"UIKit/Tab+Adaptive.swift",
"UIKit/TextAlignmentConstraint.swift",
"UIKit/Tracking+Adaptive.swift",
"UIKit/UIKit+AdaptableTextContainerSupport.swift",
"UIKit/UIKit+Helpers.swift",
"XMLBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.