Build Information
Successful build of Swiftlier, reference master (e1f789
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:30:45 UTC.
Swift 6 data race errors: 9
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/drewag/swiftlier.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/drewag/swiftlier
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e1f7897 [BF] Fix azure tests
Cloned https://github.com/drewag/swiftlier.git
Revision (git rev-parse @):
e1f78972b8a19cfff3248603d1a97f66ef9ef591
SUCCESS checkout https://github.com/drewag/swiftlier.git at master
========================================
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": "swiftlier",
"name": "Swiftlier",
"url": "https://github.com/drewag/swiftlier.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftlier",
"dependencies": [
]
}
]
}
Fetching https://github.com/drewag/swiftlier.git
[1/4568] Fetching swiftlier
Fetched https://github.com/drewag/swiftlier.git from cache (2.32s)
Creating working copy for https://github.com/drewag/swiftlier.git
Working copy of https://github.com/drewag/swiftlier.git resolved at master (e1f7897)
warning: '.resolve-product-dependencies': dependency 'swiftlier' 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/drewag/swiftlier.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/59] Emitting module Swiftlier
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 | associatedtype CallbackParam
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:127:20: warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | struct Static {
127 | static var DefaultInsance = EventCenter()
| |- warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultInsance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'DefaultInsance' 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
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Types/Angle.swift:21:12: warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public let π = Angle(radians: Float.pi)
| |- warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'π' 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
22 |
23 | public struct Angle<Value: AngleValue>: Equatable, Comparable {
| `- note: consider making generic struct 'Angle' conform to the 'Sendable' protocol
24 | public enum Unit {
25 | case radians
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/Date+Testable.swift:11:13: warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var faked: (base: Date, started: Date)?
| |- warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | extension Date {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- note: expected sendability to match requirement here
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
18 | }
19 |
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:15: warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:15: warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:15: warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
[4/65] Compiling Swiftlier OperationBasedError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[5/65] Compiling Swiftlier OtherSwiftlierError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[6/65] Compiling Swiftlier SwiftlierError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[7/65] Compiling Swiftlier SwiftlierResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[8/65] Compiling Swiftlier FileSystem+iOSDirectories.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[9/65] Compiling Swiftlier FileSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[10/65] Compiling Swiftlier Data+Base64.swift
[11/65] Compiling Swiftlier Date+Formatting.swift
[12/65] Compiling Swiftlier Double+Formatting.swift
[13/65] Compiling Swiftlier HeartRateFormatter.swift
[14/65] Compiling Swiftlier TimeInterval+Formatting.swift
[15/65] Compiling Swiftlier BinarySearchTree.swift
[16/65] Compiling Swiftlier UniquelyIdentifiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/Date+Testable.swift:11:13: warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var faked: (base: Date, started: Date)?
| |- warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | extension Date {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- note: expected sendability to match requirement here
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
18 | }
19 |
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:15: warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:15: warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:15: warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
[17/65] Compiling Swiftlier CSVStreamReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/Date+Testable.swift:11:13: warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var faked: (base: Date, started: Date)?
| |- warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | extension Date {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- note: expected sendability to match requirement here
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
18 | }
19 |
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:15: warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:15: warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:15: warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
[18/65] Compiling Swiftlier DelimiterStreamReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/Date+Testable.swift:11:13: warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var faked: (base: Date, started: Date)?
| |- warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | extension Date {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- note: expected sendability to match requirement here
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
18 | }
19 |
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:15: warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:15: warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:15: warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
[19/65] Compiling Swiftlier StreamReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/Date+Testable.swift:11:13: warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var faked: (base: Date, started: Date)?
| |- warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | extension Date {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- note: expected sendability to match requirement here
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
18 | }
19 |
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:15: warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:15: warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:15: warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
[20/65] Compiling Swiftlier Date+Testable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/Date+Testable.swift:11:13: warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var faked: (base: Date, started: Date)?
| |- warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | extension Date {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- note: expected sendability to match requirement here
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
18 | }
19 |
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:15: warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:15: warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:15: warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
[21/65] Compiling Swiftlier URLSession+Testing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/Date+Testable.swift:11:13: warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var faked: (base: Date, started: Date)?
| |- warning: var 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | extension Date {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- note: expected sendability to match requirement here
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'uploadTask(with:fromFile:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
18 | }
19 |
:
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'AnyURLSession'; this is an error in the Swift 6 language mode
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:15: warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- warning: class 'TestURLSessionUploadTask' must restate inherited '@unchecked Sendable' conformance
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:15: warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- warning: class 'TestURLSessionDownloadTask' must restate inherited '@unchecked Sendable' conformance
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:15: warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- warning: class 'TestURLSessionDataTask' must restate inherited '@unchecked Sendable' conformance
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
[22/65] Compiling Swiftlier Data+Processing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:19:50: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 | /// - seconds: Number of seconds to wait to perform the work
16 | /// - work: Work to execute after delay
17 | public func asyncAfter(seconds: TimeInterval, execute work: @escaping @convention(block) () -> ()) {
| `- note: parameter 'work' is implicitly non-sendable
18 | let time = DispatchTime.now() + seconds
19 | self.asyncAfter(deadline: time, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
20 | }
21 | }
[23/65] Compiling Swiftlier Date+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:19:50: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 | /// - seconds: Number of seconds to wait to perform the work
16 | /// - work: Work to execute after delay
17 | public func asyncAfter(seconds: TimeInterval, execute work: @escaping @convention(block) () -> ()) {
| `- note: parameter 'work' is implicitly non-sendable
18 | let time = DispatchTime.now() + seconds
19 | self.asyncAfter(deadline: time, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
20 | }
21 | }
[24/65] Compiling Swiftlier DispatchQueue+Enhancements.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:19:50: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 | /// - seconds: Number of seconds to wait to perform the work
16 | /// - work: Work to execute after delay
17 | public func asyncAfter(seconds: TimeInterval, execute work: @escaping @convention(block) () -> ()) {
| `- note: parameter 'work' is implicitly non-sendable
18 | let time = DispatchTime.now() + seconds
19 | self.asyncAfter(deadline: time, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
20 | }
21 | }
[25/65] Compiling Swiftlier String+Enhancements.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:19:50: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 | /// - seconds: Number of seconds to wait to perform the work
16 | /// - work: Work to execute after delay
17 | public func asyncAfter(seconds: TimeInterval, execute work: @escaping @convention(block) () -> ()) {
| `- note: parameter 'work' is implicitly non-sendable
18 | let time = DispatchTime.now() + seconds
19 | self.asyncAfter(deadline: time, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
20 | }
21 | }
[26/65] Compiling Swiftlier URL+Enhancements.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:19:50: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 | /// - seconds: Number of seconds to wait to perform the work
16 | /// - work: Work to execute after delay
17 | public func asyncAfter(seconds: TimeInterval, execute work: @escaping @convention(block) () -> ()) {
| `- note: parameter 'work' is implicitly non-sendable
18 | let time = DispatchTime.now() + seconds
19 | self.asyncAfter(deadline: time, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
20 | }
21 | }
[27/65] Compiling Swiftlier AnySwiftlierError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:19:50: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 | /// - seconds: Number of seconds to wait to perform the work
16 | /// - work: Work to execute after delay
17 | public func asyncAfter(seconds: TimeInterval, execute work: @escaping @convention(block) () -> ()) {
| `- note: parameter 'work' is implicitly non-sendable
18 | let time = DispatchTime.now() + seconds
19 | self.asyncAfter(deadline: time, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
20 | }
21 | }
[28/65] Compiling Swiftlier GenericSwiftlierError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:19:50: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 | /// - seconds: Number of seconds to wait to perform the work
16 | /// - work: Work to execute after delay
17 | public func asyncAfter(seconds: TimeInterval, execute work: @escaping @convention(block) () -> ()) {
| `- note: parameter 'work' is implicitly non-sendable
18 | let time = DispatchTime.now() + seconds
19 | self.asyncAfter(deadline: time, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
20 | }
21 | }
[29/65] Compiling Swiftlier Path+Coding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[30/65] Compiling Swiftlier Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[31/65] Compiling Swiftlier PersistenceService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[32/65] Compiling Swiftlier ReferenceTypePersistenceService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[33/65] Compiling Swiftlier ValueTypePersistenceService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[34/65] Compiling Swiftlier Bool+Formatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/FileSystem/FileSystem.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileSystem {
| `- note: consider making struct 'FileSystem' conform to the 'Sendable' protocol
17 | public static let `default` = FileSystem()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public var workingDirectory: DirectoryPath {
[35/65] Compiling Swiftlier LimitedQueue.swift
[36/65] Compiling Swiftlier OrderedDictionary.swift
[37/65] Compiling Swiftlier PatchyRange.swift
[38/65] Compiling Swiftlier SelectableValue.swift
[39/65] Compiling Swiftlier Syncable.swift
[40/65] Compiling Swiftlier WeakWrapper.swift
[41/65] Compiling Swiftlier Angle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Types/Angle.swift:21:12: warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public let π = Angle(radians: Float.pi)
| |- warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'π' 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
22 |
23 | public struct Angle<Value: AngleValue>: Equatable, Comparable {
| `- note: consider making generic struct 'Angle' conform to the 'Sendable' protocol
24 | public enum Unit {
25 | case radians
[42/65] Compiling Swiftlier Day.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Types/Angle.swift:21:12: warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public let π = Angle(radians: Float.pi)
| |- warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'π' 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
22 |
23 | public struct Angle<Value: AngleValue>: Equatable, Comparable {
| `- note: consider making generic struct 'Angle' conform to the 'Sendable' protocol
24 | public enum Unit {
25 | case radians
[43/65] Compiling Swiftlier EmailAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Types/Angle.swift:21:12: warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public let π = Angle(radians: Float.pi)
| |- warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'π' 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
22 |
23 | public struct Angle<Value: AngleValue>: Equatable, Comparable {
| `- note: consider making generic struct 'Angle' conform to the 'Sendable' protocol
24 | public enum Unit {
25 | case radians
[44/65] Compiling Swiftlier HTML.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Types/Angle.swift:21:12: warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public let π = Angle(radians: Float.pi)
| |- warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'π' 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
22 |
23 | public struct Angle<Value: AngleValue>: Equatable, Comparable {
| `- note: consider making generic struct 'Angle' conform to the 'Sendable' protocol
24 | public enum Unit {
25 | case radians
[45/65] Compiling Swiftlier Mass.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Types/Angle.swift:21:12: warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public let π = Angle(radians: Float.pi)
| |- warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'π' 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
22 |
23 | public struct Angle<Value: AngleValue>: Equatable, Comparable {
| `- note: consider making generic struct 'Angle' conform to the 'Sendable' protocol
24 | public enum Unit {
25 | case radians
[46/65] Compiling Swiftlier Price.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Types/Angle.swift:21:12: warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public let π = Angle(radians: Float.pi)
| |- warning: let 'π' is not concurrency-safe because non-'Sendable' type 'Angle<Float>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'π' 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
22 |
23 | public struct Angle<Value: AngleValue>: Equatable, Comparable {
| `- note: consider making generic struct 'Angle' conform to the 'Sendable' protocol
24 | public enum Unit {
25 | case radians
[47/65] Compiling Swiftlier EventCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 | associatedtype CallbackParam
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:127:20: warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | struct Static {
127 | static var DefaultInsance = EventCenter()
| |- warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultInsance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'DefaultInsance' 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
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:30: warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:73: warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[48/65] Compiling Swiftlier MultiCallback.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 | associatedtype CallbackParam
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:127:20: warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | struct Static {
127 | static var DefaultInsance = EventCenter()
| |- warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultInsance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'DefaultInsance' 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
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:30: warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:73: warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[49/65] Compiling Swiftlier Observable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 | associatedtype CallbackParam
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:127:20: warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | struct Static {
127 | static var DefaultInsance = EventCenter()
| |- warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultInsance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'DefaultInsance' 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
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:30: warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:73: warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[50/65] Compiling Swiftlier ObservableArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 | associatedtype CallbackParam
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:127:20: warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | struct Static {
127 | static var DefaultInsance = EventCenter()
| |- warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultInsance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'DefaultInsance' 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
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:30: warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:73: warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[51/65] Compiling Swiftlier ObservableDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 | associatedtype CallbackParam
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:127:20: warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | struct Static {
127 | static var DefaultInsance = EventCenter()
| |- warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultInsance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'DefaultInsance' 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
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:30: warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:73: warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[52/65] Compiling Swiftlier ObservableReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 | associatedtype CallbackParam
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:127:20: warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | struct Static {
127 | static var DefaultInsance = EventCenter()
| |- warning: static property 'DefaultInsance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultInsance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'DefaultInsance' 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
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:30: warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'spec' with non-sendable type 'EventCenter.CallbackSpec' (aka '(callback: Any, operationQueue: Optional<OperationQueue>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:53:73: warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | if let operationQueue = spec.operationQueue {
52 | operationQueue.addOperation {
53 | (spec.callback as! (E.CallbackParam) -> ())(params)
| `- warning: capture of 'params' with non-sendable type 'E.CallbackParam' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[53/65] Compiling Swiftlier Coding+Helpers.swift
[54/65] Compiling Swiftlier CodingKeys.swift
[55/65] Compiling Swiftlier NativeTypesDecoder.swift
[56/65] Compiling Swiftlier NativeTypesEncoder.swift
[57/65] Compiling Swiftlier PercentEncodable.swift
[58/65] Compiling Swiftlier SpecDecoder.swift
[59/65] Compiling Swiftlier Collection+Enhancments.swift
[60/65] Compiling Swiftlier JSON.swift
[61/65] Compiling Swiftlier NativeTypesStructured.swift
[62/65] Compiling Swiftlier Structured.swift
[63/65] Compiling Swiftlier XML.swift
[64/65] Compiling Swiftlier Age.swift
[65/65] Compiling Swiftlier AlwaysEqual.swift
Build complete! (20.03s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swiftlier",
"name" : "Swiftlier",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Swiftlier",
"targets" : [
"Swiftlier"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftlierTests",
"module_type" : "SwiftTarget",
"name" : "SwiftlierTests",
"path" : "Tests/SwiftlierTests",
"sources" : [
"AgeTests.swift",
"AlwaysEqualTests.swift",
"AngleTests.swift",
"BinarySearchTreeTests.swift",
"Bool_Formatting.swift",
"CSVStreamReaderTests.swift",
"CodingKeysTests.swift",
"Coding_HelpersTests.swift",
"Collection_EnhancementsTests.swift",
"Data_Base64Tests.swift",
"Data_ProcessingTests.swift",
"Date_HelpersTests.swift",
"DayTests.swift",
"DelimiterStreamReaderTests.swift",
"DispatchQueue_EnhancementsTests.swift",
"Double_FormattingTests.swift",
"EmailAddressTests.swift",
"EventCenterTests.swift",
"HTMLTests.swift",
"HeartRateFormatterTests.swift",
"JSONTests.swift",
"LimitedQueueTests.swift",
"MassTests.swift",
"MultiCallbackTests.swift",
"NativeTypesDecoderTests.swift",
"NativeTypesEncoderTests.swift",
"ObservableTests.swift",
"PatchyRangeTests.swift",
"PathTests.swift",
"Path_CodingTests.swift",
"PercentEncodableTests.swift",
"PersistenceServiceTests.swift",
"SpecDecoderTests.swift",
"String_EnhancementsTests.swift",
"TestCodable.swift",
"URL_EnhancementsTests.swift",
"XCTestManifests.swift",
"XMLTests.swift"
],
"target_dependencies" : [
"Swiftlier"
],
"type" : "test"
},
{
"c99name" : "Swiftlier",
"module_type" : "SwiftTarget",
"name" : "Swiftlier",
"path" : "Sources",
"product_memberships" : [
"Swiftlier"
],
"sources" : [
"Swiftlier/Coding/Coding+Helpers.swift",
"Swiftlier/Coding/CodingKeys.swift",
"Swiftlier/Coding/NativeTypesDecoder.swift",
"Swiftlier/Coding/NativeTypesEncoder.swift",
"Swiftlier/Coding/PercentEncodable.swift",
"Swiftlier/Coding/SpecDecoder.swift",
"Swiftlier/Enhancements/Collection+Enhancments.swift",
"Swiftlier/Enhancements/Data+Processing.swift",
"Swiftlier/Enhancements/Date+Helpers.swift",
"Swiftlier/Enhancements/DispatchQueue+Enhancements.swift",
"Swiftlier/Enhancements/String+Enhancements.swift",
"Swiftlier/Enhancements/URL+Enhancements.swift",
"Swiftlier/Errors/AnySwiftlierError.swift",
"Swiftlier/Errors/GenericSwiftlierError.swift",
"Swiftlier/Errors/OperationBasedError.swift",
"Swiftlier/Errors/OtherSwiftlierError.swift",
"Swiftlier/Errors/SwiftlierError.swift",
"Swiftlier/Errors/SwiftlierResult.swift",
"Swiftlier/FileSystem/FileSystem+iOSDirectories.swift",
"Swiftlier/FileSystem/FileSystem.swift",
"Swiftlier/FileSystem/Path+Coding.swift",
"Swiftlier/FileSystem/Path.swift",
"Swiftlier/FileSystem/PersistenceService.swift",
"Swiftlier/FileSystem/ReferenceTypePersistenceService.swift",
"Swiftlier/FileSystem/ValueTypePersistenceService.swift",
"Swiftlier/Formatting/Bool+Formatting.swift",
"Swiftlier/Formatting/Data+Base64.swift",
"Swiftlier/Formatting/Date+Formatting.swift",
"Swiftlier/Formatting/Double+Formatting.swift",
"Swiftlier/Formatting/HeartRateFormatter.swift",
"Swiftlier/Formatting/TimeInterval+Formatting.swift",
"Swiftlier/Model/Containers/BinarySearchTree.swift",
"Swiftlier/Model/Containers/LimitedQueue.swift",
"Swiftlier/Model/Containers/OrderedDictionary.swift",
"Swiftlier/Model/Containers/PatchyRange.swift",
"Swiftlier/Model/Containers/SelectableValue.swift",
"Swiftlier/Model/Containers/Syncable.swift",
"Swiftlier/Model/Containers/WeakWrapper.swift",
"Swiftlier/Model/Observable/EventCenter.swift",
"Swiftlier/Model/Observable/MultiCallback.swift",
"Swiftlier/Model/Observable/Observable.swift",
"Swiftlier/Model/Observable/ObservableArray.swift",
"Swiftlier/Model/Observable/ObservableDictionary.swift",
"Swiftlier/Model/Observable/ObservableReference.swift",
"Swiftlier/Model/Structured/JSON.swift",
"Swiftlier/Model/Structured/NativeTypesStructured.swift",
"Swiftlier/Model/Structured/Structured.swift",
"Swiftlier/Model/Structured/XML.swift",
"Swiftlier/Model/Types/Age.swift",
"Swiftlier/Model/Types/AlwaysEqual.swift",
"Swiftlier/Model/Types/Angle.swift",
"Swiftlier/Model/Types/Day.swift",
"Swiftlier/Model/Types/EmailAddress.swift",
"Swiftlier/Model/Types/HTML.swift",
"Swiftlier/Model/Types/Mass.swift",
"Swiftlier/Model/Types/Price.swift",
"Swiftlier/Model/Types/UniquelyIdentifiable.swift",
"Swiftlier/Streams/CSVStreamReader.swift",
"Swiftlier/Streams/DelimiterStreamReader.swift",
"Swiftlier/Streams/StreamReader.swift",
"Swiftlier/Testing/Date+Testable.swift",
"Swiftlier/Testing/URLSession+Testing.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.