Build Information
Successful build of SwiftTube, reference main (4b9a3e
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 09:13:17 UTC.
Swift 6 data race errors: 78
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[257/312] Compiling SwiftTube YoutubeAbuseReportsInsert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[258/312] Compiling SwiftTube YoutubeActivitiesList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[259/312] Compiling SwiftTube YoutubeCaptionsDelete.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[260/312] Compiling SwiftTube YoutubeCaptionsDownload.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[261/312] Compiling SwiftTube YoutubeCaptionsInsert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[262/312] Compiling SwiftTube YoutubeCaptionsList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[263/312] Compiling SwiftTube YoutubeCaptionsUpdate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[264/312] Compiling SwiftTube YoutubeChannelBannersInsert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<AbuseReports.YoutubeAbuseReportsInsert.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 YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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<AbuseReports.YoutubeAbuseReportsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/AbuseReports/YoutubeAbuseReportsInsert.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 AbuseReports {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeAbuseReportsInsert {
7 | public static let service = Service<Response>(id: "youtube.abuseReports.insert", tag: "abuseReports", method: "POST", path: "/youtube/v3/abuseReports", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Activities.YoutubeActivitiesList.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 YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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<Activities.YoutubeActivitiesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Activities/YoutubeActivitiesList.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 Activities {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeActivitiesList {
7 | public static let service = Service<Response>(id: "youtube.activities.list", tag: "activities", method: "GET", path: "/youtube/v3/activities", 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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDelete.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 Captions {
5 | /** Deletes a resource. */
6 | enum YoutubeCaptionsDelete {
7 | public static let service = Service<Response>(id: "youtube.captions.delete", tag: "captions", method: "DELETE", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsDownload.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsDownload.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 Captions {
5 | /** Downloads a caption track. */
6 | enum YoutubeCaptionsDownload {
7 | public static let service = Service<Response>(id: "youtube.captions.download", tag: "captions", method: "GET", path: "/youtube/v3/captions/{id}", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsInsert.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 YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsInsert.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 Captions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeCaptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.captions.insert", tag: "captions", method: "POST", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsList.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 YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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<Captions.YoutubeCaptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsList.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 Captions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeCaptionsList {
7 | public static let service = Service<Response>(id: "youtube.captions.list", tag: "captions", method: "GET", path: "/youtube/v3/captions", hasBody: false, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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<Captions.YoutubeCaptionsUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Captions/YoutubeCaptionsUpdate.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 Captions {
5 | /** Updates an existing resource. */
6 | enum YoutubeCaptionsUpdate {
7 | public static let service = Service<Response>(id: "youtube.captions.update", tag: "captions", method: "PUT", path: "/youtube/v3/captions", hasBody: true, securityRequirements: [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 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.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 YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ChannelBanners.YoutubeChannelBannersInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ChannelBanners/YoutubeChannelBannersInsert.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 ChannelBanners {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeChannelBannersInsert {
7 | public static let service = Service<Response>(id: "youtube.channelBanners.insert", tag: "channelBanners", method: "POST", path: "/youtube/v3/channelBanners/insert", 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"])])
| |- 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 {
[265/312] Compiling SwiftTube ThirdPartyLink.swift
[266/312] Compiling SwiftTube ThirdPartyLinkSnippet.swift
[267/312] Compiling SwiftTube ThirdPartyLinkStatus.swift
[268/312] Compiling SwiftTube Thumbnail.swift
[269/312] Compiling SwiftTube ThumbnailDetails.swift
[270/312] Compiling SwiftTube ThumbnailSetResponse.swift
[271/312] Compiling SwiftTube TokenPagination.swift
[272/312] Compiling SwiftTube Video.swift
[273/312] Compiling SwiftTube VideoAbuseReport.swift
[274/312] Compiling SwiftTube VideoAbuseReportReason.swift
[275/312] Compiling SwiftTube VideoAbuseReportReasonListResponse.swift
[276/312] Compiling SwiftTube VideoAbuseReportReasonSnippet.swift
[277/312] Compiling SwiftTube VideoAbuseReportSecondaryReason.swift
[278/312] Compiling SwiftTube VideoAgeGating.swift
[279/312] Compiling SwiftTube VideoCategory.swift
[280/312] Compiling SwiftTube VideoCategoryListResponse.swift
[281/312] Compiling SwiftTube VideoCategorySnippet.swift
[282/312] Compiling SwiftTube VideoContentDetails.swift
[283/312] Compiling SwiftTube VideoContentDetailsRegionRestriction.swift
[284/312] Compiling SwiftTube VideoFileDetails.swift
[285/312] Compiling SwiftTube VideoFileDetailsAudioStream.swift
[286/312] Compiling SwiftTube VideoFileDetailsVideoStream.swift
[287/312] Compiling SwiftTube VideoGetRatingResponse.swift
[288/312] Compiling SwiftTube VideoListResponse.swift
[289/312] Compiling SwiftTube LiveStreamConfigurationIssue.swift
[290/312] Compiling SwiftTube LiveStreamContentDetails.swift
[291/312] Compiling SwiftTube LiveStreamHealthStatus.swift
[292/312] Compiling SwiftTube LiveStreamListResponse.swift
[293/312] Compiling SwiftTube LiveStreamSnippet.swift
[294/312] Compiling SwiftTube LiveStreamStatus.swift
[295/312] Compiling SwiftTube LocalizedProperty.swift
[296/312] Compiling SwiftTube LocalizedString.swift
[297/312] Compiling SwiftTube Member.swift
[298/312] Compiling SwiftTube MemberListResponse.swift
[299/312] Compiling SwiftTube MemberSnippet.swift
[300/312] Compiling SwiftTube MembershipsDetails.swift
[301/312] Compiling SwiftTube MembershipsDuration.swift
[302/312] Compiling SwiftTube MembershipsDurationAtLevel.swift
[303/312] Compiling SwiftTube MembershipsLevel.swift
[304/312] Compiling SwiftTube MembershipsLevelListResponse.swift
[305/312] Compiling SwiftTube MembershipsLevelSnippet.swift
[306/312] Compiling SwiftTube MonitorStreamInfo.swift
[307/312] Compiling SwiftTube PageInfo.swift
[308/312] Compiling SwiftTube Playlist.swift
[309/312] Compiling SwiftTube PlaylistContentDetails.swift
[310/312] Compiling SwiftTube PlaylistItem.swift
[311/312] Compiling SwiftTube PlaylistItemContentDetails.swift
[312/312] Compiling SwiftTube PlaylistItemListResponse.swift
Build complete! (31.75s)
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. this will be escalated to an error in future versions of SwiftPM.
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" : "/Users/admin/builder/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"
}
Done.