Build Information
Successful build of Mechanica, reference 3.1.0 (9df104
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 12:49:33 UTC.
Swift 6 data race errors: 4
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/alemar11/Mechanica.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alemar11/Mechanica
* tag 3.1.0 -> FETCH_HEAD
HEAD is now at 9df104e update pod
Cloned https://github.com/alemar11/Mechanica.git
Revision (git rev-parse @):
9df104e130ab6670b68ca59c38a6fec2f039291a
SUCCESS checkout https://github.com/alemar11/Mechanica.git at 3.1.0
========================================
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": "mechanica",
"name": "Mechanica",
"url": "https://github.com/alemar11/Mechanica.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Mechanica",
"dependencies": [
]
}
]
}
Fetching https://github.com/alemar11/Mechanica.git
[1/17288] Fetching mechanica
Fetched https://github.com/alemar11/Mechanica.git from cache (2.33s)
Creating working copy for https://github.com/alemar11/Mechanica.git
Working copy of https://github.com/alemar11/Mechanica.git resolved at 3.1.0 (9df104e)
warning: '.resolve-product-dependencies': dependency 'mechanica' 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/alemar11/Mechanica.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/53] Emitting module Mechanica
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var isMainQueue: Bool {
12 | enum Static {
13 | static var key: DispatchSpecificKey<Void> = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'key' 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
14 | let key = DispatchSpecificKey<Void>()
15 | DispatchQueue.main.setSpecific(key: key, value: ())
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
8 | ///
9 | /// An always `true` NSPredicate.
10 | public static let `true` = NSPredicate(value: true)
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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 |
12 | /// **Mechanica**
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// An always `false` NSPredicate.
15 | public static let `false` = NSPredicate(value: false)
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
16 | }
17 |
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:82:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | extension Image {
81 | private struct AssociatedKey {
82 | static var isInflated = "\(associatedKeyPrefix).Shared.Image.isInflated"
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInflated' 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
83 | }
84 |
[4/58] Compiling Mechanica UIButton+Utils.swift
[5/58] Compiling Mechanica UIDevice+Utils.swift
[6/58] Compiling Mechanica UIEdgeInsets+Utils.swift
[7/58] Compiling Mechanica UIGestureRecognizer+Utils.swift
[8/58] Compiling Mechanica UIImage+Utils.swift
[9/58] Compiling Mechanica Dictionary+Utils.swift
[10/58] Compiling Mechanica FixedWidthInteger+Utils.swift
[11/58] Compiling Mechanica FloatingPoint+Utils.swift
[12/58] Compiling Mechanica Operators.swift
[13/58] Compiling Mechanica Optional+Utils.swift
[14/58] Compiling Mechanica RangeReplaceableCollection+Utils.swift
[15/58] Compiling Mechanica Sequence+Utils.swift
[16/58] Compiling Mechanica SignedInteger.swift
[17/58] Compiling Mechanica String+Utils.swift
[18/58] Compiling Mechanica Unicode+Utils.swift
[19/58] Compiling Mechanica UILayoutPriority+Utils.swift
[20/58] Compiling Mechanica UIStackView+Utils.swift
[21/58] Compiling Mechanica UIView+Utils.swift
[22/58] Compiling Mechanica UIViewController+Utils.swift
[23/58] Compiling Mechanica UIWindow+Utils.swift
[24/58] Compiling Mechanica Bundle+Info.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var isMainQueue: Bool {
12 | enum Static {
13 | static var key: DispatchSpecificKey<Void> = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'key' 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
14 | let key = DispatchSpecificKey<Void>()
15 | DispatchQueue.main.setSpecific(key: key, value: ())
[25/58] Compiling Mechanica Calendar+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var isMainQueue: Bool {
12 | enum Static {
13 | static var key: DispatchSpecificKey<Void> = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'key' 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
14 | let key = DispatchSpecificKey<Void>()
15 | DispatchQueue.main.setSpecific(key: key, value: ())
[26/58] Compiling Mechanica Data+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var isMainQueue: Bool {
12 | enum Static {
13 | static var key: DispatchSpecificKey<Void> = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'key' 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
14 | let key = DispatchSpecificKey<Void>()
15 | DispatchQueue.main.setSpecific(key: key, value: ())
[27/58] Compiling Mechanica Date+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var isMainQueue: Bool {
12 | enum Static {
13 | static var key: DispatchSpecificKey<Void> = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'key' 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
14 | let key = DispatchSpecificKey<Void>()
15 | DispatchQueue.main.setSpecific(key: key, value: ())
[28/58] Compiling Mechanica Dictionary+FoundationUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var isMainQueue: Bool {
12 | enum Static {
13 | static var key: DispatchSpecificKey<Void> = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'key' 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
14 | let key = DispatchSpecificKey<Void>()
15 | DispatchQueue.main.setSpecific(key: key, value: ())
[29/58] Compiling Mechanica DispatchQueue+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var isMainQueue: Bool {
12 | enum Static {
13 | static var key: DispatchSpecificKey<Void> = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'key' 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
14 | let key = DispatchSpecificKey<Void>()
15 | DispatchQueue.main.setSpecific(key: key, value: ())
[30/58] Compiling Mechanica BinaryFloatingPoint+Utils.swift
[31/58] Compiling Mechanica BinaryInteger+Utils.swift
[32/58] Compiling Mechanica Bool+Utils.swift
[33/58] Compiling Mechanica Character+Utils.swift
[34/58] Compiling Mechanica Collection+Utils.swift
[35/58] Compiling Mechanica FileManager+Utils.swift
[36/58] Compiling Mechanica FoundationUtils.swift
[37/58] Compiling Mechanica Locale.swift
[38/58] Compiling Mechanica NSAttributedString+Utils.swift
[39/58] Compiling Mechanica NSMutableAttributedString+Utils.swift
[40/58] Compiling Mechanica NSObjectProtocol+Utils.swift
[41/58] Compiling Mechanica UserDefaults+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:82:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | extension Image {
81 | private struct AssociatedKey {
82 | static var isInflated = "\(associatedKeyPrefix).Shared.Image.isInflated"
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInflated' 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
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:90:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | public var isInflated: Bool {
89 | get {
90 | if let inflated = objc_getAssociatedObject(self, &AssociatedKey.isInflated) as? Bool {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
91 | return inflated
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:96:38: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
94 | }
95 | set {
96 | objc_setAssociatedObject(self, &AssociatedKey.isInflated, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
97 | }
98 | }
[42/58] Compiling Mechanica Mechanica.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:82:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | extension Image {
81 | private struct AssociatedKey {
82 | static var isInflated = "\(associatedKeyPrefix).Shared.Image.isInflated"
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInflated' 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
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:90:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | public var isInflated: Bool {
89 | get {
90 | if let inflated = objc_getAssociatedObject(self, &AssociatedKey.isInflated) as? Bool {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
91 | return inflated
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:96:38: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
94 | }
95 | set {
96 | objc_setAssociatedObject(self, &AssociatedKey.isInflated, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
97 | }
98 | }
[43/58] Compiling Mechanica Color+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:82:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | extension Image {
81 | private struct AssociatedKey {
82 | static var isInflated = "\(associatedKeyPrefix).Shared.Image.isInflated"
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInflated' 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
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:90:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | public var isInflated: Bool {
89 | get {
90 | if let inflated = objc_getAssociatedObject(self, &AssociatedKey.isInflated) as? Bool {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
91 | return inflated
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:96:38: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
94 | }
95 | set {
96 | objc_setAssociatedObject(self, &AssociatedKey.isInflated, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
97 | }
98 | }
[44/58] Compiling Mechanica Font+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:82:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | extension Image {
81 | private struct AssociatedKey {
82 | static var isInflated = "\(associatedKeyPrefix).Shared.Image.isInflated"
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInflated' 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
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:90:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | public var isInflated: Bool {
89 | get {
90 | if let inflated = objc_getAssociatedObject(self, &AssociatedKey.isInflated) as? Bool {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
91 | return inflated
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:96:38: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
94 | }
95 | set {
96 | objc_setAssociatedObject(self, &AssociatedKey.isInflated, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
97 | }
98 | }
[45/58] Compiling Mechanica Image+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:82:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | extension Image {
81 | private struct AssociatedKey {
82 | static var isInflated = "\(associatedKeyPrefix).Shared.Image.isInflated"
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInflated' 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
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:90:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | public var isInflated: Bool {
89 | get {
90 | if let inflated = objc_getAssociatedObject(self, &AssociatedKey.isInflated) as? Bool {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
91 | return inflated
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:96:38: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
94 | }
95 | set {
96 | objc_setAssociatedObject(self, &AssociatedKey.isInflated, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
97 | }
98 | }
[46/58] Compiling Mechanica NSDirectionalEdgeInsets+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:82:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | extension Image {
81 | private struct AssociatedKey {
82 | static var isInflated = "\(associatedKeyPrefix).Shared.Image.isInflated"
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInflated' 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
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:90:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
88 | public var isInflated: Bool {
89 | get {
90 | if let inflated = objc_getAssociatedObject(self, &AssociatedKey.isInflated) as? Bool {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
91 | return inflated
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Image+Utils.swift:96:38: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
94 | }
95 | set {
96 | objc_setAssociatedObject(self, &AssociatedKey.isInflated, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
97 | }
98 | }
[47/58] Compiling Mechanica AVAsset+Utils.swift
[48/58] Compiling Mechanica NSImage+Utils.swift
[49/58] Compiling Mechanica CGFloat+Utils.swift
[50/58] Compiling Mechanica CGPoint+Utils.swift
[51/58] Compiling Mechanica CGRect+Utils.swift
[52/58] Compiling Mechanica CGSize+Utils.swift
[53/58] Compiling Mechanica NSPredicate+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
8 | ///
9 | /// An always `true` NSPredicate.
10 | public static let `true` = NSPredicate(value: true)
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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 |
12 | /// **Mechanica**
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// An always `false` NSPredicate.
15 | public static let `false` = NSPredicate(value: false)
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
16 | }
17 |
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
[54/58] Compiling Mechanica ProcessInfo+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
8 | ///
9 | /// An always `true` NSPredicate.
10 | public static let `true` = NSPredicate(value: true)
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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 |
12 | /// **Mechanica**
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// An always `false` NSPredicate.
15 | public static let `false` = NSPredicate(value: false)
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
16 | }
17 |
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
[55/58] Compiling Mechanica Stat+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
8 | ///
9 | /// An always `true` NSPredicate.
10 | public static let `true` = NSPredicate(value: true)
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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 |
12 | /// **Mechanica**
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// An always `false` NSPredicate.
15 | public static let `false` = NSPredicate(value: false)
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
16 | }
17 |
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
[56/58] Compiling Mechanica String+FoundationUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
8 | ///
9 | /// An always `true` NSPredicate.
10 | public static let `true` = NSPredicate(value: true)
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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 |
12 | /// **Mechanica**
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// An always `false` NSPredicate.
15 | public static let `false` = NSPredicate(value: false)
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
16 | }
17 |
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
[57/58] Compiling Mechanica URL+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
8 | ///
9 | /// An always `true` NSPredicate.
10 | public static let `true` = NSPredicate(value: true)
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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 |
12 | /// **Mechanica**
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// An always `false` NSPredicate.
15 | public static let `false` = NSPredicate(value: false)
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
16 | }
17 |
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
[58/58] Compiling Mechanica URLRequest+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
8 | ///
9 | /// An always `true` NSPredicate.
10 | public static let `true` = NSPredicate(value: true)
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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 |
12 | /// **Mechanica**
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// An always `false` NSPredicate.
15 | public static let `false` = NSPredicate(value: false)
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
16 | }
17 |
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
3 | public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
4 | @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
Build complete! (14.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Mechanica",
"name" : "Mechanica",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "Mechanica",
"targets" : [
"Mechanica"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "UIKitTests",
"module_type" : "SwiftTarget",
"name" : "UIKitTests",
"path" : "Tests/UIKitTests",
"sources" : [
"UIButtonUtilsTests.swift",
"UIDeviceUtilsTests.swift",
"UIEdgeInsetsUtilsTests.swift",
"UIGestureRecognizerUtilsTests.swift",
"UIImageUtilsTests.swift",
"UILayoutPriorityUtilsTests.swift",
"UIStackViewUtilsTests.swift",
"UIViewControllerUtilsTests.swift",
"UIViewUtilsTests.swift",
"UIWindowUtilsTests.swift",
"_Resources.swift"
],
"target_dependencies" : [
"Mechanica"
],
"type" : "test"
},
{
"c99name" : "StandardLibraryTests",
"module_type" : "SwiftTarget",
"name" : "StandardLibraryTests",
"path" : "Tests/StandardLibraryTests",
"sources" : [
"BinaryFloatingPointUtilsTests.swift",
"BinaryIntegerUtilsTests.swift",
"BoolUtilsTests.swift",
"CharacterUtilsTests.swift",
"CollectionUtilsTests.swift",
"DictionaryUtilsTests.swift",
"FloatingPointUtilsTests.swift",
"OperatorsTests.swift",
"OptionalUtilsTests.swift",
"RangeReplaceableCollectionUtilsTests.swift",
"SequenceUtilsTests.swift",
"SignedIntegerUtilsTests.swift",
"StringUtilsTests.swift",
"UnsignedIntegerUtilsTests.swift"
],
"target_dependencies" : [
"Mechanica"
],
"type" : "test"
},
{
"c99name" : "SharedTests",
"module_type" : "SwiftTarget",
"name" : "SharedTests",
"path" : "Tests/SharedTests",
"sources" : [
"Color+Flat.swift",
"ColorUtilsTests.swift",
"FontUtilsTests.swift",
"ImageUtilsTests.swift",
"NSDirectionalEdgeInsetsUtilsTests.swift",
"_Resources.swift"
],
"target_dependencies" : [
"Mechanica"
],
"type" : "test"
},
{
"c99name" : "Mechanica",
"module_type" : "SwiftTarget",
"name" : "Mechanica",
"path" : "Sources",
"product_memberships" : [
"Mechanica"
],
"sources" : [
"AVFoundation/AVAsset+Utils.swift",
"AppKit/NSImage+Utils.swift",
"CoreGraphics/CGFloat+Utils.swift",
"CoreGraphics/CGPoint+Utils.swift",
"CoreGraphics/CGRect+Utils.swift",
"CoreGraphics/CGSize+Utils.swift",
"Foundation/Bundle+Info.swift",
"Foundation/Calendar+Utils.swift",
"Foundation/Data+Utils.swift",
"Foundation/Date+Utils.swift",
"Foundation/Dictionary+FoundationUtils.swift",
"Foundation/DispatchQueue+Utils.swift",
"Foundation/FileManager+Utils.swift",
"Foundation/FoundationUtils.swift",
"Foundation/Locale.swift",
"Foundation/NSAttributedString+Utils.swift",
"Foundation/NSMutableAttributedString+Utils.swift",
"Foundation/NSObjectProtocol+Utils.swift",
"Foundation/NSPredicate+Utils.swift",
"Foundation/ProcessInfo+Utils.swift",
"Foundation/Stat+Utils.swift",
"Foundation/String+FoundationUtils.swift",
"Foundation/URL+Utils.swift",
"Foundation/URLRequest+Utils.swift",
"Foundation/UserDefaults+Utils.swift",
"Mechanica.swift",
"Shared/Color+Utils.swift",
"Shared/Font+Utils.swift",
"Shared/Image+Utils.swift",
"Shared/NSDirectionalEdgeInsets+Utils.swift",
"StandardLibrary/BinaryFloatingPoint+Utils.swift",
"StandardLibrary/BinaryInteger+Utils.swift",
"StandardLibrary/Bool+Utils.swift",
"StandardLibrary/Character+Utils.swift",
"StandardLibrary/Collection+Utils.swift",
"StandardLibrary/Dictionary+Utils.swift",
"StandardLibrary/FixedWidthInteger+Utils.swift",
"StandardLibrary/FloatingPoint+Utils.swift",
"StandardLibrary/Operators.swift",
"StandardLibrary/Optional+Utils.swift",
"StandardLibrary/RangeReplaceableCollection+Utils.swift",
"StandardLibrary/Sequence+Utils.swift",
"StandardLibrary/SignedInteger.swift",
"StandardLibrary/String+Utils.swift",
"StandardLibrary/Unicode+Utils.swift",
"UIKit/UIButton+Utils.swift",
"UIKit/UIDevice+Utils.swift",
"UIKit/UIEdgeInsets+Utils.swift",
"UIKit/UIGestureRecognizer+Utils.swift",
"UIKit/UIImage+Utils.swift",
"UIKit/UILayoutPriority+Utils.swift",
"UIKit/UIStackView+Utils.swift",
"UIKit/UIView+Utils.swift",
"UIKit/UIViewController+Utils.swift",
"UIKit/UIWindow+Utils.swift"
],
"type" : "library"
},
{
"c99name" : "FoundationTests",
"module_type" : "SwiftTarget",
"name" : "FoundationTests",
"path" : "Tests/FoundationTests",
"sources" : [
"BundleInfoTests.swift",
"CalendarUtilsTests.swift",
"DataUtilsTests.swift",
"DateUtilsTests.swift",
"DictionaryFoundationUtilsTests.swift",
"DispatchQueueUtilsTests.swift",
"FileManagerUtilsTests.swift",
"FoundationUtilsTests.swift",
"LocaleUtilsTests.swift",
"NSAttributedStringUtilsTests.swift",
"NSMutableAttributedStringUtilsTests.swift",
"NSObjectProtocolUtils.swift",
"NSPredicateUtilsTests.swift",
"ProcessInfoTests.swift",
"StatUtilsTests.swift",
"StringFoundationUtilsTests.swift",
"URLRequestUtilsTests.swift",
"URLUtilsTests.swift",
"UserDefaultsUtilsTests.swift"
],
"target_dependencies" : [
"Mechanica"
],
"type" : "test"
},
{
"c99name" : "AppKitTests",
"module_type" : "SwiftTarget",
"name" : "AppKitTests",
"path" : "Tests/AppKitTests",
"sources" : [
"NSImageUtilsTests.swift",
"_Resources.swift"
],
"target_dependencies" : [
"Mechanica"
],
"type" : "test"
},
{
"c99name" : "AVFoundationTests",
"module_type" : "SwiftTarget",
"name" : "AVFoundationTests",
"path" : "Tests/AVFoundationTests",
"sources" : [
"AVAssetUtilsTests.swift"
],
"target_dependencies" : [
"Mechanica"
],
"type" : "test"
}
],
"tools_version" : "5.2"
}
Done.