Build Information
Successful build of SwiftTube, reference main (4b9a3e
), with Swift 6.0 for Linux on 2 Nov 2024 02:19:46 UTC.
Swift 6 data race errors: 78
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
3 |
4 | public extension ChannelSections {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeChannelSectionsList {
7 | public static let service = Service<Response>(id: "youtube.channelSections.list", tag: "channelSections", method: "GET", path: "/youtube/v3/channelSections", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelSections/YoutubeChannelSectionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelSections.YoutubeChannelSectionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeChannelSectionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.channelSections.update", tag: "channelSections", method: "PUT", path: "/youtube/v3/channelSections", 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<ChannelSections.YoutubeChannelSectionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ChannelSections/YoutubeChannelSectionsUpdate.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 ChannelSections {
5 | /** Updates an existing resource. */
6 | enum YoutubeChannelSectionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.channelSections.update", tag: "channelSections", method: "PUT", path: "/youtube/v3/channelSections", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Channels/YoutubeChannelsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Channels.YoutubeChannelsList.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 YoutubeChannelsList {
7 | public static let service = Service<Response>(id: "youtube.channels.list", tag: "channels", method: "GET", path: "/youtube/v3/channels", 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/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner-channel-audit"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Channels.YoutubeChannelsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Channels/YoutubeChannelsList.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 Channels {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeChannelsList {
7 | public static let service = Service<Response>(id: "youtube.channels.list", tag: "channels", method: "GET", path: "/youtube/v3/channels", 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/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner-channel-audit"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Channels/YoutubeChannelsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Channels.YoutubeChannelsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeChannelsUpdate {
7 | public static let service = Service<Response>(id: "youtube.channels.update", tag: "channels", method: "PUT", path: "/youtube/v3/channels", 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<Channels.YoutubeChannelsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Channels/YoutubeChannelsUpdate.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 Channels {
5 | /** Updates an existing resource. */
6 | enum YoutubeChannelsUpdate {
7 | public static let service = Service<Response>(id: "youtube.channels.update", tag: "channels", method: "PUT", path: "/youtube/v3/channels", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/CommentThreads/YoutubeCommentThreadsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<CommentThreads.YoutubeCommentThreadsInsert.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 YoutubeCommentThreadsInsert {
7 | public static let service = Service<Response>(id: "youtube.commentThreads.insert", tag: "commentThreads", method: "POST", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<CommentThreads.YoutubeCommentThreadsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/CommentThreads/YoutubeCommentThreadsInsert.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 CommentThreads {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCommentThreadsInsert {
7 | public static let service = Service<Response>(id: "youtube.commentThreads.insert", tag: "commentThreads", method: "POST", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/CommentThreads/YoutubeCommentThreadsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<CommentThreads.YoutubeCommentThreadsList.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 YoutubeCommentThreadsList {
7 | public static let service = Service<Response>(id: "youtube.commentThreads.list", tag: "commentThreads", method: "GET", path: "/youtube/v3/commentThreads", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<CommentThreads.YoutubeCommentThreadsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam. */
/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/CommentThreads/YoutubeCommentThreadsList.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 CommentThreads {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCommentThreadsList {
7 | public static let service = Service<Response>(id: "youtube.commentThreads.list", tag: "commentThreads", method: "GET", path: "/youtube/v3/commentThreads", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 | /** Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Comments/YoutubeCommentsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCommentsDelete {
7 | public static let service = Service<Response>(id: "youtube.comments.delete", tag: "comments", method: "DELETE", path: "/youtube/v3/comments", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Comments/YoutubeCommentsDelete.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 Comments {
5 | /** Deletes a resource. */
6 | enum YoutubeCommentsDelete {
7 | public static let service = Service<Response>(id: "youtube.comments.delete", tag: "comments", method: "DELETE", path: "/youtube/v3/comments", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Comments/YoutubeCommentsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsInsert.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 YoutubeCommentsInsert {
7 | public static let service = Service<Response>(id: "youtube.comments.insert", tag: "comments", method: "POST", path: "/youtube/v3/comments", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Comments/YoutubeCommentsInsert.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 Comments {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCommentsInsert {
7 | public static let service = Service<Response>(id: "youtube.comments.insert", tag: "comments", method: "POST", path: "/youtube/v3/comments", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Comments/YoutubeCommentsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsList.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 YoutubeCommentsList {
7 | public static let service = Service<Response>(id: "youtube.comments.list", tag: "comments", method: "GET", path: "/youtube/v3/comments", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** The requested text format for the returned comments. */
/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/Comments/YoutubeCommentsList.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 Comments {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCommentsList {
7 | public static let service = Service<Response>(id: "youtube.comments.list", tag: "comments", method: "GET", path: "/youtube/v3/comments", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 | /** The requested text format for the returned comments. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Comments/YoutubeCommentsMarkAsSpam.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsMarkAsSpam.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Expresses the caller's opinion that one or more comments should be flagged as spam. */
6 | enum YoutubeCommentsMarkAsSpam {
7 | public static let service = Service<Response>(id: "youtube.comments.markAsSpam", tag: "comments", method: "POST", path: "/youtube/v3/comments/markAsSpam", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsMarkAsSpam.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Comments/YoutubeCommentsMarkAsSpam.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 Comments {
5 | /** Expresses the caller's opinion that one or more comments should be flagged as spam. */
6 | enum YoutubeCommentsMarkAsSpam {
7 | public static let service = Service<Response>(id: "youtube.comments.markAsSpam", tag: "comments", method: "POST", path: "/youtube/v3/comments/markAsSpam", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Comments/YoutubeCommentsSetModerationStatus.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsSetModerationStatus.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Sets the moderation status of one or more comments. */
6 | enum YoutubeCommentsSetModerationStatus {
7 | public static let service = Service<Response>(id: "youtube.comments.setModerationStatus", tag: "comments", method: "POST", path: "/youtube/v3/comments/setModerationStatus", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsSetModerationStatus.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Specifies the requested moderation status. Note, comments can be in statuses, which are not available through this call. For example, this call does not allow to mark a comment as 'likely spam'. Valid values: MODERATION_STATUS_PUBLISHED, MODERATION_STATUS_HELD_FOR_REVIEW, MODERATION_STATUS_REJECTED. */
/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/Comments/YoutubeCommentsSetModerationStatus.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 Comments {
5 | /** Sets the moderation status of one or more comments. */
6 | enum YoutubeCommentsSetModerationStatus {
7 | public static let service = Service<Response>(id: "youtube.comments.setModerationStatus", tag: "comments", method: "POST", path: "/youtube/v3/comments/setModerationStatus", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 | /** Specifies the requested moderation status. Note, comments can be in statuses, which are not available through this call. For example, this call does not allow to mark a comment as 'likely spam'. Valid values: MODERATION_STATUS_PUBLISHED, MODERATION_STATUS_HELD_FOR_REVIEW, MODERATION_STATUS_REJECTED. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Comments/YoutubeCommentsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCommentsUpdate {
7 | public static let service = Service<Response>(id: "youtube.comments.update", tag: "comments", method: "PUT", path: "/youtube/v3/comments", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Comments.YoutubeCommentsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Comments/YoutubeCommentsUpdate.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 Comments {
5 | /** Updates an existing resource. */
6 | enum YoutubeCommentsUpdate {
7 | public static let service = Service<Response>(id: "youtube.comments.update", tag: "comments", method: "PUT", path: "/youtube/v3/comments", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/I18nLanguages/YoutubeI18nLanguagesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<I18nLanguages.YoutubeI18nLanguagesList.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 YoutubeI18nLanguagesList {
7 | public static let service = Service<Response>(id: "youtube.i18nLanguages.list", tag: "i18nLanguages", method: "GET", path: "/youtube/v3/i18nLanguages", 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/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<I18nLanguages.YoutubeI18nLanguagesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/I18nLanguages/YoutubeI18nLanguagesList.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 I18nLanguages {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeI18nLanguagesList {
7 | public static let service = Service<Response>(id: "youtube.i18nLanguages.list", tag: "i18nLanguages", method: "GET", path: "/youtube/v3/i18nLanguages", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/I18nRegions/YoutubeI18nRegionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<I18nRegions.YoutubeI18nRegionsList.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 YoutubeI18nRegionsList {
7 | public static let service = Service<Response>(id: "youtube.i18nRegions.list", tag: "i18nRegions", method: "GET", path: "/youtube/v3/i18nRegions", 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/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<I18nRegions.YoutubeI18nRegionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/I18nRegions/YoutubeI18nRegionsList.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 I18nRegions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeI18nRegionsList {
7 | public static let service = Service<Response>(id: "youtube.i18nRegions.list", tag: "i18nRegions", method: "GET", path: "/youtube/v3/i18nRegions", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveBroadcasts/YoutubeLiveBroadcastsBind.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsBind.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Bind a broadcast to a stream. */
6 | enum YoutubeLiveBroadcastsBind {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.bind", tag: "liveBroadcasts", method: "POST", path: "/youtube/v3/liveBroadcasts/bind", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsBind.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveBroadcasts/YoutubeLiveBroadcastsBind.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 LiveBroadcasts {
5 | /** Bind a broadcast to a stream. */
6 | enum YoutubeLiveBroadcastsBind {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.bind", tag: "liveBroadcasts", method: "POST", path: "/youtube/v3/liveBroadcasts/bind", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveBroadcasts/YoutubeLiveBroadcastsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Delete a given broadcast. */
6 | enum YoutubeLiveBroadcastsDelete {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.delete", tag: "liveBroadcasts", method: "DELETE", path: "/youtube/v3/liveBroadcasts", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveBroadcasts/YoutubeLiveBroadcastsDelete.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 LiveBroadcasts {
5 | /** Delete a given broadcast. */
6 | enum YoutubeLiveBroadcastsDelete {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.delete", tag: "liveBroadcasts", method: "DELETE", path: "/youtube/v3/liveBroadcasts", 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"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveBroadcasts/YoutubeLiveBroadcastsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new stream for the authenticated user. */
6 | enum YoutubeLiveBroadcastsInsert {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.insert", tag: "liveBroadcasts", method: "POST", path: "/youtube/v3/liveBroadcasts", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveBroadcasts/YoutubeLiveBroadcastsInsert.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 LiveBroadcasts {
5 | /** Inserts a new stream for the authenticated user. */
6 | enum YoutubeLiveBroadcastsInsert {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.insert", tag: "liveBroadcasts", method: "POST", path: "/youtube/v3/liveBroadcasts", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveBroadcasts/YoutubeLiveBroadcastsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieve the list of broadcasts associated with the given channel. */
6 | enum YoutubeLiveBroadcastsList {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.list", tag: "liveBroadcasts", method: "GET", path: "/youtube/v3/liveBroadcasts", 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/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Return broadcasts with a certain status, e.g. active broadcasts. */
/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/LiveBroadcasts/YoutubeLiveBroadcastsList.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 LiveBroadcasts {
5 | /** Retrieve the list of broadcasts associated with the given channel. */
6 | enum YoutubeLiveBroadcastsList {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.list", tag: "liveBroadcasts", method: "GET", path: "/youtube/v3/liveBroadcasts", 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/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 | /** Return broadcasts with a certain status, e.g. active broadcasts. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveBroadcasts/YoutubeLiveBroadcastsTransition.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsTransition.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Transition a broadcast to a given status. */
6 | enum YoutubeLiveBroadcastsTransition {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.transition", tag: "liveBroadcasts", method: "POST", path: "/youtube/v3/liveBroadcasts/transition", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsTransition.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** The status to which the broadcast is going to transition. */
/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/LiveBroadcasts/YoutubeLiveBroadcastsTransition.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 LiveBroadcasts {
5 | /** Transition a broadcast to a given status. */
6 | enum YoutubeLiveBroadcastsTransition {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.transition", tag: "liveBroadcasts", method: "POST", path: "/youtube/v3/liveBroadcasts/transition", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 | /** The status to which the broadcast is going to transition. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveBroadcasts/YoutubeLiveBroadcastsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing broadcast for the authenticated user. */
6 | enum YoutubeLiveBroadcastsUpdate {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.update", tag: "liveBroadcasts", method: "PUT", path: "/youtube/v3/liveBroadcasts", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveBroadcasts.YoutubeLiveBroadcastsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveBroadcasts/YoutubeLiveBroadcastsUpdate.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 LiveBroadcasts {
5 | /** Updates an existing broadcast for the authenticated user. */
6 | enum YoutubeLiveBroadcastsUpdate {
7 | public static let service = Service<Response>(id: "youtube.liveBroadcasts.update", tag: "liveBroadcasts", method: "PUT", path: "/youtube/v3/liveBroadcasts", 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"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatBans/YoutubeLiveChatBansDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatBans.YoutubeLiveChatBansDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a chat ban. */
6 | enum YoutubeLiveChatBansDelete {
7 | public static let service = Service<Response>(id: "youtube.liveChatBans.delete", tag: "liveChatBans", method: "DELETE", path: "/youtube/v3/liveChat/bans", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatBans.YoutubeLiveChatBansDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatBans/YoutubeLiveChatBansDelete.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 LiveChatBans {
5 | /** Deletes a chat ban. */
6 | enum YoutubeLiveChatBansDelete {
7 | public static let service = Service<Response>(id: "youtube.liveChatBans.delete", tag: "liveChatBans", method: "DELETE", path: "/youtube/v3/liveChat/bans", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatBans/YoutubeLiveChatBansInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatBans.YoutubeLiveChatBansInsert.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 YoutubeLiveChatBansInsert {
7 | public static let service = Service<Response>(id: "youtube.liveChatBans.insert", tag: "liveChatBans", method: "POST", path: "/youtube/v3/liveChat/bans", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatBans.YoutubeLiveChatBansInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatBans/YoutubeLiveChatBansInsert.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 LiveChatBans {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeLiveChatBansInsert {
7 | public static let service = Service<Response>(id: "youtube.liveChatBans.insert", tag: "liveChatBans", method: "POST", path: "/youtube/v3/liveChat/bans", 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"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatMessages/YoutubeLiveChatMessagesDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatMessages.YoutubeLiveChatMessagesDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a chat message. */
6 | enum YoutubeLiveChatMessagesDelete {
7 | public static let service = Service<Response>(id: "youtube.liveChatMessages.delete", tag: "liveChatMessages", method: "DELETE", path: "/youtube/v3/liveChat/messages", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatMessages.YoutubeLiveChatMessagesDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatMessages/YoutubeLiveChatMessagesDelete.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 LiveChatMessages {
5 | /** Deletes a chat message. */
6 | enum YoutubeLiveChatMessagesDelete {
7 | public static let service = Service<Response>(id: "youtube.liveChatMessages.delete", tag: "liveChatMessages", method: "DELETE", path: "/youtube/v3/liveChat/messages", 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"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatMessages/YoutubeLiveChatMessagesInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatMessages.YoutubeLiveChatMessagesInsert.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 YoutubeLiveChatMessagesInsert {
7 | public static let service = Service<Response>(id: "youtube.liveChatMessages.insert", tag: "liveChatMessages", method: "POST", path: "/youtube/v3/liveChat/messages", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatMessages.YoutubeLiveChatMessagesInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatMessages/YoutubeLiveChatMessagesInsert.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 LiveChatMessages {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeLiveChatMessagesInsert {
7 | public static let service = Service<Response>(id: "youtube.liveChatMessages.insert", tag: "liveChatMessages", method: "POST", path: "/youtube/v3/liveChat/messages", 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"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatMessages/YoutubeLiveChatMessagesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatMessages.YoutubeLiveChatMessagesList.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 YoutubeLiveChatMessagesList {
7 | public static let service = Service<Response>(id: "youtube.liveChatMessages.list", tag: "liveChatMessages", method: "GET", path: "/youtube/v3/liveChat/messages", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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<LiveChatMessages.YoutubeLiveChatMessagesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatMessages/YoutubeLiveChatMessagesList.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 LiveChatMessages {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeLiveChatMessagesList {
7 | public static let service = Service<Response>(id: "youtube.liveChatMessages.list", tag: "liveChatMessages", method: "GET", path: "/youtube/v3/liveChat/messages", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatModerators/YoutubeLiveChatModeratorsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatModerators.YoutubeLiveChatModeratorsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a chat moderator. */
6 | enum YoutubeLiveChatModeratorsDelete {
7 | public static let service = Service<Response>(id: "youtube.liveChatModerators.delete", tag: "liveChatModerators", method: "DELETE", path: "/youtube/v3/liveChat/moderators", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatModerators.YoutubeLiveChatModeratorsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatModerators/YoutubeLiveChatModeratorsDelete.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 LiveChatModerators {
5 | /** Deletes a chat moderator. */
6 | enum YoutubeLiveChatModeratorsDelete {
7 | public static let service = Service<Response>(id: "youtube.liveChatModerators.delete", tag: "liveChatModerators", method: "DELETE", path: "/youtube/v3/liveChat/moderators", 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"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatModerators/YoutubeLiveChatModeratorsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatModerators.YoutubeLiveChatModeratorsInsert.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 YoutubeLiveChatModeratorsInsert {
7 | public static let service = Service<Response>(id: "youtube.liveChatModerators.insert", tag: "liveChatModerators", method: "POST", path: "/youtube/v3/liveChat/moderators", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatModerators.YoutubeLiveChatModeratorsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatModerators/YoutubeLiveChatModeratorsInsert.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 LiveChatModerators {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeLiveChatModeratorsInsert {
7 | public static let service = Service<Response>(id: "youtube.liveChatModerators.insert", tag: "liveChatModerators", method: "POST", path: "/youtube/v3/liveChat/moderators", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveChatModerators/YoutubeLiveChatModeratorsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatModerators.YoutubeLiveChatModeratorsList.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 YoutubeLiveChatModeratorsList {
7 | public static let service = Service<Response>(id: "youtube.liveChatModerators.list", tag: "liveChatModerators", method: "GET", path: "/youtube/v3/liveChat/moderators", 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: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveChatModerators.YoutubeLiveChatModeratorsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveChatModerators/YoutubeLiveChatModeratorsList.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 LiveChatModerators {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeLiveChatModeratorsList {
7 | public static let service = Service<Response>(id: "youtube.liveChatModerators.list", tag: "liveChatModerators", method: "GET", path: "/youtube/v3/liveChat/moderators", 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: "Oauth2", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveStreams/YoutubeLiveStreamsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveStreams.YoutubeLiveStreamsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes an existing stream for the authenticated user. */
6 | enum YoutubeLiveStreamsDelete {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.delete", tag: "liveStreams", method: "DELETE", path: "/youtube/v3/liveStreams", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveStreams.YoutubeLiveStreamsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveStreams/YoutubeLiveStreamsDelete.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 LiveStreams {
5 | /** Deletes an existing stream for the authenticated user. */
6 | enum YoutubeLiveStreamsDelete {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.delete", tag: "liveStreams", method: "DELETE", path: "/youtube/v3/liveStreams", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveStreams/YoutubeLiveStreamsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveStreams.YoutubeLiveStreamsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new stream for the authenticated user. */
6 | enum YoutubeLiveStreamsInsert {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.insert", tag: "liveStreams", method: "POST", path: "/youtube/v3/liveStreams", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveStreams.YoutubeLiveStreamsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveStreams/YoutubeLiveStreamsInsert.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 LiveStreams {
5 | /** Inserts a new stream for the authenticated user. */
6 | enum YoutubeLiveStreamsInsert {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.insert", tag: "liveStreams", method: "POST", path: "/youtube/v3/liveStreams", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveStreams/YoutubeLiveStreamsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveStreams.YoutubeLiveStreamsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieve the list of streams associated with the given channel. -- */
6 | enum YoutubeLiveStreamsList {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.list", tag: "liveStreams", method: "GET", path: "/youtube/v3/liveStreams", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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<LiveStreams.YoutubeLiveStreamsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveStreams/YoutubeLiveStreamsList.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 LiveStreams {
5 | /** Retrieve the list of streams associated with the given channel. -- */
6 | enum YoutubeLiveStreamsList {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.list", tag: "liveStreams", method: "GET", path: "/youtube/v3/liveStreams", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/LiveStreams/YoutubeLiveStreamsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveStreams.YoutubeLiveStreamsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing stream for the authenticated user. */
6 | enum YoutubeLiveStreamsUpdate {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.update", tag: "liveStreams", method: "PUT", path: "/youtube/v3/liveStreams", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<LiveStreams.YoutubeLiveStreamsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/LiveStreams/YoutubeLiveStreamsUpdate.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 LiveStreams {
5 | /** Updates an existing stream for the authenticated user. */
6 | enum YoutubeLiveStreamsUpdate {
7 | public static let service = Service<Response>(id: "youtube.liveStreams.update", tag: "liveStreams", method: "PUT", path: "/youtube/v3/liveStreams", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Members/YoutubeMembersList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Members.YoutubeMembersList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of members that match the request criteria for a channel. */
6 | enum YoutubeMembersList {
7 | public static let service = Service<Response>(id: "youtube.members.list", tag: "members", method: "GET", path: "/youtube/v3/members", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.channel-memberships.creator"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Members.YoutubeMembersList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Parameter that specifies which channel members to return. */
/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/Members/YoutubeMembersList.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 Members {
5 | /** Retrieves a list of members that match the request criteria for a channel. */
6 | enum YoutubeMembersList {
7 | public static let service = Service<Response>(id: "youtube.members.list", tag: "members", method: "GET", path: "/youtube/v3/members", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.channel-memberships.creator"])])
| |- 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 | /** Parameter that specifies which channel members to return. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/MembershipsLevels/YoutubeMembershipsLevelsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<MembershipsLevels.YoutubeMembershipsLevelsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of all pricing levels offered by a creator to the fans. */
6 | enum YoutubeMembershipsLevelsList {
7 | public static let service = Service<Response>(id: "youtube.membershipsLevels.list", tag: "membershipsLevels", method: "GET", path: "/youtube/v3/membershipsLevels", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.channel-memberships.creator"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<MembershipsLevels.YoutubeMembershipsLevelsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/MembershipsLevels/YoutubeMembershipsLevelsList.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 MembershipsLevels {
5 | /** Retrieves a list of all pricing levels offered by a creator to the fans. */
6 | enum YoutubeMembershipsLevelsList {
7 | public static let service = Service<Response>(id: "youtube.membershipsLevels.list", tag: "membershipsLevels", method: "GET", path: "/youtube/v3/membershipsLevels", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.channel-memberships.creator"])])
| |- 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/PlaylistItems/YoutubePlaylistItemsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<PlaylistItems.YoutubePlaylistItemsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubePlaylistItemsDelete {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.delete", tag: "playlistItems", method: "DELETE", path: "/youtube/v3/playlistItems", 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<PlaylistItems.YoutubePlaylistItemsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/PlaylistItems/YoutubePlaylistItemsDelete.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 PlaylistItems {
5 | /** Deletes a resource. */
6 | enum YoutubePlaylistItemsDelete {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.delete", tag: "playlistItems", method: "DELETE", path: "/youtube/v3/playlistItems", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/PlaylistItems/YoutubePlaylistItemsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<PlaylistItems.YoutubePlaylistItemsInsert.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 YoutubePlaylistItemsInsert {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.insert", tag: "playlistItems", method: "POST", path: "/youtube/v3/playlistItems", 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<PlaylistItems.YoutubePlaylistItemsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/PlaylistItems/YoutubePlaylistItemsInsert.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 PlaylistItems {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubePlaylistItemsInsert {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.insert", tag: "playlistItems", method: "POST", path: "/youtube/v3/playlistItems", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/PlaylistItems/YoutubePlaylistItemsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<PlaylistItems.YoutubePlaylistItemsList.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 YoutubePlaylistItemsList {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.list", tag: "playlistItems", method: "GET", path: "/youtube/v3/playlistItems", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<PlaylistItems.YoutubePlaylistItemsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/PlaylistItems/YoutubePlaylistItemsList.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 PlaylistItems {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubePlaylistItemsList {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.list", tag: "playlistItems", method: "GET", path: "/youtube/v3/playlistItems", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), 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 | public struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/PlaylistItems/YoutubePlaylistItemsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<PlaylistItems.YoutubePlaylistItemsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubePlaylistItemsUpdate {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.update", tag: "playlistItems", method: "PUT", path: "/youtube/v3/playlistItems", 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<PlaylistItems.YoutubePlaylistItemsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/PlaylistItems/YoutubePlaylistItemsUpdate.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 PlaylistItems {
5 | /** Updates an existing resource. */
6 | enum YoutubePlaylistItemsUpdate {
7 | public static let service = Service<Response>(id: "youtube.playlistItems.update", tag: "playlistItems", method: "PUT", path: "/youtube/v3/playlistItems", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Playlists/YoutubePlaylistsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubePlaylistsDelete {
7 | public static let service = Service<Response>(id: "youtube.playlists.delete", tag: "playlists", method: "DELETE", path: "/youtube/v3/playlists", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Playlists/YoutubePlaylistsDelete.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 Playlists {
5 | /** Deletes a resource. */
6 | enum YoutubePlaylistsDelete {
7 | public static let service = Service<Response>(id: "youtube.playlists.delete", tag: "playlists", method: "DELETE", path: "/youtube/v3/playlists", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Playlists/YoutubePlaylistsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsInsert.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 YoutubePlaylistsInsert {
7 | public static let service = Service<Response>(id: "youtube.playlists.insert", tag: "playlists", method: "POST", path: "/youtube/v3/playlists", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Playlists/YoutubePlaylistsInsert.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 Playlists {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubePlaylistsInsert {
7 | public static let service = Service<Response>(id: "youtube.playlists.insert", tag: "playlists", method: "POST", path: "/youtube/v3/playlists", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Playlists/YoutubePlaylistsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsList.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 YoutubePlaylistsList {
7 | public static let service = Service<Response>(id: "youtube.playlists.list", tag: "playlists", method: "GET", path: "/youtube/v3/playlists", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Playlists/YoutubePlaylistsList.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 Playlists {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubePlaylistsList {
7 | public static let service = Service<Response>(id: "youtube.playlists.list", tag: "playlists", method: "GET", path: "/youtube/v3/playlists", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), 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 | public struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Playlists/YoutubePlaylistsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubePlaylistsUpdate {
7 | public static let service = Service<Response>(id: "youtube.playlists.update", tag: "playlists", method: "PUT", path: "/youtube/v3/playlists", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Playlists.YoutubePlaylistsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Playlists/YoutubePlaylistsUpdate.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 Playlists {
5 | /** Updates an existing resource. */
6 | enum YoutubePlaylistsUpdate {
7 | public static let service = Service<Response>(id: "youtube.playlists.update", tag: "playlists", method: "PUT", path: "/youtube/v3/playlists", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Search/YoutubeSearchList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Search.YoutubeSearchList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of search resources */
6 | enum YoutubeSearchList {
7 | public static let service = Service<Response>(id: "youtube.search.list", tag: "search", method: "GET", path: "/youtube/v3/search", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Search.YoutubeSearchList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Add a filter on the channel search. */
/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/Search/YoutubeSearchList.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 Search {
5 | /** Retrieves a list of search resources */
6 | enum YoutubeSearchList {
7 | public static let service = Service<Response>(id: "youtube.search.list", tag: "search", method: "GET", path: "/youtube/v3/search", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), 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 | /** Add a filter on the channel search. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Subscriptions/YoutubeSubscriptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeSubscriptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.delete", tag: "subscriptions", method: "DELETE", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Subscriptions/YoutubeSubscriptionsDelete.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 Subscriptions {
5 | /** Deletes a resource. */
6 | enum YoutubeSubscriptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.delete", tag: "subscriptions", method: "DELETE", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Subscriptions/YoutubeSubscriptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsInsert.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 YoutubeSubscriptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.insert", tag: "subscriptions", method: "POST", path: "/youtube/v3/subscriptions", 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<Subscriptions.YoutubeSubscriptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Subscriptions/YoutubeSubscriptionsInsert.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 Subscriptions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeSubscriptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.insert", tag: "subscriptions", method: "POST", path: "/youtube/v3/subscriptions", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Subscriptions/YoutubeSubscriptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsList.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 YoutubeSubscriptionsList {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.list", tag: "subscriptions", method: "GET", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** The order of the returned subscriptions */
/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/Subscriptions/YoutubeSubscriptionsList.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 Subscriptions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSubscriptionsList {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.list", tag: "subscriptions", method: "GET", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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"]), 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 | /** The order of the returned subscriptions */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/SuperChatEvents/YoutubeSuperChatEventsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.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 YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", 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/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/SuperChatEvents/YoutubeSuperChatEventsList.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 SuperChatEvents {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", 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/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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Tests/YoutubeTestsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Tests/YoutubeTestsInsert.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 Tests {
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Type of the link to be deleted. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.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 ThirdPartyLinks {
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, 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 | /** Type of the link to be deleted. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.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 YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.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 ThirdPartyLinks {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.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 YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Get a third party link of the given type. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksList.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 ThirdPartyLinks {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, 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 | /** Get a third party link of the given type. */
/host/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.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 ThirdPartyLinks {
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", 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 struct Request: ServiceRequest {
/host/spi-builder-workspace/Sources/SwiftTube/Requests/Thumbnails/YoutubeThumbnailsSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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.upload"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Thumbnails/YoutubeThumbnailsSet.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 Thumbnails {
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", 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.upload"]), 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 | public struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 = Service<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/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 = Service<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 = Service<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/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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 = Service<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 struct Request: ServiceRequest {
/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:ssZ",
| |- 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))
Build complete! (109.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.41.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket"
},
{
"identity" : "swift-test-codecov",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/swift-test-codecov"
},
{
"identity" : "prch",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/Prch.git"
}
],
"manifest_display_name" : "SwiftTube",
"name" : "SwiftTube",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "SwiftTube",
"targets" : [
"SwiftTube"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftTubeTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTubeTests",
"path" : "Tests/SwiftTubeTests",
"sources" : [
"Helpers/AccumulatingResult.swift",
"Helpers/Client.swift",
"Helpers/Result.swift",
"Helpers/Sequence.swift",
"Helpers/Settings.swift",
"Helpers/YouTubePlaylistRequest.swift",
"PlaylistTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftTube"
],
"type" : "test"
},
{
"c99name" : "SwiftTube",
"module_type" : "SwiftTarget",
"name" : "SwiftTube",
"path" : "Sources/SwiftTube",
"product_dependencies" : [
"Prch"
],
"product_memberships" : [
"SwiftTube"
],
"sources" : [
"Enums/Alt.swift",
"Enums/Xgafv.swift",
"Models/AbuseReport.swift",
"Models/AbuseType.swift",
"Models/AccessPolicy.swift",
"Models/Activity.swift",
"Models/ActivityContentDetails.swift",
"Models/ActivityContentDetailsBulletin.swift",
"Models/ActivityContentDetailsChannelItem.swift",
"Models/ActivityContentDetailsComment.swift",
"Models/ActivityContentDetailsFavorite.swift",
"Models/ActivityContentDetailsLike.swift",
"Models/ActivityContentDetailsPlaylistItem.swift",
"Models/ActivityContentDetailsPromotedItem.swift",
"Models/ActivityContentDetailsRecommendation.swift",
"Models/ActivityContentDetailsSocial.swift",
"Models/ActivityContentDetailsSubscription.swift",
"Models/ActivityContentDetailsUpload.swift",
"Models/ActivityListResponse.swift",
"Models/ActivitySnippet.swift",
"Models/Caption.swift",
"Models/CaptionListResponse.swift",
"Models/CaptionSnippet.swift",
"Models/CdnSettings.swift",
"Models/Channel.swift",
"Models/ChannelAuditDetails.swift",
"Models/ChannelBannerResource.swift",
"Models/ChannelBrandingSettings.swift",
"Models/ChannelContentDetails.swift",
"Models/ChannelContentOwnerDetails.swift",
"Models/ChannelConversionPing.swift",
"Models/ChannelConversionPings.swift",
"Models/ChannelListResponse.swift",
"Models/ChannelLocalization.swift",
"Models/ChannelProfileDetails.swift",
"Models/ChannelSection.swift",
"Models/ChannelSectionContentDetails.swift",
"Models/ChannelSectionListResponse.swift",
"Models/ChannelSectionLocalization.swift",
"Models/ChannelSectionSnippet.swift",
"Models/ChannelSectionTargeting.swift",
"Models/ChannelSettings.swift",
"Models/ChannelSnippet.swift",
"Models/ChannelStatistics.swift",
"Models/ChannelStatus.swift",
"Models/ChannelToStoreLinkDetails.swift",
"Models/ChannelTopicDetails.swift",
"Models/Comment.swift",
"Models/CommentListResponse.swift",
"Models/CommentSnippet.swift",
"Models/CommentSnippetAuthorChannelId.swift",
"Models/CommentThread.swift",
"Models/CommentThreadListResponse.swift",
"Models/CommentThreadReplies.swift",
"Models/CommentThreadSnippet.swift",
"Models/ContentRating.swift",
"Models/Entity.swift",
"Models/GeoPoint.swift",
"Models/I18nLanguage.swift",
"Models/I18nLanguageListResponse.swift",
"Models/I18nLanguageSnippet.swift",
"Models/I18nRegion.swift",
"Models/I18nRegionListResponse.swift",
"Models/I18nRegionSnippet.swift",
"Models/ImageSettings.swift",
"Models/IngestionInfo.swift",
"Models/InvideoBranding.swift",
"Models/InvideoPosition.swift",
"Models/InvideoTiming.swift",
"Models/LanguageTag.swift",
"Models/LevelDetails.swift",
"Models/LiveBroadcast.swift",
"Models/LiveBroadcastContentDetails.swift",
"Models/LiveBroadcastListResponse.swift",
"Models/LiveBroadcastSnippet.swift",
"Models/LiveBroadcastStatistics.swift",
"Models/LiveBroadcastStatus.swift",
"Models/LiveChatBan.swift",
"Models/LiveChatBanSnippet.swift",
"Models/LiveChatFanFundingEventDetails.swift",
"Models/LiveChatMemberMilestoneChatDetails.swift",
"Models/LiveChatMessage.swift",
"Models/LiveChatMessageAuthorDetails.swift",
"Models/LiveChatMessageDeletedDetails.swift",
"Models/LiveChatMessageListResponse.swift",
"Models/LiveChatMessageRetractedDetails.swift",
"Models/LiveChatMessageSnippet.swift",
"Models/LiveChatModerator.swift",
"Models/LiveChatModeratorListResponse.swift",
"Models/LiveChatModeratorSnippet.swift",
"Models/LiveChatNewSponsorDetails.swift",
"Models/LiveChatSuperChatDetails.swift",
"Models/LiveChatSuperStickerDetails.swift",
"Models/LiveChatTextMessageDetails.swift",
"Models/LiveChatUserBannedMessageDetails.swift",
"Models/LiveStream.swift",
"Models/LiveStreamConfigurationIssue.swift",
"Models/LiveStreamContentDetails.swift",
"Models/LiveStreamHealthStatus.swift",
"Models/LiveStreamListResponse.swift",
"Models/LiveStreamSnippet.swift",
"Models/LiveStreamStatus.swift",
"Models/LocalizedProperty.swift",
"Models/LocalizedString.swift",
"Models/Member.swift",
"Models/MemberListResponse.swift",
"Models/MemberSnippet.swift",
"Models/MembershipsDetails.swift",
"Models/MembershipsDuration.swift",
"Models/MembershipsDurationAtLevel.swift",
"Models/MembershipsLevel.swift",
"Models/MembershipsLevelListResponse.swift",
"Models/MembershipsLevelSnippet.swift",
"Models/MonitorStreamInfo.swift",
"Models/PageInfo.swift",
"Models/Playlist.swift",
"Models/PlaylistContentDetails.swift",
"Models/PlaylistItem.swift",
"Models/PlaylistItemContentDetails.swift",
"Models/PlaylistItemListResponse.swift",
"Models/PlaylistItemSnippet.swift",
"Models/PlaylistItemStatus.swift",
"Models/PlaylistListResponse.swift",
"Models/PlaylistLocalization.swift",
"Models/PlaylistPlayer.swift",
"Models/PlaylistSnippet.swift",
"Models/PlaylistStatus.swift",
"Models/PropertyValue.swift",
"Models/RelatedEntity.swift",
"Models/ResourceId.swift",
"Models/SearchListResponse.swift",
"Models/SearchResult.swift",
"Models/SearchResultSnippet.swift",
"Models/Subscription.swift",
"Models/SubscriptionContentDetails.swift",
"Models/SubscriptionListResponse.swift",
"Models/SubscriptionSnippet.swift",
"Models/SubscriptionSubscriberSnippet.swift",
"Models/SuperChatEvent.swift",
"Models/SuperChatEventListResponse.swift",
"Models/SuperChatEventSnippet.swift",
"Models/SuperStickerMetadata.swift",
"Models/TestItem.swift",
"Models/TestItemTestItemSnippet.swift",
"Models/ThirdPartyLink.swift",
"Models/ThirdPartyLinkSnippet.swift",
"Models/ThirdPartyLinkStatus.swift",
"Models/Thumbnail.swift",
"Models/ThumbnailDetails.swift",
"Models/ThumbnailSetResponse.swift",
"Models/TokenPagination.swift",
"Models/Video.swift",
"Models/VideoAbuseReport.swift",
"Models/VideoAbuseReportReason.swift",
"Models/VideoAbuseReportReasonListResponse.swift",
"Models/VideoAbuseReportReasonSnippet.swift",
"Models/VideoAbuseReportSecondaryReason.swift",
"Models/VideoAgeGating.swift",
"Models/VideoCategory.swift",
"Models/VideoCategoryListResponse.swift",
"Models/VideoCategorySnippet.swift",
"Models/VideoContentDetails.swift",
"Models/VideoContentDetailsRegionRestriction.swift",
"Models/VideoFileDetails.swift",
"Models/VideoFileDetailsAudioStream.swift",
"Models/VideoFileDetailsVideoStream.swift",
"Models/VideoGetRatingResponse.swift",
"Models/VideoListResponse.swift",
"Models/VideoLiveStreamingDetails.swift",
"Models/VideoLocalization.swift",
"Models/VideoMonetizationDetails.swift",
"Models/VideoPlayer.swift",
"Models/VideoProcessingDetails.swift",
"Models/VideoProcessingDetailsProcessingProgress.swift",
"Models/VideoProjectDetails.swift",
"Models/VideoRating.swift",
"Models/VideoRecordingDetails.swift",
"Models/VideoSnippet.swift",
"Models/VideoStatistics.swift",
"Models/VideoStatus.swift",
"Models/VideoSuggestions.swift",
"Models/VideoSuggestionsTagSuggestion.swift",
"Models/VideoTopicDetails.swift",
"Models/WatchSettings.swift",
"Requests/AbuseReports/YoutubeAbuseReportsInsert.swift",
"Requests/Activities/YoutubeActivitiesList.swift",
"Requests/Captions/YoutubeCaptionsDelete.swift",
"Requests/Captions/YoutubeCaptionsDownload.swift",
"Requests/Captions/YoutubeCaptionsInsert.swift",
"Requests/Captions/YoutubeCaptionsList.swift",
"Requests/Captions/YoutubeCaptionsUpdate.swift",
"Requests/ChannelBanners/YoutubeChannelBannersInsert.swift",
"Requests/ChannelSections/YoutubeChannelSectionsDelete.swift",
"Requests/ChannelSections/YoutubeChannelSectionsInsert.swift",
"Requests/ChannelSections/YoutubeChannelSectionsList.swift",
"Requests/ChannelSections/YoutubeChannelSectionsUpdate.swift",
"Requests/Channels/YoutubeChannelsList.swift",
"Requests/Channels/YoutubeChannelsUpdate.swift",
"Requests/CommentThreads/YoutubeCommentThreadsInsert.swift",
"Requests/CommentThreads/YoutubeCommentThreadsList.swift",
"Requests/Comments/YoutubeCommentsDelete.swift",
"Requests/Comments/YoutubeCommentsInsert.swift",
"Requests/Comments/YoutubeCommentsList.swift",
"Requests/Comments/YoutubeCommentsMarkAsSpam.swift",
"Requests/Comments/YoutubeCommentsSetModerationStatus.swift",
"Requests/Comments/YoutubeCommentsUpdate.swift",
"Requests/I18nLanguages/YoutubeI18nLanguagesList.swift",
"Requests/I18nRegions/YoutubeI18nRegionsList.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsBind.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsDelete.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsInsert.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsList.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsTransition.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsUpdate.swift",
"Requests/LiveChatBans/YoutubeLiveChatBansDelete.swift",
"Requests/LiveChatBans/YoutubeLiveChatBansInsert.swift",
"Requests/LiveChatMessages/YoutubeLiveChatMessagesDelete.swift",
"Requests/LiveChatMessages/YoutubeLiveChatMessagesInsert.swift",
"Requests/LiveChatMessages/YoutubeLiveChatMessagesList.swift",
"Requests/LiveChatModerators/YoutubeLiveChatModeratorsDelete.swift",
"Requests/LiveChatModerators/YoutubeLiveChatModeratorsInsert.swift",
"Requests/LiveChatModerators/YoutubeLiveChatModeratorsList.swift",
"Requests/LiveStreams/YoutubeLiveStreamsDelete.swift",
"Requests/LiveStreams/YoutubeLiveStreamsInsert.swift",
"Requests/LiveStreams/YoutubeLiveStreamsList.swift",
"Requests/LiveStreams/YoutubeLiveStreamsUpdate.swift",
"Requests/Members/YoutubeMembersList.swift",
"Requests/MembershipsLevels/YoutubeMembershipsLevelsList.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsDelete.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsInsert.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsList.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsUpdate.swift",
"Requests/Playlists/YoutubePlaylistsDelete.swift",
"Requests/Playlists/YoutubePlaylistsInsert.swift",
"Requests/Playlists/YoutubePlaylistsList.swift",
"Requests/Playlists/YoutubePlaylistsUpdate.swift",
"Requests/Search/YoutubeSearchList.swift",
"Requests/Subscriptions/YoutubeSubscriptionsDelete.swift",
"Requests/Subscriptions/YoutubeSubscriptionsInsert.swift",
"Requests/Subscriptions/YoutubeSubscriptionsList.swift",
"Requests/SuperChatEvents/YoutubeSuperChatEventsList.swift",
"Requests/Tests/YoutubeTestsInsert.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift",
"Requests/Thumbnails/YoutubeThumbnailsSet.swift",
"Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift",
"Requests/VideoCategories/YoutubeVideoCategoriesList.swift",
"Requests/Videos/YoutubeVideosDelete.swift",
"Requests/Videos/YoutubeVideosGetRating.swift",
"Requests/Videos/YoutubeVideosInsert.swift",
"Requests/Videos/YoutubeVideosList.swift",
"Requests/Videos/YoutubeVideosRate.swift",
"Requests/Videos/YoutubeVideosReportAbuse.swift",
"Requests/Videos/YoutubeVideosUpdate.swift",
"Requests/Watermarks/YoutubeWatermarksSet.swift",
"Requests/Watermarks/YoutubeWatermarksUnset.swift",
"Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift",
"SwiftTube.swift",
"URL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.