Build Information
Successful build of OctoKit, reference main (1e63f5
), with Swift 6.0 for Linux on 5 Nov 2024 15:24:33 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nerdishbynature/octokit.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
[1555/46715] Fetching requestkit, swiftformat
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (29.14s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (29.79s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (4.22s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.54.6 (6.63s)
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.54.6
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/OctoKit/Info.plist
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Compiling RequestKit Router.swift
[6/8] Compiling RequestKit JSONPostRouter.swift
[7/8] Emitting module RequestKit
[8/8] Compiling RequestKit RequestKitSession.swift
[10/34] Compiling OctoKit Stars.swift
/host/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)
/host/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 | {
/host/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'"
/host/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?)
/host/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 | {
[11/34] Compiling OctoKit Statuses.swift
/host/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)
/host/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 | {
/host/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'"
/host/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?)
/host/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/34] Compiling OctoKit String+PercentEncoding.swift
/host/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)
/host/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 | {
/host/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'"
/host/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?)
/host/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/37] Compiling OctoKit Configuration.swift
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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'"
/host/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)
/host/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/37] Compiling OctoKit File.swift
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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'"
/host/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)
/host/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 | {
[15/37] Compiling OctoKit Follow.swift
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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'"
/host/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)
/host/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 | {
[16/37] Compiling OctoKit Gist.swift
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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'"
/host/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)
/host/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 | {
[17/37] Compiling OctoKit Plan.swift
/host/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 |
/host/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/37] Compiling OctoKit PreviewHeader.swift
/host/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 |
/host/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/37] Compiling OctoKit PublicKey.swift
/host/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 |
/host/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 | {
[20/37] Compiling OctoKit NotificationThread.swift
/host/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)
/host/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 | {
/host/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/37] Compiling OctoKit Octokit.swift
/host/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)
/host/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 | {
/host/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/37] Compiling OctoKit Organization.swift
/host/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)
/host/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 | {
/host/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/37] Compiling OctoKit Parameters.swift
/host/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)
/host/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 | {
/host/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/37] Compiling OctoKit Time.swift
/host/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'"
/host/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)
/host/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/37] Compiling OctoKit URL+URLParameters.swift
/host/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'"
/host/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)
/host/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/37] Compiling OctoKit User.swift
/host/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'"
/host/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)
/host/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/37] Emitting module OctoKit
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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 |
/host/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 | {
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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
/host/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 | {
/host/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)
/host/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 | {
/host/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 |
/host/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 | {
/host/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?)
/host/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 | {
/host/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)
/host/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 | {
/host/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)
/host/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 | {
/host/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]?)
/host/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 | {
/host/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 |
/host/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 | {
/host/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)
/host/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 | {
/host/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?)
/host/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 | {
/host/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'"
/host/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)
/host/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/37] Compiling OctoKit PullRequest.swift
/host/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?)
/host/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 | {
/host/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'"
/host/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)
/host/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/37] Compiling OctoKit Reactions.swift
/host/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?)
/host/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 | {
/host/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'"
/host/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)
/host/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/37] Compiling OctoKit Releases.swift
/host/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?)
/host/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 | {
/host/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'"
/host/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)
/host/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 | {
[31/37] Compiling OctoKit Git.swift
/host/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 |
/host/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 | {
/host/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)
/host/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 | {
/host/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
/host/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'"
/host/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)
/host/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 | {
/host/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
/host/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 | {
[32/37] Compiling OctoKit Issue.swift
/host/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 |
/host/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 | {
/host/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)
/host/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 | {
/host/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
/host/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'"
/host/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)
/host/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 | {
/host/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
/host/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 | {
[33/37] Compiling OctoKit Label.swift
/host/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 |
/host/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 | {
/host/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)
/host/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 | {
/host/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
/host/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'"
/host/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)
/host/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 | {
/host/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
/host/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/37] Compiling OctoKit Milestone.swift
/host/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 |
/host/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 | {
/host/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)
/host/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 | {
/host/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
/host/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'"
/host/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)
/host/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 | {
/host/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
/host/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/37] Compiling OctoKit Repositories.swift
/host/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)
/host/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 | {
/host/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'"
/host/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]?)
/host/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 | {
/host/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 |
/host/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/37] Compiling OctoKit Review.swift
/host/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)
/host/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 | {
/host/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'"
/host/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]?)
/host/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 | {
/host/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 |
/host/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 | {
[37/37] Compiling OctoKit Search.swift
/host/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)
/host/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 | {
/host/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'"
/host/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]?)
/host/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 | {
/host/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 |
/host/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! (64.12s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.