Build Information
Successful build of Swifter, reference 2.5.0 (50682e
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:32:05 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattdonnelly/Swifter.git
Reference: 2.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattdonnelly/Swifter
* tag 2.5.0 -> FETCH_HEAD
HEAD is now at 50682eb Update Swifter.podspec
Cloned https://github.com/mattdonnelly/Swifter.git
Revision (git rev-parse @):
50682ebe64e4c08f18957ccfd16888f035c20755
SUCCESS checkout https://github.com/mattdonnelly/Swifter.git at 2.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swifter",
"name": "Swifter",
"url": "https://github.com/mattdonnelly/Swifter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swifter",
"dependencies": [
]
}
]
}
Fetching https://github.com/mattdonnelly/Swifter.git
[1/3911] Fetching swifter
Fetched https://github.com/mattdonnelly/Swifter.git from cache (1.19s)
Creating working copy for https://github.com/mattdonnelly/Swifter.git
Working copy of https://github.com/mattdonnelly/Swifter.git resolved at 2.5.0 (50682eb)
warning: '.resolve-product-dependencies': dependency 'swifter' 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/mattdonnelly/Swifter.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/36] Emitting module Swifter
/Users/admin/builder/spi-builder-workspace/Sources/SwifterError.swift:59:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
11 | public struct SwifterError: LocalizedError {
12 |
13 | public enum ErrorKind: CustomStringConvertible {
| `- note: consider making enum 'ErrorKind' conform to the 'Sendable' protocol
14 | case invalidAppOnlyBearerToken
15 | case responseError(code: Int)
:
57 |
58 | public var message: String
59 | public var kind: ErrorKind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
60 |
61 | public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:47:14: warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public class HTTPRequest: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
48 |
49 | public typealias UploadProgressHandler = (_ bytesWritten: Int, _ totalBytesWritten: Int, _ totalBytesExpectedToWrite: Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:62:9: warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
34 | #endif
35 |
36 | public enum HTTPMethodType: String {
| `- note: consider making enum 'HTTPMethodType' conform to the 'Sendable' protocol
37 | case OPTIONS
38 | case GET
:
60 |
61 | let url: URL
62 | let HTTPMethod: HTTPMethodType
| `- warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
63 |
64 | var request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:64:9: warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
62 | let HTTPMethod: HTTPMethodType
63 |
64 | var request: URLRequest?
| `- warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
65 | var dataTask: URLSessionDataTask?
66 |
[4/36] Compiling Swifter Data++.swift
[5/36] Compiling Swifter Dictionary++.swift
[6/36] Compiling Swifter HMAC.swift
[7/36] Compiling Swifter Int++.swift
[8/39] Compiling Swifter SwifterPlaces.swift
[9/39] Compiling Swifter SwifterSavedSearches.swift
[10/39] Compiling Swifter SwifterSearch.swift
[11/39] Compiling Swifter SwifterLists.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:17: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:62: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:80: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
[12/39] Compiling Swifter SwifterMedia.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:17: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:62: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:80: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
[13/39] Compiling Swifter SwifterMessages.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:17: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:62: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:80: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
[14/39] Compiling Swifter SwifterOAuthClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:17: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:62: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
/Users/admin/builder/spi-builder-workspace/Sources/SwifterMedia.swift:117:80: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | let secs = processingInfo["check_after_secs"]!.double!
116 | DispatchQueue.global().asyncAfter(deadline: .now() + secs) {
117 | self.statusUpload(mediaId: mediaId, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case "succeeded":
[15/39] Compiling Swifter SwifterUsers.swift
[16/39] Compiling Swifter URL++.swift
[17/39] Compiling Swifter Utils.swift
[18/39] Compiling Swifter SwifterFavorites.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:47:14: warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public class HTTPRequest: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
48 |
49 | public typealias UploadProgressHandler = (_ bytesWritten: Int, _ totalBytesWritten: Int, _ totalBytesExpectedToWrite: Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:62:9: warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
34 | #endif
35 |
36 | public enum HTTPMethodType: String {
| `- note: consider making enum 'HTTPMethodType' conform to the 'Sendable' protocol
37 | case OPTIONS
38 | case GET
:
60 |
61 | let url: URL
62 | let HTTPMethod: HTTPMethodType
| `- warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
63 |
64 | var request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:64:9: warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
62 | let HTTPMethod: HTTPMethodType
63 |
64 | var request: URLRequest?
| `- warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
65 | var dataTask: URLSessionDataTask?
66 |
[19/39] Compiling Swifter SwifterFollowers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:47:14: warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public class HTTPRequest: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
48 |
49 | public typealias UploadProgressHandler = (_ bytesWritten: Int, _ totalBytesWritten: Int, _ totalBytesExpectedToWrite: Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:62:9: warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
34 | #endif
35 |
36 | public enum HTTPMethodType: String {
| `- note: consider making enum 'HTTPMethodType' conform to the 'Sendable' protocol
37 | case OPTIONS
38 | case GET
:
60 |
61 | let url: URL
62 | let HTTPMethod: HTTPMethodType
| `- warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
63 |
64 | var request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:64:9: warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
62 | let HTTPMethod: HTTPMethodType
63 |
64 | var request: URLRequest?
| `- warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
65 | var dataTask: URLSessionDataTask?
66 |
[20/39] Compiling Swifter SwifterHTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:47:14: warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public class HTTPRequest: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
48 |
49 | public typealias UploadProgressHandler = (_ bytesWritten: Int, _ totalBytesWritten: Int, _ totalBytesExpectedToWrite: Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:62:9: warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
34 | #endif
35 |
36 | public enum HTTPMethodType: String {
| `- note: consider making enum 'HTTPMethodType' conform to the 'Sendable' protocol
37 | case OPTIONS
38 | case GET
:
60 |
61 | let url: URL
62 | let HTTPMethod: HTTPMethodType
| `- warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
63 |
64 | var request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:64:9: warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
62 | let HTTPMethod: HTTPMethodType
63 |
64 | var request: URLRequest?
| `- warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
65 | var dataTask: URLSessionDataTask?
66 |
[21/39] Compiling Swifter SwifterHelp.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:47:14: warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public class HTTPRequest: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'HTTPRequest' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
48 |
49 | public typealias UploadProgressHandler = (_ bytesWritten: Int, _ totalBytesWritten: Int, _ totalBytesExpectedToWrite: Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:62:9: warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
34 | #endif
35 |
36 | public enum HTTPMethodType: String {
| `- note: consider making enum 'HTTPMethodType' conform to the 'Sendable' protocol
37 | case OPTIONS
38 | case GET
:
60 |
61 | let url: URL
62 | let HTTPMethod: HTTPMethodType
| `- warning: stored property 'HTTPMethod' of 'Sendable'-conforming class 'HTTPRequest' has non-sendable type 'HTTPMethodType'; this is an error in the Swift 6 language mode
63 |
64 | var request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Sources/SwifterHTTPRequest.swift:64:9: warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
62 | let HTTPMethod: HTTPMethodType
63 |
64 | var request: URLRequest?
| `- warning: stored property 'request' of 'Sendable'-conforming class 'HTTPRequest' is mutable; this is an error in the Swift 6 language mode
65 | var dataTask: URLSessionDataTask?
66 |
[22/39] Compiling Swifter JSON.swift
[23/39] Compiling Swifter Operator++.swift
[24/39] Compiling Swifter SHA1.swift
[25/39] Compiling Swifter Scanner++.swift
[26/39] Compiling Swifter SwifterTimelines.swift
[27/39] Compiling Swifter SwifterTrends.swift
[28/39] Compiling Swifter SwifterTweets.swift
[29/39] Compiling Swifter SwifterAuth.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:84:59: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | self.postOAuthRequestToken(with: callbackURL, success: { token, response in
83 | NotificationCenter.default.addObserver(forName: .swifterCallback, object: nil, queue: .main) { notification in
84 | NotificationCenter.default.removeObserver(self)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:63: warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| `- warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterCredential.swift:34:19: note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
32 | public class Credential {
33 |
34 | public struct OAuthAccessToken {
| `- note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
35 |
36 | public internal(set) var key: String
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:98: warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:116: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterError.swift:59:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
11 | public struct SwifterError: LocalizedError {
12 |
13 | public enum ErrorKind: CustomStringConvertible {
| `- note: consider making enum 'ErrorKind' conform to the 'Sendable' protocol
14 | case invalidAppOnlyBearerToken
15 | case responseError(code: Int)
:
57 |
58 | public var message: String
59 | public var kind: ErrorKind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
60 |
61 | public var errorDescription: String? {
[30/39] Compiling Swifter SwifterClientProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:84:59: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | self.postOAuthRequestToken(with: callbackURL, success: { token, response in
83 | NotificationCenter.default.addObserver(forName: .swifterCallback, object: nil, queue: .main) { notification in
84 | NotificationCenter.default.removeObserver(self)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:63: warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| `- warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterCredential.swift:34:19: note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
32 | public class Credential {
33 |
34 | public struct OAuthAccessToken {
| `- note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
35 |
36 | public internal(set) var key: String
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:98: warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:116: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterError.swift:59:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
11 | public struct SwifterError: LocalizedError {
12 |
13 | public enum ErrorKind: CustomStringConvertible {
| `- note: consider making enum 'ErrorKind' conform to the 'Sendable' protocol
14 | case invalidAppOnlyBearerToken
15 | case responseError(code: Int)
:
57 |
58 | public var message: String
59 | public var kind: ErrorKind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
60 |
61 | public var errorDescription: String? {
[31/39] Compiling Swifter SwifterCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:84:59: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | self.postOAuthRequestToken(with: callbackURL, success: { token, response in
83 | NotificationCenter.default.addObserver(forName: .swifterCallback, object: nil, queue: .main) { notification in
84 | NotificationCenter.default.removeObserver(self)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:63: warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| `- warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterCredential.swift:34:19: note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
32 | public class Credential {
33 |
34 | public struct OAuthAccessToken {
| `- note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
35 |
36 | public internal(set) var key: String
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:98: warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:116: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterError.swift:59:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
11 | public struct SwifterError: LocalizedError {
12 |
13 | public enum ErrorKind: CustomStringConvertible {
| `- note: consider making enum 'ErrorKind' conform to the 'Sendable' protocol
14 | case invalidAppOnlyBearerToken
15 | case responseError(code: Int)
:
57 |
58 | public var message: String
59 | public var kind: ErrorKind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
60 |
61 | public var errorDescription: String? {
[32/39] Compiling Swifter SwifterError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:84:59: warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | self.postOAuthRequestToken(with: callbackURL, success: { token, response in
83 | NotificationCenter.default.addObserver(forName: .swifterCallback, object: nil, queue: .main) { notification in
84 | NotificationCenter.default.removeObserver(self)
| `- warning: capture of 'self' with non-sendable type 'Swifter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:86:14: note: class 'Swifter' does not conform to the 'Sendable' protocol
84 | }
85 |
86 | public class Swifter {
| `- note: class 'Swifter' does not conform to the 'Sendable' protocol
87 |
88 | // MARK: - Types
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:63: warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| `- warning: capture of 'token' with non-sendable type 'Credential.OAuthAccessToken?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterCredential.swift:34:19: note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
32 | public class Credential {
33 |
34 | public struct OAuthAccessToken {
| `- note: consider making struct 'OAuthAccessToken' conform to the 'Sendable' protocol
35 |
36 | public internal(set) var key: String
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:98: warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'success' with non-sendable type 'Swifter.TokenSuccessHandler?' (aka 'Optional<(Optional<Credential.OAuthAccessToken>, URLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAuth.swift:86:116: warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | NotificationCenter.default.removeObserver(self)
85 | let url = notification.userInfo![CallbackNotification.optionsURLKey] as! URL
86 | self.postOAuthAccessTokenHelper(requestToken: token!, responseURL: url, success: success, failure: failure)
| |- warning: capture of 'failure' with non-sendable type 'Swifter.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | }
88 | let queryURL = self.makeQueryURL(tokenKey: token!.key, forceLogin: forceLogin)
/Users/admin/builder/spi-builder-workspace/Sources/SwifterError.swift:59:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
11 | public struct SwifterError: LocalizedError {
12 |
13 | public enum ErrorKind: CustomStringConvertible {
| `- note: consider making enum 'ErrorKind' conform to the 'Sendable' protocol
14 | case invalidAppOnlyBearerToken
15 | case responseError(code: Int)
:
57 |
58 | public var message: String
59 | public var kind: ErrorKind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'SwifterError' has non-sendable type 'SwifterError.ErrorKind'; this is an error in the Swift 6 language mode
60 |
61 | public var errorDescription: String? {
[33/39] Compiling Swifter SwifterSpam.swift
[34/39] Compiling Swifter SwifterSuggested.swift
[35/39] Compiling Swifter SwifterTag.swift
[36/39] Compiling Swifter String++.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:34: warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| `- warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/JSON.swift:28:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
26 | import Foundation
27 |
28 | public enum JSON : Equatable, CustomStringConvertible {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
29 |
30 | case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:179:29: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 | DispatchQueue.main.async {
178 | if case 200...299 = response.statusCode, data.isEmpty {
179 | success?(JSON("{}"), response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
180 | } else {
181 | failure?(error)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:45:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
43 | let stringifiedParameters = parameters.stringifiedDictionary()
44 |
45 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .GET, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
46 | socialRequest.account = self.credential!.account!
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:82:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
80 | let stringifiedParameters = params.stringifiedDictionary()
81 |
82 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .POST, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
83 | socialRequest.account = self.credential!.account!
84 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:109:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
107 | let stringifiedParameters = parameters.stringifiedDictionary()
108 |
109 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .DELETE, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
110 | socialRequest.account = self.credential!.account!
111 |
[37/39] Compiling Swifter Swifter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:34: warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| `- warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/JSON.swift:28:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
26 | import Foundation
27 |
28 | public enum JSON : Equatable, CustomStringConvertible {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
29 |
30 | case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:179:29: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 | DispatchQueue.main.async {
178 | if case 200...299 = response.statusCode, data.isEmpty {
179 | success?(JSON("{}"), response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
180 | } else {
181 | failure?(error)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:45:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
43 | let stringifiedParameters = parameters.stringifiedDictionary()
44 |
45 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .GET, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
46 | socialRequest.account = self.credential!.account!
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:82:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
80 | let stringifiedParameters = params.stringifiedDictionary()
81 |
82 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .POST, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
83 | socialRequest.account = self.credential!.account!
84 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:109:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
107 | let stringifiedParameters = parameters.stringifiedDictionary()
108 |
109 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .DELETE, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
110 | socialRequest.account = self.credential!.account!
111 |
[38/39] Compiling Swifter SwifterAccountsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:34: warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| `- warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/JSON.swift:28:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
26 | import Foundation
27 |
28 | public enum JSON : Equatable, CustomStringConvertible {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
29 |
30 | case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:179:29: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 | DispatchQueue.main.async {
178 | if case 200...299 = response.statusCode, data.isEmpty {
179 | success?(JSON("{}"), response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
180 | } else {
181 | failure?(error)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:45:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
43 | let stringifiedParameters = parameters.stringifiedDictionary()
44 |
45 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .GET, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
46 | socialRequest.account = self.credential!.account!
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:82:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
80 | let stringifiedParameters = params.stringifiedDictionary()
81 |
82 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .POST, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
83 | socialRequest.account = self.credential!.account!
84 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:109:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
107 | let stringifiedParameters = parameters.stringifiedDictionary()
108 |
109 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .DELETE, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
110 | socialRequest.account = self.credential!.account!
111 |
[39/39] Compiling Swifter SwifterAppOnlyClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:25: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:174:34: warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | let jsonResult = try JSON.parse(jsonData: data)
173 | DispatchQueue.main.async {
174 | success?(jsonResult, response)
| `- warning: capture of 'jsonResult' with non-sendable type 'JSON' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 | }
176 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/JSON.swift:28:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
26 | import Foundation
27 |
28 | public enum JSON : Equatable, CustomStringConvertible {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
29 |
30 | case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:179:29: warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 | DispatchQueue.main.async {
178 | if case 200...299 = response.statusCode, data.isEmpty {
179 | success?(JSON("{}"), response)
| |- warning: capture of 'success' with non-sendable type 'Swifter.JSONSuccessHandler?' (aka 'Optional<(JSON, HTTPURLResponse) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
180 | } else {
181 | failure?(error)
/Users/admin/builder/spi-builder-workspace/Sources/Swifter.swift:181:29: warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 | success?(JSON("{}"), response)
180 | } else {
181 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type 'HTTPRequest.FailureHandler?' (aka 'Optional<(any Error) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:45:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
43 | let stringifiedParameters = parameters.stringifiedDictionary()
44 |
45 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .GET, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
46 | socialRequest.account = self.credential!.account!
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:82:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
80 | let stringifiedParameters = params.stringifiedDictionary()
81 |
82 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .POST, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
83 | socialRequest.account = self.credential!.account!
84 |
/Users/admin/builder/spi-builder-workspace/Sources/SwifterAccountsClient.swift:109:55: warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
107 | let stringifiedParameters = parameters.stringifiedDictionary()
108 |
109 | let socialRequest = SLRequest(forServiceType: SLServiceTypeTwitter, requestMethod: .DELETE, url: url, parameters: stringifiedParameters)!
| `- warning: 'SLServiceTypeTwitter' was deprecated in macOS 10.13
110 | socialRequest.account = self.credential!.account!
111 |
Build complete! (21.14s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swifter",
"name" : "Swifter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Swifter",
"targets" : [
"Swifter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Swifter",
"module_type" : "SwiftTarget",
"name" : "Swifter",
"path" : "Sources",
"product_memberships" : [
"Swifter"
],
"sources" : [
"Data++.swift",
"Dictionary++.swift",
"HMAC.swift",
"Int++.swift",
"JSON.swift",
"Operator++.swift",
"SHA1.swift",
"Scanner++.swift",
"String++.swift",
"Swifter.swift",
"SwifterAccountsClient.swift",
"SwifterAppOnlyClient.swift",
"SwifterAuth.swift",
"SwifterClientProtocol.swift",
"SwifterCredential.swift",
"SwifterError.swift",
"SwifterFavorites.swift",
"SwifterFollowers.swift",
"SwifterHTTPRequest.swift",
"SwifterHelp.swift",
"SwifterLists.swift",
"SwifterMedia.swift",
"SwifterMessages.swift",
"SwifterOAuthClient.swift",
"SwifterPlaces.swift",
"SwifterSavedSearches.swift",
"SwifterSearch.swift",
"SwifterSpam.swift",
"SwifterSuggested.swift",
"SwifterTag.swift",
"SwifterTimelines.swift",
"SwifterTrends.swift",
"SwifterTweets.swift",
"SwifterUsers.swift",
"URL++.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.