Build Information
Successful build of Extension, reference 0.9.2 (0eef34
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 10:14:11 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/DingSoung/Extension.git
Reference: 0.9.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DingSoung/Extension
* tag 0.9.2 -> FETCH_HEAD
HEAD is now at 0eef340 chore: update swift 5
Cloned https://github.com/DingSoung/Extension.git
Revision (git rev-parse @):
0eef3409442c7a47bfd2df6f2fc6b192393205ac
SUCCESS checkout https://github.com/DingSoung/Extension.git at 0.9.2
========================================
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": "extension",
"name": "Extension",
"url": "https://github.com/DingSoung/Extension.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Extension",
"dependencies": [
]
}
]
}
Fetching https://github.com/DingSoung/Extension.git
[1/2590] Fetching extension
Fetched https://github.com/DingSoung/Extension.git from cache (7.79s)
Creating working copy for https://github.com/DingSoung/Extension.git
Working copy of https://github.com/DingSoung/Extension.git resolved at 0.9.2 (0eef340)
warning: '.resolve-product-dependencies': dependency 'extension' 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/DingSoung/Extension.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/57] Emitting module Extension
/Users/admin/builder/spi-builder-workspace/Sources/Dispatch/DispatchQueue+once.swift:8:24: warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension DispatchQueue {
8 | private static var onceTracker = [String]()
| |- warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onceTracker' 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
9 |
10 | /// excuse on current thread once
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:10:20: warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | extension Bundle {
9 | private struct AssociatedKeys {
10 | static var languageCode = "languageCode"
| |- warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'languageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'languageCode' 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 | // bundle run time code en, zh_Hans ect, to update localization source without restart
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:40:15: warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
38 | }
39 |
40 | private class BundleEx: Bundle {
| `- warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
41 | fileprivate override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String {
42 | if let bundle = runTimeBundle {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/CGFloat+String.swift:4:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
2 | import CoreGraphics
3 |
4 | extension CGFloat: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/SCNetworkReachability/SCNetworkReachability+update.swift:12:24: warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public typealias UpdateBlock = @convention(block) (SCNetworkReachability) -> Void
11 |
12 | private static let association = Association<NSMapTable<NSString, AnyObject>>()
| |- warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'association' 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
13 | private var blocks: NSMapTable<NSString, AnyObject> {
14 | if let blocks = SCNetworkReachability.association[self] {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+Association.swift:7:20: note: generic class 'Association' does not conform to the 'Sendable' protocol
5 | import ObjectiveC.runtime
6 |
7 | public final class Association<T: Any> {
| `- note: generic class 'Association' does not conform to the 'Sendable' protocol
8 | private let policy: objc_AssociationPolicy
9 | /// - Parameter policy: An association policy that will be used when linking objects.
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/URL+String.swift:4:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import Foundation
3 |
4 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Float+String.swift:1:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Float: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Int+String.swift:1:1: warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Int: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+log.swift:24:16: 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
22 |
23 | private struct Log: TextOutputStream {
24 | static var shared = Log()
| |- 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
25 | #if DEBUG
26 | let file = "debug_log.txt"
[4/63] Compiling Extension UITableView+UIImage.swift
[5/63] Compiling Extension UILabel+chainable.swift
[6/63] Compiling Extension UIView+chainable.swift
[7/63] Compiling Extension WKWebView+contentView.swift
[8/63] Compiling Extension WKWebView+input.swift
[9/63] Compiling Extension WKWebView+registerScheme.swift
[10/63] Compiling Extension Image+Process.swift
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:15:49: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
13 | let imp = imp_implementationWithBlock(castedBlock)
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
17 | })
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:16:59: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
17 | })
18 | return aSelector
[11/63] Compiling Extension Image+pdf.swift
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:15:49: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
13 | let imp = imp_implementationWithBlock(castedBlock)
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
17 | })
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:16:59: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
17 | })
18 | return aSelector
[12/63] Compiling Extension Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:15:49: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
13 | let imp = imp_implementationWithBlock(castedBlock)
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
17 | })
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:16:59: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
17 | })
18 | return aSelector
[13/63] Compiling Extension VIew+UIImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:15:49: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
13 | let imp = imp_implementationWithBlock(castedBlock)
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
17 | })
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:16:59: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
17 | })
18 | return aSelector
[14/63] Compiling Extension View.swift
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:15:49: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
13 | let imp = imp_implementationWithBlock(castedBlock)
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
17 | })
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:16:59: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
17 | })
18 | return aSelector
[15/63] Compiling Extension runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:15:49: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
13 | let imp = imp_implementationWithBlock(castedBlock)
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
17 | })
/Users/admin/builder/spi-builder-workspace/Sources/Common/runtime.swift:16:59: warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
14 | classes.forEach({ (cls) in
15 | if class_addMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) {
16 | } else { class_replaceMethod(cls, aSelector, imp, UnsafeMutablePointer(mutating: types)) }
| | |- note: implicit argument conversion from 'String' to 'UnsafePointer<Int8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withCString' method on String in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Int8>' results in a dangling pointer
17 | })
18 | return aSelector
[16/63] Compiling Extension Data+MIMEType.swift
[17/63] Compiling Extension Dictionary+MIMEType.swift
[18/63] Compiling Extension HTTPCookieStorage+setCookie.swift
[19/63] Compiling Extension KeyChain.swift
[20/63] Compiling Extension Locale+Localization.swift
[21/63] Compiling Extension SCNetworkReachability+flags.swift
[22/63] Compiling Extension NSString+Size.swift
[23/63] Compiling Extension UIApplication+EventTrack.swift
[24/63] Compiling Extension UIControl+Event.swift
[25/63] Compiling Extension UIFont+SymbolicTraits.swift
[26/63] Compiling Extension UINavigationController+Autorotate.swift
[27/63] Compiling Extension UIResponder+Keyboard.swift
[28/63] Compiling Extension SCNetworkReachability+new.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/SCNetworkReachability/SCNetworkReachability+update.swift:12:24: warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public typealias UpdateBlock = @convention(block) (SCNetworkReachability) -> Void
11 |
12 | private static let association = Association<NSMapTable<NSString, AnyObject>>()
| |- warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'association' 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
13 | private var blocks: NSMapTable<NSString, AnyObject> {
14 | if let blocks = SCNetworkReachability.association[self] {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+Association.swift:7:20: note: generic class 'Association' does not conform to the 'Sendable' protocol
5 | import ObjectiveC.runtime
6 |
7 | public final class Association<T: Any> {
| `- note: generic class 'Association' does not conform to the 'Sendable' protocol
8 | private let policy: objc_AssociationPolicy
9 | /// - Parameter policy: An association policy that will be used when linking objects.
[29/63] Compiling Extension SCNetworkReachability+update.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/SCNetworkReachability/SCNetworkReachability+update.swift:12:24: warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public typealias UpdateBlock = @convention(block) (SCNetworkReachability) -> Void
11 |
12 | private static let association = Association<NSMapTable<NSString, AnyObject>>()
| |- warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'association' 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
13 | private var blocks: NSMapTable<NSString, AnyObject> {
14 | if let blocks = SCNetworkReachability.association[self] {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+Association.swift:7:20: note: generic class 'Association' does not conform to the 'Sendable' protocol
5 | import ObjectiveC.runtime
6 |
7 | public final class Association<T: Any> {
| `- note: generic class 'Association' does not conform to the 'Sendable' protocol
8 | private let policy: objc_AssociationPolicy
9 | /// - Parameter policy: An association policy that will be used when linking objects.
[30/63] Compiling Extension String+Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/SCNetworkReachability/SCNetworkReachability+update.swift:12:24: warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public typealias UpdateBlock = @convention(block) (SCNetworkReachability) -> Void
11 |
12 | private static let association = Association<NSMapTable<NSString, AnyObject>>()
| |- warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'association' 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
13 | private var blocks: NSMapTable<NSString, AnyObject> {
14 | if let blocks = SCNetworkReachability.association[self] {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+Association.swift:7:20: note: generic class 'Association' does not conform to the 'Sendable' protocol
5 | import ObjectiveC.runtime
6 |
7 | public final class Association<T: Any> {
| `- note: generic class 'Association' does not conform to the 'Sendable' protocol
8 | private let policy: objc_AssociationPolicy
9 | /// - Parameter policy: An association policy that will be used when linking objects.
[31/63] Compiling Extension String+URLEscaped.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/SCNetworkReachability/SCNetworkReachability+update.swift:12:24: warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public typealias UpdateBlock = @convention(block) (SCNetworkReachability) -> Void
11 |
12 | private static let association = Association<NSMapTable<NSString, AnyObject>>()
| |- warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'association' 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
13 | private var blocks: NSMapTable<NSString, AnyObject> {
14 | if let blocks = SCNetworkReachability.association[self] {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+Association.swift:7:20: note: generic class 'Association' does not conform to the 'Sendable' protocol
5 | import ObjectiveC.runtime
6 |
7 | public final class Association<T: Any> {
| `- note: generic class 'Association' does not conform to the 'Sendable' protocol
8 | private let policy: objc_AssociationPolicy
9 | /// - Parameter policy: An association policy that will be used when linking objects.
[32/63] Compiling Extension String+base64.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/SCNetworkReachability/SCNetworkReachability+update.swift:12:24: warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public typealias UpdateBlock = @convention(block) (SCNetworkReachability) -> Void
11 |
12 | private static let association = Association<NSMapTable<NSString, AnyObject>>()
| |- warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'association' 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
13 | private var blocks: NSMapTable<NSString, AnyObject> {
14 | if let blocks = SCNetworkReachability.association[self] {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+Association.swift:7:20: note: generic class 'Association' does not conform to the 'Sendable' protocol
5 | import ObjectiveC.runtime
6 |
7 | public final class Association<T: Any> {
| `- note: generic class 'Association' does not conform to the 'Sendable' protocol
8 | private let policy: objc_AssociationPolicy
9 | /// - Parameter policy: An association policy that will be used when linking objects.
[33/63] Compiling Extension URL+Cookie.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/SCNetworkReachability/SCNetworkReachability+update.swift:12:24: warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public typealias UpdateBlock = @convention(block) (SCNetworkReachability) -> Void
11 |
12 | private static let association = Association<NSMapTable<NSString, AnyObject>>()
| |- warning: static property 'association' is not concurrency-safe because non-'Sendable' type 'Association<NSMapTable<NSString, AnyObject>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'association' 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
13 | private var blocks: NSMapTable<NSString, AnyObject> {
14 | if let blocks = SCNetworkReachability.association[self] {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+Association.swift:7:20: note: generic class 'Association' does not conform to the 'Sendable' protocol
5 | import ObjectiveC.runtime
6 |
7 | public final class Association<T: Any> {
| `- note: generic class 'Association' does not conform to the 'Sendable' protocol
8 | private let policy: objc_AssociationPolicy
9 | /// - Parameter policy: An association policy that will be used when linking objects.
[34/63] Compiling Extension URL+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/URL+String.swift:4:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import Foundation
3 |
4 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Float+String.swift:1:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Float: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
[35/63] Compiling Extension URL+query.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/URL+String.swift:4:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import Foundation
3 |
4 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Float+String.swift:1:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Float: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
[36/63] Compiling Extension UserDefaults+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/URL+String.swift:4:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import Foundation
3 |
4 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Float+String.swift:1:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Float: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
[37/63] Compiling Extension UserDefaults+subscript.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/URL+String.swift:4:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import Foundation
3 |
4 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Float+String.swift:1:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Float: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
[38/63] Compiling Extension NSAttribute+chainable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/URL+String.swift:4:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import Foundation
3 |
4 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Float+String.swift:1:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Float: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
[39/63] Compiling Extension Float+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/URL+String.swift:4:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import Foundation
3 |
4 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Float+String.swift:1:1: warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Float: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
[40/63] Compiling Extension Int+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Int+String.swift:1:1: warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Int: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+log.swift:24:16: 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
22 |
23 | private struct Log: TextOutputStream {
24 | static var shared = Log()
| |- 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
25 | #if DEBUG
26 | let file = "debug_log.txt"
[41/63] Compiling Extension String+regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Int+String.swift:1:1: warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Int: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+log.swift:24:16: 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
22 |
23 | private struct Log: TextOutputStream {
24 | static var shared = Log()
| |- 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
25 | #if DEBUG
26 | let file = "debug_log.txt"
[42/63] Compiling Extension Swift+Association.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Int+String.swift:1:1: warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Int: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+log.swift:24:16: 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
22 |
23 | private struct Log: TextOutputStream {
24 | static var shared = Log()
| |- 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
25 | #if DEBUG
26 | let file = "debug_log.txt"
[43/63] Compiling Extension Swift+closuer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Int+String.swift:1:1: warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Int: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+log.swift:24:16: 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
22 |
23 | private struct Log: TextOutputStream {
24 | static var shared = Log()
| |- 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
25 | #if DEBUG
26 | let file = "debug_log.txt"
[44/63] Compiling Extension Swift+log.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Int+String.swift:1:1: warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Int: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+log.swift:24:16: 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
22 |
23 | private struct Log: TextOutputStream {
24 | static var shared = Log()
| |- 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
25 | #if DEBUG
26 | let file = "debug_log.txt"
[45/63] Compiling Extension Swift+synchronized.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Int+String.swift:1:1: warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1 | extension Int: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
2 | public typealias StringLiteralType = String
3 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Swift+log.swift:24:16: 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
22 |
23 | private struct Log: TextOutputStream {
24 | static var shared = Log()
| |- 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
25 | #if DEBUG
26 | let file = "debug_log.txt"
[46/63] Compiling Extension ApplicationMainDelegate.swift
[47/63] Compiling Extension Array+UIImage.swift
[48/63] Compiling Extension CGRect+Float.swift
[49/63] Compiling Extension CGSize+Float.swift
[50/63] Compiling Extension CGpoint+Float.swift
[51/63] Compiling Extension NSAttributedString+Content.swift
[52/63] Compiling Extension DispatchQueue+once.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dispatch/DispatchQueue+once.swift:8:24: warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension DispatchQueue {
8 | private static var onceTracker = [String]()
| |- warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onceTracker' 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
9 |
10 | /// excuse on current thread once
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:10:20: warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | extension Bundle {
9 | private struct AssociatedKeys {
10 | static var languageCode = "languageCode"
| |- warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'languageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'languageCode' 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 | // bundle run time code en, zh_Hans ect, to update localization source without restart
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:40:15: warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
38 | }
39 |
40 | private class BundleEx: Bundle {
| `- warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
41 | fileprivate override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String {
42 | if let bundle = runTimeBundle {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/CGFloat+String.swift:4:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
2 | import CoreGraphics
3 |
4 | extension CGFloat: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:21:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
19 | let runTimeBundle = Bundle(path: path)
20 | objc_setAssociatedObject(self,
21 | &AssociatedKeys.languageCode,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | runTimeBundle,
23 | objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:36:47: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
34 | }
35 | fileprivate var runTimeBundle: Bundle? {
36 | return objc_getAssociatedObject(self, &AssociatedKeys.languageCode) as? Bundle
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
37 | }
38 | }
[53/63] Compiling Extension Array+JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dispatch/DispatchQueue+once.swift:8:24: warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension DispatchQueue {
8 | private static var onceTracker = [String]()
| |- warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onceTracker' 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
9 |
10 | /// excuse on current thread once
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:10:20: warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | extension Bundle {
9 | private struct AssociatedKeys {
10 | static var languageCode = "languageCode"
| |- warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'languageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'languageCode' 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 | // bundle run time code en, zh_Hans ect, to update localization source without restart
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:40:15: warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
38 | }
39 |
40 | private class BundleEx: Bundle {
| `- warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
41 | fileprivate override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String {
42 | if let bundle = runTimeBundle {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/CGFloat+String.swift:4:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
2 | import CoreGraphics
3 |
4 | extension CGFloat: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:21:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
19 | let runTimeBundle = Bundle(path: path)
20 | objc_setAssociatedObject(self,
21 | &AssociatedKeys.languageCode,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | runTimeBundle,
23 | objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:36:47: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
34 | }
35 | fileprivate var runTimeBundle: Bundle? {
36 | return objc_getAssociatedObject(self, &AssociatedKeys.languageCode) as? Bundle
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
37 | }
38 | }
[54/63] Compiling Extension Array+cookieString.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dispatch/DispatchQueue+once.swift:8:24: warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension DispatchQueue {
8 | private static var onceTracker = [String]()
| |- warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onceTracker' 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
9 |
10 | /// excuse on current thread once
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:10:20: warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | extension Bundle {
9 | private struct AssociatedKeys {
10 | static var languageCode = "languageCode"
| |- warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'languageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'languageCode' 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 | // bundle run time code en, zh_Hans ect, to update localization source without restart
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:40:15: warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
38 | }
39 |
40 | private class BundleEx: Bundle {
| `- warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
41 | fileprivate override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String {
42 | if let bundle = runTimeBundle {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/CGFloat+String.swift:4:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
2 | import CoreGraphics
3 |
4 | extension CGFloat: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:21:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
19 | let runTimeBundle = Bundle(path: path)
20 | objc_setAssociatedObject(self,
21 | &AssociatedKeys.languageCode,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | runTimeBundle,
23 | objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:36:47: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
34 | }
35 | fileprivate var runTimeBundle: Bundle? {
36 | return objc_getAssociatedObject(self, &AssociatedKeys.languageCode) as? Bundle
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
37 | }
38 | }
[55/63] Compiling Extension Bundle+Localization.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dispatch/DispatchQueue+once.swift:8:24: warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension DispatchQueue {
8 | private static var onceTracker = [String]()
| |- warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onceTracker' 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
9 |
10 | /// excuse on current thread once
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:10:20: warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | extension Bundle {
9 | private struct AssociatedKeys {
10 | static var languageCode = "languageCode"
| |- warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'languageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'languageCode' 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 | // bundle run time code en, zh_Hans ect, to update localization source without restart
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:40:15: warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
38 | }
39 |
40 | private class BundleEx: Bundle {
| `- warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
41 | fileprivate override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String {
42 | if let bundle = runTimeBundle {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/CGFloat+String.swift:4:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
2 | import CoreGraphics
3 |
4 | extension CGFloat: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:21:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
19 | let runTimeBundle = Bundle(path: path)
20 | objc_setAssociatedObject(self,
21 | &AssociatedKeys.languageCode,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | runTimeBundle,
23 | objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:36:47: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
34 | }
35 | fileprivate var runTimeBundle: Bundle? {
36 | return objc_getAssociatedObject(self, &AssociatedKeys.languageCode) as? Bundle
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
37 | }
38 | }
[56/63] Compiling Extension CFAbsoluteTime+init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dispatch/DispatchQueue+once.swift:8:24: warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension DispatchQueue {
8 | private static var onceTracker = [String]()
| |- warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onceTracker' 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
9 |
10 | /// excuse on current thread once
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:10:20: warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | extension Bundle {
9 | private struct AssociatedKeys {
10 | static var languageCode = "languageCode"
| |- warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'languageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'languageCode' 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 | // bundle run time code en, zh_Hans ect, to update localization source without restart
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:40:15: warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
38 | }
39 |
40 | private class BundleEx: Bundle {
| `- warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
41 | fileprivate override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String {
42 | if let bundle = runTimeBundle {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/CGFloat+String.swift:4:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
2 | import CoreGraphics
3 |
4 | extension CGFloat: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:21:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
19 | let runTimeBundle = Bundle(path: path)
20 | objc_setAssociatedObject(self,
21 | &AssociatedKeys.languageCode,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | runTimeBundle,
23 | objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:36:47: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
34 | }
35 | fileprivate var runTimeBundle: Bundle? {
36 | return objc_getAssociatedObject(self, &AssociatedKeys.languageCode) as? Bundle
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
37 | }
38 | }
[57/63] Compiling Extension CGFloat+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dispatch/DispatchQueue+once.swift:8:24: warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension DispatchQueue {
8 | private static var onceTracker = [String]()
| |- warning: static property 'onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onceTracker' 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
9 |
10 | /// excuse on current thread once
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:10:20: warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | extension Bundle {
9 | private struct AssociatedKeys {
10 | static var languageCode = "languageCode"
| |- warning: static property 'languageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'languageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'languageCode' 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 | // bundle run time code en, zh_Hans ect, to update localization source without restart
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:40:15: warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
38 | }
39 |
40 | private class BundleEx: Bundle {
| `- warning: class 'BundleEx' must restate inherited '@unchecked Sendable' conformance
41 | fileprivate override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String {
42 | if let bundle = runTimeBundle {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/CGFloat+String.swift:4:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
2 | import CoreGraphics
3 |
4 | extension CGFloat: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public typealias StringLiteralType = String
6 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:21:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
19 | let runTimeBundle = Bundle(path: path)
20 | objc_setAssociatedObject(self,
21 | &AssociatedKeys.languageCode,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | runTimeBundle,
23 | objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Bundle+Localization.swift:36:47: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
34 | }
35 | fileprivate var runTimeBundle: Bundle? {
36 | return objc_getAssociatedObject(self, &AssociatedKeys.languageCode) as? Bundle
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
37 | }
38 | }
[58/63] Compiling Extension Color+components.swift
[59/63] Compiling Extension Color+css.swift
[60/63] Compiling Extension Color+hex.swift
[61/63] Compiling Extension Color+rgba.swift
[62/63] Compiling Extension Color.swift
[63/63] Compiling Extension Image+CoreGraphics.swift
Build complete! (14.71s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Extension",
"name" : "Extension",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "Extension",
"targets" : [
"Extension"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Extension",
"module_type" : "SwiftTarget",
"name" : "Extension",
"path" : "Sources",
"product_memberships" : [
"Extension"
],
"sources" : [
"Common/Color/Color+components.swift",
"Common/Color/Color+css.swift",
"Common/Color/Color+hex.swift",
"Common/Color/Color+rgba.swift",
"Common/Color/Color.swift",
"Common/Image/Image+CoreGraphics.swift",
"Common/Image/Image+Process.swift",
"Common/Image/Image+pdf.swift",
"Common/Image/Image.swift",
"Common/View/VIew+UIImage.swift",
"Common/View/View.swift",
"Common/runtime.swift",
"Dispatch/DispatchQueue+once.swift",
"Foundation/Array+JSON.swift",
"Foundation/Array+cookieString.swift",
"Foundation/Bundle+Localization.swift",
"Foundation/CFAbsoluteTime+init.swift",
"Foundation/CGFloat+String.swift",
"Foundation/Data+MIMEType.swift",
"Foundation/Dictionary+MIMEType.swift",
"Foundation/HTTPCookieStorage+setCookie.swift",
"Foundation/KeyChain.swift",
"Foundation/Locale+Localization.swift",
"Foundation/SCNetworkReachability/SCNetworkReachability+flags.swift",
"Foundation/SCNetworkReachability/SCNetworkReachability+new.swift",
"Foundation/SCNetworkReachability/SCNetworkReachability+update.swift",
"Foundation/String+Dictionary.swift",
"Foundation/String+URLEscaped.swift",
"Foundation/String+base64.swift",
"Foundation/URL+Cookie.swift",
"Foundation/URL+String.swift",
"Foundation/URL+query.swift",
"Foundation/UserDefaults+Codable.swift",
"Foundation/UserDefaults+subscript.swift",
"Foundation/chainable/NSAttribute+chainable.swift",
"Swift/Float+String.swift",
"Swift/Int+String.swift",
"Swift/String+regex.swift",
"Swift/Swift+Association.swift",
"Swift/Swift+closuer.swift",
"Swift/Swift+log.swift",
"Swift/Swift+synchronized.swift",
"UIKit/ApplicationMainDelegate.swift",
"UIKit/Array+UIImage.swift",
"UIKit/CGRect+Float.swift",
"UIKit/CGSize+Float.swift",
"UIKit/CGpoint+Float.swift",
"UIKit/NSAttributedString+Content.swift",
"UIKit/NSString+Size.swift",
"UIKit/UIApplication+EventTrack.swift",
"UIKit/UIControl+Event.swift",
"UIKit/UIFont+SymbolicTraits.swift",
"UIKit/UINavigationController+Autorotate.swift",
"UIKit/UIResponder+Keyboard.swift",
"UIKit/UITableView+UIImage.swift",
"UIKit/chainable/UILabel+chainable.swift",
"UIKit/chainable/UIView+chainable.swift",
"WebKit/WKWebView+contentView.swift",
"WebKit/WKWebView+input.swift",
"WebKit/WKWebView+registerScheme.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.