Build Information
Successful build of OctoKit, reference main (be170a
), with Swift 6.0 for Linux on 4 Nov 2024 02:20:04 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/WeTransfer/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/WeTransfer/octokit.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at be170ab Add new CODEOWNERS and create backup of the existing file in main branch
Cloned https://github.com/WeTransfer/octokit.swift.git
Revision (git rev-parse @):
be170ab2ce3fa0342cb2ab2f1165eb3edbe764f7
SUCCESS checkout https://github.com/WeTransfer/octokit.swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/WeTransfer/octokit.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.21s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.79s)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Emitting module RequestKit
[5/7] Compiling RequestKit RequestKitSession.swift
[6/7] Compiling RequestKit JSONPostRouter.swift
[7/7] Compiling RequestKit Router.swift
[9/31] Compiling OctoKit Configuration.swift
/host/spi-builder-workspace/OctoKit/Configuration.swift:110:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
108 | }
109 |
110 | 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
111 | case authorize(OAuthConfiguration)
112 | 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:87:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
85 | }
86 |
87 | 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
88 | case readAuthenticatedFollowers(Configuration)
89 | 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: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 GistRouter: 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 readAuthenticatedGists(Configuration, String, String)
184 | 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 | {
[10/31] Compiling OctoKit File.swift
/host/spi-builder-workspace/OctoKit/Configuration.swift:110:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
108 | }
109 |
110 | 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
111 | case authorize(OAuthConfiguration)
112 | 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:87:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
85 | }
86 |
87 | 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
88 | case readAuthenticatedFollowers(Configuration)
89 | 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: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 GistRouter: 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 readAuthenticatedGists(Configuration, String, String)
184 | 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 | {
[11/31] Compiling OctoKit Follow.swift
/host/spi-builder-workspace/OctoKit/Configuration.swift:110:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
108 | }
109 |
110 | 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
111 | case authorize(OAuthConfiguration)
112 | 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:87:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
85 | }
86 |
87 | 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
88 | case readAuthenticatedFollowers(Configuration)
89 | 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: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 GistRouter: 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 readAuthenticatedGists(Configuration, String, String)
184 | 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 | {
[12/31] Compiling OctoKit Gist.swift
/host/spi-builder-workspace/OctoKit/Configuration.swift:110:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
108 | }
109 |
110 | 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
111 | case authorize(OAuthConfiguration)
112 | 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:87:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
85 | }
86 |
87 | 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
88 | case readAuthenticatedFollowers(Configuration)
89 | 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: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 GistRouter: 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 readAuthenticatedGists(Configuration, String, String)
184 | 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 | {
[13/34] Compiling OctoKit Stars.swift
/host/spi-builder-workspace/OctoKit/Stars.swift:109:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
107 | }
108 |
109 | 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
110 | case readAuthenticatedStars(Configuration)
111 | 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:114:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
112 | // MARK: - Router
113 |
114 | 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
115 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
116 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: 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/34] Compiling OctoKit Statuses.swift
/host/spi-builder-workspace/OctoKit/Stars.swift:109:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
107 | }
108 |
109 | 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
110 | case readAuthenticatedStars(Configuration)
111 | 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:114:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
112 | // MARK: - Router
113 |
114 | 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
115 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
116 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: 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/34] Compiling OctoKit String+PercentEncoding.swift
/host/spi-builder-workspace/OctoKit/Stars.swift:109:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
107 | }
108 |
109 | 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
110 | case readAuthenticatedStars(Configuration)
111 | 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:114:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
112 | // MARK: - Router
113 |
114 | 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
115 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
116 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: 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/34] Compiling OctoKit PublicKey.swift
/host/spi-builder-workspace/OctoKit/PublicKey.swift:26:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
24 | }
25 |
26 | 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
27 | case postPublicKey(String, String, Configuration)
28 |
/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:151:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
149 | // MARK: Router
150 |
151 | 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
152 | case readPullRequest(Configuration, String, String, String)
153 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, 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/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'"
[17/34] Compiling OctoKit PullRequest.swift
/host/spi-builder-workspace/OctoKit/PublicKey.swift:26:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
24 | }
25 |
26 | 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
27 | case postPublicKey(String, String, Configuration)
28 |
/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:151:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
149 | // MARK: Router
150 |
151 | 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
152 | case readPullRequest(Configuration, String, String, String)
153 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, 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/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'"
[18/34] Compiling OctoKit Reactions.swift
/host/spi-builder-workspace/OctoKit/PublicKey.swift:26:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
24 | }
25 |
26 | 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
27 | case postPublicKey(String, String, Configuration)
28 |
/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:151:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
149 | // MARK: Router
150 |
151 | 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
152 | case readPullRequest(Configuration, String, String, String)
153 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, 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/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'"
[19/34] Compiling OctoKit Parameters.swift
[20/34] Compiling OctoKit Plan.swift
[21/34] Compiling OctoKit PreviewHeader.swift
[22/34] Compiling OctoKit Releases.swift
/host/spi-builder-workspace/OctoKit/Releases.swift:211:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
209 | // MARK: Router
210 |
211 | 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
212 | case listReleases(Configuration, String, String, Int)
213 | case getReleaseByTag(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/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/Repositories.swift:101:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
99 | // MARK: Router
100 |
101 | 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
102 | case readRepositories(Configuration, String, String, String)
103 | 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:58:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
56 | }
57 |
58 | 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
59 | case listReviews(Configuration, String, String, Int)
60 |
/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 | {
[23/34] Compiling OctoKit Repositories.swift
/host/spi-builder-workspace/OctoKit/Releases.swift:211:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
209 | // MARK: Router
210 |
211 | 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
212 | case listReleases(Configuration, String, String, Int)
213 | case getReleaseByTag(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/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/Repositories.swift:101:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
99 | // MARK: Router
100 |
101 | 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
102 | case readRepositories(Configuration, String, String, String)
103 | 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:58:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
56 | }
57 |
58 | 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
59 | case listReviews(Configuration, String, String, Int)
60 |
/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 | {
[24/34] Compiling OctoKit Review.swift
/host/spi-builder-workspace/OctoKit/Releases.swift:211:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
209 | // MARK: Router
210 |
211 | 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
212 | case listReleases(Configuration, String, String, Int)
213 | case getReleaseByTag(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/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/Repositories.swift:101:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
99 | // MARK: Router
100 |
101 | 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
102 | case readRepositories(Configuration, String, String, String)
103 | 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:58:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
56 | }
57 |
58 | 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
59 | case listReviews(Configuration, String, String, Int)
60 |
/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/34] Compiling OctoKit Git.swift
/host/spi-builder-workspace/OctoKit/Git.swift:39:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | // MARK: Router
38 |
39 | 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
40 | case deleteReference(Configuration, String, String, String)
41 |
/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:321:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
319 | // MARK: Router
320 |
321 | 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
322 | case readAuthenticatedIssues(Configuration, String, String, Openness)
323 | 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/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:95:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
93 | }
94 |
95 | 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
96 | case readLabel(Configuration, String, String, String)
97 | 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 | {
[26/34] Compiling OctoKit Issue.swift
/host/spi-builder-workspace/OctoKit/Git.swift:39:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | // MARK: Router
38 |
39 | 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
40 | case deleteReference(Configuration, String, String, String)
41 |
/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:321:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
319 | // MARK: Router
320 |
321 | 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
322 | case readAuthenticatedIssues(Configuration, String, String, Openness)
323 | 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/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:95:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
93 | }
94 |
95 | 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
96 | case readLabel(Configuration, String, String, String)
97 | 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 | {
[27/34] Compiling OctoKit Label.swift
/host/spi-builder-workspace/OctoKit/Git.swift:39:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | // MARK: Router
38 |
39 | 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
40 | case deleteReference(Configuration, String, String, String)
41 |
/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:321:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
319 | // MARK: Router
320 |
321 | 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
322 | case readAuthenticatedIssues(Configuration, String, String, Openness)
323 | 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/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:95:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
93 | }
94 |
95 | 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
96 | case readLabel(Configuration, String, String, String)
97 | 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 | {
[28/34] Compiling OctoKit Milestone.swift
/host/spi-builder-workspace/OctoKit/NotificationThread.swift:261:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
259 | // MARK: - Router
260 |
261 | 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
262 | case readNotifications(Configuration, Bool, Bool, String, String)
263 | 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'"
[29/34] Compiling OctoKit NotificationThread.swift
/host/spi-builder-workspace/OctoKit/NotificationThread.swift:261:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
259 | // MARK: - Router
260 |
261 | 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
262 | case readNotifications(Configuration, Bool, Bool, String, String)
263 | 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'"
[30/34] Compiling OctoKit Octokit.swift
/host/spi-builder-workspace/OctoKit/NotificationThread.swift:261:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
259 | // MARK: - Router
260 |
261 | 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
262 | case readNotifications(Configuration, Bool, Bool, String, String)
263 | 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'"
[31/34] Emitting module OctoKit
/host/spi-builder-workspace/OctoKit/Configuration.swift:110:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
108 | }
109 |
110 | 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
111 | case authorize(OAuthConfiguration)
112 | 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:87:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
85 | }
86 |
87 | 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
88 | case readAuthenticatedFollowers(Configuration)
89 | 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: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 GistRouter: 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 readAuthenticatedGists(Configuration, String, String)
184 | 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:39:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
37 | // MARK: Router
38 |
39 | 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
40 | case deleteReference(Configuration, String, String, String)
41 |
/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:321:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
319 | // MARK: Router
320 |
321 | 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
322 | case readAuthenticatedIssues(Configuration, String, String, Openness)
323 | 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:95:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
93 | }
94 |
95 | 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
96 | case readLabel(Configuration, String, String, String)
97 | 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/NotificationThread.swift:261:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
259 | // MARK: - Router
260 |
261 | 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
262 | case readNotifications(Configuration, Bool, Bool, String, String)
263 | 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:26:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
24 | }
25 |
26 | 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
27 | case postPublicKey(String, String, Configuration)
28 |
/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:151:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
149 | // MARK: Router
150 |
151 | 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
152 | case readPullRequest(Configuration, String, String, String)
153 | case readPullRequests(Configuration, String, String, String?, String?, Openness, SortType, SortDirection, 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/Releases.swift:211:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
209 | // MARK: Router
210 |
211 | 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
212 | case listReleases(Configuration, String, String, Int)
213 | case getReleaseByTag(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/Repositories.swift:101:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
99 | // MARK: Router
100 |
101 | 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
102 | case readRepositories(Configuration, String, String, String)
103 | 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:58:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
56 | }
57 |
58 | 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
59 | case listReviews(Configuration, String, String, Int)
60 |
/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:109:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
107 | }
108 |
109 | 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
110 | case readAuthenticatedStars(Configuration)
111 | 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:114:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
112 | // MARK: - Router
113 |
114 | 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
115 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
116 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: 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:136:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
134 | // MARK: Router
135 |
136 | 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
137 | case readAuthenticatedUser(Configuration)
138 | 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 | {
[32/34] 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:136:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
134 | // MARK: Router
135 |
136 | 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
137 | case readAuthenticatedUser(Configuration)
138 | 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 | {
[33/34] 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:136:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
134 | // MARK: Router
135 |
136 | 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
137 | case readAuthenticatedUser(Configuration)
138 | 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 | {
[34/34] 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:136:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
134 | // MARK: Router
135 |
136 | 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
137 | case readAuthenticatedUser(Configuration)
138 | 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 | {
Build complete! (14.68s)
Build complete.
{
"dependencies" : [
{
"identity" : "requestkit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nerdishbynature/RequestKit.git"
}
],
"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",
"NotificationTests.swift",
"OctoKitURLTestSession.swift",
"OctokitSwiftTests.swift",
"PlanTests.swift",
"PreviewHeaderTests.swift",
"PublicKeyTests.swift",
"PullRequestTests.swift",
"ReactionsTests.swift",
"ReleasesTests.swift",
"RepositoryTests.swift",
"ReviewTests.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",
"Parameters.swift",
"Plan.swift",
"PreviewHeader.swift",
"PublicKey.swift",
"PullRequest.swift",
"Reactions.swift",
"Releases.swift",
"Repositories.swift",
"Review.swift",
"Stars.swift",
"Statuses.swift",
"String+PercentEncoding.swift",
"Time.swift",
"URL+URLParameters.swift",
"User.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
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.