Build Information
Successful build of OctoKit, reference 0.11.0 (9521cd
), with Swift 6.0 for Linux on 4 Nov 2024 02:20:13 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeTransfer/octokit.swift.git
Reference: 0.11.0
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
* tag 0.11.0 -> FETCH_HEAD
HEAD is now at 9521cdf Merge pull request #121 from nerdishbynature/fix-tests-and-decoding-issues
Cloned https://github.com/WeTransfer/octokit.swift.git
Revision (git rev-parse @):
9521cdff919053868ab13cd08a228f7bc1bde2a9
SUCCESS checkout https://github.com/WeTransfer/octokit.swift.git at 0.11.0
========================================
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.22s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 2.4.0 (2.08s)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 2.4.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling RequestKit Router.swift
[5/7] Compiling RequestKit JSONPostRouter.swift
[6/7] Emitting module RequestKit
[7/7] Compiling RequestKit RequestKitSession.swift
[9/30] Compiling OctoKit Plan.swift
/host/spi-builder-workspace/OctoKit/PublicKey.swift:24:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
22 | }
23 |
24 | 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
25 | case postPublicKey(String, String, Configuration)
26 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[10/30] Compiling OctoKit PreviewHeader.swift
/host/spi-builder-workspace/OctoKit/PublicKey.swift:24:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
22 | }
23 |
24 | 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
25 | case postPublicKey(String, String, Configuration)
26 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[11/30] Compiling OctoKit PublicKey.swift
/host/spi-builder-workspace/OctoKit/PublicKey.swift:24:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
22 | }
23 |
24 | 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
25 | case postPublicKey(String, String, Configuration)
26 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[12/32] Compiling OctoKit Configuration.swift
/host/spi-builder-workspace/OctoKit/Configuration.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 OAuthRouter: 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 authorize(OAuthConfiguration)
111 | case accessToken(OAuthConfiguration, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Follow.swift:88:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
86 | }
87 |
88 | 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
89 | case readAuthenticatedFollowers(Configuration)
90 | case readFollowers(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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'"
[13/32] Compiling OctoKit File.swift
/host/spi-builder-workspace/OctoKit/Configuration.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 OAuthRouter: 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 authorize(OAuthConfiguration)
111 | case accessToken(OAuthConfiguration, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Follow.swift:88:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
86 | }
87 |
88 | 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
89 | case readAuthenticatedFollowers(Configuration)
90 | case readFollowers(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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'"
[14/32] Compiling OctoKit Follow.swift
/host/spi-builder-workspace/OctoKit/Configuration.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 OAuthRouter: 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 authorize(OAuthConfiguration)
111 | case accessToken(OAuthConfiguration, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Follow.swift:88:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
86 | }
87 |
88 | 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
89 | case readAuthenticatedFollowers(Configuration)
90 | case readFollowers(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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'"
[15/32] Compiling OctoKit URL+URLParameters.swift
/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:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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'"
[16/32] Compiling OctoKit User.swift
/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:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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/32] Compiling OctoKit PullRequest.swift
/host/spi-builder-workspace/OctoKit/PullRequest.swift:144:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
142 | // MARK: Router
143 |
144 | 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
145 | case readPullRequest(Configuration, String, String, String)
146 | case readPullRequests(Configuration, String, String, String?, Openness, SortType, SortDirection)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/host/spi-builder-workspace/OctoKit/Releases.swift:104:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
102 | // MARK: Router
103 |
104 | 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
105 | case listReleases(Configuration, String, String)
106 | case postRelease(Configuration, String, String, String, String?, String?, String?, Bool, Bool)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[18/32] Compiling OctoKit Reactions.swift
/host/spi-builder-workspace/OctoKit/PullRequest.swift:144:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
142 | // MARK: Router
143 |
144 | 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
145 | case readPullRequest(Configuration, String, String, String)
146 | case readPullRequests(Configuration, String, String, String?, Openness, SortType, SortDirection)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/host/spi-builder-workspace/OctoKit/Releases.swift:104:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
102 | // MARK: Router
103 |
104 | 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
105 | case listReleases(Configuration, String, String)
106 | case postRelease(Configuration, String, String, String, String?, String?, String?, Bool, Bool)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[19/32] Compiling OctoKit Releases.swift
/host/spi-builder-workspace/OctoKit/PullRequest.swift:144:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
142 | // MARK: Router
143 |
144 | 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
145 | case readPullRequest(Configuration, String, String, String)
146 | case readPullRequests(Configuration, String, String, String?, Openness, SortType, SortDirection)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/host/spi-builder-workspace/OctoKit/Releases.swift:104:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
102 | // MARK: Router
103 |
104 | 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
105 | case listReleases(Configuration, String, String)
106 | case postRelease(Configuration, String, String, String, String?, String?, String?, Bool, Bool)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[20/32] Emitting module OctoKit
/host/spi-builder-workspace/OctoKit/Configuration.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 OAuthRouter: 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 authorize(OAuthConfiguration)
111 | case accessToken(OAuthConfiguration, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Follow.swift:88:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
86 | }
87 |
88 | 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
89 | case readAuthenticatedFollowers(Configuration)
90 | case readFollowers(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Gist.swift:167:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
165 | // MARK: Router
166 |
167 | 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
168 | case readAuthenticatedGists(Configuration, String, String)
169 | case readGists(Configuration, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Issue.swift:257:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
255 | // MARK: Router
256 |
257 | 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
258 | case readAuthenticatedIssues(Configuration, String, String, Openness)
259 | case readIssue(Configuration, String, String, Int)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Label.swift:85:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
83 | }
84 |
85 | 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
86 | case readLabel(Configuration, String, String, String)
87 | case readLabels(Configuration, String, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/PublicKey.swift:24:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
22 | }
23 |
24 | 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
25 | case postPublicKey(String, String, Configuration)
26 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/PullRequest.swift:144:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
142 | // MARK: Router
143 |
144 | 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
145 | case readPullRequest(Configuration, String, String, String)
146 | case readPullRequests(Configuration, String, String, String?, Openness, SortType, SortDirection)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Releases.swift:104:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
102 | // MARK: Router
103 |
104 | 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
105 | case listReleases(Configuration, String, String)
106 | case postRelease(Configuration, String, String, String, String?, String?, String?, Bool, Bool)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Repositories.swift:94:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
92 | // MARK: Router
93 |
94 | 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
95 | case readRepositories(Configuration, String, String, String)
96 | case readAuthenticatedRepositories(Configuration, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Review.swift:56:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
54 | }
55 |
56 | 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
57 | case listReviews(Configuration, String, String, Int)
58 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Stars.swift:49:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
47 | }
48 |
49 | 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
50 | case readAuthenticatedStars(Configuration)
51 | case readStars(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Statuses.swift:115:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
113 | // MARK: - Router
114 |
115 | 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
116 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
117 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[21/32] Compiling OctoKit Milestone.swift
[22/32] Compiling OctoKit Octokit.swift
[23/32] Compiling OctoKit Parameters.swift
[24/32] Compiling OctoKit Statuses.swift
/host/spi-builder-workspace/OctoKit/Statuses.swift:115:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
113 | // MARK: - Router
114 |
115 | 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
116 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
117 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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'"
[25/32] Compiling OctoKit String+PercentEncoding.swift
/host/spi-builder-workspace/OctoKit/Statuses.swift:115:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
113 | // MARK: - Router
114 |
115 | 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
116 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
117 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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'"
[26/32] Compiling OctoKit Time.swift
/host/spi-builder-workspace/OctoKit/Statuses.swift:115:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
113 | // MARK: - Router
114 |
115 | 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
116 | case createCommitStatus(Configuration, owner: String, repo: String, sha: String, state: Status.State, targetURL: String?, description: String?, context: String?)
117 | case listCommitStatuses(Configuration, owner: String, repo: String, ref: String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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'"
[27/32] Compiling OctoKit Repositories.swift
/host/spi-builder-workspace/OctoKit/Repositories.swift:94:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
92 | // MARK: Router
93 |
94 | 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
95 | case readRepositories(Configuration, String, String, String)
96 | case readAuthenticatedRepositories(Configuration, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/host/spi-builder-workspace/OctoKit/Review.swift:56:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
54 | }
55 |
56 | 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
57 | case listReviews(Configuration, String, String, Int)
58 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Stars.swift:49:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
47 | }
48 |
49 | 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
50 | case readAuthenticatedStars(Configuration)
51 | case readStars(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[28/32] Compiling OctoKit Review.swift
/host/spi-builder-workspace/OctoKit/Repositories.swift:94:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
92 | // MARK: Router
93 |
94 | 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
95 | case readRepositories(Configuration, String, String, String)
96 | case readAuthenticatedRepositories(Configuration, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/host/spi-builder-workspace/OctoKit/Review.swift:56:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
54 | }
55 |
56 | 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
57 | case listReviews(Configuration, String, String, Int)
58 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Stars.swift:49:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
47 | }
48 |
49 | 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
50 | case readAuthenticatedStars(Configuration)
51 | case readStars(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[29/32] Compiling OctoKit Stars.swift
/host/spi-builder-workspace/OctoKit/Repositories.swift:94:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
92 | // MARK: Router
93 |
94 | 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
95 | case readRepositories(Configuration, String, String, String)
96 | case readAuthenticatedRepositories(Configuration, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Time.swift:10:23: warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | - [https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html)
9 | */
10 | public static var rfc3339DateFormatter: DateFormatter = {
| |- warning: static property 'rfc3339DateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339DateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rfc3339DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let formatter = DateFormatter()
12 | formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
/host/spi-builder-workspace/OctoKit/Review.swift:56:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
54 | }
55 |
56 | 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
57 | case listReviews(Configuration, String, String, Int)
58 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Stars.swift:49:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
47 | }
48 |
49 | 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
50 | case readAuthenticatedStars(Configuration)
51 | case readStars(String, Configuration)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[30/32] Compiling OctoKit Gist.swift
/host/spi-builder-workspace/OctoKit/Gist.swift:167:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
165 | // MARK: Router
166 |
167 | 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
168 | case readAuthenticatedGists(Configuration, String, String)
169 | case readGists(Configuration, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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/Issue.swift:257:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
255 | // MARK: Router
256 |
257 | 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
258 | case readAuthenticatedIssues(Configuration, String, String, Openness)
259 | case readIssue(Configuration, String, String, Int)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Label.swift:85:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
83 | }
84 |
85 | 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
86 | case readLabel(Configuration, String, String, String)
87 | case readLabels(Configuration, String, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[31/32] Compiling OctoKit Issue.swift
/host/spi-builder-workspace/OctoKit/Gist.swift:167:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
165 | // MARK: Router
166 |
167 | 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
168 | case readAuthenticatedGists(Configuration, String, String)
169 | case readGists(Configuration, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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/Issue.swift:257:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
255 | // MARK: Router
256 |
257 | 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
258 | case readAuthenticatedIssues(Configuration, String, String, Openness)
259 | case readIssue(Configuration, String, String, Int)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Label.swift:85:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
83 | }
84 |
85 | 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
86 | case readLabel(Configuration, String, String, String)
87 | case readLabels(Configuration, String, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
[32/32] Compiling OctoKit Label.swift
/host/spi-builder-workspace/OctoKit/Gist.swift:167:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
165 | // MARK: Router
166 |
167 | 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
168 | case readAuthenticatedGists(Configuration, String, String)
169 | case readGists(Configuration, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/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/Issue.swift:257:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
255 | // MARK: Router
256 |
257 | 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
258 | case readAuthenticatedIssues(Configuration, String, String, Openness)
259 | case readIssue(Configuration, String, String, Int)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
/host/spi-builder-workspace/OctoKit/Label.swift:85:6: warning: deprecated default implementation is used to satisfy instance method 'loadJSON(_:expectedResultType:completion:)' required by protocol 'Router': Plase use `load` method instead
83 | }
84 |
85 | 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
86 | case readLabel(Configuration, String, String, String)
87 | case readLabels(Configuration, String, String, String, String)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:148:10: note: 'loadJSON(_:expectedResultType:completion:)' declared here
64 | func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
65 | func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
66 | func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
| `- note: requirement 'loadJSON(_:expectedResultType:completion:)' declared here
67 | func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
68 | func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
:
146 |
147 | @available(*, deprecated, message: "Plase use `load` method instead")
148 | func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
| `- note: 'loadJSON(_:expectedResultType:completion:)' declared here
149 | return load(session, expectedResultType: expectedResultType, completion: completion)
150 | }
Build complete! (16.74s)
Build complete.
{
"dependencies" : [
{
"identity" : "requestkit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.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",
"OctoKitURLTestSession.swift",
"OctokitSwiftTests.swift",
"PlanTests.swift",
"PreviewHeaderTest.swift",
"PublicKeyTests.swift",
"PullRequestTests.swift",
"ReactionsTest.swift",
"ReleasesTests.swift",
"RepositoryTests.swift",
"ReviewTests.swift",
"StarsTests.swift",
"StatusesTest.swift",
"TestHelper.swift",
"UserTests.swift",
"XCTestManifests.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",
"Issue.swift",
"Label.swift",
"Milestone.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.