Build Information
Successful build of SwiftTube, reference 0.2.0-beta.5 (4b9a3e
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 18:10:42 UTC.
Swift 6 data race errors: 78
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
3 |
4 | public extension Subscriptions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSubscriptionsList {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.list", tag: "subscriptions", method: "GET", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** The order of the returned subscriptions */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/SuperChatEvents/YoutubeSuperChatEventsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/SuperChatEvents/YoutubeSuperChatEventsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension SuperChatEvents {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Tests/YoutubeTestsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Tests/YoutubeTestsInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Tests {
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Type of the link to be deleted. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Type of the link to be deleted. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Get a third party link of the given type. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Get a third party link of the given type. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Thumbnails/YoutubeThumbnailsSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Thumbnails/YoutubeThumbnailsSet.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Thumbnails {
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = Service<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoAbuseReportReasons {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = Service<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/VideoCategories/YoutubeVideoCategoriesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = Service<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/VideoCategories/YoutubeVideoCategoriesList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoCategories {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = Service<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = Service<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosDelete.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = Service<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosGetRating.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = Service<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosGetRating.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = Service<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = Service<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = Service<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = Service<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Return the videos that are in the specified chart. */
/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/Videos/YoutubeVideosList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = Service<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Return the videos that are in the specified chart. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = Service<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/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/Videos/YoutubeVideosRate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = Service<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = Service<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosReportAbuse.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = Service<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = Service<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosUpdate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = Service<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Watermarks/YoutubeWatermarksSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = Service<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Watermarks/YoutubeWatermarksSet.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = Service<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Watermarks/YoutubeWatermarksUnset.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = Service<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Watermarks/YoutubeWatermarksUnset.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = Service<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = Service<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension YouTube {
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = Service<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/SwiftTube.swift:7:21: warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public enum YouTube {
6 | /// Whether to discard any errors when decoding optional properties
7 | public static var safeOptionalDecoding = false
| |- warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeOptionalDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'safeOptionalDecoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:10:21: warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
10 | public static var safeArrayDecoding = false
| |- warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeArrayDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'safeArrayDecoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Used to encode Dates when uses as string params
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:13:21: warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Used to encode Dates when uses as string params
13 | public static var dateEncodingFormatter = DateFormatter(formatString: "yyyy-MM-dd'T'HH:mm:ssZ",
| |- warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateEncodingFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateEncodingFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | locale: Locale(identifier: "en_US_POSIX"),
15 | calendar: Calendar(identifier: .gregorian))
[311/312] Compiling SwiftTube SwiftTube.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Subscriptions/YoutubeSubscriptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeSubscriptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.insert", tag: "subscriptions", method: "POST", path: "/youtube/v3/subscriptions", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Subscriptions/YoutubeSubscriptionsInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Subscriptions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeSubscriptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.insert", tag: "subscriptions", method: "POST", path: "/youtube/v3/subscriptions", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Subscriptions/YoutubeSubscriptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSubscriptionsList {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.list", tag: "subscriptions", method: "GET", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** The order of the returned subscriptions */
/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/Subscriptions/YoutubeSubscriptionsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Subscriptions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSubscriptionsList {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.list", tag: "subscriptions", method: "GET", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** The order of the returned subscriptions */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/SuperChatEvents/YoutubeSuperChatEventsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/SuperChatEvents/YoutubeSuperChatEventsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension SuperChatEvents {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Tests/YoutubeTestsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Tests/YoutubeTestsInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Tests {
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Type of the link to be deleted. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Type of the link to be deleted. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Get a third party link of the given type. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Get a third party link of the given type. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Thumbnails/YoutubeThumbnailsSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Thumbnails/YoutubeThumbnailsSet.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Thumbnails {
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = Service<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoAbuseReportReasons {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = Service<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/VideoCategories/YoutubeVideoCategoriesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = Service<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/VideoCategories/YoutubeVideoCategoriesList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoCategories {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = Service<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = Service<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosDelete.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = Service<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosGetRating.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = Service<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosGetRating.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = Service<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = Service<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = Service<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = Service<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Return the videos that are in the specified chart. */
/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/Videos/YoutubeVideosList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = Service<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Return the videos that are in the specified chart. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = Service<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/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/Videos/YoutubeVideosRate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = Service<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = Service<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosReportAbuse.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = Service<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = Service<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosUpdate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = Service<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Watermarks/YoutubeWatermarksSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = Service<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Watermarks/YoutubeWatermarksSet.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = Service<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Watermarks/YoutubeWatermarksUnset.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = Service<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Watermarks/YoutubeWatermarksUnset.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = Service<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = Service<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension YouTube {
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = Service<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/SwiftTube.swift:7:21: warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public enum YouTube {
6 | /// Whether to discard any errors when decoding optional properties
7 | public static var safeOptionalDecoding = false
| |- warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeOptionalDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'safeOptionalDecoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:10:21: warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
10 | public static var safeArrayDecoding = false
| |- warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeArrayDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'safeArrayDecoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Used to encode Dates when uses as string params
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:13:21: warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Used to encode Dates when uses as string params
13 | public static var dateEncodingFormatter = DateFormatter(formatString: "yyyy-MM-dd'T'HH:mm:ssZ",
| |- warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateEncodingFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateEncodingFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | locale: Locale(identifier: "en_US_POSIX"),
15 | calendar: Calendar(identifier: .gregorian))
[312/312] Compiling SwiftTube URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Subscriptions/YoutubeSubscriptionsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeSubscriptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.insert", tag: "subscriptions", method: "POST", path: "/youtube/v3/subscriptions", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Subscriptions/YoutubeSubscriptionsInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Subscriptions {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeSubscriptionsInsert {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.insert", tag: "subscriptions", method: "POST", path: "/youtube/v3/subscriptions", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Subscriptions/YoutubeSubscriptionsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSubscriptionsList {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.list", tag: "subscriptions", method: "GET", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Subscriptions.YoutubeSubscriptionsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** The order of the returned subscriptions */
/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/Subscriptions/YoutubeSubscriptionsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Subscriptions {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSubscriptionsList {
7 | public static let service = Service<Response>(id: "youtube.subscriptions.list", tag: "subscriptions", method: "GET", path: "/youtube/v3/subscriptions", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** The order of the returned subscriptions */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/SuperChatEvents/YoutubeSuperChatEventsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<SuperChatEvents.YoutubeSuperChatEventsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/SuperChatEvents/YoutubeSuperChatEventsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension SuperChatEvents {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeSuperChatEventsList {
7 | public static let service = Service<Response>(id: "youtube.superChatEvents.list", tag: "superChatEvents", method: "GET", path: "/youtube/v3/superChatEvents", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Tests/YoutubeTestsInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Tests.YoutubeTestsInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Tests/YoutubeTestsInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Tests {
5 | /** POST method. */
6 | enum YoutubeTestsInsert {
7 | public static let service = Service<Response>(id: "youtube.tests.insert", tag: "tests", method: "POST", path: "/youtube/v3/tests", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Type of the link to be deleted. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Deletes a resource. */
6 | enum YoutubeThirdPartyLinksDelete {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.delete", tag: "thirdPartyLinks", method: "DELETE", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Type of the link to be deleted. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeThirdPartyLinksInsert {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.insert", tag: "thirdPartyLinks", method: "POST", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Get a third party link of the given type. */
/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/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeThirdPartyLinksList {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.list", tag: "thirdPartyLinks", method: "GET", path: "/youtube/v3/thirdPartyLinks", hasBody: false, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Get a third party link of the given type. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<ThirdPartyLinks.YoutubeThirdPartyLinksUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension ThirdPartyLinks {
5 | /** Updates an existing resource. */
6 | enum YoutubeThirdPartyLinksUpdate {
7 | public static let service = Service<Response>(id: "youtube.thirdPartyLinks.update", tag: "thirdPartyLinks", method: "PUT", path: "/youtube/v3/thirdPartyLinks", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Thumbnails/YoutubeThumbnailsSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Thumbnails.YoutubeThumbnailsSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Thumbnails/YoutubeThumbnailsSet.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Thumbnails {
5 | /** As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. */
6 | enum YoutubeThumbnailsSet {
7 | public static let service = Service<Response>(id: "youtube.thumbnails.set", tag: "thumbnails", method: "POST", path: "/youtube/v3/thumbnails/set", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = Service<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoAbuseReportReasons.YoutubeVideoAbuseReportReasonsList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoAbuseReportReasons {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoAbuseReportReasonsList {
7 | public static let service = Service<Response>(id: "youtube.videoAbuseReportReasons.list", tag: "videoAbuseReportReasons", method: "GET", path: "/youtube/v3/videoAbuseReportReasons", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/VideoCategories/YoutubeVideoCategoriesList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = Service<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<VideoCategories.YoutubeVideoCategoriesList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/VideoCategories/YoutubeVideoCategoriesList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension VideoCategories {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideoCategoriesList {
7 | public static let service = Service<Response>(id: "youtube.videoCategories.list", tag: "videoCategories", method: "GET", path: "/youtube/v3/videoCategories", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosDelete.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = Service<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosDelete.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosDelete.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Deletes a resource. */
6 | enum YoutubeVideosDelete {
7 | public static let service = Service<Response>(id: "youtube.videos.delete", tag: "videos", method: "DELETE", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosGetRating.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = Service<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosGetRating.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosGetRating.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves the ratings that the authorized user gave to a list of specified videos. */
6 | enum YoutubeVideosGetRating {
7 | public static let service = Service<Response>(id: "youtube.videos.getRating", tag: "videos", method: "GET", path: "/youtube/v3/videos/getRating", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosInsert.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = Service<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosInsert.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosInsert.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Inserts a new resource into this collection. */
6 | enum YoutubeVideosInsert {
7 | public static let service = Service<Response>(id: "youtube.videos.insert", tag: "videos", method: "POST", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosList.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = Service<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosList.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Return the videos that are in the specified chart. */
/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/Videos/YoutubeVideosList.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Retrieves a list of resources, possibly filtered. */
6 | enum YoutubeVideosList {
7 | public static let service = Service<Response>(id: "youtube.videos.list", tag: "videos", method: "GET", path: "/youtube/v3/videos", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.readonly"]), SecurityRequirement(type: "Oauth2c", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Return the videos that are in the specified chart. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosRate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = Service<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosRate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/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/Videos/YoutubeVideosRate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
6 | enum YoutubeVideosRate {
7 | public static let service = Service<Response>(id: "youtube.videos.rate", tag: "videos", method: "POST", path: "/youtube/v3/videos/rate", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /** Adds a like or dislike rating to a video or removes a rating from a video. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/Requests/Videos/YoutubeVideosReportAbuse.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = Service<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosReportAbuse.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosReportAbuse.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Report abuse for a video. */
6 | enum YoutubeVideosReportAbuse {
7 | public static let service = Service<Response>(id: "youtube.videos.reportAbuse", tag: "videos", method: "POST", path: "/youtube/v3/videos/reportAbuse", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Videos/YoutubeVideosUpdate.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = Service<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Videos.YoutubeVideosUpdate.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Videos/YoutubeVideosUpdate.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Videos {
5 | /** Updates an existing resource. */
6 | enum YoutubeVideosUpdate {
7 | public static let service = Service<Response>(id: "youtube.videos.update", tag: "videos", method: "PUT", path: "/youtube/v3/videos", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Watermarks/YoutubeWatermarksSet.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = Service<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksSet.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Watermarks/YoutubeWatermarksSet.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows upload of watermark image and setting it for a channel. */
6 | enum YoutubeWatermarksSet {
7 | public static let service = Service<Response>(id: "youtube.watermarks.set", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/set", hasBody: true, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.upload"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Watermarks/YoutubeWatermarksUnset.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = Service<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<Watermarks.YoutubeWatermarksUnset.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Watermarks/YoutubeWatermarksUnset.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension Watermarks {
5 | /** Allows removal of channel watermark. */
6 | enum YoutubeWatermarksUnset {
7 | public static let service = Service<Response>(id: "youtube.watermarks.unset", tag: "watermarks", method: "POST", path: "/youtube/v3/watermarks/unset", hasBody: false, securityRequirements: [SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtube.force-ssl"]), SecurityRequirement(type: "Oauth2", scopes: ["https://www.googleapis.com/auth/youtubepartner"])])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:7:23: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = Service<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| `- warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'Service<YouTube.YoutubeYoutubeV3UpdateCommentThreads.Response>' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | public struct Request: ServiceRequest {
/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/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
1 | import Foundation
2 | import Prch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Prch'
3 |
4 | public extension YouTube {
5 | /** Updates an existing resource. */
6 | enum YoutubeYoutubeV3UpdateCommentThreads {
7 | public static let service = Service<Response>(id: "youtube.youtube.v3.updateCommentThreads", tag: "youtube", method: "PUT", path: "/youtube/v3/commentThreads", hasBody: true, securityRequirements: [])
| |- note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
| `- 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/SwiftTube.swift:7:21: warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public enum YouTube {
6 | /// Whether to discard any errors when decoding optional properties
7 | public static var safeOptionalDecoding = false
| |- warning: static property 'safeOptionalDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeOptionalDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'safeOptionalDecoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:10:21: warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Whether to remove invalid elements instead of throwing when decoding arrays
10 | public static var safeArrayDecoding = false
| |- warning: static property 'safeArrayDecoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'safeArrayDecoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'safeArrayDecoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Used to encode Dates when uses as string params
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTube/SwiftTube.swift:13:21: warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Used to encode Dates when uses as string params
13 | public static var dateEncodingFormatter = DateFormatter(formatString: "yyyy-MM-dd'T'HH:mm:ssZ",
| |- warning: static property 'dateEncodingFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateEncodingFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateEncodingFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | locale: Locale(identifier: "en_US_POSIX"),
15 | calendar: Calendar(identifier: .gregorian))
Build complete! (15.67s)
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.