Build Information
Failed to build SwiftTube, reference 0.1.0 (64f0f1
), with Swift 6.0 for Linux on 28 Nov 2024 09:02:50 UTC.
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = APIService<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoAbuseReportReasons {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = APIService<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:122:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
123 | public typealias SuccessType = VideoAbuseReportReasonListResponse
124 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:122:17: error: type 'VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response' does not conform to protocol 'Response'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response' does not conform to protocol 'Response'
123 | public typealias SuccessType = VideoAbuseReportReasonListResponse
124 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:155:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
153 | switch statusCode {
154 | case 200: self = try .status200(decoder.decode(VideoAbuseReportReasonListResponse.self, from: data))
155 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoCategories/YoutubeVideoCategoriesList.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = APIService<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoCategories/YoutubeVideoCategoriesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = APIService<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoCategories/YoutubeVideoCategoriesList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoCategories {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = APIService<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoCategories/YoutubeVideoCategoriesList.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoCategories/YoutubeVideoCategoriesList.swift:135:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
133 | }
134 |
135 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
136 | public typealias SuccessType = VideoCategoryListResponse
137 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoCategories/YoutubeVideoCategoriesList.swift:135:17: error: type 'VideoCategories.YoutubeVideoCategoriesList.Response' does not conform to protocol 'Response'
133 | }
134 |
135 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'VideoCategories.YoutubeVideoCategoriesList.Response' does not conform to protocol 'Response'
136 | public typealias SuccessType = VideoCategoryListResponse
137 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/VideoCategories/YoutubeVideoCategoriesList.swift:168:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
166 | switch statusCode {
167 | case 200: self = try .status200(decoder.decode(VideoCategoryListResponse.self, from: data))
168 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
169 | }
170 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosDelete.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = APIService<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = APIService<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosDelete.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = APIService<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosDelete.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosDelete.swift:122:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
123 | public typealias SuccessType = Void
124 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosDelete.swift:122:17: error: type 'Videos.YoutubeVideosDelete.Response' does not conform to protocol 'Response'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Videos.YoutubeVideosDelete.Response' does not conform to protocol 'Response'
123 | public typealias SuccessType = Void
124 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosDelete.swift:155:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
153 | switch statusCode {
154 | case 200: self = .status200
155 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosGetRating.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = APIService<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosGetRating.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = APIService<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosGetRating.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = APIService<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosGetRating.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosGetRating.swift:122:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
123 | public typealias SuccessType = VideoGetRatingResponse
124 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosGetRating.swift:122:17: error: type 'Videos.YoutubeVideosGetRating.Response' does not conform to protocol 'Response'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Videos.YoutubeVideosGetRating.Response' does not conform to protocol 'Response'
123 | public typealias SuccessType = VideoGetRatingResponse
124 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosGetRating.swift:155:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
153 | switch statusCode {
154 | case 200: self = try .status200(decoder.decode(VideoGetRatingResponse.self, from: data))
155 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosInsert.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = APIService<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = APIService<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = APIService<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosInsert.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosInsert.swift:151:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
149 | }
150 |
151 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
152 | public typealias SuccessType = Video
153 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosInsert.swift:151:17: error: type 'Videos.YoutubeVideosInsert.Response' does not conform to protocol 'Response'
149 | }
150 |
151 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Videos.YoutubeVideosInsert.Response' does not conform to protocol 'Response'
152 | public typealias SuccessType = Video
153 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosInsert.swift:184:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
182 | switch statusCode {
183 | case 200: self = try .status200(decoder.decode(Video.self, from: data))
184 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
185 | }
186 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosList.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = APIService<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | /** Return the videos that are in the specified chart. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = APIService<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Return the videos that are in the specified chart. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = APIService<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | /** Return the videos that are in the specified chart. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosList.swift:22:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
20 | }
21 |
22 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
23 | public struct Options {
24 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosList.swift:211:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
209 | }
210 |
211 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
212 | public typealias SuccessType = VideoListResponse
213 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosList.swift:211:17: error: type 'Videos.YoutubeVideosList.Response' does not conform to protocol 'Response'
209 | }
210 |
211 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Videos.YoutubeVideosList.Response' does not conform to protocol 'Response'
212 | public typealias SuccessType = VideoListResponse
213 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosList.swift:244:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
242 | switch statusCode {
243 | case 200: self = try .status200(decoder.decode(VideoListResponse.self, from: data))
244 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
245 | }
246 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = APIService<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = APIService<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = APIService<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:16:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
14 | }
15 |
16 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
17 | public struct Options {
18 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:126:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
124 | }
125 |
126 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
127 | public typealias SuccessType = Void
128 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:126:17: error: type 'Videos.YoutubeVideosRate.Response' does not conform to protocol 'Response'
124 | }
125 |
126 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Videos.YoutubeVideosRate.Response' does not conform to protocol 'Response'
127 | public typealias SuccessType = Void
128 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:159:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
157 | switch statusCode {
158 | case 200: self = .status200
159 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
160 | }
161 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = APIService<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = APIService<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = APIService<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:123:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
121 | }
122 |
123 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
124 | public typealias SuccessType = Void
125 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:123:17: error: type 'Videos.YoutubeVideosReportAbuse.Response' does not conform to protocol 'Response'
121 | }
122 |
123 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Videos.YoutubeVideosReportAbuse.Response' does not conform to protocol 'Response'
124 | public typealias SuccessType = Void
125 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:156:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
154 | switch statusCode {
155 | case 200: self = .status200
156 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
157 | }
158 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosUpdate.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = APIService<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = APIService<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosUpdate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = APIService<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosUpdate.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosUpdate.swift:128:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
126 | }
127 |
128 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
129 | public typealias SuccessType = Video
130 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosUpdate.swift:128:17: error: type 'Videos.YoutubeVideosUpdate.Response' does not conform to protocol 'Response'
126 | }
127 |
128 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Videos.YoutubeVideosUpdate.Response' does not conform to protocol 'Response'
129 | public typealias SuccessType = Video
130 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosUpdate.swift:161:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
159 | switch statusCode {
160 | case 200: self = try .status200(decoder.decode(Video.self, from: data))
161 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
162 | }
163 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksSet.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = APIService<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = APIService<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksSet.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = APIService<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksSet.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksSet.swift:122:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
123 | public typealias SuccessType = Void
124 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksSet.swift:122:17: error: type 'Watermarks.YoutubeWatermarksSet.Response' does not conform to protocol 'Response'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Watermarks.YoutubeWatermarksSet.Response' does not conform to protocol 'Response'
123 | public typealias SuccessType = Void
124 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksSet.swift:155:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
153 | switch statusCode {
154 | case 200: self = .status200
155 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksUnset.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = APIService<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksUnset.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = APIService<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksUnset.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = APIService<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksUnset.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksUnset.swift:122:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
123 | public typealias SuccessType = Void
124 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksUnset.swift:122:17: error: type 'Watermarks.YoutubeWatermarksUnset.Response' does not conform to protocol 'Response'
120 | }
121 |
122 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'Watermarks.YoutubeWatermarksUnset.Response' does not conform to protocol 'Response'
123 | public typealias SuccessType = Void
124 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Watermarks/YoutubeWatermarksUnset.swift:155:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
153 | switch statusCode {
154 | case 200: self = .status200
155 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
156 | }
157 | }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:7:33: warning: 'APIService' is deprecated: renamed to 'Service'
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = APIService<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| |- warning: 'APIService' is deprecated: renamed to 'Service'
| `- note: use 'Service' instead
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = APIService<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Service.swift:1:15: note: generic struct 'Service' does not conform to the 'Sendable' protocol
1 | public struct Service<ResponseType: Response> {
| `- note: generic struct 'Service' does not conform to the 'Sendable' protocol
2 | public let id: String
3 | public let tag: String
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension YouTube {
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = APIService<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| |- note: annotate 'service' 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
8 |
9 | public final class Request: APIRequest<Response> {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:9:33: error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
7 | public static let service = APIService<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
8 |
9 | public final class Request: APIRequest<Response> {
| `- error: generic type 'DeprecatedRequest' specialized with too few type parameters (got 1, but expected 2)
10 | public struct Options {
11 | /** V1 error format. */
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Deprecated/DeprecatedRequest.swift:4:12: note: generic type 'DeprecatedRequest' declared here
2 |
3 | @available(*, deprecated, message: "use `Request`")
4 | open class DeprecatedRequest<
| `- note: generic type 'DeprecatedRequest' declared here
5 | ResponseType: Response, APIType
6 | >: Request where ResponseType.APIType == APIType {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:123:27: warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
121 | }
122 |
123 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: 'APIResponseValue' is deprecated: renamed to 'DeprecatedResponse'
| `- note: use 'DeprecatedResponse' instead
124 | public typealias SuccessType = CommentThread
125 |
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:123:17: error: type 'YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response' does not conform to protocol 'Response'
121 | }
122 |
123 | public enum Response: APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible {
| `- error: type 'YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response' does not conform to protocol 'Response'
124 | public typealias SuccessType = CommentThread
125 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Response.swift:5:18: note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
3 | public protocol Response: CustomDebugStringConvertible, CustomStringConvertible {
4 | associatedtype SuccessType
5 | associatedtype FailureType
| `- note: protocol requires nested type 'FailureType'; add nested type 'FailureType' for conformance
6 | associatedtype APIType: API
| `- note: protocol requires nested type 'APIType'; add nested type 'APIType' for conformance
7 | var statusCode: Int { get }
8 | var response: ClientResult<SuccessType, FailureType> { get }
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:156:24: warning: 'APIClientError' is deprecated: renamed to 'ClientError'
154 | switch statusCode {
155 | case 200: self = try .status200(decoder.decode(CommentThread.self, from: data))
156 | default: throw APIClientError.unexpectedStatusCode(statusCode: statusCode, data: data)
| |- warning: 'APIClientError' is deprecated: renamed to 'ClientError'
| `- note: use 'ClientError' instead
157 | }
158 | }
/host/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:7:21: warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public enum YouTube {
6 | /// Whether to discard any errors when decoding optional properties
7 | public static var safeOptionalDecoding = false
| |- warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeOptionalDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'safeOptionalDecoding' 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
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
/host/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:10:21: warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
10 | public static var safeArrayDecoding = false
| |- warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeArrayDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'safeArrayDecoding' 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 |
12 | /// Used to encode Dates when uses as string params
/host/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:13:21: warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Used to encode Dates when uses as string params
13 | public static var dateEncodingFormatter = DateFormatter(formatString: "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
| |- warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateEncodingFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateEncodingFormatter' 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
14 | locale: Locale(identifier: "en_US_POSIX"),
15 | calendar: Calendar(identifier: .gregorian))
/host/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:23:17: error: type 'YouTube.API' does not conform to protocol 'API'
21 | }
22 |
23 | public struct API: Prch.API {
| `- error: type 'YouTube.API' does not conform to protocol 'API'
24 | public init(token: String? = nil) {
25 | headers = [
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/API.swift:11:7: note: protocol requires property 'encoder' with type 'any RequestEncoder'
9 | var headers: [String: String] { get }
10 | var decoder: ResponseDecoder { get }
11 | var encoder: RequestEncoder { get }
| `- note: protocol requires property 'encoder' with type 'any RequestEncoder'
12 | }
13 |
[290/313] Compiling SwiftTube CommentListResponse.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[291/313] Compiling SwiftTube CommentSnippet.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[292/313] Compiling SwiftTube CommentSnippetAuthorChannelId.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[293/313] Compiling SwiftTube CommentThread.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[294/313] Compiling SwiftTube CommentThreadListResponse.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[295/313] Compiling SwiftTube CommentThreadReplies.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[296/313] Compiling SwiftTube CommentThreadSnippet.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[297/313] Compiling SwiftTube ContentRating.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[298/313] Compiling SwiftTube Entity.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[299/313] Compiling SwiftTube GeoPoint.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[300/313] Compiling SwiftTube I18nLanguage.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[301/313] Compiling SwiftTube I18nLanguageListResponse.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[302/313] Compiling SwiftTube I18nLanguageSnippet.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[303/313] Compiling SwiftTube I18nRegion.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[304/313] Compiling SwiftTube I18nRegionListResponse.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[305/313] Compiling SwiftTube I18nRegionSnippet.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[306/313] Compiling SwiftTube ImageSettings.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[307/313] Compiling SwiftTube IngestionInfo.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[308/313] Compiling SwiftTube InvideoBranding.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[309/313] Compiling SwiftTube InvideoPosition.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[310/313] Compiling SwiftTube InvideoTiming.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[311/313] Compiling SwiftTube LanguageTag.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[312/313] Compiling SwiftTube LevelDetails.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
[313/313] Compiling SwiftTube LiveBroadcast.swift
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:48:27: warning: 'DateTime' is deprecated: renamed to 'Date'
46 |
47 | /** The date and time when the comment was originally published. */
48 | public var publishedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
49 |
50 | /** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:57:25: warning: 'DateTime' is deprecated: renamed to 'Date'
55 |
56 | /** The date and time when the comment was last updated. */
57 | public var updatedAt: DateTime?
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
58 |
59 | /** The ID of the video the comment refers to, if any. */
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:327: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
/host/spi-builder-workspace/Sources/SwiftTube/Models/CommentSnippet.swift:65:412: warning: 'DateTime' is deprecated: renamed to 'Date'
63 | public var viewerRating: ViewerRating?
64 |
65 | public init(authorChannelId: CommentSnippetAuthorChannelId? = nil, authorChannelUrl: String? = nil, authorDisplayName: String? = nil, authorProfileImageUrl: String? = nil, canRate: Bool? = nil, channelId: String? = nil, likeCount: Int? = nil, moderationStatus: ModerationStatus? = nil, parentId: String? = nil, publishedAt: DateTime? = nil, textDisplay: String? = nil, textOriginal: String? = nil, updatedAt: DateTime? = nil, videoId: String? = nil, viewerRating: ViewerRating? = nil) {
| |- warning: 'DateTime' is deprecated: renamed to 'Date'
| `- note: use 'Date' instead
66 | self.authorChannelId = authorChannelId
67 | self.authorChannelUrl = authorChannelUrl
BUILD FAILURE 6.0 linux