Build Information
Successful build of OctoKit, reference main (1e63f5
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 15:34:08 UTC.
Swift 6 data race errors: 1
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/nerdishbynature/octokit.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdishbynature/octokit.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1e63f58 add some more fields to repo, and structure for organization (#191)
Cloned https://github.com/nerdishbynature/octokit.swift.git
Revision (git rev-parse @):
1e63f582d69a2c78335af532171e2fb2749251a6
SUCCESS checkout https://github.com/nerdishbynature/octokit.swift.git at main
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/1554] Fetching requestkit
[1555/46715] Fetching requestkit, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (26.03s)
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (26.03s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.52.8 (0.68s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.65s)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.52.8
========================================
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": "octokit.swift",
"name": "OctoKit",
"url": "https://github.com/nerdishbynature/octokit.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/octokit.swift",
"dependencies": [
{
"identity": "requestkit",
"name": "RequestKit",
"url": "https://github.com/nerdishbynature/RequestKit.git",
"version": "3.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RequestKit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/nerdishbynature/octokit.swift.git
[1/4439] Fetching octokit.swift
Fetched https://github.com/nerdishbynature/octokit.swift.git from cache (1.09s)
Fetching https://github.com/nerdishbynature/RequestKit.git from cache
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.92s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.02s)
Creating working copy for https://github.com/nerdishbynature/octokit.swift.git
Working copy of https://github.com/nerdishbynature/octokit.swift.git resolved at main (1e63f58)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
warning: '.resolve-product-dependencies': dependency 'octokit.swift' is not used by any target
Found 1 product dependencies
- RequestKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/nerdishbynature/octokit.swift.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
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/8] Emitting module RequestKit
[6/8] Compiling RequestKit Router.swift
[7/8] Compiling RequestKit RequestKitSession.swift
[8/8] Compiling RequestKit JSONPostRouter.swift
[9/34] Compiling OctoKit String+PercentEncoding.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
[10/34] Compiling OctoKit Time.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
[11/36] Compiling OctoKit Plan.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/PublicKey.swift:35:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
33 | }
34 |
35 | enum PublicKeyRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
36 | case postPublicKey(String, String, Configuration)
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[12/36] Compiling OctoKit PreviewHeader.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/PublicKey.swift:35:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
33 | }
34 |
35 | enum PublicKeyRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
36 | case postPublicKey(String, String, Configuration)
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[13/36] Compiling OctoKit PublicKey.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/PublicKey.swift:35:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
33 | }
34 |
35 | enum PublicKeyRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
36 | case postPublicKey(String, String, Configuration)
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[14/36] Compiling OctoKit Octokit.swift
[15/36] Compiling OctoKit Organization.swift
[16/36] Compiling OctoKit Parameters.swift
[17/36] Compiling OctoKit Stars.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Stars.swift:162:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
160 | #endif
161 |
162 | enum StarsRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
163 | case readAuthenticatedStars(Configuration)
164 | case readStars(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Statuses.swift:182:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
180 | // MARK: - Router
181 |
182 | enum StatusesRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
183 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
184 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: String, page: String?, perPage: String?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[18/36] Compiling OctoKit Statuses.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Stars.swift:162:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
160 | #endif
161 |
162 | enum StarsRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
163 | case readAuthenticatedStars(Configuration)
164 | case readStars(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Statuses.swift:182:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
180 | // MARK: - Router
181 |
182 | enum StatusesRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
183 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
184 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: String, page: String?, perPage: String?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[19/36] Compiling OctoKit URL+URLParameters.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/User.swift:235:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
233 | // MARK: Router
234 |
235 | enum UserRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
236 | case readAuthenticatedUser(Configuration)
237 | case readUser(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
[20/36] Compiling OctoKit User.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/User.swift:235:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
233 | // MARK: Router
234 |
235 | enum UserRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
236 | case readAuthenticatedUser(Configuration)
237 | case readUser(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
[21/36] Compiling OctoKit Configuration.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Configuration.swift:156:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
154 | }
155 |
156 | enum OAuthRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
157 | case authorize(OAuthConfiguration)
158 | case accessToken(OAuthConfiguration, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Follow.swift:129:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | }
128 |
129 | enum FollowRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
130 | case readAuthenticatedFollowers(Configuration)
131 | case readFollowers(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
[22/36] Compiling OctoKit File.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Configuration.swift:156:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
154 | }
155 |
156 | enum OAuthRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
157 | case authorize(OAuthConfiguration)
158 | case accessToken(OAuthConfiguration, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Follow.swift:129:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | }
128 |
129 | enum FollowRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
130 | case readAuthenticatedFollowers(Configuration)
131 | case readFollowers(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
[23/36] Compiling OctoKit Follow.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Configuration.swift:156:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
154 | }
155 |
156 | enum OAuthRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
157 | case authorize(OAuthConfiguration)
158 | case accessToken(OAuthConfiguration, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Follow.swift:129:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | }
128 |
129 | enum FollowRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
130 | case readAuthenticatedFollowers(Configuration)
131 | case readFollowers(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
[24/36] Compiling OctoKit Label.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Label.swift:145:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
143 | }
144 |
145 | enum LabelRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
146 | case readLabel(Configuration, String, String, String)
147 | case readLabels(Configuration, String, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Milestone.swift:331:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
329 | // MARK: Router
330 |
331 | enum MilestoneRouter: Router, JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
332 | typealias Owner = String
333 | typealias Repo = String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/NotificationThread.swift:448:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
446 | // MARK: - Router
447 |
448 | enum NotificationRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
449 | case readNotifications(Configuration, Bool, Bool, String, String)
450 | case markNotificationsRead(Configuration, String, Bool)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[25/36] Compiling OctoKit Milestone.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Label.swift:145:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
143 | }
144 |
145 | enum LabelRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
146 | case readLabel(Configuration, String, String, String)
147 | case readLabels(Configuration, String, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Milestone.swift:331:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
329 | // MARK: Router
330 |
331 | enum MilestoneRouter: Router, JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
332 | typealias Owner = String
333 | typealias Repo = String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/NotificationThread.swift:448:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
446 | // MARK: - Router
447 |
448 | enum NotificationRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
449 | case readNotifications(Configuration, Bool, Bool, String, String)
450 | case markNotificationsRead(Configuration, String, Bool)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[26/36] Compiling OctoKit NotificationThread.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Label.swift:145:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
143 | }
144 |
145 | enum LabelRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
146 | case readLabel(Configuration, String, String, String)
147 | case readLabels(Configuration, String, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Milestone.swift:331:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
329 | // MARK: Router
330 |
331 | enum MilestoneRouter: Router, JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
332 | typealias Owner = String
333 | typealias Repo = String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/NotificationThread.swift:448:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
446 | // MARK: - Router
447 |
448 | enum NotificationRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
449 | case readNotifications(Configuration, Bool, Bool, String, String)
450 | case markNotificationsRead(Configuration, String, Bool)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[27/36] Compiling OctoKit PullRequest.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/PullRequest.swift:455:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
453 | // MARK: Router
454 |
455 | enum PullRequestRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
456 | case readPullRequest(Configuration, String, String, String)
457 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, String?, String?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Releases.swift:239:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
237 | // MARK: Router
238 |
239 | enum ReleaseRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
240 | case listReleases(Configuration, String, String, Int)
241 | case getLatestRelease(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[28/36] Compiling OctoKit Reactions.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/PullRequest.swift:455:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
453 | // MARK: Router
454 |
455 | enum PullRequestRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
456 | case readPullRequest(Configuration, String, String, String)
457 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, String?, String?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Releases.swift:239:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
237 | // MARK: Router
238 |
239 | enum ReleaseRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
240 | case listReleases(Configuration, String, String, Int)
241 | case getLatestRelease(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[29/36] Compiling OctoKit Releases.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/PullRequest.swift:455:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
453 | // MARK: Router
454 |
455 | enum PullRequestRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
456 | case readPullRequest(Configuration, String, String, String)
457 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, String?, String?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Releases.swift:239:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
237 | // MARK: Router
238 |
239 | enum ReleaseRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
240 | case listReleases(Configuration, String, String, Int)
241 | case getLatestRelease(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[30/36] Compiling OctoKit Gist.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Gist.swift:281:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
279 | // MARK: Router
280 |
281 | enum GistRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
282 | case readAuthenticatedGists(Configuration, String, String)
283 | case readGists(Configuration, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Git.swift:36:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
34 | // MARK: Router
35 |
36 | enum GITRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | case deleteReference(Configuration, String, String, String)
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Issue.swift:511:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
509 | // MARK: Router
510 |
511 | enum IssueRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
512 | case readAuthenticatedIssues(Configuration, String, String, Openness)
513 | case readIssue(Configuration, String, String, Int)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Issue.swift:63:14: warning: 'labelsURL' is deprecated
61 | self.url = url
62 | self.repositoryURL = repositoryURL
63 | self.labelsURL = labelsURL
| `- warning: 'labelsURL' is deprecated
64 | self.commentsURL = commentsURL
65 | self.eventsURL = eventsURL
[31/36] Compiling OctoKit Git.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Gist.swift:281:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
279 | // MARK: Router
280 |
281 | enum GistRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
282 | case readAuthenticatedGists(Configuration, String, String)
283 | case readGists(Configuration, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Git.swift:36:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
34 | // MARK: Router
35 |
36 | enum GITRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | case deleteReference(Configuration, String, String, String)
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Issue.swift:511:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
509 | // MARK: Router
510 |
511 | enum IssueRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
512 | case readAuthenticatedIssues(Configuration, String, String, Openness)
513 | case readIssue(Configuration, String, String, Int)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Issue.swift:63:14: warning: 'labelsURL' is deprecated
61 | self.url = url
62 | self.repositoryURL = repositoryURL
63 | self.labelsURL = labelsURL
| `- warning: 'labelsURL' is deprecated
64 | self.commentsURL = commentsURL
65 | self.eventsURL = eventsURL
[32/36] Compiling OctoKit Issue.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Gist.swift:281:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
279 | // MARK: Router
280 |
281 | enum GistRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
282 | case readAuthenticatedGists(Configuration, String, String)
283 | case readGists(Configuration, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Git.swift:36:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
34 | // MARK: Router
35 |
36 | enum GITRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | case deleteReference(Configuration, String, String, String)
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Issue.swift:511:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
509 | // MARK: Router
510 |
511 | enum IssueRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
512 | case readAuthenticatedIssues(Configuration, String, String, Openness)
513 | case readIssue(Configuration, String, String, Int)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Issue.swift:63:14: warning: 'labelsURL' is deprecated
61 | self.url = url
62 | self.repositoryURL = repositoryURL
63 | self.labelsURL = labelsURL
| `- warning: 'labelsURL' is deprecated
64 | self.commentsURL = commentsURL
65 | self.eventsURL = eventsURL
[33/36] Emitting module OctoKit
/Users/admin/builder/spi-builder-workspace/OctoKit/Configuration.swift:156:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
154 | }
155 |
156 | enum OAuthRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
157 | case authorize(OAuthConfiguration)
158 | case accessToken(OAuthConfiguration, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Follow.swift:129:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | }
128 |
129 | enum FollowRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
130 | case readAuthenticatedFollowers(Configuration)
131 | case readFollowers(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Gist.swift:281:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
279 | // MARK: Router
280 |
281 | enum GistRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
282 | case readAuthenticatedGists(Configuration, String, String)
283 | case readGists(Configuration, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Git.swift:36:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
34 | // MARK: Router
35 |
36 | enum GITRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | case deleteReference(Configuration, String, String, String)
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Issue.swift:511:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
509 | // MARK: Router
510 |
511 | enum IssueRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
512 | case readAuthenticatedIssues(Configuration, String, String, Openness)
513 | case readIssue(Configuration, String, String, Int)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Label.swift:145:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
143 | }
144 |
145 | enum LabelRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
146 | case readLabel(Configuration, String, String, String)
147 | case readLabels(Configuration, String, String, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Milestone.swift:331:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
329 | // MARK: Router
330 |
331 | enum MilestoneRouter: Router, JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
332 | typealias Owner = String
333 | typealias Repo = String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/NotificationThread.swift:448:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
446 | // MARK: - Router
447 |
448 | enum NotificationRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
449 | case readNotifications(Configuration, Bool, Bool, String, String)
450 | case markNotificationsRead(Configuration, String, Bool)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/PublicKey.swift:35:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
33 | }
34 |
35 | enum PublicKeyRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
36 | case postPublicKey(String, String, Configuration)
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/PullRequest.swift:455:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
453 | // MARK: Router
454 |
455 | enum PullRequestRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
456 | case readPullRequest(Configuration, String, String, String)
457 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, String?, String?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Releases.swift:239:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
237 | // MARK: Router
238 |
239 | enum ReleaseRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
240 | case listReleases(Configuration, String, String, Int)
241 | case getLatestRelease(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Repositories.swift:340:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
338 | // MARK: Router
339 |
340 | enum RepositoryRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
341 | case readRepositories(Configuration, String, String, String)
342 | case readAuthenticatedRepositories(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Review.swift:199:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
197 | }
198 |
199 | enum ReviewsRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
200 | case listReviews(Configuration, String, String, Int)
201 | case postReview(Configuration, String, String, Int, String?, Review.Event?, String?, [Review.Comment]?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Search.swift:126:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
124 | }
125 |
126 | enum SearchRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | case searchCode(Configuration, String, String, String)
128 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Stars.swift:162:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
160 | #endif
161 |
162 | enum StarsRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
163 | case readAuthenticatedStars(Configuration)
164 | case readStars(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Statuses.swift:182:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
180 | // MARK: - Router
181 |
182 | enum StatusesRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
183 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
184 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: String, page: String?, perPage: String?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/User.swift:235:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
233 | // MARK: Router
234 |
235 | enum UserRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
236 | case readAuthenticatedUser(Configuration)
237 | case readUser(String, Configuration)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[34/36] Compiling OctoKit Repositories.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Repositories.swift:340:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
338 | // MARK: Router
339 |
340 | enum RepositoryRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
341 | case readRepositories(Configuration, String, String, String)
342 | case readAuthenticatedRepositories(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Review.swift:199:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
197 | }
198 |
199 | enum ReviewsRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
200 | case listReviews(Configuration, String, String, Int)
201 | case postReview(Configuration, String, String, Int, String?, Review.Event?, String?, [Review.Comment]?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Search.swift:126:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
124 | }
125 |
126 | enum SearchRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | case searchCode(Configuration, String, String, String)
128 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[35/36] Compiling OctoKit Review.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Repositories.swift:340:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
338 | // MARK: Router
339 |
340 | enum RepositoryRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
341 | case readRepositories(Configuration, String, String, String)
342 | case readAuthenticatedRepositories(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Review.swift:199:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
197 | }
198 |
199 | enum ReviewsRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
200 | case listReviews(Configuration, String, String, Int)
201 | case postReview(Configuration, String, String, Int, String?, Review.Event?, String?, [Review.Comment]?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Search.swift:126:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
124 | }
125 |
126 | enum SearchRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | case searchCode(Configuration, String, String, String)
128 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
[36/36] Compiling OctoKit Search.swift
/Users/admin/builder/spi-builder-workspace/OctoKit/Repositories.swift:340:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
338 | // MARK: Router
339 |
340 | enum RepositoryRouter: Router {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
341 | case readRepositories(Configuration, String, String, String)
342 | case readAuthenticatedRepositories(Configuration, String, String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/Users/admin/builder/spi-builder-workspace/OctoKit/Review.swift:199:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
197 | }
198 |
199 | enum ReviewsRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
200 | case listReviews(Configuration, String, String, Int)
201 | case postReview(Configuration, String, String, Int, String?, Review.Event?, String?, [Review.Comment]?)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
/Users/admin/builder/spi-builder-workspace/OctoKit/Search.swift:126:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
124 | }
125 |
126 | enum SearchRouter: JSONPostRouter {
| `- warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
127 | case searchCode(Configuration, String, String, String)
128 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
59 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
60 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
61 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
62 | func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
63 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
152 |
153 | @available(*, deprecated, message: "Plase use `load` method instead")
154 | func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
155 | completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 | {
Build complete! (14.77s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/OctoKit/Info.plist
Build complete.
{
"dependencies" : [
{
"identity" : "requestkit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nerdishbynature/RequestKit.git"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.52.8",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "OctoKit",
"name" : "OctoKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OctoKit",
"targets" : [
"OctoKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OctoKitTests",
"module_type" : "SwiftTarget",
"name" : "OctoKitTests",
"path" : "Tests/OctoKitTests",
"sources" : [
"ConfigurationTests.swift",
"FollowTests.swift",
"GistTests.swift",
"IssueTests.swift",
"LabelTests.swift",
"MilestoneTests.swift",
"NotificationTests.swift",
"OctoKitURLTestSession.swift",
"OctokitSwiftTests.swift",
"PlanTests.swift",
"PreviewHeaderTests.swift",
"PublicKeyTests.swift",
"PullRequestTests.swift",
"ReactionsTests.swift",
"ReleasesTests.swift",
"RepositoryTests.swift",
"ReviewTests.swift",
"SearchTests.swift",
"StarsTests.swift",
"StatusesTests.swift",
"TestHelper.swift",
"UserTests.swift"
],
"target_dependencies" : [
"OctoKit"
],
"type" : "test"
},
{
"c99name" : "OctoKit",
"module_type" : "SwiftTarget",
"name" : "OctoKit",
"path" : "OctoKit",
"product_dependencies" : [
"RequestKit"
],
"product_memberships" : [
"OctoKit"
],
"sources" : [
"Configuration.swift",
"File.swift",
"Follow.swift",
"Gist.swift",
"Git.swift",
"Issue.swift",
"Label.swift",
"Milestone.swift",
"NotificationThread.swift",
"Octokit.swift",
"Organization.swift",
"Parameters.swift",
"Plan.swift",
"PreviewHeader.swift",
"PublicKey.swift",
"PullRequest.swift",
"Reactions.swift",
"Releases.swift",
"Repositories.swift",
"Review.swift",
"Search.swift",
"Stars.swift",
"Statuses.swift",
"String+PercentEncoding.swift",
"Time.swift",
"URL+URLParameters.swift",
"User.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.